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: Thu, 17 Sep 2020 16:21:04
Message-Id: 1600359643.453cea4859ead1fd76c35568b89124f94a6ce629.jmbsvicetto@gentoo
1 commit: 453cea4859ead1fd76c35568b89124f94a6ce629
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 16:20:33 2020 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 16:20:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=453cea48
7
8 www-apps/drupal: Security bumps.
9
10 Version bump to 9.0.6, 8.9.6, 8.8.10 and 7.73 releases.
11 Security issues SA-CORE-2020-{006,007,008,009,010,011}.
12
13 Package-Manager: Portage-3.0.6, Repoman-3.0.1
14 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
15
16 www-apps/drupal/Manifest | 4 +++
17 www-apps/drupal/drupal-7.73.ebuild | 58 ++++++++++++++++++++++++++++++
18 www-apps/drupal/drupal-8.8.10.ebuild | 68 ++++++++++++++++++++++++++++++++++++
19 www-apps/drupal/drupal-8.9.6.ebuild | 68 ++++++++++++++++++++++++++++++++++++
20 www-apps/drupal/drupal-9.0.6.ebuild | 68 ++++++++++++++++++++++++++++++++++++
21 5 files changed, 266 insertions(+)
22
23 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
24 index 65a3e5957b2..c76c072cda2 100644
25 --- a/www-apps/drupal/Manifest
26 +++ b/www-apps/drupal/Manifest
27 @@ -1,11 +1,15 @@
28 DIST drupal-7.72.tar.gz 3323531 BLAKE2B 07d22cde80763e9d9e959907ae246b95dc611b6ae32f8bf69e5c2fa03ad023bcb3810703dbe2285b89f43709616d9302b0598012237fe97487820e71df1b9b70 SHA512 5ad91d9aa31a0d31ba07dba0de5fd4d0fb4b875ed3fed7d48e3b65d4e2e8d7e7f3e66dcbe9d2a7a78fa22923597a396f43d70ee7b5ac63469ca3e256ba4746b6
29 +DIST drupal-7.73.tar.gz 3324289 BLAKE2B 85b40994ef336e8a155175597aaf36652850118400533b531d5bfe4ffd797abb9b362ccfb2a52cdf2e326fa4865492406c3ed4cf1a59a4e0aff0613c337c4301 SHA512 45f518ef8bc085eafc2292f6a41c17c2d034fa9261ba8c61549a46adb194020e036355c322abc64a355ff81d00ecd1f0acf0834d46ec028aac506c81f7297849
30 +DIST drupal-8.8.10.tar.gz 19510031 BLAKE2B daae5669bdaa79ad1ae56a52993a390127fff56307b0256c0dfd9d118f1b09d3e8414b71334c74b01f9e9609870f75b25936bf72a78d051f543862d848daedb8 SHA512 1ebfb7f1f3d29ef00bd560e4ff4d236ee739bafb4f9687bce77dcd6da9746d42db4423a278b22a1b394bbf7eb769975eb69eaeeb16f4ea601cc13d9209309425
31 DIST drupal-8.8.8.tar.gz 19504669 BLAKE2B f98e772753ffc6df5e9404bcf1c30acaca284447040b73ba43e62aa413c712f3174f636efa24a3e24c5d2dfd3906ad920b40eab5c7ad51f485ef6b25647bcf84 SHA512 1170d4a6372f21d8817264f17998f3b29c5c158267d4d60d057475a773fe24eb85b4988c89daef80c08a89bf4d4ba1a85d1d35ac698ebd588109be0731b796ca
32 DIST drupal-8.8.9.tar.gz 19509081 BLAKE2B 862837559b25e162c2d1d148ac7485e0212f1007ed01b7aabbc96e97c2841db943d494270d3276f4c9ae43587c218e1412bae014cff3ffdde051f529703028b2 SHA512 33c314726d41ac192353e1d99975eccfee79708aec70ba6892d1a9082665c6e163be0212a5ca91ea832ed213b4e616dd2dba594096efd5f3a7680e560afac945
33 DIST drupal-8.9.1.tar.gz 19776948 BLAKE2B 34dafaddafb0a8e742ff8591aa016e1d8cdf40c5779236308427339087b2c2f552b8829de0ae3dc2eedf5e99d70922e89a281852b3e3f2f3c27a00efafdea849 SHA512 db518cc180508023025c2f7b898f85c4728712bafaa048fe1783aa471d0c38f24f27e62175a8cea314c330b0a147509d8285ee6f0838d990ae3c76aab83d081f
34 DIST drupal-8.9.2.tar.gz 19780242 BLAKE2B 72a84df5f2ed029dd4c6d6e6f6473d5934bdf4d02069fb0d522c3144e99b0409fd751d3e2201be562ea76b61f167bcc0fe1f0276311a7c58b291caf890f8bf72 SHA512 71643fb4c0ca8f299f9791c25172c4f4a8a7a5f9dcb7eba76bb25446c4f91c7d8fba6c93acec80302c33e7945e9d3b9f46e3b40a51a935724ddde4c702a3c9b0
35 DIST drupal-8.9.3.tar.gz 19787804 BLAKE2B e52cacda133d59b090a8e6c5485629aa5297f55521f777edf55c13d3416c95f2e850c206053b12b391f3558039209b8b411650e302575de65efba41549347c60 SHA512 527598c4863a3ff71e9ec9d4f750e8d3f9a7930d91e4a39d15eb3f1e101d1bb9d2143fb517cade4c734a2935a712e38cdaa5020e9643badd172a8be2667bdee0
36 DIST drupal-8.9.5.tar.gz 19791019 BLAKE2B 7bbc099b2d7483a4e777f1466d9996895918ebfd0591488eb88ae878f7eb5cafa9142e86c94cd9b6f4b6d962ae152b1f7aada003cdbfb6e39d6bdf8720914499 SHA512 7c1bcd4bf2744b7806e77a1bfed811d5c70c334befe2b817c296bff04ae3427b9b73a12f6a404d8252449b13a14c9203ccc7d187a678f74e3b1feecdc1c1ae0a
37 +DIST drupal-8.9.6.tar.gz 19789145 BLAKE2B aaa2c5e866fd74dc4e5d19bb4f00eae3333cb86b2b54969f31936cb627e2af0cc14b0e6d1d26b1366040cb3860752d3507b82341d706490fef35ff6ed5ca2316 SHA512 3938cca2736eb2a0fa5c2b12c0d8543f54d0480bbb42b51283f694aa67e7785b94e6d3b2bbeadfd304e9fc429c57b73c12243b178813b658537c42c1303c0d81
38 DIST drupal-9.0.1.tar.gz 16832166 BLAKE2B b783bb0282f0ee81fa1a3d606e3a97d65a537f20e2820270a2e5d554b737af45f31fac82f45e1322df8ee04ba1a4a5ee757a67fe2a09c272a32400c4d5b51424 SHA512 499459ebf72b1008266e6075667a4781b27d2e82635687744321513af1ac2289a0a33273666f251b90c4a2020e4fb52b83146b9a65007de788c5f3559bb4cb0a
39 DIST drupal-9.0.2.tar.gz 16841367 BLAKE2B c9813a0c4fd5a0b3a78b44c540c9938fe851a4c743a0ff21e9f5d7dc19190b03ec5ea6f10370e92589567b11dae19ea392a611022bad60be21eb58a3bc39808c SHA512 0ad937a2f0d300f70e33018b89074a0c97592dcad1eb0c3ba9fb8df3f4df53e659c6a47f4a94926ecdae34204f16173f75c14bf9756355254f4e1b666ba5ac39
40 DIST drupal-9.0.3.tar.gz 16853404 BLAKE2B 2b5038164288c87dbb59c7582f9c7f35b5ddf550ce2cf7b25b8506fa1476ff9da68c77e450749fa0adfd80692d2f84d64f2a80a13d22b38ffaafe4da585a249d SHA512 f8489c13cd1a55f81b4abf61191c6a79e1046659425269aebf124e33c9f160202241b292a121a66ea96d744f97e0a4e9f92027e504eaf1a3b459a5bbdb226c8b
41 DIST drupal-9.0.5.tar.gz 16858369 BLAKE2B 81a02d60b8a93f28bba282240bdea2dd3a571a08895aa7886af55aa92f75306721633a1666e334292d188a6ee4774e1b1b1d067d6ad21024c41ee3d3da76c891 SHA512 fce77bb45983e6d3b6a43c293fc03729d22a5b1722fa712b4d5c78a74d78a64be655f873b24a93e933e1338f28bec5540baa6a4ab9a1bab7678ae0214aecaaf8
42 +DIST drupal-9.0.6.tar.gz 16857960 BLAKE2B 0e85e16330b5c3df70443d2f516b0a5d4854db4c3e101dc29a04af7e76cb913b0349deb82643644e722d90c78f7ba4497b8712f229b4eede2fb867c95469d57f SHA512 ee5b0ab3f0fd25c70b6a44e10a2e54c945a3843c460d5769ba5022a82fc2726909f2c34b9823c5f82ee01d8145b739daf2fed3a78ef22454ad0db7f08a0812f1
43
44 diff --git a/www-apps/drupal/drupal-7.73.ebuild b/www-apps/drupal/drupal-7.73.ebuild
45 new file mode 100644
46 index 00000000000..4fd21d3cac4
47 --- /dev/null
48 +++ b/www-apps/drupal/drupal-7.73.ebuild
49 @@ -0,0 +1,58 @@
50 +# Copyright 1999-2020 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=6
54 +
55 +inherit webapp
56 +
57 +MY_PV=${PV:0:3}.0
58 +
59 +DESCRIPTION="PHP-based open-source platform and content management system"
60 +HOMEPAGE="https://www.drupal.org/"
61 +SRC_URI="https://ftp.drupal.org/files/projects/${P}.tar.gz"
62 +
63 +LICENSE="GPL-2"
64 +KEYWORDS="~amd64 ~x86"
65 +IUSE="+mysql postgres sqlite +uploadprogress"
66 +
67 +RDEPEND="
68 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
69 + virtual/httpd-php
70 + uploadprogress? ( dev-php/pecl-uploadprogress )
71 +"
72 +
73 +need_httpd_cgi
74 +
75 +REQUIRED_USE="|| ( mysql postgres sqlite )"
76 +
77 +src_install() {
78 + webapp_src_preinst
79 +
80 + local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
81 + dodoc ${docs}
82 + rm -f ${docs} INSTALL COPYRIGHT.txt || die
83 +
84 + cp sites/default/{default.settings.php,settings.php} || die
85 + insinto "${MY_HTDOCSDIR}"
86 + doins -r .
87 +
88 + dodir "${MY_HTDOCSDIR}"/files
89 + webapp_serverowned "${MY_HTDOCSDIR}"/files
90 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
91 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
92 +
93 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
94 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
95 +
96 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
97 +
98 + webapp_src_install
99 +}
100 +
101 +pkg_postinst() {
102 + echo
103 + ewarn "SECURITY NOTICE"
104 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
105 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
106 + echo
107 +}
108
109 diff --git a/www-apps/drupal/drupal-8.8.10.ebuild b/www-apps/drupal/drupal-8.8.10.ebuild
110 new file mode 100644
111 index 00000000000..50acdd30770
112 --- /dev/null
113 +++ b/www-apps/drupal/drupal-8.8.10.ebuild
114 @@ -0,0 +1,68 @@
115 +# Copyright 1999-2020 Gentoo Authors
116 +# Distributed under the terms of the GNU General Public License v2
117 +
118 +EAPI=6
119 +
120 +inherit webapp
121 +
122 +MY_PV=${PV:0:3}.0
123 +MY_P=${P/_/-}
124 +S="${WORKDIR}/${MY_P}"
125 +
126 +DESCRIPTION="PHP-based open-source platform and content management system"
127 +HOMEPAGE="https://www.drupal.org/"
128 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
129 +
130 +LICENSE="GPL-2"
131 +KEYWORDS="~amd64 ~x86"
132 +IUSE="+mysql postgres sqlite +uploadprogress"
133 +
134 +RDEPEND="
135 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
136 + virtual/httpd-php
137 + uploadprogress? ( dev-php/pecl-uploadprogress )
138 +"
139 +
140 +need_httpd_cgi
141 +
142 +REQUIRED_USE="|| ( mysql postgres sqlite )"
143 +
144 +src_install() {
145 + webapp_src_preinst
146 +
147 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
148 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
149 +
150 + dodoc ${docs}
151 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
152 +
153 + cp sites/default/{default.settings.php,settings.php} || die
154 + insinto "${MY_HTDOCSDIR}"
155 + doins -r .
156 +
157 + dodir "${MY_HTDOCSDIR}"/files
158 + webapp_serverowned "${MY_HTDOCSDIR}"/files
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 +}
167 +
168 +pkg_postinst() {
169 + echo
170 + ewarn "SECURITY NOTICE"
171 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
172 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
173 + echo
174 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
175 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
176 + echo
177 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
178 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
179 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
180 + ewarn "reported by the setup."
181 + echo
182 +}
183
184 diff --git a/www-apps/drupal/drupal-8.9.6.ebuild b/www-apps/drupal/drupal-8.9.6.ebuild
185 new file mode 100644
186 index 00000000000..50acdd30770
187 --- /dev/null
188 +++ b/www-apps/drupal/drupal-8.9.6.ebuild
189 @@ -0,0 +1,68 @@
190 +# Copyright 1999-2020 Gentoo Authors
191 +# Distributed under the terms of the GNU General Public License v2
192 +
193 +EAPI=6
194 +
195 +inherit webapp
196 +
197 +MY_PV=${PV:0:3}.0
198 +MY_P=${P/_/-}
199 +S="${WORKDIR}/${MY_P}"
200 +
201 +DESCRIPTION="PHP-based open-source platform and content management system"
202 +HOMEPAGE="https://www.drupal.org/"
203 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
204 +
205 +LICENSE="GPL-2"
206 +KEYWORDS="~amd64 ~x86"
207 +IUSE="+mysql postgres sqlite +uploadprogress"
208 +
209 +RDEPEND="
210 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
211 + virtual/httpd-php
212 + uploadprogress? ( dev-php/pecl-uploadprogress )
213 +"
214 +
215 +need_httpd_cgi
216 +
217 +REQUIRED_USE="|| ( mysql postgres sqlite )"
218 +
219 +src_install() {
220 + webapp_src_preinst
221 +
222 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
223 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
224 +
225 + dodoc ${docs}
226 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
227 +
228 + cp sites/default/{default.settings.php,settings.php} || die
229 + insinto "${MY_HTDOCSDIR}"
230 + doins -r .
231 +
232 + dodir "${MY_HTDOCSDIR}"/files
233 + webapp_serverowned "${MY_HTDOCSDIR}"/files
234 +
235 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
236 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
237 +
238 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
239 +
240 + webapp_src_install
241 +}
242 +
243 +pkg_postinst() {
244 + echo
245 + ewarn "SECURITY NOTICE"
246 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
247 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
248 + echo
249 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
250 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
251 + echo
252 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
253 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
254 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
255 + ewarn "reported by the setup."
256 + echo
257 +}
258
259 diff --git a/www-apps/drupal/drupal-9.0.6.ebuild b/www-apps/drupal/drupal-9.0.6.ebuild
260 new file mode 100644
261 index 00000000000..50acdd30770
262 --- /dev/null
263 +++ b/www-apps/drupal/drupal-9.0.6.ebuild
264 @@ -0,0 +1,68 @@
265 +# Copyright 1999-2020 Gentoo Authors
266 +# Distributed under the terms of the GNU General Public License v2
267 +
268 +EAPI=6
269 +
270 +inherit webapp
271 +
272 +MY_PV=${PV:0:3}.0
273 +MY_P=${P/_/-}
274 +S="${WORKDIR}/${MY_P}"
275 +
276 +DESCRIPTION="PHP-based open-source platform and content management system"
277 +HOMEPAGE="https://www.drupal.org/"
278 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
279 +
280 +LICENSE="GPL-2"
281 +KEYWORDS="~amd64 ~x86"
282 +IUSE="+mysql postgres sqlite +uploadprogress"
283 +
284 +RDEPEND="
285 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
286 + virtual/httpd-php
287 + uploadprogress? ( dev-php/pecl-uploadprogress )
288 +"
289 +
290 +need_httpd_cgi
291 +
292 +REQUIRED_USE="|| ( mysql postgres sqlite )"
293 +
294 +src_install() {
295 + webapp_src_preinst
296 +
297 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
298 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
299 +
300 + dodoc ${docs}
301 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
302 +
303 + cp sites/default/{default.settings.php,settings.php} || die
304 + insinto "${MY_HTDOCSDIR}"
305 + doins -r .
306 +
307 + dodir "${MY_HTDOCSDIR}"/files
308 + webapp_serverowned "${MY_HTDOCSDIR}"/files
309 +
310 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
311 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
312 +
313 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
314 +
315 + webapp_src_install
316 +}
317 +
318 +pkg_postinst() {
319 + echo
320 + ewarn "SECURITY NOTICE"
321 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
322 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
323 + echo
324 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
325 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
326 + echo
327 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
328 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
329 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
330 + ewarn "reported by the setup."
331 + echo
332 +}