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, 02 Aug 2018 13:43:00
Message-Id: 1533217366.f6d4b12b0f4f7a0917fe0304b50c7f150dc04842.jmbsvicetto@gentoo
1 commit: f6d4b12b0f4f7a0917fe0304b50c7f150dc04842
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 2 13:42:46 2018 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 13:42:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d4b12b
7
8 www-apps/drupal: Drop vulnerable versions.
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 www-apps/drupal/Manifest | 2 -
13 www-apps/drupal/drupal-8.5.4.ebuild | 86 -------------------------------------
14 www-apps/drupal/drupal-8.5.5.ebuild | 86 -------------------------------------
15 3 files changed, 174 deletions(-)
16
17 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
18 index 1dce7d399dd..04f439628bd 100644
19 --- a/www-apps/drupal/Manifest
20 +++ b/www-apps/drupal/Manifest
21 @@ -1,4 +1,2 @@
22 DIST drupal-7.59.tar.gz 3282260 BLAKE2B bf7d74926fe4e94149ef7ff622cf7889f45f3e35b9bfd19fed12aa688c8131f2f8daa2a261796896d5386966603e837b6dec3b6c02221f9b0c527c4a6f5ff9da SHA512 68f02b39d1a4658adc0f0046c22cc1059b68f952f9cd753f5a3e379cf93705be308b4727519e90d77a42437442daebaa78d76745954be4d40e1a5105c319069c
23 -DIST drupal-8.5.4.tar.gz 15779939 BLAKE2B a016402e9165d64b8998df1f4aa76b6345400e8a3aa909941244fec21112edc05977c1f4464b3679f44aded3addf3174794e075db546d585da836f36d1771df1 SHA512 7171818533dba2c1cf19fc0dd4fc0884502e007c9fe8669dc8131a927ba1a5b14322a8ba1f465ff1aac5bd8e61a8fd17c632ea4b1e321469595d144a752546d2
24 -DIST drupal-8.5.5.tar.gz 15786935 BLAKE2B ba4ba412402c366be9499131913f42e4457dab149c3624a7fa72d6f4f051096d5194fc90a344a22e5da46180adfa446caa428f3a20c322d2f6bde0c80c5acb17 SHA512 bc0fe05a798f5a791e6a5777b308ff815f5c75105b9c40c0d7ac855fdd5de46192b7fdad213f4d267e89b8b50844fdcb52c24c470f3f6c01ec5ee59d2a982637
25 DIST drupal-8.5.6.tar.gz 15789509 BLAKE2B f8f9a5797d03b96d47b76512c6856fc8b1e3d113a206ee57ce1e8d3429a6e397f0ca6d45707f9b61235c1604f3acb0728b04bfbc1d9248055ff37e2e80cdc417 SHA512 4217e33800dc65b1d015c2c20dcecc6148ab8039d4dd6b895d356d05a94e7a96ba9a5ebbee834d568eddff2593b52878ac2bcca7bdde298312b4dc9f58684f2c
26
27 diff --git a/www-apps/drupal/drupal-8.5.4.ebuild b/www-apps/drupal/drupal-8.5.4.ebuild
28 deleted file mode 100644
29 index ec2dacba2d1..00000000000
30 --- a/www-apps/drupal/drupal-8.5.4.ebuild
31 +++ /dev/null
32 @@ -1,86 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit webapp
39 -
40 -MY_PV=${PV:0:3}.0
41 -MY_P=${P/_/-}
42 -S="${WORKDIR}/${MY_P}"
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/${MY_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="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
82 - core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
83 -
84 - dodoc ${docs}
85 - rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
86 -
87 - cp sites/default/{default.settings.php,settings.php} || die
88 - insinto "${MY_HTDOCSDIR}"
89 - doins -r .
90 -
91 - dodir "${MY_HTDOCSDIR}"/files
92 - webapp_serverowned "${MY_HTDOCSDIR}"/files
93 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
94 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
95 -
96 - webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
97 - webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
98 -
99 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
100 -
101 - webapp_src_install
102 -}
103 -
104 -pkg_postinst() {
105 - echo
106 - ewarn "SECURITY NOTICE"
107 - ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
108 - ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
109 - echo
110 - ewarn "If this is a new install, unless you want anyone with network access to your server to be"
111 - ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
112 - echo
113 - ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
114 - ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
115 - ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
116 - ewarn "reported by the setup."
117 - echo
118 -}
119
120 diff --git a/www-apps/drupal/drupal-8.5.5.ebuild b/www-apps/drupal/drupal-8.5.5.ebuild
121 deleted file mode 100644
122 index ec2dacba2d1..00000000000
123 --- a/www-apps/drupal/drupal-8.5.5.ebuild
124 +++ /dev/null
125 @@ -1,86 +0,0 @@
126 -# Copyright 1999-2018 Gentoo Foundation
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=6
130 -
131 -inherit webapp
132 -
133 -MY_PV=${PV:0:3}.0
134 -MY_P=${P/_/-}
135 -S="${WORKDIR}/${MY_P}"
136 -
137 -DESCRIPTION="PHP-based open-source platform and content management system"
138 -HOMEPAGE="https://www.drupal.org/"
139 -SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
140 -
141 -LICENSE="GPL-2"
142 -KEYWORDS="~alpha ~amd64 ~ppc ~x86"
143 -IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
144 -
145 -RDEPEND="
146 - dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
147 - virtual/httpd-php
148 - accelerator? ( ||
149 - (
150 - dev-php/xcache
151 - (
152 - >=dev-lang/php-5.5[opcache]
153 - dev-php/pecl-apcu
154 - )
155 - )
156 - )
157 - uploadprogress? ( dev-php/pecl-uploadprogress )
158 - mysql? (
159 - || (
160 - dev-lang/php[mysql]
161 - dev-lang/php[mysqli]
162 - )
163 - )
164 - sqlite? ( dev-lang/php[sqlite] )
165 -"
166 -
167 -need_httpd_cgi
168 -
169 -REQUIRED_USE="|| ( mysql postgres sqlite )"
170 -
171 -src_install() {
172 - webapp_src_preinst
173 -
174 - local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
175 - core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
176 -
177 - dodoc ${docs}
178 - rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
179 -
180 - cp sites/default/{default.settings.php,settings.php} || die
181 - insinto "${MY_HTDOCSDIR}"
182 - doins -r .
183 -
184 - dodir "${MY_HTDOCSDIR}"/files
185 - webapp_serverowned "${MY_HTDOCSDIR}"/files
186 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
187 - webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
188 -
189 - webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
190 - webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
191 -
192 - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
193 -
194 - webapp_src_install
195 -}
196 -
197 -pkg_postinst() {
198 - echo
199 - ewarn "SECURITY NOTICE"
200 - ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
201 - ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
202 - echo
203 - ewarn "If this is a new install, unless you want anyone with network access to your server to be"
204 - ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
205 - echo
206 - ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
207 - ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
208 - ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
209 - ewarn "reported by the setup."
210 - echo
211 -}