Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/drupal/
Date: Sat, 24 Feb 2018 15:28:41
Message-Id: 1519486101.56818cfb1170e19a64ffb7dd5dcc0eb72364706c.jmbsvicetto@gentoo
1 commit: 56818cfb1170e19a64ffb7dd5dcc0eb72364706c
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 24 15:28:21 2018 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 24 15:28:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56818cfb
7
8 www-apps/drupal: Drop old vulnerable versions.
9 Bug: https://bugs.gentoo.org/648552
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 www-apps/drupal/Manifest | 3 --
13 www-apps/drupal/drupal-7.56.ebuild | 74 -------------------------------
14 www-apps/drupal/drupal-8.3.7.ebuild | 86 -------------------------------------
15 www-apps/drupal/drupal-8.4.2.ebuild | 86 -------------------------------------
16 4 files changed, 249 deletions(-)
17
18 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
19 index 284f3d52e88..45083d42f96 100644
20 --- a/www-apps/drupal/Manifest
21 +++ b/www-apps/drupal/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST drupal-7.56.tar.gz 3277833 BLAKE2B 30b707b9a9846d8d22401cc193c1ed32068bbcab3103fc7bd43164ad2f13feaad48e19c6e660bd1e51aaf7dbc5d91547a57ce05e55a4a73f0a13e972d0fee661 SHA512 ab7ad8d9cb26e89b9d81280b1677584072db627d508ccade9442c95a90f24c94d11561013c8a7297ddae6ae43696d0b711b8c37ab98f89539f6f0e0154db6344
24 DIST drupal-7.57.tar.gz 3279405 BLAKE2B 4697f5f30d5d2bbe821a766c2f0a05813fba091c1e976f0e0ca726e86a6d14633eecd586c29fd3a66001b143c641c74c277e90f13fd96cf14f02c38f0f9b43e0 SHA512 79e7e38c605cf60e458b2846ef4ce95f82368954f86fac6e79c19357e7a4ff714367c5580836ae2e45b22029d9ba2f2566901887d37bfa1ec2ed94a5a370fa0e
25 -DIST drupal-8.3.7.tar.gz 12739663 BLAKE2B 9bbd3086ff516671cb33fd9a47f69bc1ebeaf6af5ef2b8058906ad09a75de5aa0c6ec256d9a7116fd899735b706035f9f0975a19f3bcd7e8cf52f904c2fc066e SHA512 d454a51b2bc7ffbad3e461df1d2ea1f38797716b046a520ad65fab5f5c398091b28bc623d3efc2d18176e6506a95e113e1d5e5a0a76e50ca7f22a995920ea671
26 -DIST drupal-8.4.2.tar.gz 13393043 BLAKE2B 6e0db7b46cdd67ba93aadd279a1d0950e85aafdc697650ac81a9c3f10d1ffa19219d5e773f8efabf08152a712f368f15eae96353ea1b4d2427fe35355e1ca5ba SHA512 ce4ba105c253669ed18656d50a172d2f0622b1be121895486b2df00dfda0f71c497277cbc3e3a7a9fb426b9fb0828bfcf7ede3ff134304ca136ed689d4f15582
27 DIST drupal-8.4.5.tar.gz 13414036 BLAKE2B b82753e320c3970d786ca10292b0aacbb3c5b6ba15dedf210144205b9e24bd25d3913453e70fc6736c34184dcc486f2323b39b9f6e60a3e8ec1b15bc55ae9c0b SHA512 105a6bce140b1f5965d42f46df4a8fa0f8802ae6b4efde5c095004f51beebe5f1c4d3064e3363f59f9a15f739ea598b2e9a03304630731113777b3639b3440d2
28
29 diff --git a/www-apps/drupal/drupal-7.56.ebuild b/www-apps/drupal/drupal-7.56.ebuild
30 deleted file mode 100644
31 index e740a5e3025..00000000000
32 --- a/www-apps/drupal/drupal-7.56.ebuild
33 +++ /dev/null
34 @@ -1,74 +0,0 @@
35 -# Copyright 1999-2017 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -
40 -inherit webapp
41 -
42 -MY_PV=${PV:0:3}.0
43 -
44 -DESCRIPTION="PHP-based open-source platform and content management system"
45 -HOMEPAGE="https://www.drupal.org/"
46 -SRC_URI="https://ftp.drupal.org/files/projects/${P}.tar.gz"
47 -
48 -LICENSE="GPL-2"
49 -KEYWORDS="~alpha ~amd64 ~ppc ~x86"
50 -IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
51 -
52 -RDEPEND="
53 - dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
54 - virtual/httpd-php
55 - accelerator? ( ||
56 - (
57 - dev-php/xcache
58 - (
59 - >=dev-lang/php-5.5[opcache]
60 - dev-php/pecl-apcu
61 - )
62 - )
63 - )
64 - uploadprogress? ( dev-php/pecl-uploadprogress )
65 - mysql? (
66 - || (
67 - dev-lang/php[mysql]
68 - dev-lang/php[mysqli]
69 - )
70 - )
71 - sqlite? ( dev-lang/php[sqlite] )
72 -"
73 -
74 -need_httpd_cgi
75 -
76 -REQUIRED_USE="|| ( mysql postgres sqlite )"
77 -
78 -src_install() {
79 - webapp_src_preinst
80 -
81 - local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
82 - dodoc ${docs}
83 - rm -f ${docs} INSTALL COPYRIGHT.txt || die
84 -
85 - cp sites/default/{default.settings.php,settings.php} || die
86 - insinto "${MY_HTDOCSDIR}"
87 - doins -r .
88 -
89 - dodir "${MY_HTDOCSDIR}"/files
90 - webapp_serverowned "${MY_HTDOCSDIR}"/files
91 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
92 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
93 -
94 - webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
95 - webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
96 -
97 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
98 -
99 - webapp_src_install
100 -}
101 -
102 -pkg_postinst() {
103 - echo
104 - ewarn "SECURITY NOTICE"
105 - ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
106 - ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
107 - echo
108 -}
109
110 diff --git a/www-apps/drupal/drupal-8.3.7.ebuild b/www-apps/drupal/drupal-8.3.7.ebuild
111 deleted file mode 100644
112 index d0f9fcc2d95..00000000000
113 --- a/www-apps/drupal/drupal-8.3.7.ebuild
114 +++ /dev/null
115 @@ -1,86 +0,0 @@
116 -# Copyright 1999-2017 Gentoo Foundation
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=5
120 -
121 -inherit webapp
122 -
123 -MY_PV=${PV:0:3}.0
124 -MY_P=${P/_/-}
125 -S="${WORKDIR}/${MY_P}"
126 -
127 -DESCRIPTION="PHP-based open-source platform and content management system"
128 -HOMEPAGE="https://www.drupal.org/"
129 -SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
130 -
131 -LICENSE="GPL-2"
132 -KEYWORDS="~alpha ~amd64 ~ppc ~x86"
133 -IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
134 -
135 -RDEPEND="
136 - dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
137 - virtual/httpd-php
138 - accelerator? ( ||
139 - (
140 - dev-php/xcache
141 - (
142 - >=dev-lang/php-5.5[opcache]
143 - dev-php/pecl-apcu
144 - )
145 - )
146 - )
147 - uploadprogress? ( dev-php/pecl-uploadprogress )
148 - mysql? (
149 - || (
150 - dev-lang/php[mysql]
151 - dev-lang/php[mysqli]
152 - )
153 - )
154 - sqlite? ( dev-lang/php[sqlite] )
155 -"
156 -
157 -need_httpd_cgi
158 -
159 -REQUIRED_USE="|| ( mysql postgres sqlite )"
160 -
161 -src_install() {
162 - webapp_src_preinst
163 -
164 - local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
165 - core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
166 -
167 - dodoc ${docs}
168 - rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
169 -
170 - cp sites/default/{default.settings.php,settings.php} || die
171 - insinto "${MY_HTDOCSDIR}"
172 - doins -r .
173 -
174 - dodir "${MY_HTDOCSDIR}"/files
175 - webapp_serverowned "${MY_HTDOCSDIR}"/files
176 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
177 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
178 -
179 - webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
180 - webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
181 -
182 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
183 -
184 - webapp_src_install
185 -}
186 -
187 -pkg_postinst() {
188 - echo
189 - ewarn "SECURITY NOTICE"
190 - ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
191 - ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
192 - echo
193 - ewarn "If this is a new install, unless you want anyone with network access to your server to be"
194 - ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
195 - echo
196 - ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
197 - ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
198 - ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
199 - ewarn "reported by the setup."
200 - echo
201 -}
202
203 diff --git a/www-apps/drupal/drupal-8.4.2.ebuild b/www-apps/drupal/drupal-8.4.2.ebuild
204 deleted file mode 100644
205 index d0f9fcc2d95..00000000000
206 --- a/www-apps/drupal/drupal-8.4.2.ebuild
207 +++ /dev/null
208 @@ -1,86 +0,0 @@
209 -# Copyright 1999-2017 Gentoo Foundation
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -EAPI=5
213 -
214 -inherit webapp
215 -
216 -MY_PV=${PV:0:3}.0
217 -MY_P=${P/_/-}
218 -S="${WORKDIR}/${MY_P}"
219 -
220 -DESCRIPTION="PHP-based open-source platform and content management system"
221 -HOMEPAGE="https://www.drupal.org/"
222 -SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
223 -
224 -LICENSE="GPL-2"
225 -KEYWORDS="~alpha ~amd64 ~ppc ~x86"
226 -IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
227 -
228 -RDEPEND="
229 - dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
230 - virtual/httpd-php
231 - accelerator? ( ||
232 - (
233 - dev-php/xcache
234 - (
235 - >=dev-lang/php-5.5[opcache]
236 - dev-php/pecl-apcu
237 - )
238 - )
239 - )
240 - uploadprogress? ( dev-php/pecl-uploadprogress )
241 - mysql? (
242 - || (
243 - dev-lang/php[mysql]
244 - dev-lang/php[mysqli]
245 - )
246 - )
247 - sqlite? ( dev-lang/php[sqlite] )
248 -"
249 -
250 -need_httpd_cgi
251 -
252 -REQUIRED_USE="|| ( mysql postgres sqlite )"
253 -
254 -src_install() {
255 - webapp_src_preinst
256 -
257 - local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
258 - core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
259 -
260 - dodoc ${docs}
261 - rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
262 -
263 - cp sites/default/{default.settings.php,settings.php} || die
264 - insinto "${MY_HTDOCSDIR}"
265 - doins -r .
266 -
267 - dodir "${MY_HTDOCSDIR}"/files
268 - webapp_serverowned "${MY_HTDOCSDIR}"/files
269 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
270 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
271 -
272 - webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
273 - webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
274 -
275 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
276 -
277 - webapp_src_install
278 -}
279 -
280 -pkg_postinst() {
281 - echo
282 - ewarn "SECURITY NOTICE"
283 - ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
284 - ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
285 - echo
286 - ewarn "If this is a new install, unless you want anyone with network access to your server to be"
287 - ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
288 - echo
289 - ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
290 - ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
291 - ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
292 - ewarn "reported by the setup."
293 - echo
294 -}