Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/drupal/
Date: Tue, 03 May 2022 07:39:34
Message-Id: 1651563555.3e732dcf60a343a1d6c6b4b9cdaa7ee443b40344.tupone@gentoo
1 commit: 3e732dcf60a343a1d6c6b4b9cdaa7ee443b40344
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 07:39:15 2022 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 07:39:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e732dcf
7
8 www-apps/drupal: bump to last drupal versions
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 www-apps/drupal/Manifest | 4 +++
14 www-apps/drupal/drupal-7.89.ebuild | 58 ++++++++++++++++++++++++++++++
15 www-apps/drupal/drupal-8.9.20.ebuild | 68 ++++++++++++++++++++++++++++++++++++
16 www-apps/drupal/drupal-9.1.15.ebuild | 68 ++++++++++++++++++++++++++++++++++++
17 www-apps/drupal/drupal-9.2.18.ebuild | 68 ++++++++++++++++++++++++++++++++++++
18 5 files changed, 266 insertions(+)
19
20 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
21 index de2318d443bc..f344265c5200 100644
22 --- a/www-apps/drupal/Manifest
23 +++ b/www-apps/drupal/Manifest
24 @@ -1,4 +1,8 @@
25 DIST drupal-7.88.tar.gz 3357877 BLAKE2B 33c98ecd8b3e9a2cee8314971c7cdffe789d0d76fb25246c866659977954f0546c88d8f29b692d22686f2c24f2548b328c687793c132d23024a078d0fc032716 SHA512 e50a82906ebffcfb924deface19aa600589ccef81f58f44fb5630dc971e5638de8afbdc39a6a428008f070280ab70160816d6e38ac5181d7a6b91899f2d2cb16
26 +DIST drupal-7.89.tar.gz 3361853 BLAKE2B 5388c6c9ded2ce31caee1bea23976e2c2d53116f6e564fd47f4035e9815e28759bf4e56964754d01c165ae7c384527c3c1845ef6b9c3b1b029b9eca3c56e7442 SHA512 3f1f50b09bfd77afaad368c21a00d2fb52a4a3853bf288525a805fab992083ffb241c2b3bfef8db3b4351310b0a0d5d27470fa7adc191c687809f48464f18f0b
27 DIST drupal-8.9.18.tar.gz 19831928 BLAKE2B e8f42a00e8efe1c3a0b7a995bb9f55b37c590945f12268e86887f0243ab2691222449acce5f61d4ec853e0d13bb81b2d8d39a7702c2651368adaaa2438004114 SHA512 2c3103489d4b7ecee432fba1a1ef597b07701e46920a4cf82fc9d078368a0259a28e62e92a96550b23950c4ff6ae943877f7b8f6ef556381bf633daa3d4d0846
28 +DIST drupal-8.9.20.tar.gz 19837562 BLAKE2B 8246a96628eeb936c87d1c0ff58b507e432922ede550308b105066b4334e8e04e8f2dc9a7475fe9d4c5556b11e0e938191f453e74cac9ade11ce9369da696af6 SHA512 824ec2820a1071765fdb9f5d6195d906517d2d1a97f5cb0458e7417495f9c7c88717b931870bf46c0681787b54904a746770b8811c9deff3b05624415db032cf
29 DIST drupal-9.1.12.tar.gz 18568186 BLAKE2B 74f20477867adc92eb6a87d2e3f4bd9449a69c66c723a03af9789d99f913a839324406aedaca1c731b5616fbde70bbd8e1a5fc469b2cc259385655fae0209176 SHA512 43335b11cddfd73271afa66c825316d48b0dece4d221119c571629ee8d61aeeea85d48674bc53a479b954d3f24648cd7571c4b6c84e560abae8bb682abf3468e
30 +DIST drupal-9.1.15.tar.gz 18580086 BLAKE2B 500602e498de55d2163c53d2cb04effbdab24d343a2f04262275c6500d9329b12760dee846513efbddc37916973dc9ad4bf0f6f882b1b57b0ca97b40afb369be SHA512 1fd8cbdbf0de00ed6d85a004f61fb3897cfcbc1f71d1d72373c8acf108f21774f3a91138901d9a3d0043f6b65b29ae7f953dfce1428a96a4fe529aac907141c0
31 DIST drupal-9.2.13.tar.gz 18877331 BLAKE2B 9747bfcb018d7c4f2b84bd9e39a847cd0f4648822f2db95addcaae6277ffb7ea990aee38d101b3e8cc02b04457ea88d31dcc1e947fa59a1b8179c85f3dfb3409 SHA512 6b143531f855f7e93857e4a6afcca4b629caee37f909fc78e71f257b58d52437e8610e5bdff7f5ac8e9b3fa2d6738dcbb755b8621632832ba5f35845b7b24608
32 +DIST drupal-9.2.18.tar.gz 18882937 BLAKE2B 9e62b041c0d3cd634984fa29c72b35af9a1d9777d1b3c204fb55fd125d7270242177b30876a03e36aa3757b1445fd7763db82a2f038e7931d84df7f908150abb SHA512 ed91530280a6150070d4086a388084b6336526363fb56585c85e090f9e3fd1b3e90a82eb83b07a6c725eae3ba994228b5cf280d3c296650d9e2be9e97996aa31
33
34 diff --git a/www-apps/drupal/drupal-7.89.ebuild b/www-apps/drupal/drupal-7.89.ebuild
35 new file mode 100644
36 index 000000000000..f5302a46a2ad
37 --- /dev/null
38 +++ b/www-apps/drupal/drupal-7.89.ebuild
39 @@ -0,0 +1,58 @@
40 +# Copyright 1999-2022 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=7
44 +
45 +inherit webapp
46 +
47 +MY_PV=${PV:0:3}.0
48 +
49 +DESCRIPTION="PHP-based open-source platform and content management system"
50 +HOMEPAGE="https://www.drupal.org/"
51 +SRC_URI="https://ftp.drupal.org/files/projects/${P}.tar.gz"
52 +
53 +LICENSE="GPL-2"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="+mysql postgres sqlite +uploadprogress"
56 +
57 +RDEPEND="
58 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
59 + virtual/httpd-php
60 + uploadprogress? ( dev-php/pecl-uploadprogress )
61 +"
62 +
63 +need_httpd_cgi
64 +
65 +REQUIRED_USE="|| ( mysql postgres sqlite )"
66 +
67 +src_install() {
68 + webapp_src_preinst
69 +
70 + local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
71 + dodoc ${docs}
72 + rm -f ${docs} INSTALL COPYRIGHT.txt || die
73 +
74 + cp sites/default/{default.settings.php,settings.php} || die
75 + insinto "${MY_HTDOCSDIR}"
76 + doins -r .
77 +
78 + dodir "${MY_HTDOCSDIR}"/files
79 + webapp_serverowned "${MY_HTDOCSDIR}"/files
80 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
81 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
82 +
83 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
84 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
85 +
86 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
87 +
88 + webapp_src_install
89 +}
90 +
91 +pkg_postinst() {
92 + echo
93 + ewarn "SECURITY NOTICE"
94 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
95 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
96 + echo
97 +}
98
99 diff --git a/www-apps/drupal/drupal-8.9.20.ebuild b/www-apps/drupal/drupal-8.9.20.ebuild
100 new file mode 100644
101 index 000000000000..65376470ca05
102 --- /dev/null
103 +++ b/www-apps/drupal/drupal-8.9.20.ebuild
104 @@ -0,0 +1,68 @@
105 +# Copyright 1999-2022 Gentoo Authors
106 +# Distributed under the terms of the GNU General Public License v2
107 +
108 +EAPI=7
109 +
110 +inherit webapp
111 +
112 +MY_PV=${PV:0:3}.0
113 +MY_P=${P/_/-}
114 +S="${WORKDIR}/${MY_P}"
115 +
116 +DESCRIPTION="PHP-based open-source platform and content management system"
117 +HOMEPAGE="https://www.drupal.org/"
118 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
119 +
120 +LICENSE="GPL-2"
121 +KEYWORDS="~amd64 ~x86"
122 +IUSE="+mysql postgres sqlite +uploadprogress"
123 +
124 +RDEPEND="
125 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
126 + virtual/httpd-php
127 + uploadprogress? ( dev-php/pecl-uploadprogress )
128 +"
129 +
130 +need_httpd_cgi
131 +
132 +REQUIRED_USE="|| ( mysql postgres sqlite )"
133 +
134 +src_install() {
135 + webapp_src_preinst
136 +
137 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
138 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
139 +
140 + dodoc ${docs}
141 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
142 +
143 + cp sites/default/{default.settings.php,settings.php} || die
144 + insinto "${MY_HTDOCSDIR}"
145 + doins -r .
146 +
147 + dodir "${MY_HTDOCSDIR}"/files
148 + webapp_serverowned "${MY_HTDOCSDIR}"/files
149 +
150 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
151 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
152 +
153 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
154 +
155 + webapp_src_install
156 +}
157 +
158 +pkg_postinst() {
159 + echo
160 + ewarn "SECURITY NOTICE"
161 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
162 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
163 + echo
164 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
165 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
166 + echo
167 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
168 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
169 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
170 + ewarn "reported by the setup."
171 + echo
172 +}
173
174 diff --git a/www-apps/drupal/drupal-9.1.15.ebuild b/www-apps/drupal/drupal-9.1.15.ebuild
175 new file mode 100644
176 index 000000000000..65376470ca05
177 --- /dev/null
178 +++ b/www-apps/drupal/drupal-9.1.15.ebuild
179 @@ -0,0 +1,68 @@
180 +# Copyright 1999-2022 Gentoo Authors
181 +# Distributed under the terms of the GNU General Public License v2
182 +
183 +EAPI=7
184 +
185 +inherit webapp
186 +
187 +MY_PV=${PV:0:3}.0
188 +MY_P=${P/_/-}
189 +S="${WORKDIR}/${MY_P}"
190 +
191 +DESCRIPTION="PHP-based open-source platform and content management system"
192 +HOMEPAGE="https://www.drupal.org/"
193 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
194 +
195 +LICENSE="GPL-2"
196 +KEYWORDS="~amd64 ~x86"
197 +IUSE="+mysql postgres sqlite +uploadprogress"
198 +
199 +RDEPEND="
200 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
201 + virtual/httpd-php
202 + uploadprogress? ( dev-php/pecl-uploadprogress )
203 +"
204 +
205 +need_httpd_cgi
206 +
207 +REQUIRED_USE="|| ( mysql postgres sqlite )"
208 +
209 +src_install() {
210 + webapp_src_preinst
211 +
212 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
213 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
214 +
215 + dodoc ${docs}
216 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
217 +
218 + cp sites/default/{default.settings.php,settings.php} || die
219 + insinto "${MY_HTDOCSDIR}"
220 + doins -r .
221 +
222 + dodir "${MY_HTDOCSDIR}"/files
223 + webapp_serverowned "${MY_HTDOCSDIR}"/files
224 +
225 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
226 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
227 +
228 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
229 +
230 + webapp_src_install
231 +}
232 +
233 +pkg_postinst() {
234 + echo
235 + ewarn "SECURITY NOTICE"
236 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
237 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
238 + echo
239 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
240 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
241 + echo
242 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
243 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
244 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
245 + ewarn "reported by the setup."
246 + echo
247 +}
248
249 diff --git a/www-apps/drupal/drupal-9.2.18.ebuild b/www-apps/drupal/drupal-9.2.18.ebuild
250 new file mode 100644
251 index 000000000000..fd1b09540bcc
252 --- /dev/null
253 +++ b/www-apps/drupal/drupal-9.2.18.ebuild
254 @@ -0,0 +1,68 @@
255 +# Copyright 1999-2022 Gentoo Authors
256 +# Distributed under the terms of the GNU General Public License v2
257 +
258 +EAPI=7
259 +
260 +inherit webapp
261 +
262 +MY_PV=${PV:0:3}.0
263 +MY_P=${P/_/-}
264 +S="${WORKDIR}/${MY_P}"
265 +
266 +DESCRIPTION="PHP-based open-source platform and content management system"
267 +HOMEPAGE="https://www.drupal.org/"
268 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
269 +
270 +LICENSE="GPL-2"
271 +KEYWORDS="~amd64 ~x86"
272 +IUSE="+mysql postgres sqlite +uploadprogress"
273 +
274 +RDEPEND="
275 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
276 + virtual/httpd-php
277 + uploadprogress? ( dev-php/pecl-uploadprogress )
278 +"
279 +
280 +need_httpd_cgi
281 +
282 +REQUIRED_USE="|| ( mysql postgres sqlite )"
283 +
284 +src_install() {
285 + webapp_src_preinst
286 +
287 + local docs="LICENSE.txt README.md core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
288 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
289 +
290 + dodoc ${docs}
291 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
292 +
293 + cp sites/default/{default.settings.php,settings.php} || die
294 + insinto "${MY_HTDOCSDIR}"
295 + doins -r .
296 +
297 + dodir "${MY_HTDOCSDIR}"/files
298 + webapp_serverowned "${MY_HTDOCSDIR}"/files
299 +
300 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
301 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
302 +
303 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
304 +
305 + webapp_src_install
306 +}
307 +
308 +pkg_postinst() {
309 + echo
310 + ewarn "SECURITY NOTICE"
311 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
312 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
313 + echo
314 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
315 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
316 + echo
317 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
318 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
319 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
320 + ewarn "reported by the setup."
321 + echo
322 +}