summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-06-16 12:26:25 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-06-16 12:26:25 +0000
commit911cdc917d09643129804e84b60bd68a8619d2b4 (patch)
tree8b4387acb29a248918c79987173c89970442c258 /www-apps/mambo
parentFix failed commit. (diff)
downloadgentoo-2-911cdc917d09643129804e84b60bd68a8619d2b4.tar.gz
gentoo-2-911cdc917d09643129804e84b60bd68a8619d2b4.tar.bz2
gentoo-2-911cdc917d09643129804e84b60bd68a8619d2b4.zip
Version bump (bug #96183).
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-apps/mambo')
-rw-r--r--www-apps/mambo/ChangeLog7
-rw-r--r--www-apps/mambo/Manifest14
-rw-r--r--www-apps/mambo/files/digest-mambo-4.5.2.31
-rw-r--r--www-apps/mambo/mambo-4.5.2.3.ebuild97
4 files changed, 107 insertions, 12 deletions
diff --git a/www-apps/mambo/ChangeLog b/www-apps/mambo/ChangeLog
index 992df21fbf6e..f6ecbf08c808 100644
--- a/www-apps/mambo/ChangeLog
+++ b/www-apps/mambo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/mambo
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mambo/ChangeLog,v 1.10 2005/06/02 14:08:20 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mambo/ChangeLog,v 1.11 2005/06/16 12:26:25 rl03 Exp $
+
+*mambo-4.5.2.3 (16 Jun 2005)
+
+ 16 Jun 2005; Renat Lumpau <rl03@gentoo.org> +mambo-4.5.2.3.ebuild:
+ Version bump (bug #96183).
*mambo-4.5.2.2 (02 Jun 2005)
diff --git a/www-apps/mambo/Manifest b/www-apps/mambo/Manifest
index fc9448350d60..e705be8ed6e7 100644
--- a/www-apps/mambo/Manifest
+++ b/www-apps/mambo/Manifest
@@ -1,8 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 6d2859634af7029805bb9f565a602e98 mambo-4.5.2.3.ebuild 3259
MD5 83a6e99c63ba643be2c5b5f98bb8181a mambo-4.5.2.2.ebuild 3114
-MD5 d21f607e2b33d38870d54a268d030aff ChangeLog 1653
+MD5 7b3a1b7676e2b5e75635fc9c7b191d1c ChangeLog 1782
MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
MD5 f32bea6346fad2cf822c5dc9c0d3361c mambo-4.5.2.ebuild 3284
MD5 03c3dcfc36b02d76f2e87061288c5cf0 mambo-4.5-r1.ebuild 3361
@@ -10,10 +8,4 @@ MD5 a7900b11e87180055671791835ca401e files/digest-mambo-4.5.2 141
MD5 0fb377af9c13e19e1bc5ee9dd2933763 files/digest-mambo-4.5-r1 149
MD5 e061f7e080ca70cc58815179056d3313 files/postinstall-en.txt 925
MD5 6d92d92d8dfe981758dcc5e60b393584 files/digest-mambo-4.5.2.2 73
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCnxLsEZCkKN40op4RAq2hAJ95Y7lyLlVUZvotxH4fAn2KLdzNLACffF4u
-Pqd/ZL7dzy89vOI0xIv8tEA=
-=ZxTe
------END PGP SIGNATURE-----
+MD5 6c941a8ae21f670067d3ce092d91b9cc files/digest-mambo-4.5.2.3 73
diff --git a/www-apps/mambo/files/digest-mambo-4.5.2.3 b/www-apps/mambo/files/digest-mambo-4.5.2.3
new file mode 100644
index 000000000000..2d9a21f68786
--- /dev/null
+++ b/www-apps/mambo/files/digest-mambo-4.5.2.3
@@ -0,0 +1 @@
+MD5 6f4f934bc26ceed05137a23a1dcf8a54 mamboV4.5.2.3-Stable.tar.gz 1561319
diff --git a/www-apps/mambo/mambo-4.5.2.3.ebuild b/www-apps/mambo/mambo-4.5.2.3.ebuild
new file mode 100644
index 000000000000..fb107ba6011c
--- /dev/null
+++ b/www-apps/mambo/mambo-4.5.2.3.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mambo/mambo-4.5.2.3.ebuild,v 1.1 2005/06/16 12:26:25 rl03 Exp $
+
+inherit webapp eutils
+
+MY_P="${PN/M/m}V${PV}-Stable"
+DESCRIPTION="Mambo is yet another CMS"
+HOMEPAGE="http://www.mamboserver.com/"
+SRC_URI="http://mamboforge.net/frs/download.php/4004/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+S=${WORKDIR}
+
+IUSE=""
+
+RDEPEND="dev-db/mysql
+ >=virtual/php-4.1
+ net-www/apache"
+DEPEND="app-arch/unzip"
+
+pkg_setup () {
+ webapp_pkg_setup
+ einfo "Please make sure that your PHP is compiled with zlib, XML, and MySQL support"
+}
+
+src_install () {
+ webapp_src_preinst
+ local files="administrator/backups administrator/components components
+ images images/banners images/stories mambots mambots/content mambots/search
+ media language administrator/modules administrator/templates cache modules
+ templates"
+
+ dodoc CHANGELOG INSTALL
+
+ cp -R [^d]* ${D}/${MY_HTDOCSDIR}
+
+ for file in ${files}; do
+ webapp_serverowned "${MY_HTDOCSDIR}/${file}"
+ done
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst () {
+ einfo "Now run ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
+ einfo "to setup the database"
+ einfo "Note that db and dbuser need to be present prior to running db setup"
+ webapp_pkg_postinst
+}
+
+pkg_config() {
+ # default values for db stuff
+ D_DB="mambo"
+ D_HOST="localhost"
+ D_USER="mambo"
+
+ # do we want to start mysqld?
+ /etc/init.d/mysql restart || die "mysql needs to be running"
+
+ echo -n "mysql db name [${D_DB}]: "; read MY_DB
+ if (test -z ${MY_DB}) ; then MY_DB=${D_DB} ; fi
+
+ echo -n "mysql db host [${D_HOST}]: "; read MY_HOST
+ if (test -z ${MY_HOST}) ; then MY_HOST=${D_HOST}; fi
+
+ echo -n "mysql dbuser name [${D_USER}]: "; read MY_USER
+ if (test -z ${MY_USER}) ; then MY_USER=${D_USER} ; fi
+
+ echo -n "mysql dbuser password: "; read mypwd
+ if (test -z ${mypwd}) ; then die "Error: no dbuser password" ; fi
+
+ # privileges
+ echo -n "Please enter login info for user who has grant privileges on ${MY_HOST} [$USER]: "; read adminuser
+ if (test -z ${adminuser}) ; then adminuser="$USER" ; fi
+ if [ "${MY_HOST}" != "localhost" ]; then
+ echo -n "Client address (at db side) [$(hostname -f)]: "; read clientaddr
+ if (test -z ${clientaddr}) ; then clientaddr="$(hostname -f)" ; fi
+ fi
+ # this will be default for localhost
+ if (test -z ${clientaddr}) ; then clientaddr="${MY_HOST}" ; fi
+
+ # if $MY_HOST == localhost, don't specify -h argument, so local socket can be used.
+ host=${MY_HOST/localhost}
+ mysqladmin -u ${MY_USER} ${host:+-h ${host}} -p create ${MY_DB} || die "Error creating database"
+ mysql -u ${adminuser} ${host:+-h ${host}} -p mysql --exec="GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${MY_DB}.* TO ${MY_USER}@${clientaddr} IDENTIFIED BY '${mypwd}'; FLUSH PRIVILEGES;" || {
+ echo "Error running query!"
+ echo
+ echo "Please run it manually on ${host}."
+ echo
+ echo " \$ mysql -u ${adminuser} -p mysql --exec=\"GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, ALTER,CREATE,DROP,REFERENCES ON ${MY_DB}.* TO ${MY_USER}@${clientaddr} IDENTIFIED BY '${mypwd}'; FLUSH PRIVILEGES;\""
+ echo
+ }
+}