summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-06-02 14:08:20 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-06-02 14:08:20 +0000
commite8b66cd6972a73a4a07cc6a6f11b62d1cc2d1ade (patch)
tree969efc8d38c4fc840c145cfec5608d2cd41558da /www-apps/mambo
parentStable on ppc64 (diff)
downloadgentoo-2-e8b66cd6972a73a4a07cc6a6f11b62d1cc2d1ade.tar.gz
gentoo-2-e8b66cd6972a73a4a07cc6a6f11b62d1cc2d1ade.tar.bz2
gentoo-2-e8b66cd6972a73a4a07cc6a6f11b62d1cc2d1ade.zip
Version bump for security bug 94817.
(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.21
-rw-r--r--www-apps/mambo/mambo-4.5.2.2.ebuild93
4 files changed, 103 insertions, 12 deletions
diff --git a/www-apps/mambo/ChangeLog b/www-apps/mambo/ChangeLog
index 6cf82aebba37..992df21fbf6e 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.9 2005/04/08 14:16:19 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mambo/ChangeLog,v 1.10 2005/06/02 14:08:20 ka0ttic Exp $
+
+*mambo-4.5.2.2 (02 Jun 2005)
+
+ 02 Jun 2005; Aaron Walker <ka0ttic@gentoo.org> +mambo-4.5.2.2.ebuild:
+ Version bump for security bug 94817.
08 Apr 2005; Marcus D. Hanwell <cryos@gentoo.org> mambo-4.5.2.ebuild:
Marked ~amd64, closes bug 88270.
diff --git a/www-apps/mambo/Manifest b/www-apps/mambo/Manifest
index 9c139d71d563..f18b65752477 100644
--- a/www-apps/mambo/Manifest
+++ b/www-apps/mambo/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 abf0161f4ad3adb2cc63b9e262ebb350 ChangeLog 1508
+MD5 78f8ee9cfcd1c45739100364fd90acb4 mambo-4.5.2.2.ebuild 3110
+MD5 32e7e157bf9f40d835fb68fef7c9afe2 ChangeLog 1650
MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
MD5 f32bea6346fad2cf822c5dc9c0d3361c mambo-4.5.2.ebuild 3284
MD5 03c3dcfc36b02d76f2e87061288c5cf0 mambo-4.5-r1.ebuild 3361
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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCVpJMntT9W3vfTuoRAtJcAJ4nEIHQjzyx/My3y7dQ8F3IZZMczQCgqGPE
-q3j7dWuOi2Z4hCzElVXjT9s=
-=CH0q
------END PGP SIGNATURE-----
+MD5 6d92d92d8dfe981758dcc5e60b393584 files/digest-mambo-4.5.2.2 73
diff --git a/www-apps/mambo/files/digest-mambo-4.5.2.2 b/www-apps/mambo/files/digest-mambo-4.5.2.2
new file mode 100644
index 000000000000..2b14599a7005
--- /dev/null
+++ b/www-apps/mambo/files/digest-mambo-4.5.2.2
@@ -0,0 +1 @@
+MD5 6f4f934bc26ceed05137a23a1dcf8a54 mamboV4.5.2.2-Stable.tar.gz 1561319
diff --git a/www-apps/mambo/mambo-4.5.2.2.ebuild b/www-apps/mambo/mambo-4.5.2.2.ebuild
new file mode 100644
index 000000000000..076c56f9c7f4
--- /dev/null
+++ b/www-apps/mambo/mambo-4.5.2.2.ebuild
@@ -0,0 +1,93 @@
+# 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.2.ebuild,v 1.1 2005/06/02 14:08:20 ka0ttic 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 media language 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"
+}
+
+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
+ }
+}