summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2006-04-29 22:03:01 +0000
committerRenat Lumpau <rl03@gentoo.org>2006-04-29 22:03:01 +0000
commit8bddcc46de217c5ec48c3d533483ab9f552596dc (patch)
treee26ecd268a9e02c7f42d27dc68662bfb1a6228ef
parentWeekly 4.2 snapshot bump (diff)
downloadgentoo-2-8bddcc46de217c5ec48c3d533483ab9f552596dc.tar.gz
gentoo-2-8bddcc46de217c5ec48c3d533483ab9f552596dc.tar.bz2
gentoo-2-8bddcc46de217c5ec48c3d533483ab9f552596dc.zip
Removed pkg_config per bug #129558.
(Portage version: 2.1_pre9-r5)
-rw-r--r--www-apps/joomla/ChangeLog5
-rw-r--r--www-apps/joomla/joomla-1.0.8.ebuild45
2 files changed, 5 insertions, 45 deletions
diff --git a/www-apps/joomla/ChangeLog b/www-apps/joomla/ChangeLog
index f0a0a9c953e2..667fe461fb41 100644
--- a/www-apps/joomla/ChangeLog
+++ b/www-apps/joomla/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-apps/joomla
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/joomla/ChangeLog,v 1.9 2006/02/26 18:53:21 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/joomla/ChangeLog,v 1.10 2006/04/29 22:03:01 rl03 Exp $
+
+ 29 Apr 2006; Renat Lumpau <rl03@gentoo.org> joomla-1.0.8.ebuild:
+ Removed pkg_config per bug #129558.
*joomla-1.0.8 (26 Feb 2006)
diff --git a/www-apps/joomla/joomla-1.0.8.ebuild b/www-apps/joomla/joomla-1.0.8.ebuild
index 75af2ff2ab60..250c7368a5db 100644
--- a/www-apps/joomla/joomla-1.0.8.ebuild
+++ b/www-apps/joomla/joomla-1.0.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/joomla/joomla-1.0.8.ebuild,v 1.1 2006/02/26 18:53:21 rl03 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/joomla/joomla-1.0.8.ebuild,v 1.2 2006/04/29 22:03:01 rl03 Exp $
inherit webapp depend.php
@@ -44,46 +44,3 @@ src_install () {
webapp_src_install
}
-
-pkg_postinst () {
- einfo "Now run \"emerge --config =${PF}\""
- einfo "if you wish to setup the database locally"
- einfo "Note that db and dbuser need to be present and MySQL must be running"
- webapp_pkg_postinst
-}
-
-pkg_config() {
- # default values for db stuff
- D_DB="joomla"
- D_HOST="localhost"
- D_USER="joomla"
-
- echo -n "mysql db name [${D_DB}]: "; read MY_DB
- [[ -z ${MY_DB} ]] && MY_DB=${D_DB}
-
- echo -n "mysql db host [${D_HOST}]: "; read MY_HOST
- [[ -z ${MY_HOST} ]] && MY_HOST=${D_HOST}
-
- echo -n "mysql dbuser name [${D_USER}]: "; read MY_USER
- [[ -z ${MY_USER} ]] && MY_USER=${D_USER}
-
- echo -n "mysql dbuser password: "; read mypwd
- [[ -z ${mypwd} ]] && die "Error: no dbuser password"
-
- # privileges
- echo -n "Please enter login info for user who has grant privileges on ${MY_HOST} [$USER]: "; read adminuser
- [[ -z ${adminuser} ]] && adminuser="$USER"
- if [ "${MY_HOST}" != "localhost" ]; then
- echo -n "Client address (at db side) [$(hostname -f)]: "; read clientaddr
- [[ -z ${clientaddr} ]] && clientaddr="$(hostname -f)"
- fi
- # this will be default for localhost
- [[ -z ${clientaddr} ]] && clientaddr="${MY_HOST}"
-
- # if $MY_HOST == localhost, don't specify -h argument, so local socket can be used.
- host=${MY_HOST/localhost}
- mysqladmin -u ${adminuser} ${host:+-h ${host}} -p create ${MY_DB} || die "Error creating database"
- mysql -u "${adminuser}" "${host:+-h ${host}}" -p \
- -e "GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP,REFERENCES
- ON `${MY_DB}`.* TO '${MY_USER}'@'${clientaddr}' IDENTIFIED BY '${mypwd}'; FLUSH PRIVILEGES;" || die "Error initializing database. Please grant permissions manually."
-}