summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-11-04 21:10:07 -0100
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2015-11-04 21:10:07 -0100
commit353598c7391a53f1c7185a9065333c81a682a2c0 (patch)
tree29dac397a1d3d8430dce514618d1552e5a9ef9ab /dev-db/phpmyadmin
parentDrop old and vulnerable versions. (diff)
downloadgentoo-353598c7391a53f1c7185a9065333c81a682a2c0.tar.gz
gentoo-353598c7391a53f1c7185a9065333c81a682a2c0.tar.bz2
gentoo-353598c7391a53f1c7185a9065333c81a682a2c0.zip
[dev-db/phpmyadmin] Version bump to address PMASA-2015-5 - fixes bug 564238. Drop vulnerable version.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'dev-db/phpmyadmin')
-rw-r--r--dev-db/phpmyadmin/Manifest3
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-4.4.15.1.ebuild (renamed from dev-db/phpmyadmin/phpmyadmin-4.5.0.2.ebuild)0
-rw-r--r--dev-db/phpmyadmin/phpmyadmin-4.5.1.ebuild62
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest
index 2c7b8e3a8b7e..d4a3914a095a 100644
--- a/dev-db/phpmyadmin/Manifest
+++ b/dev-db/phpmyadmin/Manifest
@@ -1,2 +1,3 @@
DIST phpMyAdmin-4.4.14.1-all-languages.zip 10057503 SHA256 223fc8f7fd135ca5d6389724b77bd6926acc41f81e050a64712d5f9a0a88c6b1 SHA512 17302b90cc74f37d0e0c881cfa6821f2806040cc23b70c67dfb8d3ba237a387ce3665aa477b5d5aff0117d19200b73f64ce13490c28488ba21e68bbbebbe8731 WHIRLPOOL 36c84f38ecfc6ce669ad5cc151f46a81b1327c74a997fe948ff5abd45891e02ad9d714a49ae582cd34628074130da181593257a57be181ed43b0da65687d1c9e
-DIST phpMyAdmin-4.5.0.2-all-languages.zip 10316330 SHA256 c8575cb4c714a9c561e81f2d0b6c9ad9a138f1962f8b00f8e0e377a1c7be34d9 SHA512 70b35d62fdf8b091eb45a64c8cdab57c5f3e2c9df60ecb2aedbf5b1e40127f8e4378057ce165f59c3c9bba2302eacce7b1636a7bd560d38226c0948da4b2a931 WHIRLPOOL 35de5ee4a412aef85ad69c117176cccbf9f9ab47a256a28f37107afcf0fa9e8516e115e5114998336d675b091fcb9d4adb2cbb829ab671d6be28dd13214971d2
+DIST phpMyAdmin-4.4.15.1-all-languages.zip 10087489 SHA256 b6dc530b8848441669bd9887a24df311dd3b2ac1f28142eb4d1c9a07ed827185 SHA512 d3dfd08a881332942f126c4674c2396b899395d8cac04b31185e703fea0a9d34de9a1a941d5bf91823bc45df4bb41f27e78b97d9cc383b47f4e853a0c9ff5287 WHIRLPOOL 8442442309e963d8e057ddb32393a8ed2f4292d7e746ccca02d1c2b5d0b07271485fe76158cf2a26a2b3c2bd0bd2fec7218216a11d89f140fe23412572a2eb2a
+DIST phpMyAdmin-4.5.1-all-languages.zip 10363029 SHA256 4806b6e41a14a6686c62e54e5d23fb8e90561e9edb162c7f38b1aef66d71285c SHA512 a6140e083cec393f3570edef6a41cc2b134990c08926aa8b48ef460c3b95c829047553b3cb65ac841458a31077700e98db2d5d6218df7e45edf2b486d12d236c WHIRLPOOL 327d3d5cf4661516f3449f9b1d9780caaa25e9ebac20f348ac20da6c0814498b2425806d8110ca9451915f7d0c62c23ab8ed922f573bb6955a0f85d55bf0dcbf
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.5.0.2.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.4.15.1.ebuild
index d923c97c8086..d923c97c8086 100644
--- a/dev-db/phpmyadmin/phpmyadmin-4.5.0.2.ebuild
+++ b/dev-db/phpmyadmin/phpmyadmin-4.4.15.1.ebuild
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.5.1.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.5.1.ebuild
new file mode 100644
index 000000000000..d923c97c8086
--- /dev/null
+++ b/dev-db/phpmyadmin/phpmyadmin-4.5.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 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}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~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
+}