diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2016-05-24 03:05:16 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2016-05-24 03:06:07 +0000 |
commit | 10d71275799c18341bd3bfde47b3fd6a0e7cf6b6 (patch) | |
tree | 84c066975be3be6bbb66fb9865e2f48283853967 /dev-db/phpmyadmin | |
parent | 1b501b7197caf2844084488cbecdf6b66df5fad4 (diff) | |
download | gentoo-10d71275799c18341bd3bfde47b3fd6a0e7cf6b6.tar.gz gentoo-10d71275799c18341bd3bfde47b3fd6a0e7cf6b6.tar.xz |
dev-db/phpmyadmin: Version bump to maintenance release 4.6.1 - fixes bug 583896.
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-db/phpmyadmin')
-rw-r--r-- | dev-db/phpmyadmin/Manifest | 2 | ||||
-rw-r--r-- | dev-db/phpmyadmin/phpmyadmin-4.6.1.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest index 161b26a1a46..8949550b789 100644 --- a/dev-db/phpmyadmin/Manifest +++ b/dev-db/phpmyadmin/Manifest @@ -3,3 +3,5 @@ DIST phpMyAdmin-4.4.15.5-all-languages.tar.xz 5783216 SHA256 6160724fa90ef5cccb6 DIST phpMyAdmin-4.5.4.1-all-languages.tar.xz 5810548 SHA256 4f79a1e3687ed6976903b0fab6a29f960e657e4eb4c9e8a9b92bcf4f1d57194d SHA512 e3e9669c90610a441901854a4c1e91f1312eba55821bd8b73bbfa5589ca321cb4f6c1893a0f62d0a6cc644ff28b6066cd77f2a7f30641afd4f1547bd427403cb WHIRLPOOL d0f60c55b250b7cfd1f3a4f8c0d1e6afc484394687052fe298bf2db897dfedb663566c345ff2ec2f43fd1cddbf1dba85f3521a78b19fab7cb88d7bbf9678a7e4 DIST phpMyAdmin-4.5.5.1-all-languages.tar.xz 5987876 SHA256 bf8ab258d5c6ce5cfaf7ff330827599c1cfd29b0cc4c9b83f4263ee143c00ef4 SHA512 636d29b9799e6ec0a1484c277187bb1ca24c8cea93c49f30c8c40bf34e4b64ed7e832b5d0e903310e8f08036dbf66724c1b28ab08133cbdf5cec475a430a64d7 WHIRLPOOL b84ae72f306263d36aa700772f47febd1296cad3ccc2b003d551e3b11d0345ff72eeba9af7aca6c54243c3d3c805e035c8a64cfbb7bfe76a3d31d8bcc0980243 DIST phpMyAdmin-4.6.0-all-languages.tar.xz 6113584 SHA256 337ef3d1234525599f25e0bcf962f85ed5a9bf550b91e4e25c48bf5604d16e9c SHA512 8d20a11b2b105944154d8e268148f7152512e50b0656c161124fcbc1562a5302a015f23e531cc123578185e289fcad30de7b478affee356d534d189216d7fd41 WHIRLPOOL 04259b422c60c21d64418b7712dcc0f078e8875c1031ae0f7bf3d81c3d9a75051319619a6a9e28e00d8486c83b67568205eaa5d6a6ac28d6cb57097d756ca8e0 +DIST phpMyAdmin-4.6.1-all-languages.tar.xz 6109268 SHA256 cc85edc5b71bacf6fead0ffaecbd5395fa31fd7bfd6b4a9b12720baa7e715b66 SHA512 3b923b7eda74afbada72091f60204e1fc447a9f520daa312715d8dc6854ebec366133ee412c4d6c2efe964be8467dd5eb898c71fb13e55fca6fe661da335753c WHIRLPOOL 07efb9033af16fc6f290e85103496bfe87458c143c5d4616e7237b8f0c3628717651853b46ea3abcf91808dc65e8c1268b767b606a06a3e855eb6ae9a5884285 + diff --git a/dev-db/phpmyadmin/phpmyadmin-4.6.1.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.6.1.ebuild new file mode 100644 index 00000000000..1f26611da40 --- /dev/null +++ b/dev-db/phpmyadmin/phpmyadmin-4.6.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils webapp + +MY_PV=${PV/_/-} +MY_PN="phpMyAdmin" +MY_P="${MY_PN}-${MY_PV}-all-languages" + +DESCRIPTION="Web-based administration for MySQL database in PHP" +HOMEPAGE="https://www.phpmyadmin.net/" +SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" +IUSE="setup" + +RDEPEND=" + dev-lang/php[crypt,ctype,filter,json,session,unicode] + || ( + dev-lang/php[mysqli] + dev-lang/php[mysql] + ) + virtual/httpd-php:* +" + +need_httpd_cgi + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + webapp_pkg_setup +} + +src_install() { + webapp_src_preinst + + dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die + rm -f LICENSE README* RELEASE-DATE-${MY_PV} + + if ! use setup; then + rm -rf setup || die "Cannot remove setup utility" + elog "The phpMyAdmin setup utility has been removed." + elog "It is a regular target of various exploits. If you need it, set USE=setup." + else + elog "You should consider disabling the setup USE flag" + elog "to exclude the setup utility if you don't use it." + elog "It regularly is the target of various exploits." + fi + + insinto "${MY_HTDOCSDIR#${EPREFIX}}" + doins -r . + + webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php + webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt + webapp_src_install +} |