Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/phpmyadmin: phpmyadmin-3.5.2.2.ebuild ChangeLog phpmyadmin-3.5.0.ebuild phpmyadmin-3.5.1.ebuild
Date: Wed, 22 Aug 2012 15:16:04
Message-Id: 20120822151554.0C9732035E@flycatcher.gentoo.org
1 a3li 12/08/22 15:15:53
2
3 Modified: ChangeLog
4 Added: phpmyadmin-3.5.2.2.ebuild
5 Removed: phpmyadmin-3.5.0.ebuild phpmyadmin-3.5.1.ebuild
6 Log:
7 Version bump to 3.5.2.2 for bugs 404991, 410965, and PMASA-2012-3/-4. Use .xz distfile and bump EAPI for that. Removing unneeded vulnerable versions.
8
9 (Portage version: 2.2.0_alpha103/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.468 dev-db/phpmyadmin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.468&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.468&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.467&r2=1.468
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
21 retrieving revision 1.467
22 retrieving revision 1.468
23 diff -u -r1.467 -r1.468
24 --- ChangeLog 7 May 2012 14:36:20 -0000 1.467
25 +++ ChangeLog 22 Aug 2012 15:15:53 -0000 1.468
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-db/phpmyadmin
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.467 2012/05/07 14:36:20 a3li Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.468 2012/08/22 15:15:53 a3li Exp $
31 +
32 +*phpmyadmin-3.5.2.2 (22 Aug 2012)
33 +
34 + 22 Aug 2012; Alex Legler <a3li@g.o> -phpmyadmin-3.5.0.ebuild,
35 + -phpmyadmin-3.5.1.ebuild, +phpmyadmin-3.5.2.2.ebuild:
36 + Version bump to 3.5.2.2 for bugs 404991, 410965, and PMASA-2012-3/-4. Use .xz
37 + distfile and bump EAPI for that. Removing unneeded vulnerable versions.
38
39 *phpmyadmin-3.5.1 (07 May 2012)
40
41
42
43
44 1.1 dev-db/phpmyadmin/phpmyadmin-3.5.2.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.5.2.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.5.2.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: phpmyadmin-3.5.2.2.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.5.2.2.ebuild,v 1.1 2012/08/22 15:15:53 a3li Exp $
54
55 EAPI="4"
56
57 inherit eutils webapp depend.php
58
59 MY_PV=${PV/_/-}
60 MY_P="phpMyAdmin-${MY_PV}-all-languages"
61
62 DESCRIPTION="Web-based administration for MySQL database in PHP"
63 HOMEPAGE="http://www.phpmyadmin.net/"
64 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
65
66 LICENSE="GPL-2"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
68 IUSE="setup"
69
70 RDEPEND="
71 dev-lang/php[crypt,ctype,filter,json,session,unicode]
72 || (
73 <dev-lang/php-5.3[spl,pcre]
74 >=dev-lang/php-5.3
75 )
76 || (
77 dev-lang/php[mysqli]
78 dev-lang/php[mysql]
79 )
80 "
81
82 need_httpd_cgi
83 need_php_httpd
84
85 S="${WORKDIR}"/${MY_P}
86
87 pkg_setup() {
88 webapp_pkg_setup
89 }
90
91 src_install() {
92 webapp_src_preinst
93
94 dodoc Documentation.txt README RELEASE-DATE-${MY_PV} ChangeLog || die
95 rm -f LICENSE README* RELEASE-DATE-${MY_PV}
96
97 if ! use setup; then
98 rm -rf setup || die "Cannot remove setup utility"
99 elog "The phpMyAdmin setup utility has been removed."
100 elog "It is a regular target of various exploits. If you need it, set USE=setup."
101 else
102 elog "You should consider disabling the setup USE flag"
103 elog "to exclude the setup utility if you don't use it."
104 elog "It regularly is the target of various exploits."
105 fi
106
107 insinto "${MY_HTDOCSDIR}"
108 doins -r .
109
110 webapp_configfile "${MY_HTDOCSDIR}"/libraries/config.default.php
111 webapp_serverowned "${MY_HTDOCSDIR}"/libraries/config.default.php
112
113 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
114 webapp_src_install
115 }