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: ChangeLog phpmyadmin-3.2.0.ebuild phpmyadmin-2.11.9.5.ebuild phpmyadmin-3.1.2.ebuild
Date: Fri, 19 Jun 2009 14:38:58
Message-Id: E1MHfF2-0002Ui-7S@stork.gentoo.org
1 a3li 09/06/19 14:38:56
2
3 Modified: ChangeLog
4 Added: phpmyadmin-3.2.0.ebuild phpmyadmin-2.11.9.5.ebuild
5 Removed: phpmyadmin-3.1.2.ebuild
6 Log:
7 Non-maintainer commit: Version bump, security bugs 263711 and 266438, bump request 270877.
8 (Portage version: 2.2_rc33/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.360 dev-db/phpmyadmin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.360&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.360&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.359&r2=1.360
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
20 retrieving revision 1.359
21 retrieving revision 1.360
22 diff -u -r1.359 -r1.360
23 --- ChangeLog 28 Feb 2009 11:07:22 -0000 1.359
24 +++ ChangeLog 19 Jun 2009 14:38:56 -0000 1.360
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-db/phpmyadmin
27 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.359 2009/02/28 11:07:22 robbat2 Exp $
29 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.360 2009/06/19 14:38:56 a3li Exp $
31 +
32 +*phpmyadmin-3.2.0 (19 Jun 2009)
33 +*phpmyadmin-2.11.9.5 (19 Jun 2009)
34 +
35 + 19 Jun 2009; Alex Legler <a3li@g.o> +phpmyadmin-2.11.9.5.ebuild,
36 + -phpmyadmin-3.1.2.ebuild, +phpmyadmin-3.2.0.ebuild:
37 + Non-maintainer commit: Version bump, security bugs 263711 and 266438, bump
38 + request 270877.
39
40 28 Feb 2009; Robin H. Johnson <robbat2@g.o>
41 phpmyadmin-3.1.2.ebuild:
42
43
44
45 1.1 dev-db/phpmyadmin/phpmyadmin-3.2.0.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.2.0.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.2.0.ebuild?rev=1.1&content-type=text/plain
49
50 Index: phpmyadmin-3.2.0.ebuild
51 ===================================================================
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.2.0.ebuild,v 1.1 2009/06/19 14:38:56 a3li Exp $
55
56 inherit eutils webapp depend.php
57
58 MY_PV=${PV/_/-}
59 MY_P="phpMyAdmin-${MY_PV}-all-languages"
60
61 DESCRIPTION="Web-based administration for MySQL database in PHP"
62 HOMEPAGE="http://www.phpmyadmin.net/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
64
65 LICENSE="GPL-2"
66 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
67 IUSE=""
68
69 RDEPEND=">=virtual/mysql-5.0"
70
71 need_httpd_cgi
72 need_php_httpd
73
74 S="${WORKDIR}"/${MY_P}
75
76 pkg_setup() {
77 webapp_pkg_setup
78
79 if ! PHPCHECKNODIE="yes" require_php_with_use crypt ctype filter pcre session spl unicode \
80 || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
81 eerror
82 eerror "${PHP_PKG} needs to be re-installed with all of the following"
83 eerror "USE flags enabled:"
84 eerror
85 eerror "crypt ctype filter pcre session spl unicode"
86 eerror
87 eerror "as well as any of the following USE flags enabled:"
88 eerror
89 eerror "mysql or mysqli if using dev-lang/php-5"
90 eerror
91 die "Re-install ${PHP_PKG}"
92 fi
93 }
94
95 src_install() {
96 webapp_src_preinst
97
98 dodoc CREDITS Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog
99 rm -f LICENSE CREDITS INSTALL README RELEASE-DATE-${MY_PV} TODO
100
101 insinto "${MY_HTDOCSDIR}"
102 doins -r .
103
104 webapp_configfile "${MY_HTDOCSDIR}"/libraries/config.default.php
105 webapp_serverowned "${MY_HTDOCSDIR}"/libraries/config.default.php
106
107 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
108 webapp_hook_script "${FILESDIR}"/reconfig-2.8
109 webapp_src_install
110 }
111
112
113
114 1.1 dev-db/phpmyadmin/phpmyadmin-2.11.9.5.ebuild
115
116 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.5.ebuild?rev=1.1&view=markup
117 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.5.ebuild?rev=1.1&content-type=text/plain
118
119 Index: phpmyadmin-2.11.9.5.ebuild
120 ===================================================================
121 # Copyright 1999-2009 Gentoo Foundation
122 # Distributed under the terms of the GNU General Public License v2
123 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.5.ebuild,v 1.1 2009/06/19 14:38:56 a3li Exp $
124
125 inherit eutils webapp depend.php
126
127 MY_PV=${PV/_/-}
128 MY_P="phpMyAdmin-${MY_PV}-all-languages-utf-8-only"
129
130 DESCRIPTION="Web-based administration for MySQL database in PHP"
131 HOMEPAGE="http://www.phpmyadmin.net/"
132 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
133
134 LICENSE="GPL-2"
135 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
136 IUSE=""
137
138 need_httpd_cgi
139 need_php_httpd
140
141 S="${WORKDIR}"/${MY_P}
142
143 pkg_setup() {
144 webapp_pkg_setup
145
146 if ! PHPCHECKNODIE="yes" require_php_with_use crypt ctype pcre session unicode \
147 || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
148 eerror
149 eerror "${PHP_PKG} needs to be re-installed with all of the following"
150 eerror "USE flags enabled:"
151 eerror
152 eerror "crypt ctype pcre session unicode"
153 eerror
154 eerror "as well as any of the following USE flags enabled:"
155 eerror
156 eerror "mysql or mysqli if using dev-lang/php-5"
157 eerror
158 die "Re-install ${PHP_PKG}"
159 fi
160 }
161
162 src_unpack() {
163 unpack ${A}
164 cd "${S}"
165 epatch "${FILESDIR}"/${PN}-2.11.5-custom-cert.patch
166 }
167
168 src_install() {
169 webapp_src_preinst
170
171 dodoc CREDITS Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog
172 rm -f LICENSE CREDITS INSTALL README RELEASE-DATE-${MY_PV} TODO
173
174 insinto "${MY_HTDOCSDIR}"
175 doins -r .
176
177 webapp_configfile "${MY_HTDOCSDIR}"/libraries/config.default.php
178 webapp_serverowned "${MY_HTDOCSDIR}"/libraries/config.default.php
179
180 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.8.0.txt
181 webapp_hook_script "${FILESDIR}"/reconfig-2.8
182 webapp_src_install
183 }