Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/drupal: ChangeLog drupal-6.11.ebuild drupal-5.17.ebuild drupal-6.9.ebuild drupal-5.15.ebuild
Date: Fri, 01 May 2009 17:54:07
Message-Id: E1Lzwvy-0001Kw-72@stork.gentoo.org
1 pva 09/05/01 17:54:02
2
3 Modified: ChangeLog
4 Added: drupal-6.11.ebuild drupal-5.17.ebuild
5 Removed: drupal-6.9.ebuild drupal-5.15.ebuild
6 Log:
7 Version bump, fixes security bug #268036, thank mRyOuNg for report.
8 (Portage version: 2.1.6.11/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.58 www-apps/drupal/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.58&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.58&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/drupal/ChangeLog?r1=1.57&r2=1.58
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v
20 retrieving revision 1.57
21 retrieving revision 1.58
22 diff -u -r1.57 -r1.58
23 --- ChangeLog 11 Mar 2009 12:23:55 -0000 1.57
24 +++ ChangeLog 1 May 2009 17:54:02 -0000 1.58
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-apps/drupal
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.57 2009/03/11 12:23:55 pva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.58 2009/05/01 17:54:02 pva Exp $
30 +
31 +*drupal-6.11 (01 May 2009)
32 +*drupal-5.17 (01 May 2009)
33 +
34 + 01 May 2009; Peter Volkov <pva@g.o> -drupal-5.15.ebuild,
35 + +drupal-5.17.ebuild, -drupal-6.9.ebuild, +drupal-6.11.ebuild:
36 + Version bump, fixes security bug #268036, thank mRyOuNg for report.
37
38 *drupal-6.10 (11 Mar 2009)
39 *drupal-5.16 (11 Mar 2009)
40
41
42
43 1.1 www-apps/drupal/drupal-6.11.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/drupal/drupal-6.11.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/drupal/drupal-6.11.ebuild?rev=1.1&content-type=text/plain
47
48 Index: drupal-6.11.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-6.11.ebuild,v 1.1 2009/05/01 17:54:02 pva Exp $
53
54 inherit webapp eutils depend.php
55
56 MY_PV=${PV:0:3}.0
57
58 DESCRIPTION="PHP-based open-source platform and content management system"
59 HOMEPAGE="http://drupal.org/"
60 SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
64 IUSE=""
65
66 need_httpd_cgi
67 need_php_httpd
68
69 pkg_setup() {
70 webapp_pkg_setup
71 has_php
72 if [[ ${PHP_VERSION} == "4" ]] ; then
73 local flags="expat"
74 else
75 local flags="xml"
76 fi
77 if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} \
78 || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
79 die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external"
80 fi
81 }
82
83 src_install() {
84 webapp_src_preinst
85
86 local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt UPGRADE.txt "
87 dodoc ${docs}
88 rm -f ${docs} INSTALL COPYRIGHT.txt
89
90 cp sites/default/{default.settings.php,settings.php}
91 insinto "${MY_HTDOCSDIR}"
92 doins -r .
93
94 dodir "${MY_HTDOCSDIR}"/files
95 webapp_serverowned "${MY_HTDOCSDIR}"/files
96 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
97 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
98
99 webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
100 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
101
102 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
103
104 webapp_src_install
105 }
106
107
108
109 1.1 www-apps/drupal/drupal-5.17.ebuild
110
111 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/drupal/drupal-5.17.ebuild?rev=1.1&view=markup
112 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/drupal/drupal-5.17.ebuild?rev=1.1&content-type=text/plain
113
114 Index: drupal-5.17.ebuild
115 ===================================================================
116 # Copyright 1999-2009 Gentoo Foundation
117 # Distributed under the terms of the GNU General Public License v2
118 # $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-5.17.ebuild,v 1.1 2009/05/01 17:54:02 pva Exp $
119
120 inherit webapp eutils depend.php
121
122 MY_PV=${PV:0:3}.0
123
124 DESCRIPTION="PHP-based open-source platform and content management system"
125 HOMEPAGE="http://drupal.org/"
126 SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"
127
128 LICENSE="GPL-2"
129 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
130 IUSE=""
131
132 need_httpd_cgi
133 need_php_httpd
134
135 pkg_setup() {
136 webapp_pkg_setup
137 has_php
138 if [[ ${PHP_VERSION} == "4" ]] ; then
139 require_php_with_use expat
140 else
141 require_php_with_use xml
142 fi
143 }
144
145 src_install() {
146 webapp_src_preinst
147
148 local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt"
149 dodoc ${docs}
150 rm -f ${docs} INSTALL
151
152 insinto "${MY_HTDOCSDIR}"
153 doins -r .
154
155 dodir "${MY_HTDOCSDIR}"/files
156 webapp_serverowned "${MY_HTDOCSDIR}"/files
157 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
158 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
159
160 webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
161 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
162
163 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
164
165 webapp_src_install
166 }