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.4.9.ebuild ChangeLog phpmyadmin-3.4.5.ebuild phpmyadmin-3.4.7.ebuild
Date: Fri, 23 Dec 2011 21:40:00
Message-Id: 20111223213950.81D2A2004B@flycatcher.gentoo.org
1 a3li 11/12/23 21:39:50
2
3 Modified: ChangeLog
4 Added: phpmyadmin-3.4.9.ebuild
5 Removed: phpmyadmin-3.4.5.ebuild phpmyadmin-3.4.7.ebuild
6 Log:
7 Version bump for security bugs 389427 and 395715. Removing unnneeded and vulnerable versions.
8
9 (Portage version: 2.2.0_alpha82/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.460 dev-db/phpmyadmin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.460&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.460&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.459&r2=1.460
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
21 retrieving revision 1.459
22 retrieving revision 1.460
23 diff -u -r1.459 -r1.460
24 --- ChangeLog 5 Nov 2011 19:26:55 -0000 1.459
25 +++ ChangeLog 23 Dec 2011 21:39:50 -0000 1.460
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-db/phpmyadmin
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.459 2011/11/05 19:26:55 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.460 2011/12/23 21:39:50 a3li Exp $
31 +
32 +*phpmyadmin-3.4.9 (23 Dec 2011)
33 +
34 + 23 Dec 2011; Alex Legler <a3li@g.o> -phpmyadmin-3.4.5.ebuild,
35 + -phpmyadmin-3.4.7.ebuild, +phpmyadmin-3.4.9.ebuild:
36 + Version bump for security bugs 389427 and 395715. Removing unnneeded and
37 + vulnerable versions.
38
39 05 Nov 2011; Raúl Porcel <armin76@g.o> phpmyadmin-3.4.6.ebuild:
40 alpha/sparc stable wrt #387413
41
42
43
44 1.1 dev-db/phpmyadmin/phpmyadmin-3.4.9.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.4.9.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.4.9.ebuild?rev=1.1&content-type=text/plain
48
49 Index: phpmyadmin-3.4.9.ebuild
50 ===================================================================
51 # Copyright 1999-2011 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.4.9.ebuild,v 1.1 2011/12/23 21:39:50 a3li Exp $
54
55 EAPI="2"
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.bz2"
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 CREDITS Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog || die
95 rm -f LICENSE CREDITS INSTALL README* RELEASE-DATE-${MY_PV} TODO
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 }