summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2017-10-27 09:56:38 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2017-10-27 09:56:38 +0000
commit5e8d7404485e026a00385810b21a40734a4a67e5 (patch)
treeb0b6e2383c65d63df355cceb9eaa4b9fb368412a /dev-db/phpmyadmin
parentwww-apps/drupal: Security version bump CVE-2017-692{3,4,5} - fixes bug 628210. (diff)
downloadjmbsvicetto-5e8d7404485e026a00385810b21a40734a4a67e5.tar.gz
jmbsvicetto-5e8d7404485e026a00385810b21a40734a4a67e5.tar.bz2
jmbsvicetto-5e8d7404485e026a00385810b21a40734a4a67e5.zip
dev-db/phpmyadmin: Add 4.7.5 release.
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'dev-db/phpmyadmin')
-rw-r--r--dev-db/phpmyadmin/Manifest1
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-4.7.5.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest
index 15f2ab2..3f68707 100644
--- a/dev-db/phpmyadmin/Manifest
+++ b/dev-db/phpmyadmin/Manifest
@@ -2,3 +2,4 @@ DIST phpMyAdmin-4.0.10.20-all-languages.tar.xz 4323896 SHA256 16595dd62c8256caa9
DIST phpMyAdmin-4.7.1-all-languages.tar.xz 5665344 SHA256 f94ed0fc5df38e049746e40852135bf55b9af0fd9fcee07f175919c463ad58a5 SHA512 583ad8c8ee871fedd4df79e49845554f2f6182a343439fff8f91f61428964a85f3305590792096ede95a2ea675f065a4a4cdee31d365c03d2cc3aa721b0aeb6e WHIRLPOOL 9fbb781dac0087eb2100e213f2e4c2048a0358f0272fa4f05105ac7fa50333e617376f9580adcc11e8c8d269b6b8cc7dbb4d7c6c0050f9224fa4892261315c49
DIST phpMyAdmin-4.7.2-all-languages.tar.xz 6270116 SHA256 4f5e474d826ae2fcb704aaade9422592595a2b41046b13e625aa3d00d4d00eee SHA512 ed0b26fd53d1a7d77dcaac98c8570282855b967aee23814fb61737484ea899ede7d900fd0baa27c20fa8ae9a55009db6037b1be42bd6a24d471d672f138d1761 WHIRLPOOL ab3eb4f8b970b53decf63bb6abeab25fbe76103361d04918346f81aabfac236fede780cd94348cd4552952b20db1ea67e8e6eee8e06cc7a6fb091f6ad73df246
DIST phpMyAdmin-4.7.3-all-languages.tar.xz 6317928 SHA256 ed51669043f62494dc3bc21a87423373164ff63865a6c6bceaee535ef785f33e SHA512 aedaf9bee1c3eb791a734c77e089b0e8df3e1d552cb7baf006f0db00c131a900fc7983abc93bb94414e12f1658c85ba4cdff2d662d362a6b7da85df7466405af WHIRLPOOL eaa61fd5a3d555a6882b89e1a42bddcf94540becda9ded9278128ac3f4b88e7b6217d87da28aa34fd36b9b05608d6b7b12cb7ae22d9b15d7f29ccfba4068f516
+DIST phpMyAdmin-4.7.5-all-languages.tar.xz 6254188 SHA256 e4f53b8a5a8e32cea389718c6f6f282e9ac22ed5f31f67d88266aa27ae0a1ca3 SHA512 f79a6779d3cd216e53c14faad74fcd35f4e89865c2b91cc6fb7599cc16c9a273143a6a491e960c0c902d29dd9e85f123f61bdef5c7b0cef45b827296f50d3d82 WHIRLPOOL 6b71e14aec8224c738251e45e4771f2490fef6630b43397fb761ebd8a893e248e7027a4c440a4a617c26fa59294410afbdf0155e4581c436a2ea2ba7c0ac0342
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.7.5.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.7.5.ebuild
new file mode 100644
index 0000000..80ad74d
--- /dev/null
+++ b/dev-db/phpmyadmin/phpmyadmin-4.7.5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}