diff options
author | Renat Lumpau <rl03@gentoo.org> | 2005-09-15 23:38:32 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2005-09-15 23:38:32 +0000 |
commit | 207005b893c100e626cb0f123f5a92b4edc2aca0 (patch) | |
tree | a7bb055d5198ac5d1f247d2e7bf99672cc4abc90 /dev-db | |
parent | Stable on x86 wrt bug #106002. (diff) | |
download | historical-207005b893c100e626cb0f123f5a92b4edc2aca0.tar.gz historical-207005b893c100e626cb0f123f5a92b4edc2aca0.tar.bz2 historical-207005b893c100e626cb0f123f5a92b4edc2aca0.zip |
Version bump
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/phpmyadmin/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/phpmyadmin/Manifest | 10 | ||||
-rw-r--r-- | dev-db/phpmyadmin/files/digest-phpmyadmin-2.6.4_p1 | 1 | ||||
-rw-r--r-- | dev-db/phpmyadmin/phpmyadmin-2.6.4_p1.ebuild | 71 |
4 files changed, 84 insertions, 5 deletions
diff --git a/dev-db/phpmyadmin/ChangeLog b/dev-db/phpmyadmin/ChangeLog index 756349fddc6a..9ca334741468 100644 --- a/dev-db/phpmyadmin/ChangeLog +++ b/dev-db/phpmyadmin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/phpmyadmin # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.123 2005/09/13 22:56:13 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.124 2005/09/15 23:38:32 rl03 Exp $ + +*phpmyadmin-2.6.4_p1 (15 Sep 2005) + + 15 Sep 2005; Renat Lumpau <rl03@gentoo.org> +phpmyadmin-2.6.4_p1.ebuild: + Version bump 13 Sep 2005; Renat Lumpau <rl03@gentoo.org> -phpmyadmin-2.6.4_rc1.ebuild: Removed old version diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest index a94edd652c69..b01504a33313 100644 --- a/dev-db/phpmyadmin/Manifest +++ b/dev-db/phpmyadmin/Manifest @@ -1,9 +1,11 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +MD5 88d8b130fcfa51d7a585a36c76e3cd0f phpmyadmin-2.6.4_p1.ebuild 2099 MD5 dd3ceb42db834178f2ba23ca3644f870 phpmyadmin-2.6.4.ebuild 2073 -MD5 8f7a1a889bb2d0a7ee67ace853d03fe1 ChangeLog 17333 +MD5 e8ab9d26d36c58450f8b190d873a9f5d ChangeLog 17460 MD5 7b6e6cf3eaafa0480ab619fadfb37e2e metadata.xml 162 +MD5 52aedae70a1162031d63efef8fc2591e files/digest-phpmyadmin-2.6.4_p1 74 MD5 a90f4d723611e1a4b40a0878a0d54d77 files/digest-phpmyadmin-2.6.4 70 MD5 4f79e26c8e5060be5dd522af91639d9b files/postinstall-en.txt 511 MD5 85a86432c3f64acb068a7d2cfab311a9 files/config.inc.php-2.5.6.patch 5525 @@ -13,7 +15,7 @@ MD5 1a6c1907f5c2327b00453d7675c13178 files/mysql-setup.sql.in-2.5.6 3231 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFDJ1kYEzitwsaoONoRArAeAKC6ks4p8OPzrMNBZCbqD63ZQB5phQCfVJP9 -k2Q9hy9LSpMvoGrye3QjEZk= -=OfK1 +iD8DBQFDKgYDEzitwsaoONoRAtVdAJ9OKQx439l60pucwXc/EOUrO9HGcgCaA9it +cXrmp34d8qfuCrL5nuyLc0A= +=URcc -----END PGP SIGNATURE----- diff --git a/dev-db/phpmyadmin/files/digest-phpmyadmin-2.6.4_p1 b/dev-db/phpmyadmin/files/digest-phpmyadmin-2.6.4_p1 new file mode 100644 index 000000000000..ec335faa4107 --- /dev/null +++ b/dev-db/phpmyadmin/files/digest-phpmyadmin-2.6.4_p1 @@ -0,0 +1 @@ +MD5 aec734f9c9907f77a9dc497a226634e9 phpMyAdmin-2.6.4-pl1.tar.bz2 1730104 diff --git a/dev-db/phpmyadmin/phpmyadmin-2.6.4_p1.ebuild b/dev-db/phpmyadmin/phpmyadmin-2.6.4_p1.ebuild new file mode 100644 index 000000000000..21615437c36c --- /dev/null +++ b/dev-db/phpmyadmin/phpmyadmin-2.6.4_p1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.6.4_p1.ebuild,v 1.1 2005/09/15 23:38:32 rl03 Exp $ + +inherit eutils webapp + +MY_PV=${PV/_p/-pl} +MY_P=phpMyAdmin-${MY_PV} +DESCRIPTION="Web-based administration for MySQL database in PHP" +HOMEPAGE="http://www.phpmyadmin.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +IUSE="" +DEPEND=">=dev-db/mysql-3.23.32 <dev-db/mysql-5.1 + virtual/httpd-php + sys-apps/findutils + !<=dev-db/phpmyadmin-2.5.6" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/config.inc.php-2.5.6.patch + + # Remove .cvs* files and CVS directories + find ${S} -name .cvs\* -or \( -type d -name CVS -prune \) | xargs rm -rf +} + +src_compile() { + einfo "Setting random user/password details for the controluser" + + local pmapass="${RANDOM}${RANDOM}${RANDOM}${RANDOM}" + sed -e "s/@pmapass@/${pmapass}/g" -i config.inc.php + sed -e "s/@pmapass@/${pmapass}/g" \ + ${FILESDIR}/mysql-setup.sql.in-2.5.6 > ${T}/mysql-setup.sql +} + +src_install() { + webapp_src_preinst + + local docs="CREDITS ChangeLog Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO" + + # install the SQL scripts available to us + # + # unfortunately, we do not have scripts to upgrade from older versions + # these are things we need to add at a later date + + webapp_sqlscript mysql ${T}/mysql-setup.sql + + dodoc ${docs} + dohtml Documentation.html + + # Copy the app's main files + + einfo "Installing main files" + cp -r . ${D}${MY_HTDOCSDIR} + for doc in ${docs} LICENSE; do + rm -f ${D}/${MY_HTDOCSDIR}/${doc} + done + + webapp_configfile ${MY_HTDOCSDIR}/config.inc.php + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + webapp_hook_script ${FILESDIR}/reconfig + webapp_src_install + + fperms 0640 ${MY_HTDOCSDIR}/config.inc.php + fowners root:apache ${MY_HTDOCSDIR}/config.inc.php + # bug #88831, make sure the create script is world-readable. + fperms 0600 ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql +} |