summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-09-15 23:38:32 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-09-15 23:38:32 +0000
commit17d6aa6fa933ce5bbe1d3bd425b2a1f5d72686c2 (patch)
tree64ba22080cce0aa305c7ca3b7d2332b01702788a /dev-db
parentStable on x86 wrt bug #106002. (diff)
downloadgentoo-2-17d6aa6fa933ce5bbe1d3bd425b2a1f5d72686c2.tar.gz
gentoo-2-17d6aa6fa933ce5bbe1d3bd425b2a1f5d72686c2.tar.bz2
gentoo-2-17d6aa6fa933ce5bbe1d3bd425b2a1f5d72686c2.zip
Version bump
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/phpmyadmin/ChangeLog7
-rw-r--r--dev-db/phpmyadmin/Manifest12
-rw-r--r--dev-db/phpmyadmin/files/digest-phpmyadmin-2.6.4_p11
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-2.6.4_p1.ebuild71
4 files changed, 80 insertions, 11 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..0aa0ad3dae90 100644
--- a/dev-db/phpmyadmin/Manifest
+++ b/dev-db/phpmyadmin/Manifest
@@ -1,19 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 1ade720b9ae0b1dadd84772a7a88786e phpmyadmin-2.6.4_p1.ebuild 2096
MD5 dd3ceb42db834178f2ba23ca3644f870 phpmyadmin-2.6.4.ebuild 2073
MD5 8f7a1a889bb2d0a7ee67ace853d03fe1 ChangeLog 17333
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
MD5 c6a79ab6f3c9e6d657a5bee36b1f6565 files/phpmyadmin-config.patch 4857
MD5 a7201a857705dfcec9502fc7dd3a96db files/reconfig 315
MD5 1a6c1907f5c2327b00453d7675c13178 files/mysql-setup.sql.in-2.5.6 3231
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDJ1kYEzitwsaoONoRArAeAKC6ks4p8OPzrMNBZCbqD63ZQB5phQCfVJP9
-k2Q9hy9LSpMvoGrye3QjEZk=
-=OfK1
------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
+}