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: Fri, 18 Jan 2019 20:15:35
Message-Id: 1547842503.29ab1b1ba1aeee34c62313856e775596bf885d4d.jmbsvicetto@gentoo
1 commit: 29ab1b1ba1aeee34c62313856e775596bf885d4d
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 18 20:15:03 2019 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 18 20:15:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ab1b1b
7
8 www-apps/drupal: Security bump to releases 7.63 and 8.6.7.
9
10 This releases address SA-CORE-2019-001 and SA-CORE-2019-002.
11 Bug: http://bugs.gentoo.org/675690
12 Package-Manager: Portage-2.3.52, Repoman-2.3.12
13 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
14
15 www-apps/drupal/Manifest | 2 +
16 www-apps/drupal/drupal-7.63.ebuild | 74 ++++++++++++++++++++++++++++++++
17 www-apps/drupal/drupal-8.6.7.ebuild | 84 +++++++++++++++++++++++++++++++++++++
18 3 files changed, 160 insertions(+)
19
20 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
21 index 51ea7fef9a6..09bbafb3fa8 100644
22 --- a/www-apps/drupal/Manifest
23 +++ b/www-apps/drupal/Manifest
24 @@ -1,6 +1,8 @@
25 DIST drupal-7.60.tar.gz 3283058 BLAKE2B 2c29c089e0e13ce52c5d7a0bbf72c79596fbdc1a370a60b33d617ab29f2aaec86e36545ced7620832f333de66bb775178f7eeeca80976d6e2616553b766c07b3 SHA512 fee59cf303a6c44e3fa3cbeda4912f7d61ffe8294282f9ad0416a6536cc6ea65cf114a6a801dd1f68572185c2b1e300f58f907f9bd61f96beaba3706c527d512
26 DIST drupal-7.61.tar.gz 3287629 BLAKE2B 635fca54063bf3030cd3699f2395c64a4949719b38ad51e1ae67de928a0177bb8c049f383245ecd1ebf1d8dfe4dc1be012c0d83bd50eada8b05a959fd160d4ac SHA512 8f0bdd5b7ef33e62d09698b3889726fab1edb14df6263635bca65c9bbe0400df618dbf02ef298eeee169d48ab554d3b58d867bd4ce0d429b4b9167979917db51
27 +DIST drupal-7.63.tar.gz 3298415 BLAKE2B 28b136911b7faf4cf9ac790dbb5260de1004e34c77dcc08fabee7ae464a5f30645a4377f3c9f1ca4df45a357864bd1b5f6deb09a20db41bfbe9ef7621bf404a7 SHA512 e601732590a0b6d63d15d4d73e9531576592092dda986d965ff4d466069f21fc0adcd004798547b14dc528546ddcb5bb089a7cb1919b89f94339888858f12dd1
28 DIST drupal-8.6.2.tar.gz 16240694 BLAKE2B 122ff2464af6376256d96db8b470cf5f83beeba80a5c63e549e7eb0cfc875629d0b2d4ed46b130294e2145ea5a428b15cfa0edfcd31596660188df769b68bcd2 SHA512 8cdcd31f3a112a577e622cca0fb7957580b5691102421344c6f6bfc3096f33aae3a68d7d8eb9062ad14761bac14b68c2967973b1b1ef367dcbd79b972493b7c5
29 DIST drupal-8.6.3.tar.gz 16372220 BLAKE2B b9bbf18e25292bfa87f23e2aa2329f86dfe714a265188c35998059b0075f31ceb6d0d6a23ed576615b1a6a6aef6b935a495e70b22aed0e649b41b79994bc9123 SHA512 93284235c9620ed235bfe0100317846694095ca96b1da7ac402c415e9f5f0819887c4da516655dabb49b4bbdba58935d7f78712c525c803125ec27d6a5692cea
30 DIST drupal-8.6.4.tar.gz 16401179 BLAKE2B 15b44df0ddbc420aad07c95eda6c238a9862c186cd762c6f332452919340939f7b604b424a046adbe2111bd7ae4e50b7dad2a8d67b5122035fc0f30a7b2cb47a SHA512 ff81fe8aa10f635b5906d7a21efc5e8d44e96594d26a2637987ea2ef36b6ea323638bf4fca2374553d381645e4d187ef72d0284d4d0bad8663efe1e0b7bfcf8b
31 DIST drupal-8.6.5.tar.gz 16465640 BLAKE2B 39d2ae65884a54bb4830b41d58f7b84ed76d1476a3a1c08a291a0bc75b8351108648f872525f03236fa078438d9863b635084484d8003b20c9331c8ac02f874d SHA512 7298b315c14931c24a1f433625c91a96bb2c7d09ab6ceac31fba62d316604a8b72c13941ef99ffc878ff697f00fb70924f6ffdd23081ec1c9258d0dba1b52e76
32 +DIST drupal-8.6.7.tar.gz 16478439 BLAKE2B d1649f792e79ece2c17842478f23fbed8ef331ad6fcf7509f5cdd4fd5875fc6a00e1820fe39a66dd5404945658260436b9438c8d25a725517bc13f44d1407290 SHA512 0150f42066fe1a2e5c96eea1fd3d59221d2d3102cde8e629de79f4f248496c506cd2f76165a1baee3c36ca2d3d266658949a7927743c9e1859a525aa34ae80a6
33
34 diff --git a/www-apps/drupal/drupal-7.63.ebuild b/www-apps/drupal/drupal-7.63.ebuild
35 new file mode 100644
36 index 00000000000..2d1f90ebbd0
37 --- /dev/null
38 +++ b/www-apps/drupal/drupal-7.63.ebuild
39 @@ -0,0 +1,74 @@
40 +# Copyright 1999-2019 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=6
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="~alpha ~amd64 ~ppc ~x86"
55 +IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
56 +
57 +RDEPEND="
58 + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
59 + virtual/httpd-php
60 + accelerator? ( ||
61 + (
62 + dev-php/xcache
63 + (
64 + >=dev-lang/php-5.5[opcache]
65 + dev-php/pecl-apcu
66 + )
67 + )
68 + )
69 + uploadprogress? ( dev-php/pecl-uploadprogress )
70 + mysql? (
71 + || (
72 + dev-lang/php[mysql]
73 + dev-lang/php[mysqli]
74 + )
75 + )
76 + sqlite? ( dev-lang/php[sqlite] )
77 +"
78 +
79 +need_httpd_cgi
80 +
81 +REQUIRED_USE="|| ( mysql postgres sqlite )"
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 INSTALL.sqlite.txt UPGRADE.txt "
87 + dodoc ${docs}
88 + rm -f ${docs} INSTALL COPYRIGHT.txt || die
89 +
90 + cp sites/default/{default.settings.php,settings.php} || die
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 +pkg_postinst() {
108 + echo
109 + ewarn "SECURITY NOTICE"
110 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
111 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
112 + echo
113 +}
114
115 diff --git a/www-apps/drupal/drupal-8.6.7.ebuild b/www-apps/drupal/drupal-8.6.7.ebuild
116 new file mode 100644
117 index 00000000000..a8514d07dfe
118 --- /dev/null
119 +++ b/www-apps/drupal/drupal-8.6.7.ebuild
120 @@ -0,0 +1,84 @@
121 +# Copyright 1999-2019 Gentoo Authors
122 +# Distributed under the terms of the GNU General Public License v2
123 +
124 +EAPI=6
125 +
126 +inherit webapp
127 +
128 +MY_PV=${PV:0:3}.0
129 +MY_P=${P/_/-}
130 +S="${WORKDIR}/${MY_P}"
131 +
132 +DESCRIPTION="PHP-based open-source platform and content management system"
133 +HOMEPAGE="https://www.drupal.org/"
134 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
135 +
136 +LICENSE="GPL-2"
137 +KEYWORDS="~alpha ~amd64 ~ppc ~x86"
138 +IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
139 +
140 +RDEPEND="
141 + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
142 + virtual/httpd-php
143 + accelerator? ( ||
144 + (
145 + dev-php/xcache
146 + (
147 + >=dev-lang/php-5.5[opcache]
148 + dev-php/pecl-apcu
149 + )
150 + )
151 + )
152 + uploadprogress? ( dev-php/pecl-uploadprogress )
153 + mysql? (
154 + || (
155 + dev-lang/php[mysql]
156 + dev-lang/php[mysqli]
157 + )
158 + )
159 + sqlite? ( dev-lang/php[sqlite] )
160 +"
161 +
162 +need_httpd_cgi
163 +
164 +REQUIRED_USE="|| ( mysql postgres sqlite )"
165 +
166 +src_install() {
167 + webapp_src_preinst
168 +
169 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
170 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
171 +
172 + dodoc ${docs}
173 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
174 +
175 + cp sites/default/{default.settings.php,settings.php} || die
176 + insinto "${MY_HTDOCSDIR}"
177 + doins -r .
178 +
179 + dodir "${MY_HTDOCSDIR}"/files
180 + webapp_serverowned "${MY_HTDOCSDIR}"/files
181 +
182 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
183 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
184 +
185 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
186 +
187 + webapp_src_install
188 +}
189 +
190 +pkg_postinst() {
191 + echo
192 + ewarn "SECURITY NOTICE"
193 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
194 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
195 + echo
196 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
197 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
198 + echo
199 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
200 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
201 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
202 + ewarn "reported by the setup."
203 + echo
204 +}