# ChangeLog for dev-db/phpmyadmin
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.237 2007/01/16 05:03:06 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.238 2007/01/22 00:09:33 rl03 Exp $
+
+*phpmyadmin-2.9.2 (22 Jan 2007)
+
+ 22 Jan 2007; Renat Lumpau <rl03@gentoo.org> +phpmyadmin-2.9.2.ebuild:
+ Version bump
16 Jan 2007; Jeroen Roovers <jer@gentoo.org> phpmyadmin-2.9.2_rc1.ebuild:
Stable for HPPA (bug #161460).
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX common.lib.php.diff 272 RMD160 47977c97e73ed2d5a09e9951c7f814eb993a04ec SHA1 3358710b668b33e348d640be2837fbb7c0cfad29 SHA256 066b0241e466db73d1f9ca694e96b6bb23a56e3e4fa16d9b31bf4e5d3fd6b57a
MD5 da50258f238da90ef88e4600b6068a55 files/common.lib.php.diff 272
RMD160 47977c97e73ed2d5a09e9951c7f814eb993a04ec files/common.lib.php.diff 272
RMD160 993162aa564ab7d37c7f32db439518c5cab9ace5 files/reconfig-2.8 329
SHA256 526f7efb31adde131ffaff0271ea12693315c2d4e8a1f96ae4af6947815d6612 files/reconfig-2.8 329
DIST phpMyAdmin-2.9.1.1-all-languages-utf-8-only.tar.bz2 1545641 RMD160 8c21b9450534f674931c3c056c4b0f34a0ba009f SHA1 12eb273ce3a91e0dcf5ba84b42acbd1f564233f8 SHA256 2a4b8379f0fbcdef6bbc3112be13fa19de67a564196456fda77e13642f7ac0e5
+DIST phpMyAdmin-2.9.2-all-languages-utf-8-only.tar.bz2 1546499 RMD160 9ac84c22f2759363b7710bbe7748bfa01fdf9e9e SHA1 d4fc289ee1784a7ee1bdd1e97600440c69cde17e SHA256 28f8610adff238207dbd09a12e8da33f38b224e2fda3a50902443be2e663b29e
DIST phpMyAdmin-2.9.2-rc1-all-languages-utf-8-only.tar.bz2 1546404 RMD160 f8254e0a357ae75817e4a588119d923f4c9cb2ba SHA1 345cee890fbebe9773dad6a0bacf8a2a2f822c42 SHA256 2597d79b5386ead817ac8c7afbe8cc95f3c0847f4e3a113a6dfff5ffe107dc1e
EBUILD phpmyadmin-2.9.1.1.ebuild 2619 RMD160 b25e4aa08897cc309855f96f2d442b434ca0b7b2 SHA1 6e6a938af91e58938e399990f3e85c50b99cffdd SHA256 2e4c429b4780acd323e2805b3b2a35e9b63293ca648a79dfc9f7a99cc8c0b4ef
MD5 2fa9a492f4be08eedb5b56c229b27de4 phpmyadmin-2.9.1.1.ebuild 2619
RMD160 b25e4aa08897cc309855f96f2d442b434ca0b7b2 phpmyadmin-2.9.1.1.ebuild 2619
SHA256 2e4c429b4780acd323e2805b3b2a35e9b63293ca648a79dfc9f7a99cc8c0b4ef phpmyadmin-2.9.1.1.ebuild 2619
+EBUILD phpmyadmin-2.9.2.ebuild 2623 RMD160 4f1b2f5883c4014af15458706afbb68fbcec64df SHA1 fb0244dbd2ed911543581627885fee32a66fb542 SHA256 d09bdefe5a35ebdb33eb9ddbeed8a08fd467ae40a1fe722661be51b5773d2445
+MD5 9d0b43efe820ceae5c6466b58f21f04c phpmyadmin-2.9.2.ebuild 2623
+RMD160 4f1b2f5883c4014af15458706afbb68fbcec64df phpmyadmin-2.9.2.ebuild 2623
+SHA256 d09bdefe5a35ebdb33eb9ddbeed8a08fd467ae40a1fe722661be51b5773d2445 phpmyadmin-2.9.2.ebuild 2623
EBUILD phpmyadmin-2.9.2_rc1.ebuild 2620 RMD160 dc1409e678b3fecc418b02809d3885b87501c497 SHA1 4cae82c801d24be4f1c5352c638848fe01786785 SHA256 de5d60645b5595b600719400c239496213bd7b6add6983c65fc508586f476dbd
MD5 8d3acd102347595bd48635da44251f58 phpmyadmin-2.9.2_rc1.ebuild 2620
RMD160 dc1409e678b3fecc418b02809d3885b87501c497 phpmyadmin-2.9.2_rc1.ebuild 2620
SHA256 de5d60645b5595b600719400c239496213bd7b6add6983c65fc508586f476dbd phpmyadmin-2.9.2_rc1.ebuild 2620
-MISC ChangeLog 32428 RMD160 c247a1d4e7fb4071bded6385dcee4903c21ed61e SHA1 38e837e7cd4f1f301e092e41c3df9b678d55c50d SHA256 ddd2f7055e44b0016e47978cce2d1119c0adb0650a77bb25ad4fcaf216cd2cc2
-MD5 7da71225e1f9da65b9f5836db90a6b34 ChangeLog 32428
-RMD160 c247a1d4e7fb4071bded6385dcee4903c21ed61e ChangeLog 32428
-SHA256 ddd2f7055e44b0016e47978cce2d1119c0adb0650a77bb25ad4fcaf216cd2cc2 ChangeLog 32428
+MISC ChangeLog 32550 RMD160 7ee6ca4a718826168db7e375f2a0b9098cce8a1d SHA1 bf239e7e74363edb3d03fe85d4a23104d03aebba SHA256 5f656bf5218b15ca3e6cbd7ed012759862ed1af17367d09e98e9923d1abafe96
+MD5 105f4a9f74e3a80cae912431cc1ef97f ChangeLog 32550
+RMD160 7ee6ca4a718826168db7e375f2a0b9098cce8a1d ChangeLog 32550
+SHA256 5f656bf5218b15ca3e6cbd7ed012759862ed1af17367d09e98e9923d1abafe96 ChangeLog 32550
MISC metadata.xml 182 RMD160 9b377947041edce61a201266f0c982e3b7c91d8d SHA1 a6d1f4b69883a0940325b7b4ad1de261c7b8c485 SHA256 cf12fb82ad3a864f109328701bfc9b17657184fdb51c04b4af301b3322def6c1
MD5 4bfbfdac057f18787bab530fdaf64fdf metadata.xml 182
RMD160 9b377947041edce61a201266f0c982e3b7c91d8d metadata.xml 182
MD5 bf0d666ad3ebeb9629500545aff539dd files/digest-phpmyadmin-2.9.1.1 337
RMD160 f8e6770d06ab77da4066dce624fde52f52122e52 files/digest-phpmyadmin-2.9.1.1 337
SHA256 439b479648f77327d77f2e01224bdaf5a9d280dd23beb5a12b46b3c6319334f1 files/digest-phpmyadmin-2.9.1.1 337
+MD5 9e1829773dd503edb8baf099b181a364 files/digest-phpmyadmin-2.9.2 331
+RMD160 1c88f81730cd1959891f12e71ae371f68b59492b files/digest-phpmyadmin-2.9.2 331
+SHA256 4c926a2915d3ef2b25754715d080a6fe22bf28f99827a6c0c59952619bb9972e files/digest-phpmyadmin-2.9.2 331
MD5 9f43e978247073c7e88b034c1c29caf0 files/digest-phpmyadmin-2.9.2_rc1 343
RMD160 8adf920c095f0b1bb8e678e081ca057cc59d7de5 files/digest-phpmyadmin-2.9.2_rc1 343
SHA256 8ea1ccd705a491d9e2290b09f54864fa97169f62531a426a789296d8c85efd1f files/digest-phpmyadmin-2.9.2_rc1 343
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFtADGEzitwsaoONoRAulOAJ9Eaiaj0rzcCGxQnDLDOA/YR2DEFQCfVqOJ
+73T12P9xO5L8ZC/bcMm+hUQ=
+=lTju
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 aba8f8fe4e69fc49772b22404401bc4a phpMyAdmin-2.9.2-all-languages-utf-8-only.tar.bz2 1546499
+RMD160 9ac84c22f2759363b7710bbe7748bfa01fdf9e9e phpMyAdmin-2.9.2-all-languages-utf-8-only.tar.bz2 1546499
+SHA256 28f8610adff238207dbd09a12e8da33f38b224e2fda3a50902443be2e663b29e phpMyAdmin-2.9.2-all-languages-utf-8-only.tar.bz2 1546499
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.9.2.ebuild,v 1.1 2007/01/22 00:09:33 rl03 Exp $
+
+inherit eutils webapp depend.php
+
+MY_PV=${PV/_/-}
+MY_P="phpMyAdmin-${MY_PV}-all-languages-utf-8-only"
+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 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+DEPEND="sys-apps/findutils"
+S=${WORKDIR}/${MY_P}
+
+need_php
+
+pkg_setup() {
+ webapp_pkg_setup
+
+ if ! PHPCHECKNODIE="yes" require_php_with_use pcre session unicode \
+ || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
+ eerror
+ eerror "${PHP_PKG} needs to be re-installed with all of the following"
+ eerror "USE flags enabled:"
+ eerror
+ eerror "pcre session unicode"
+ eerror
+ eerror "as well as any of the following USE flags enabled:"
+ eerror
+ eerror "mysql or mysqli if using dev-lang/php-5"
+ eerror "mysql if using dev-lang/php-4"
+ eerror
+ die "Re-install ${PHP_PKG}"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/config.default.php-2.9.2.patch
+ # bug 152933
+ cd libraries && epatch ${FILESDIR}/common.lib.php.diff
+ cd ..
+
+ # 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 libraries/config.default.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 Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog"
+
+ # 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}
+
+ webapp_configfile ${MY_HTDOCSDIR}/libraries/config.default.php
+ webapp_serverowned ${MY_HTDOCSDIR}/libraries/config.default.php
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en-2.8.0.txt
+ webapp_hook_script ${FILESDIR}/reconfig-2.8
+ webapp_src_install
+ # bug #88831, make sure the create script is world-readable.
+ fperms 0600 ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql
+}