Gentoo Archives: gentoo-commits

From: "Gunnar Wrobel (wrobel)" <wrobel@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/phpmyadmin: ChangeLog phpmyadmin-2.11.9.2.ebuild phpmyadmin-2.11.8.ebuild phpmyadmin-2.11.8.1.ebuild
Date: Mon, 29 Sep 2008 07:59:00
Message-Id: E1KkDei-0006Wc-Mr@stork.gentoo.org
1 wrobel 08/09/29 07:58:56
2
3 Modified: ChangeLog
4 Added: phpmyadmin-2.11.9.2.ebuild
5 Removed: phpmyadmin-2.11.8.ebuild phpmyadmin-2.11.8.1.ebuild
6 Log:
7 Added phpmyadmin-2.11.9.2 in response to sec issue #238592. Removed
8 phpmyadmin-2.11.8, -2.11.8.1 as they are vulnerable to #237781.
9 (Portage version: 2.1.4.4)
10
11 Revision Changes Path
12 1.332 dev-db/phpmyadmin/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.332&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.332&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.331&r2=1.332
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
21 retrieving revision 1.331
22 retrieving revision 1.332
23 diff -u -r1.331 -r1.332
24 --- ChangeLog 23 Sep 2008 18:57:42 -0000 1.331
25 +++ ChangeLog 29 Sep 2008 07:58:56 -0000 1.332
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-db/phpmyadmin
28 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.331 2008/09/23 18:57:42 keytoaster Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.332 2008/09/29 07:58:56 wrobel Exp $
31 +
32 +*phpmyadmin-2.11.9.2 (29 Sep 2008)
33 +
34 + 29 Sep 2008; wrobel@g.o -phpmyadmin-2.11.8.ebuild,
35 + -phpmyadmin-2.11.8.1.ebuild, +phpmyadmin-2.11.9.2.ebuild:
36 + Added phpmyadmin-2.11.9.2 in response to sec issue #238592. Removed
37 + phpmyadmin-2.11.8, -2.11.8.1 as they are vulnerable to #237781.
38
39 23 Sep 2008; Tobias Heinlein <keytoaster@g.o>
40 phpmyadmin-2.11.9.1.ebuild:
41
42
43
44 1.1 dev-db/phpmyadmin/phpmyadmin-2.11.9.2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: phpmyadmin-2.11.9.2.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.2.ebuild,v 1.1 2008/09/29 07:58:56 wrobel Exp $
54
55 inherit eutils webapp depend.php
56
57 MY_PV=${PV/_/-}
58 MY_P="phpMyAdmin-${MY_PV}-all-languages-utf-8-only"
59
60 DESCRIPTION="Web-based administration for MySQL database in PHP"
61 HOMEPAGE="http://www.phpmyadmin.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE=""
67
68 need_httpd_cgi
69 need_php_httpd
70
71 S="${WORKDIR}"/${MY_P}
72
73 pkg_setup() {
74 webapp_pkg_setup
75
76 if ! PHPCHECKNODIE="yes" require_php_with_use crypt ctype pcre session unicode \
77 || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
78 eerror
79 eerror "${PHP_PKG} needs to be re-installed with all of the following"
80 eerror "USE flags enabled:"
81 eerror
82 eerror "ctype pcre session unicode"
83 eerror
84 eerror "as well as any of the following USE flags enabled:"
85 eerror
86 eerror "mysql or mysqli if using dev-lang/php-5"
87 eerror
88 die "Re-install ${PHP_PKG}"
89 fi
90 }
91
92 src_unpack() {
93 unpack ${A}
94 cd "${S}"
95 epatch "${FILESDIR}"/${PN}-2.11.5-custom-cert.patch
96 }
97
98 src_install() {
99 webapp_src_preinst
100
101 dodoc CREDITS Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog
102 rm -f LICENSE CREDITS INSTALL README RELEASE-DATE-${MY_PV} TODO
103
104 insinto "${MY_HTDOCSDIR}"
105 doins -r .
106
107 webapp_configfile "${MY_HTDOCSDIR}"/libraries/config.default.php
108 webapp_serverowned "${MY_HTDOCSDIR}"/libraries/config.default.php
109
110 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.8.0.txt
111 webapp_hook_script "${FILESDIR}"/reconfig-2.8
112 webapp_src_install
113 }