Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/phpmyadmin/
Date: Wed, 08 Jan 2020 03:31:20
Message-Id: 1578454268.45c5e58f84d508d0ae56f4e5b88a5039d583bdc5.jmbsvicetto@gentoo
1 commit: 45c5e58f84d508d0ae56f4e5b88a5039d583bdc5
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 8 03:31:08 2020 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 8 03:31:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c5e58f
7
8 dev-db/phpmyadmin: Drop vulnerable versions.
9
10 Kept last stable release pending stabilization of the newer releases.
11
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
14
15 dev-db/phpmyadmin/Manifest | 2 -
16 dev-db/phpmyadmin/phpmyadmin-4.9.3.ebuild | 61 -------------------------------
17 dev-db/phpmyadmin/phpmyadmin-5.0.0.ebuild | 61 -------------------------------
18 3 files changed, 124 deletions(-)
19
20 diff --git a/dev-db/phpmyadmin/Manifest b/dev-db/phpmyadmin/Manifest
21 index fc8094a4fd6..24fbf25d17c 100644
22 --- a/dev-db/phpmyadmin/Manifest
23 +++ b/dev-db/phpmyadmin/Manifest
24 @@ -1,5 +1,3 @@
25 DIST phpMyAdmin-4.9.2-all-languages.tar.xz 6118472 BLAKE2B 07093982aebf83017a1773a1cd1acac8b7a4cc9bf666f7c62fdef4b3b46441f5ee1da37746610b0ed6b92a67296d908dbf24ba1ea546c1b573c3593a02b90088 SHA512 426689c31f963a9cbe34b2116888aa0264801aa5ef18fb0e4b89811b032d4018c770538e823bccb684fb066ed27fcf6dc6e0fb4198d1e082e7eea15595b67727
26 -DIST phpMyAdmin-4.9.3-all-languages.tar.xz 6136280 BLAKE2B 638fef4a3b50a9c3d528c21d29a2c6d96fe2d425e0cbba03f55fce2bbbda8992cc5723be19ba40bd31ed2adf37fdbc3f382a22c9634bed37f3ac6107e40d06cc SHA512 ac6ec72efde6aad6b20d651328ad0d9440f11b150c38f4043f0e3916b97a15908f60b13a5948ec8767d62499a9d31d0bbe4d764f97f7236de3d7ba9cfc422379
27 DIST phpMyAdmin-4.9.4-all-languages.tar.xz 6134852 BLAKE2B 4ba7d4a45a3fb7d84f6b227a2d2fc0ffc530498e74c1c412bbf631ca78ba5c874f9f21220d34e2179666253bde4fa222838962e6c9d48d514cf80c5c8370cee3 SHA512 3ddab59725d59bcbe99457a1717f12b53bbd251f0bfcea1582288abfbb4507e50351e3ed0e76961026b0ad351abc806deed4a97f0fa882b34ee095ef314aaf37
28 -DIST phpMyAdmin-5.0.0-all-languages.tar.xz 8130456 BLAKE2B f8006ed4b78674d835c348104bd0d6a84ee26ab918080a38cda218399b74d62c8b7fa23d75c87d1705090fe751e39d47f1c66edf2bac03f68a52e5ed40209042 SHA512 7b29193a7376044d05a97f7cf3080c90db23433ba4de98e95dc1162ab740c4facd9a7b52816a9e65b23a72d908746d27ca4df008e752af7117fa89ff7af962c9
29 DIST phpMyAdmin-5.0.1-all-languages.tar.xz 8130464 BLAKE2B a4b859c73ece7537db1bc4a14df8c5c8f0ab39106b9e3ccbbc30c1f97fa4dc40617db3b00c432b24aa9865ed45595805fa4b43db92b5794794621d0c7df54f3a SHA512 576323a5e63438fe9e57e6165697c5e03e5291346f3786c84d5d6c4cd6851713cb10b2eed4b0c7e9ab6445dad9b06cbded6c03711fcc2942e999f2b5e7ab446b
30
31 diff --git a/dev-db/phpmyadmin/phpmyadmin-4.9.3.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.9.3.ebuild
32 deleted file mode 100644
33 index b44663d5751..00000000000
34 --- a/dev-db/phpmyadmin/phpmyadmin-4.9.3.ebuild
35 +++ /dev/null
36 @@ -1,61 +0,0 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -inherit eutils webapp
43 -
44 -MY_PV=${PV/_/-}
45 -MY_PN="phpMyAdmin"
46 -MY_P="${MY_PN}-${MY_PV}-all-languages"
47 -
48 -DESCRIPTION="Web-based administration for MySQL database in PHP"
49 -HOMEPAGE="https://www.phpmyadmin.net/"
50 -SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz"
51 -
52 -LICENSE="GPL-2"
53 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
54 -IUSE="setup"
55 -
56 -RDEPEND="
57 - dev-lang/php[ctype,filter,json,session,unicode]
58 - || (
59 - dev-lang/php[mysqli]
60 - dev-lang/php[mysql]
61 - )
62 - virtual/httpd-php:*
63 -"
64 -
65 -need_httpd_cgi
66 -
67 -S="${WORKDIR}"/${MY_P}
68 -
69 -pkg_setup() {
70 - webapp_pkg_setup
71 -}
72 -
73 -src_install() {
74 - webapp_src_preinst
75 -
76 - dodoc README RELEASE-DATE-${MY_PV} ChangeLog
77 - rm -f LICENSE README* RELEASE-DATE-${MY_PV}
78 -
79 - if ! use setup; then
80 - rm -rf setup || die "Cannot remove setup utility"
81 - elog "The phpMyAdmin setup utility has been removed."
82 - elog "It is a regular target of various exploits. If you need it, set USE=setup."
83 - else
84 - elog "You should consider disabling the setup USE flag"
85 - elog "to exclude the setup utility if you don't use it."
86 - elog "It regularly is the target of various exploits."
87 - fi
88 -
89 - insinto "${MY_HTDOCSDIR#${EPREFIX}}"
90 - doins -r .
91 -
92 - webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
93 - webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
94 -
95 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
96 - webapp_src_install
97 -}
98
99 diff --git a/dev-db/phpmyadmin/phpmyadmin-5.0.0.ebuild b/dev-db/phpmyadmin/phpmyadmin-5.0.0.ebuild
100 deleted file mode 100644
101 index bcfb741fefe..00000000000
102 --- a/dev-db/phpmyadmin/phpmyadmin-5.0.0.ebuild
103 +++ /dev/null
104 @@ -1,61 +0,0 @@
105 -# Copyright 1999-2020 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -inherit eutils webapp
111 -
112 -MY_PV=${PV/_/-}
113 -MY_PN="phpMyAdmin"
114 -MY_P="${MY_PN}-${MY_PV}-all-languages"
115 -
116 -DESCRIPTION="Web-based administration for MySQL database in PHP"
117 -HOMEPAGE="https://www.phpmyadmin.net/"
118 -SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz"
119 -
120 -LICENSE="GPL-2"
121 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
122 -IUSE="setup"
123 -
124 -RDEPEND="
125 - >=dev-lang/php-7.1[ctype,filter,json,session,unicode]
126 - || (
127 - dev-lang/php[mysqli]
128 - dev-lang/php[mysql]
129 - )
130 - virtual/httpd-php:*
131 -"
132 -
133 -need_httpd_cgi
134 -
135 -S="${WORKDIR}"/${MY_P}
136 -
137 -pkg_setup() {
138 - webapp_pkg_setup
139 -}
140 -
141 -src_install() {
142 - webapp_src_preinst
143 -
144 - dodoc README RELEASE-DATE-${MY_PV} ChangeLog
145 - rm -f LICENSE README* RELEASE-DATE-${MY_PV}
146 -
147 - if ! use setup; then
148 - rm -rf setup || die "Cannot remove setup utility"
149 - elog "The phpMyAdmin setup utility has been removed."
150 - elog "It is a regular target of various exploits. If you need it, set USE=setup."
151 - else
152 - elog "You should consider disabling the setup USE flag"
153 - elog "to exclude the setup utility if you don't use it."
154 - elog "It regularly is the target of various exploits."
155 - fi
156 -
157 - insinto "${MY_HTDOCSDIR#${EPREFIX}}"
158 - doins -r .
159 -
160 - webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
161 - webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
162 -
163 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
164 - webapp_src_install
165 -}