diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2016-12-07 00:51:46 -0100 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2016-12-07 01:04:46 -0100 |
commit | 334770d1cad3f4da744d0fc53d288215ea99318d (patch) | |
tree | 5bd4575aee6151b48e4b1be0a003a7fc479004d0 /dev-db/phpmyadmin | |
parent | a32db681c2289c5894dbbda52d099c7b4b095a0a (diff) | |
download | gentoo-334770d1cad3f4da744d0fc53d288215ea99318d.tar.gz gentoo-334770d1cad3f4da744d0fc53d288215ea99318d.tar.xz |
dev-db/phpmyadmin: Add 4.6.5.2 release.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-db/phpmyadmin')
-rw-r--r-- | dev-db/phpmyadmin/Manifest | 1 | ||||
-rw-r--r-- | dev-db/phpmyadmin/phpmyadmin-4.6.5.2.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest index 0e4bcb31f3b..00718a30001 100644 --- a/dev-db/phpmyadmin/Manifest +++ b/dev-db/phpmyadmin/Manifest @@ -3,3 +3,4 @@ DIST phpMyAdmin-4.4.15.5-all-languages.tar.xz 5783216 SHA256 6160724fa90ef5cccb6 DIST phpMyAdmin-4.4.15.8-all-languages.tar.xz 5772212 SHA256 aaabba81185da6496eef10eb2ee3fcb47138494bb50ca57a4050ca5a732a67a1 SHA512 4f417d8d371975133b76a9b4c4a4e6d31089281e68c9e0df33107c0d343b8d25ebb03f13ed6327a6024283b3de01dc623e080277acbffa41b46a87d00476c23c WHIRLPOOL 3046b629ecaacd843b130871af38561ac9b0aecbf4a80ceb3ee6b7f5491abf3ae39755ce038b6dcbb53ac0e8145ca3d01bda3b9fd001d5fe46990d805c16ed4e DIST phpMyAdmin-4.4.15.9-all-languages.tar.xz 5776028 SHA256 0d279bd34e542d3cdf5cb37667cc4617f008f39b5eb7d943e9aa739a2ceca174 SHA512 2dd5a9fcc777627b9bccad340e4e0d7b7736a6e088a9ce5957f7fc22cef909b4c81467dab359b7b597be7977fac08e4632e6f06fd6743f133a14773de6dda05c WHIRLPOOL 3f4597799165bc8773cc279ea5d036fd3036d1019762a3503d68ce28c5efdee9b83864d0bd4f6d4d466c90d71b78ed478cc53084fab84a811e6888208d3decaa DIST phpMyAdmin-4.6.5.1-all-languages.tar.xz 6162164 SHA256 e163b08b6d1137fd7c48ea97e8e53be415b1937f5e5f7e070936a60c3b9a3df0 SHA512 e6f90af32b77785ff49d9be4033e29e5b64df84d1a37dbe214df9049ef25ecfaee8e443aa9b789c408993541ea85c8e670b350071bd7f3437711462e164afad8 WHIRLPOOL 7e4f5d8e214192c33700b321343510f23f772c5c1a322749c2aded037be9b5743899fd67965743c5498615ae4cf73d0d2d5954ddd11c71b63724e2225ab3f200 +DIST phpMyAdmin-4.6.5.2-all-languages.tar.xz 6136880 SHA256 8cb549c0cd04ecaa3b2a8d9315e7c88528603fa6fe91057b13173f6afba80894 SHA512 10fecd5f313b3685b3d4d7c86b20e9466abc54298267f2ed41cf81096fae5bf8472860ac3ebd5ecba8644b43f69eaf944625a8a12beaba637bcefba0940f3a11 WHIRLPOOL e9de7fcbc50c0b3ea37f7e2dee1290340abd23211248285b36513459dc8c761a95be47a41698de34a4728afd653d87aa214367d162fef820f6a73413ff1ccf9b diff --git a/dev-db/phpmyadmin/phpmyadmin-4.6.5.2.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.6.5.2.ebuild new file mode 100644 index 00000000000..1f26611da40 --- /dev/null +++ b/dev-db/phpmyadmin/phpmyadmin-4.6.5.2.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 +} |