summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Morales <soulse@gentoo.org>2005-11-01 03:22:44 +0000
committerMarco Morales <soulse@gentoo.org>2005-11-01 03:22:44 +0000
commit4fc57a94ec4c732ac0490e470a673adc18d0f5d8 (patch)
treec3f1889e4ebb42176485bb77cc5c0609f77c73e5 /www-apps/drupal
parentStable on amd64 and ppc (diff)
downloadgentoo-2-4fc57a94ec4c732ac0490e470a673adc18d0f5d8.tar.gz
gentoo-2-4fc57a94ec4c732ac0490e470a673adc18d0f5d8.tar.bz2
gentoo-2-4fc57a94ec4c732ac0490e470a673adc18d0f5d8.zip
Fixed ebuild as per bug #109482
Fixed post-install text (Portage version: 2.0.51.22-r3)
Diffstat (limited to 'www-apps/drupal')
-rw-r--r--www-apps/drupal/ChangeLog7
-rw-r--r--www-apps/drupal/drupal-4.6.3.ebuild6
-rw-r--r--www-apps/drupal/files/postinstall-en-4.6.3.txt85
3 files changed, 94 insertions, 4 deletions
diff --git a/www-apps/drupal/ChangeLog b/www-apps/drupal/ChangeLog
index c970c7038585..01b11edc3cbd 100644
--- a/www-apps/drupal/ChangeLog
+++ b/www-apps/drupal/ChangeLog
@@ -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)
diff --git a/www-apps/drupal/drupal-4.6.3.ebuild b/www-apps/drupal/drupal-4.6.3.ebuild
index e88805d85f16..d3d590ab99da 100644
--- a/www-apps/drupal/drupal-4.6.3.ebuild
+++ b/www-apps/drupal/drupal-4.6.3.ebuild
@@ -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
index 000000000000..bf1882c81e28
--- /dev/null
+++ b/www-apps/drupal/files/postinstall-en-4.6.3.txt
@@ -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!