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.4.ebuild phpmyadmin-3.1.1.ebuild phpmyadmin-3.0.1.1.ebuild
Date: Sun, 28 Dec 2008 20:53:41
Message-Id: E1LH2dn-0000VZ-6C@stork.gentoo.org
1 wrobel 08/12/28 20:53:39
2
3 Modified: ChangeLog
4 Added: phpmyadmin-2.11.9.4.ebuild phpmyadmin-3.1.1.ebuild
5 Removed: phpmyadmin-3.0.1.1.ebuild
6 Log:
7 Added dev-db/phpmyadmin-2.11.9.4, -3.1.1 in response to #250752. Fixed #251070.
8 (Portage version: 2.1.4.5)
9
10 Revision Changes Path
11 1.350 dev-db/phpmyadmin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.350&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.350&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.349&r2=1.350
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
20 retrieving revision 1.349
21 retrieving revision 1.350
22 diff -u -r1.349 -r1.350
23 --- ChangeLog 7 Dec 2008 07:42:35 -0000 1.349
24 +++ ChangeLog 28 Dec 2008 20:53:39 -0000 1.350
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-db/phpmyadmin
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.349 2008/12/07 07:42:35 wrobel Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.350 2008/12/28 20:53:39 wrobel Exp $
30 +
31 +*phpmyadmin-3.1.1 (28 Dec 2008)
32 +*phpmyadmin-2.11.9.4 (28 Dec 2008)
33 +
34 + 28 Dec 2008; Gunnar Wrobel <wrobel@g.o>
35 + +phpmyadmin-2.11.9.4.ebuild, -phpmyadmin-3.0.1.1.ebuild,
36 + +phpmyadmin-3.1.1.ebuild:
37 + Added dev-db/phpmyadmin-2.11.9.4, -3.1.1 in response to #250752. Fixed #251070.
38
39 07 Dec 2008; Gunnar Wrobel <wrobel@g.o> phpmyadmin-3.0.1.1.ebuild:
40 Fixed mysql dependency (#248623).
41
42
43
44 1.1 dev-db/phpmyadmin/phpmyadmin-2.11.9.4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.9.4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: phpmyadmin-2.11.9.4.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.4.ebuild,v 1.1 2008/12/28 20:53:39 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 "crypt 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 }
114
115
116
117 1.1 dev-db/phpmyadmin/phpmyadmin-3.1.1.ebuild
118
119 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.1.1.ebuild?rev=1.1&view=markup
120 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.1.1.ebuild?rev=1.1&content-type=text/plain
121
122 Index: phpmyadmin-3.1.1.ebuild
123 ===================================================================
124 # Copyright 1999-2008 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-3.1.1.ebuild,v 1.1 2008/12/28 20:53:39 wrobel Exp $
127
128 inherit eutils webapp depend.php
129
130 MY_PV=${PV/_/-}
131 MY_P="phpMyAdmin-${MY_PV}-all-languages"
132
133 DESCRIPTION="Web-based administration for MySQL database in PHP"
134 HOMEPAGE="http://www.phpmyadmin.net/"
135 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
136
137 LICENSE="GPL-2"
138 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
139 IUSE=""
140
141 RDEPEND=">=dev-db/mysql-5.0.15"
142
143 need_httpd_cgi
144 need_php_httpd
145
146 S="${WORKDIR}"/${MY_P}
147
148 pkg_setup() {
149 webapp_pkg_setup
150
151 if ! PHPCHECKNODIE="yes" require_php_with_use crypt ctype pcre session spl unicode \
152 || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
153 eerror
154 eerror "${PHP_PKG} needs to be re-installed with all of the following"
155 eerror "USE flags enabled:"
156 eerror
157 eerror "crypt ctype pcre session spl unicode"
158 eerror
159 eerror "as well as any of the following USE flags enabled:"
160 eerror
161 eerror "mysql or mysqli if using dev-lang/php-5"
162 eerror
163 die "Re-install ${PHP_PKG}"
164 fi
165 }
166
167 src_install() {
168 webapp_src_preinst
169
170 dodoc CREDITS Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog
171 rm -f LICENSE CREDITS INSTALL README RELEASE-DATE-${MY_PV} TODO
172
173 insinto "${MY_HTDOCSDIR}"
174 doins -r .
175
176 webapp_configfile "${MY_HTDOCSDIR}"/libraries/config.default.php
177 webapp_serverowned "${MY_HTDOCSDIR}"/libraries/config.default.php
178
179 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.8.0.txt
180 webapp_hook_script "${FILESDIR}"/reconfig-2.8
181 webapp_src_install
182 }