Fixed ebuild as per bug #109482
authorMarco Morales <soulse@gentoo.org>
Tue, 1 Nov 2005 03:22:44 +0000 (03:22 +0000)
committerMarco Morales <soulse@gentoo.org>
Tue, 1 Nov 2005 03:22:44 +0000 (03:22 +0000)
Fixed post-install text
Package-Manager: portage-2.0.51.22-r3

www-apps/drupal/ChangeLog
www-apps/drupal/Manifest
www-apps/drupal/drupal-4.6.3.ebuild
www-apps/drupal/files/postinstall-en-4.6.3.txt [new file with mode: 0644]

index c970c7038585fbd843df58978b833abbc5d3d03c..01b11edc3cbd1e08694754e5db20f046e6f5407c 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for www-apps/drupal
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.20 2005/09/05 01:23:44 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.21 2005/11/01 03:22:44 soulse Exp $
+
+  31 Oct 2005; <soulse@gentoo.org> +files/postinstall-en-4.6.3.txt,
+  drupal-4.6.3.ebuild:
+  * Fixed ebuild as per bug #109482
+  * Fixed post-install text
 
 *drupal-4.6.3 (05 Sep 2005)
 
index 78806e9ff8e745b8ddf835b57b38dc874a618be9..7445f05df4a75bd7a3540d5c7842151e4b86d5df 100644 (file)
@@ -1,13 +1,14 @@
-MD5 60f9854d466906a653ae75551aa90f29 ChangeLog 1827
-MD5 3030ce110387954e0e700302032d9eca drupal-4.6.3.ebuild 3755
-MD5 31a7762b97d644514268dab18f853a27 metadata.xml 274
+MD5 7bbf157ae899186eab4e55fe64429b39 ChangeLog 1983
 MD5 e4f9cbc61147e254fac7a43c679cc943 drupal-4.5.2.ebuild 30641
 MD5 e82b6e40e3e223403bb373c04d346d72 drupal-4.6.2.ebuild 3757
+MD5 31a7762b97d644514268dab18f853a27 metadata.xml 274
+MD5 90abc459d34a360028e15f522d9fc11e drupal-4.6.3.ebuild 3731
+MD5 6b1fbcd29d9526434338ea3f8b61e5c0 files/digest-drupal-4.5.2 64
 MD5 3696ea6a2d2569722c9feebb2c9a7093 files/digest-drupal-4.6.2 64
 MD5 0f20a567ce1310d62af69bd56921cea3 files/postinstall-en.txt 2595
 MD5 35efbdccb8fc0c5155a69dff4283ce9b files/digest-drupal-4.6.3 64
-MD5 6b1fbcd29d9526434338ea3f8b61e5c0 files/digest-drupal-4.5.2 64
+MD5 1be3dc7c7bfe18ac669d422297723067 files/postinstall-en-4.6.3.txt 2604
 MD5 9fab4b6b4888063b5c20ba910a48fdfc files/4.6.0/language 87
-MD5 d7b1b8d876c18ddcbdcacbb3d1810d32 files/4.6.0/themes 259
 MD5 7f7293c73bc101820993496a98f5d4fe files/4.6.0/engines 28
 MD5 71ec4b212a7ef95af70c2d140533e244 files/4.6.0/modules 1802
+MD5 d7b1b8d876c18ddcbdcacbb3d1810d32 files/4.6.0/themes 259
index e88805d85f16585e4fd14fa01b6ad007a42d4a64..d3d590ab99dac2f740e693ec1b220c3c97e23d61 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-4.6.3.ebuild,v 1.1 2005/09/05 01:23:44 st_lim Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-4.6.3.ebuild,v 1.2 2005/11/01 03:22:44 soulse Exp $
 
 inherit webapp eutils
 
@@ -57,7 +57,7 @@ src_install() {
 
        webapp_configfile ${MY_HTDOCSDIR}/sites/default/settings.php
 
-       webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+       webapp_postinst_txt en ${FILESDIR}/postinstall-en-4.6.3.txt
 
        webapp_src_install
 }
@@ -66,7 +66,7 @@ pkg_postinst() {
        webapp_pkg_postinst
        einfo
        einfo "You might want to run:"
-       einfo "\"ebuild /var/db/pkg/www-apps/${PF}/${PF}.ebuild config\""
+       einfo "\"emerge --config =${PF} \""
        einfo "if this is a new install."
        einfo
 }
diff --git a/www-apps/drupal/files/postinstall-en-4.6.3.txt b/www-apps/drupal/files/postinstall-en-4.6.3.txt
new file mode 100644 (file)
index 0000000..bf1882c
--- /dev/null
@@ -0,0 +1,85 @@
+To complete installation you need to perform the following steps:
+
+  1) Create drupal database
+  2) Load drupal database scheme
+  3) Configure drupal base options
+  4) Add drupal entry to cron
+
+1 - Creating drupal database
+
+   These instructions are for MySQL.  If you are using another database,
+   check the database documentation.  In the following examples,
+   "dba_user" is an example MySQL user which has the CREATE and GRANT
+   privileges.  You will need to use the appropriate user name for your
+   system.
+
+   First, you must create a new database for your Drupal site:
+
+     $ mysqladmin -u dba_user -p create drupal
+
+   MySQL will prompt for the dba_user database password and then create
+   the initial database files.  Next you must login and set the access
+   database rights:
+
+     $ mysql -u dba_user -p
+
+   Again, you will be asked for the dba_user database password.  At the
+   MySQL prompt, enter following command:
+
+     GRANT ALL PRIVILEGES ON drupal.*
+        TO nobody@localhost IDENTIFIED BY 'password';
+
+   where
+
+    'drupal' is the name of your database
+    'nobody@localhost' is the userid of your webserver MySQL account
+    'password' is the password required to log in as the MySQL user
+
+   If successful, MySQL will reply with
+
+     Query OK, 0 rows affected
+
+   to activate the new permissions you must enter the command
+
+     flush privileges;
+
+   and then enter '\q' to exit MySQL.
+
+
+2 - Load the drupal database scheme
+
+   Once you have a database, you must load the required tables:
+
+     $ mysql -u nobody -p drupal < database/database.mysql
+
+
+3 - Configure drupal base options
+
+   Drupal server options are specified in sites/default/settings.php.
+
+   Before you can run Drupal, you must set the database URL and the
+   base URL to the web site.  Open the configuration file and edit the
+   $db_url line to match the database defined in the previous steps:
+
+     $db_url = "mysql://username:password@localhost/drupal";
+
+   Set $base_url to match the address to your web site:
+
+     $base_url = "http://www.example.com";
+
+
+4 - Add drupal entry to cron
+
+   Many Drupal modules have periodic tasks that must be triggered by a
+   cron job.  To activate these tasks, you must call the cron page;
+   this will pass control to the modules and the modules will decide
+   if and what they must do.
+
+   The following example crontab line will activate the cron script
+   on the hour:
+
+   0    *   *   *   *   wget -O - -q http://${VHOST_HOSTNAME}/cron.php
+
+
+The above information is a precis of the information in the drupal
+INSTALL file more information can be found there!