Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/phpmyadmin: phpmyadmin-4.1.8.ebuild ChangeLog
Date: Sun, 23 Feb 2014 18:01:25
Message-Id: 20140223180119.612E72004C@flycatcher.gentoo.org
1 jmbsvicetto 14/02/23 18:01:19
2
3 Modified: ChangeLog
4 Added: phpmyadmin-4.1.8.ebuild
5 Log:
6 4.1.8 version bump.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
9
10 Revision Changes Path
11 1.503 dev-db/phpmyadmin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.503&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?rev=1.503&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/ChangeLog?r1=1.502&r2=1.503
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v
20 retrieving revision 1.502
21 retrieving revision 1.503
22 diff -u -r1.502 -r1.503
23 --- ChangeLog 9 Feb 2014 22:49:59 -0000 1.502
24 +++ ChangeLog 23 Feb 2014 18:01:18 -0000 1.503
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-db/phpmyadmin
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.502 2014/02/09 22:49:59 jmbsvicetto Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/ChangeLog,v 1.503 2014/02/23 18:01:18 jmbsvicetto Exp $
30 +
31 +*phpmyadmin-4.1.8 (23 Feb 2014)
32 +
33 + 23 Feb 2014; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
34 + +phpmyadmin-4.1.8.ebuild:
35 + 4.1.8 version bump.
36
37 *phpmyadmin-4.1.7 (09 Feb 2014)
38
39
40
41
42 1.1 dev-db/phpmyadmin/phpmyadmin-4.1.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.1.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.1.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: phpmyadmin-4.1.8.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-db/phpmyadmin/phpmyadmin-4.1.8.ebuild,v 1.1 2014/02/23 18:01:18 jmbsvicetto Exp $
52
53 EAPI="4"
54
55 inherit eutils webapp depend.php
56
57 MY_PV=${PV/_/-}
58 MY_P="phpMyAdmin-${MY_PV}-all-languages"
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.xz"
63
64 LICENSE="GPL-2"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
66 IUSE="setup"
67
68 RDEPEND="
69 dev-lang/php[crypt,ctype,filter,json,session,unicode]
70 || (
71 dev-lang/php[mysqli]
72 dev-lang/php[mysql]
73 )
74 "
75
76 need_httpd_cgi
77 need_php_httpd
78
79 S="${WORKDIR}"/${MY_P}
80
81 pkg_setup() {
82 webapp_pkg_setup
83 }
84
85 src_install() {
86 webapp_src_preinst
87
88 dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die
89 rm -f LICENSE README* RELEASE-DATE-${MY_PV}
90
91 if ! use setup; then
92 rm -rf setup || die "Cannot remove setup utility"
93 elog "The phpMyAdmin setup utility has been removed."
94 elog "It is a regular target of various exploits. If you need it, set USE=setup."
95 else
96 elog "You should consider disabling the setup USE flag"
97 elog "to exclude the setup utility if you don't use it."
98 elog "It regularly is the target of various exploits."
99 fi
100
101 insinto "${MY_HTDOCSDIR#${EPREFIX}}"
102 doins -r .
103
104 webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
105 webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php
106
107 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt
108 webapp_src_install
109 }