Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/phpmyadmin: ChangeLog phpmyadmin-2.11.5-r1.ebuild phpmyadmin-2.11.2.2.ebuild phpmyadmin-2.11.4.ebuild
Date: Thu, 06 Mar 2008 15:40:26
Message-Id: E1JXICk-0004Rf-GI@stork.gentoo.org
1 hollow 08/03/06 15:40:22
2
3 Modified: ChangeLog
4 Added: phpmyadmin-2.11.5-r1.ebuild
5 Removed: phpmyadmin-2.11.2.2.ebuild phpmyadmin-2.11.4.ebuild
6 Log:
7 add patch for custom connection certificates; fix postinstall instructions wrt #212117; remove vulnerable versions wrt #212000
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.296 dev-db/phpmyadmin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.296&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.296&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.295&r2=1.296
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
20 retrieving revision 1.295
21 retrieving revision 1.296
22 diff -u -r1.295 -r1.296
23 --- ChangeLog 4 Mar 2008 20:54:56 -0000 1.295
24 +++ ChangeLog 6 Mar 2008 15:40:21 -0000 1.296
25 @@ -1,6 +1,15 @@
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.295 2008/03/04 20:54:56 dertobi123 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.296 2008/03/06 15:40:21 hollow Exp $
30 +
31 +*phpmyadmin-2.11.5-r1 (06 Mar 2008)
32 +
33 + 06 Mar 2008; Benedikt Böhm <hollow@g.o>
34 + files/postinstall-en-2.8.0.txt,
35 + +files/phpmyadmin-2.11.5-custom-cert.patch, -phpmyadmin-2.11.2.2.ebuild,
36 + -phpmyadmin-2.11.4.ebuild, +phpmyadmin-2.11.5-r1.ebuild:
37 + add patch for custom connection certificates; fix postinstall instructions
38 + wrt #212117; remove vulnerable versions wrt #212000
39
40 04 Mar 2008; Tobias Scherbaum <dertobi123@g.o>
41 phpmyadmin-2.11.5.ebuild:
42
43
44
45 1.1 dev-db/phpmyadmin/phpmyadmin-2.11.5-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.5-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.5-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: phpmyadmin-2.11.5-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.5-r1.ebuild,v 1.1 2008/03/06 15:40:21 hollow Exp $
55
56 inherit eutils webapp depend.php
57
58 MY_PV=${PV/_/-}
59 MY_P="phpMyAdmin-${MY_PV}-all-languages-utf-8-only"
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 need_httpd_cgi
70 need_php_httpd
71
72 S="${WORKDIR}"/${MY_P}
73
74 pkg_setup() {
75 webapp_pkg_setup
76
77 if ! PHPCHECKNODIE="yes" require_php_with_use crypt ctype pcre session unicode \
78 || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
79 eerror
80 eerror "${PHP_PKG} needs to be re-installed with all of the following"
81 eerror "USE flags enabled:"
82 eerror
83 eerror "ctype pcre session unicode"
84 eerror
85 eerror "as well as any of the following USE flags enabled:"
86 eerror
87 eerror "mysql or mysqli if using dev-lang/php-5"
88 eerror "mysql if using dev-lang/php-4"
89 eerror
90 die "Re-install ${PHP_PKG}"
91 fi
92 }
93
94 src_unpack() {
95 unpack ${A}
96 cd "${S}"
97 epatch "${FILESDIR}"/${PN}-2.11.5-custom-cert.patch
98 }
99
100 src_install() {
101 webapp_src_preinst
102
103 dodoc CREDITS Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog
104 rm -f LICENSE CREDITS INSTALL README RELEASE-DATE-${MY_PV} TODO
105
106 insinto "${MY_HTDOCSDIR}"
107 doins -r .
108
109 webapp_configfile "${MY_HTDOCSDIR}"/libraries/config.default.php
110 webapp_serverowned "${MY_HTDOCSDIR}"/libraries/config.default.php
111
112 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-2.8.0.txt
113 webapp_hook_script "${FILESDIR}"/reconfig-2.8
114 webapp_src_install
115 }
116
117
118
119 --
120 gentoo-commits@l.g.o mailing list