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.2.2.ebuild
Date: Sun, 02 Dec 2007 15:19:35
Message-Id: E1IyqL2-00057W-Bx@stork.gentoo.org
1 wrobel 07/12/02 15:02:32
2
3 Modified: ChangeLog
4 Added: phpmyadmin-2.11.2.2.ebuild
5 Log:
6 -m Added phpmyadmin-2.11.2.2 in response to sec bug #198801.
7 (Portage version: 2.1.3.14)
8
9 Revision Changes Path
10 1.280 dev-db/phpmyadmin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.280&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.280&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.279&r2=1.280
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
19 retrieving revision 1.279
20 retrieving revision 1.280
21 diff -u -r1.279 -r1.280
22 --- ChangeLog 25 Oct 2007 06:57:43 -0000 1.279
23 +++ ChangeLog 2 Dec 2007 15:02:31 -0000 1.280
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-db/phpmyadmin
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.279 2007/10/25 06:57:43 wrobel Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.280 2007/12/02 15:02:31 wrobel Exp $
29 +
30 +*phpmyadmin-2.11.2.2 (02 Dec 2007)
31 +
32 + 02 Dec 2007; <wrobel@g.o> +phpmyadmin-2.11.2.2.ebuild:
33 + -m Added phpmyadmin-2.11.2.2 in response to sec bug #198801.
34
35 25 Oct 2007; wrobel@g.o
36 -files/phpmyadmin-2.11.1-issue_195707.patch, -phpmyadmin-2.10.1.ebuild,
37
38
39
40 1.1 dev-db/phpmyadmin/phpmyadmin-2.11.2.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.2.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.2.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: phpmyadmin-2.11.2.2.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-2.11.2.2.ebuild,v 1.1 2007/12/02 15:02:31 wrobel Exp $
50
51 inherit eutils webapp depend.php
52
53 MY_PV=${PV/_/-}
54 MY_P="phpMyAdmin-${MY_PV}-all-languages-utf-8-only"
55 DESCRIPTION="Web-based administration for MySQL database in PHP"
56 HOMEPAGE="http://www.phpmyadmin.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
58 LICENSE="GPL-2"
59 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60 IUSE=""
61 DEPEND="sys-apps/findutils"
62 RDEPEND="virtual/httpd-cgi"
63 S=${WORKDIR}/${MY_P}
64
65 need_php
66
67 pkg_setup() {
68 webapp_pkg_setup
69
70 if ! PHPCHECKNODIE="yes" require_php_with_use crypt ctype pcre session unicode \
71 || ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli ; then
72 eerror
73 eerror "${PHP_PKG} needs to be re-installed with all of the following"
74 eerror "USE flags enabled:"
75 eerror
76 eerror "ctype pcre session unicode"
77 eerror
78 eerror "as well as any of the following USE flags enabled:"
79 eerror
80 eerror "mysql or mysqli if using dev-lang/php-5"
81 eerror "mysql if using dev-lang/php-4"
82 eerror
83 die "Re-install ${PHP_PKG}"
84 fi
85 }
86
87 src_unpack() {
88 unpack "${A}"
89 cd "${S}"
90 # Remove .cvs* files and CVS directories
91 find "${S}" -name .cvs\* -or \( -type d -name CVS -prune \) | xargs rm -rf
92 }
93
94 src_install() {
95 webapp_src_preinst
96
97 local docs="CREDITS Documentation.txt INSTALL README RELEASE-DATE-${MY_PV} TODO ChangeLog"
98
99 dodoc ${docs}
100 dohtml Documentation.html
101
102 cp -r . "${D}${MY_HTDOCSDIR}"
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-2.8.0.txt
108 webapp_hook_script "${FILESDIR}"/reconfig-2.8
109 webapp_src_install
110 }
111
112
113
114 --
115 gentoo-commits@g.o mailing list