1 |
commit: 3f9b15d5611dc1086df2be92e9b086b4b73d498a |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 24 15:23:25 2018 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 24 15:23:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9b15d5 |
7 |
|
8 |
Drop old vulnerable version. |
9 |
|
10 |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> |
11 |
|
12 |
dev-db/phpmyadmin/phpmyadmin-4.7.7.ebuild | 61 ------------------------------- |
13 |
1 file changed, 61 deletions(-) |
14 |
|
15 |
diff --git a/dev-db/phpmyadmin/phpmyadmin-4.7.7.ebuild b/dev-db/phpmyadmin/phpmyadmin-4.7.7.ebuild |
16 |
deleted file mode 100644 |
17 |
index 957fab2d7f8..00000000000 |
18 |
--- a/dev-db/phpmyadmin/phpmyadmin-4.7.7.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,61 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="5" |
25 |
- |
26 |
-inherit eutils webapp |
27 |
- |
28 |
-MY_PV=${PV/_/-} |
29 |
-MY_PN="phpMyAdmin" |
30 |
-MY_P="${MY_PN}-${MY_PV}-all-languages" |
31 |
- |
32 |
-DESCRIPTION="Web-based administration for MySQL database in PHP" |
33 |
-HOMEPAGE="https://www.phpmyadmin.net/" |
34 |
-SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz" |
35 |
- |
36 |
-LICENSE="GPL-2" |
37 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" |
38 |
-IUSE="setup" |
39 |
- |
40 |
-RDEPEND=" |
41 |
- dev-lang/php[crypt,ctype,filter,json,session,unicode] |
42 |
- || ( |
43 |
- dev-lang/php[mysqli] |
44 |
- dev-lang/php[mysql] |
45 |
- ) |
46 |
- virtual/httpd-php:* |
47 |
-" |
48 |
- |
49 |
-need_httpd_cgi |
50 |
- |
51 |
-S="${WORKDIR}"/${MY_P} |
52 |
- |
53 |
-pkg_setup() { |
54 |
- webapp_pkg_setup |
55 |
-} |
56 |
- |
57 |
-src_install() { |
58 |
- webapp_src_preinst |
59 |
- |
60 |
- dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die |
61 |
- rm -f LICENSE README* RELEASE-DATE-${MY_PV} |
62 |
- |
63 |
- if ! use setup; then |
64 |
- rm -rf setup || die "Cannot remove setup utility" |
65 |
- elog "The phpMyAdmin setup utility has been removed." |
66 |
- elog "It is a regular target of various exploits. If you need it, set USE=setup." |
67 |
- else |
68 |
- elog "You should consider disabling the setup USE flag" |
69 |
- elog "to exclude the setup utility if you don't use it." |
70 |
- elog "It regularly is the target of various exploits." |
71 |
- fi |
72 |
- |
73 |
- insinto "${MY_HTDOCSDIR#${EPREFIX}}" |
74 |
- doins -r . |
75 |
- |
76 |
- webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php |
77 |
- webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php |
78 |
- |
79 |
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt |
80 |
- webapp_src_install |
81 |
-} |