1 |
commit: 3609c25e2e5c6aa5f3647d0b394d5b4b4b76ddb1 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 22 00:57:15 2020 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 22 00:57:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3609c25e |
7 |
|
8 |
www-apps/drupal: Security bumps (8.8.6, 8.7.14 and 7.70). |
9 |
|
10 |
8.8.6 and 8.7.14 releases include SA-CORE-2020-002. |
11 |
7.70 release includes SA-CORE-2020-002 and SA-CORE-2020-003. |
12 |
Bug: https://bugs.gentoo.org/724498 |
13 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
14 |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> |
15 |
|
16 |
www-apps/drupal/Manifest | 3 ++ |
17 |
www-apps/drupal/drupal-7.70.ebuild | 58 ++++++++++++++++++++++++++++++ |
18 |
www-apps/drupal/drupal-8.7.14.ebuild | 68 ++++++++++++++++++++++++++++++++++++ |
19 |
www-apps/drupal/drupal-8.8.6.ebuild | 68 ++++++++++++++++++++++++++++++++++++ |
20 |
4 files changed, 197 insertions(+) |
21 |
|
22 |
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest |
23 |
index 8e497525f48..e4826268ceb 100644 |
24 |
--- a/www-apps/drupal/Manifest |
25 |
+++ b/www-apps/drupal/Manifest |
26 |
@@ -1,5 +1,8 @@ |
27 |
DIST drupal-7.69.tar.gz 3314294 BLAKE2B bfa1d528caf5dc1fa8a21d65244801e2d10961ec707bdb05c99cdd4fbb1e8f90692549b00befd29583371791a22fdf46af87dcc8c43204dce6ba505376bff5d4 SHA512 521eec475cbd11d9c997f660c8cd3f92e7a164650eaec67bc1d40c53e901576bc827a3805d2341ab80e9a5bb2f4524e7541d0a99970f2a51a3e45a9ac8ae7880 |
28 |
+DIST drupal-7.70.tar.gz 3319190 BLAKE2B 33f27c8c893d0a34ba953fbe9fae9a9552333328869da4d8627df018e3fc79d6e0cda3ae010c810ee113d87bbbfd2a9a7b12164cf2aede294de246d545eb3bcd SHA512 17d82cd8e4a519bccaf858447db76d7672ba0b9b6b4081f2b10842f22cf9cdb3a15df1dcc33a71be1476ba0df960812624938a0bdff594dd02b114521fd83b65 |
29 |
DIST drupal-8.7.12.tar.gz 17917274 BLAKE2B 931876fffaab011416d992910317e0b24f89ea4c01fbb09e7d256fb90652b30509051d60c61863434762eccf382ed9f25be41f84b797ffba89aff83a15ff908d SHA512 f9b140d52d11d9ec0543b8e18315b898f1d09bb4c360c544498b1b6df8d40e59c04e5e04749140c896c51f2ea1844fab8220dd556986b39af0fc846d2571e5c2 |
30 |
DIST drupal-8.7.13.tar.gz 17930132 BLAKE2B 926614cfa214a4c6bceea89d730f888fadd6373d197aaed983d9a778602fd0c22c8115fea670489e1d5eb26eadaa89f30427e7d7c719f3abe3f59e98f7cb6e07 SHA512 bbf859b30204c6c62ac1d2824cda0dc23acc4af99a119684c2b55d8944d6bb6ee5989f1a092f042009e4fe1f8da7cce8fca7d823097c53279a94b2c6f75fdbbf |
31 |
+DIST drupal-8.7.14.tar.gz 17930775 BLAKE2B 0a25ea095d8431075bb2d6506237a270131cef0548b0be4d801721fc850b504d0ea1969410a4b7493f983d9a9e80e9e8e45fb553e821759505882bac96266de3 SHA512 0dc5ee0d21c6da019aae6cf93d16d938b5fcf3179b74278d03c75cb6fd78f7fa698bc98ccb4040553b010e7b529f8a37640147b928616348abbcfd3060d42995 |
32 |
DIST drupal-8.8.4.tar.gz 19488274 BLAKE2B 47cd41ec3d494f5dc948d70c45072fa8040698db133141947348b201e9853c04b91460b1c064d36e45dd20d0ce99c2a1a592e4f2a0f99348cdfd08fb97b9f0e1 SHA512 e85e1262eff6274ada1d2625fbd7744b22611807e55252fcaeae722dae5dbc1c552841681f80d552e2d68f7ab2cdca8915e9a2e4c3dac9870fa92c0cb3910286 |
33 |
DIST drupal-8.8.5.tar.gz 19487785 BLAKE2B f7f64482c122009a7517bc299abee2a69f37b7732f4caa6348c811324c1875d38c3a8c71e031f451b1926e9e3b209c1da6db743451c28cf1e5a8c5ea2b13eee4 SHA512 15c1b574867066601d19f1cc45f3a65301f11e034f1aed4ab2b5566e5efc7b70ca7d12482fc94bd936b4b1b6bfab0fdc1eec1470d44a6de157eeb5bf8c178124 |
34 |
+DIST drupal-8.8.6.tar.gz 19494446 BLAKE2B 201399953571903b174548aa46455fc247dc34b3c38953c82c8f30c3317875662744fea5574c3692a35d6859ce5479dcfe084c9347c20909b72a015ce44fa44a SHA512 7466b28c36b8eafe15f5c23ec89c59e0add945ead9b46421735efff304cb3dd563c7dc850725e6fdc517a9116756a5d118f763e7744cd05edeaf1cdcf827eca4 |
35 |
|
36 |
diff --git a/www-apps/drupal/drupal-7.70.ebuild b/www-apps/drupal/drupal-7.70.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..4fd21d3cac4 |
39 |
--- /dev/null |
40 |
+++ b/www-apps/drupal/drupal-7.70.ebuild |
41 |
@@ -0,0 +1,58 @@ |
42 |
+# Copyright 1999-2020 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=6 |
46 |
+ |
47 |
+inherit webapp |
48 |
+ |
49 |
+MY_PV=${PV:0:3}.0 |
50 |
+ |
51 |
+DESCRIPTION="PHP-based open-source platform and content management system" |
52 |
+HOMEPAGE="https://www.drupal.org/" |
53 |
+SRC_URI="https://ftp.drupal.org/files/projects/${P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="GPL-2" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+IUSE="+mysql postgres sqlite +uploadprogress" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml] |
61 |
+ virtual/httpd-php |
62 |
+ uploadprogress? ( dev-php/pecl-uploadprogress ) |
63 |
+" |
64 |
+ |
65 |
+need_httpd_cgi |
66 |
+ |
67 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
68 |
+ |
69 |
+src_install() { |
70 |
+ webapp_src_preinst |
71 |
+ |
72 |
+ local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt " |
73 |
+ dodoc ${docs} |
74 |
+ rm -f ${docs} INSTALL COPYRIGHT.txt || die |
75 |
+ |
76 |
+ cp sites/default/{default.settings.php,settings.php} || die |
77 |
+ insinto "${MY_HTDOCSDIR}" |
78 |
+ doins -r . |
79 |
+ |
80 |
+ dodir "${MY_HTDOCSDIR}"/files |
81 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/files |
82 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default |
83 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php |
84 |
+ |
85 |
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php |
86 |
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess |
87 |
+ |
88 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
89 |
+ |
90 |
+ webapp_src_install |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ echo |
95 |
+ ewarn "SECURITY NOTICE" |
96 |
+ ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:" |
97 |
+ ewarn "\t# webapp-config --show-postinst ${PN} ${PV}" |
98 |
+ echo |
99 |
+} |
100 |
|
101 |
diff --git a/www-apps/drupal/drupal-8.7.14.ebuild b/www-apps/drupal/drupal-8.7.14.ebuild |
102 |
new file mode 100644 |
103 |
index 00000000000..50acdd30770 |
104 |
--- /dev/null |
105 |
+++ b/www-apps/drupal/drupal-8.7.14.ebuild |
106 |
@@ -0,0 +1,68 @@ |
107 |
+# Copyright 1999-2020 Gentoo Authors |
108 |
+# Distributed under the terms of the GNU General Public License v2 |
109 |
+ |
110 |
+EAPI=6 |
111 |
+ |
112 |
+inherit webapp |
113 |
+ |
114 |
+MY_PV=${PV:0:3}.0 |
115 |
+MY_P=${P/_/-} |
116 |
+S="${WORKDIR}/${MY_P}" |
117 |
+ |
118 |
+DESCRIPTION="PHP-based open-source platform and content management system" |
119 |
+HOMEPAGE="https://www.drupal.org/" |
120 |
+SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz" |
121 |
+ |
122 |
+LICENSE="GPL-2" |
123 |
+KEYWORDS="~amd64 ~x86" |
124 |
+IUSE="+mysql postgres sqlite +uploadprogress" |
125 |
+ |
126 |
+RDEPEND=" |
127 |
+ dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml] |
128 |
+ virtual/httpd-php |
129 |
+ uploadprogress? ( dev-php/pecl-uploadprogress ) |
130 |
+" |
131 |
+ |
132 |
+need_httpd_cgi |
133 |
+ |
134 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
135 |
+ |
136 |
+src_install() { |
137 |
+ webapp_src_preinst |
138 |
+ |
139 |
+ local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \ |
140 |
+ core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt " |
141 |
+ |
142 |
+ dodoc ${docs} |
143 |
+ rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die |
144 |
+ |
145 |
+ cp sites/default/{default.settings.php,settings.php} || die |
146 |
+ insinto "${MY_HTDOCSDIR}" |
147 |
+ doins -r . |
148 |
+ |
149 |
+ dodir "${MY_HTDOCSDIR}"/files |
150 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/files |
151 |
+ |
152 |
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php |
153 |
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess |
154 |
+ |
155 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
156 |
+ |
157 |
+ webapp_src_install |
158 |
+} |
159 |
+ |
160 |
+pkg_postinst() { |
161 |
+ echo |
162 |
+ ewarn "SECURITY NOTICE" |
163 |
+ ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:" |
164 |
+ ewarn "\t# webapp-config --show-postinst ${PN} ${PV}" |
165 |
+ echo |
166 |
+ ewarn "If this is a new install, unless you want anyone with network access to your server to be" |
167 |
+ ewarn "able to run the setup, you'll have to configure your web server to limit access to it." |
168 |
+ echo |
169 |
+ ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml" |
170 |
+ ewarn "to /sites/default/services.yml and grant it write permissions to your web server." |
171 |
+ ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue" |
172 |
+ ewarn "reported by the setup." |
173 |
+ echo |
174 |
+} |
175 |
|
176 |
diff --git a/www-apps/drupal/drupal-8.8.6.ebuild b/www-apps/drupal/drupal-8.8.6.ebuild |
177 |
new file mode 100644 |
178 |
index 00000000000..50acdd30770 |
179 |
--- /dev/null |
180 |
+++ b/www-apps/drupal/drupal-8.8.6.ebuild |
181 |
@@ -0,0 +1,68 @@ |
182 |
+# Copyright 1999-2020 Gentoo Authors |
183 |
+# Distributed under the terms of the GNU General Public License v2 |
184 |
+ |
185 |
+EAPI=6 |
186 |
+ |
187 |
+inherit webapp |
188 |
+ |
189 |
+MY_PV=${PV:0:3}.0 |
190 |
+MY_P=${P/_/-} |
191 |
+S="${WORKDIR}/${MY_P}" |
192 |
+ |
193 |
+DESCRIPTION="PHP-based open-source platform and content management system" |
194 |
+HOMEPAGE="https://www.drupal.org/" |
195 |
+SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz" |
196 |
+ |
197 |
+LICENSE="GPL-2" |
198 |
+KEYWORDS="~amd64 ~x86" |
199 |
+IUSE="+mysql postgres sqlite +uploadprogress" |
200 |
+ |
201 |
+RDEPEND=" |
202 |
+ dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml] |
203 |
+ virtual/httpd-php |
204 |
+ uploadprogress? ( dev-php/pecl-uploadprogress ) |
205 |
+" |
206 |
+ |
207 |
+need_httpd_cgi |
208 |
+ |
209 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
210 |
+ |
211 |
+src_install() { |
212 |
+ webapp_src_preinst |
213 |
+ |
214 |
+ local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \ |
215 |
+ core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt " |
216 |
+ |
217 |
+ dodoc ${docs} |
218 |
+ rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die |
219 |
+ |
220 |
+ cp sites/default/{default.settings.php,settings.php} || die |
221 |
+ insinto "${MY_HTDOCSDIR}" |
222 |
+ doins -r . |
223 |
+ |
224 |
+ dodir "${MY_HTDOCSDIR}"/files |
225 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/files |
226 |
+ |
227 |
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php |
228 |
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess |
229 |
+ |
230 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
231 |
+ |
232 |
+ webapp_src_install |
233 |
+} |
234 |
+ |
235 |
+pkg_postinst() { |
236 |
+ echo |
237 |
+ ewarn "SECURITY NOTICE" |
238 |
+ ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:" |
239 |
+ ewarn "\t# webapp-config --show-postinst ${PN} ${PV}" |
240 |
+ echo |
241 |
+ ewarn "If this is a new install, unless you want anyone with network access to your server to be" |
242 |
+ ewarn "able to run the setup, you'll have to configure your web server to limit access to it." |
243 |
+ echo |
244 |
+ ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml" |
245 |
+ ewarn "to /sites/default/services.yml and grant it write permissions to your web server." |
246 |
+ ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue" |
247 |
+ ewarn "reported by the setup." |
248 |
+ echo |
249 |
+} |