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: Mon, 10 Oct 2016 15:47:44
Message-Id: 1476114419.b276a16f236bb9452d094d44ab180e6d9e9a8fc3.jmbsvicetto@gentoo
1 commit: b276a16f236bb9452d094d44ab180e6d9e9a8fc3
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 10 15:46:59 2016 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 10 15:46:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b276a16f
7
8 www-apps/drupal: Bump to releases 7.51 and 8.2.0.
9
10 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
11
12 www-apps/drupal/Manifest | 2 +
13 www-apps/drupal/drupal-7.51.ebuild | 75 ++++++++++++++++++++++++++++++++
14 www-apps/drupal/drupal-8.2.0.ebuild | 87 +++++++++++++++++++++++++++++++++++++
15 3 files changed, 164 insertions(+)
16
17 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
18 index b11a4e1..5108ad5 100644
19 --- a/www-apps/drupal/Manifest
20 +++ b/www-apps/drupal/Manifest
21 @@ -1,4 +1,6 @@
22 DIST drupal-6.38.tar.gz 1113790 SHA256 46a6d7ec170e74f3c85b11fdf0fae74ce0691d4260b848bf5faff1f0f5f31d4b SHA512 ad8b0e04c15afa6e5b5f7d60478c7ac7f6123cd0735424588a4266a987d13df96d8349a8674bcdbcfc437a63847269477a6c836660b7dd990dbb1b844809ce14 WHIRLPOOL 87df66cb65bd9c97356f54d9ede14a6bec41aed49cdb5ae0f504077ce14f03cecb03ace863492c765c3b3837d8aa84c12bf11ed3ebf874afac1b69c21d31661b
23 DIST drupal-7.50.tar.gz 3286826 SHA256 82041716e1790269d09ec4a1c4cca8899d0221509471d53ac793a320143e0cf0 SHA512 1d80c1cb46db4a679f4ba61decfd799989c915206325a825e0c2234c33d84dc4a7ee38a76f51e48337e241c22deffc0589d65eb6de4341070e1b4440823e52c3 WHIRLPOOL eaf8a872c505a8be8faba3f8e687360c7f52e09fbf081fbd2141245a13220ac16de67bb4a7c1a283d61c517760df54bb2a268bf67649ea0875be48bd89bb6573
24 +DIST drupal-7.51.tar.gz 3288987 SHA256 2969e8f7d70f6931842f8a45df1aa7aa7c94a17694f3043dd804878a3ed6d381 SHA512 3e72f2ce8941d9d82358de5376afd6a5a3d2c375fe487a26d0dd5e448a602c4a726877b48a96388180aace1d6f360a6dedf400164d759665657b50102ef9d45c WHIRLPOOL 9fc970f547b3b0ac6c30e4c5ad80fa9794e1638c78a5a8db11c763df6fdbc5dd6ac20e7616c72ec387d866550df32ad2e238873d0375aff541c7503ef2428811
25 DIST drupal-8.1.10.tar.gz 12651446 SHA256 6bacd17843a23f5079171023cdef6fc03616cf9682c0af898649232c0a6262cb SHA512 22e27a339b2fff40b99549617480f1ca5525b8103b0ceb85e267b13ac6bd1703c06db63c1bb8bf6a85ba3ad1e178e3bf0fc04bbaf26bb96b1950c6d032181e16 WHIRLPOOL dfaa9900a96e2ec01b5b3d19910d869323a8ff985080686e567dad8c7d3e570e3fecc5c34e2112e9f52f60c73b7139fb99f7bc06f463c89872b1375d3c97390f
26 DIST drupal-8.2.0-rc1.tar.gz 12854953 SHA256 6d8b7c3f5009fde60beb2dc02cd3c8b9e36413dd95b30a4af7d80a3b7463aa25 SHA512 6f73da6c25eb3c40c9f0df88ab6bf785ee0ef9ba48b51ad246d0cd16019c6d269027fb853f9490741031fecf1a046d16c119fc61cc6568738d3cc639dabb7a0f WHIRLPOOL 291e6bb4bc5d97c691019ef3211b88c0303d60be97e4f4b3b5be1b78186fb8c93cca1bf2b398359ad7df0c640e4bad840185915c7d57874fe44a2d41a9d76dda
27 +DIST drupal-8.2.0.tar.gz 12867786 SHA256 94611a63c8cfef63ce65cae5cda0b39c3c84132f969bfb726f988317c55765fd SHA512 ccbcc458e8357e2ddce57db3485a83aa597f6a5ad96b0e8c5d6ed80bb59f3f218d5a349976c6b20f49f472dff831fb1a51b82c4ead42043cee63155b7e723103 WHIRLPOOL f622f66f932946028c334379f44bb89aeb647358a43569ecdeddb843b6fe568cb041c1da16fadedfdb7f1cafaf97a0b94bacda9d68359c87feed359d6c804fcf
28
29 diff --git a/www-apps/drupal/drupal-7.51.ebuild b/www-apps/drupal/drupal-7.51.ebuild
30 new file mode 100644
31 index 00000000..6eb274c
32 --- /dev/null
33 +++ b/www-apps/drupal/drupal-7.51.ebuild
34 @@ -0,0 +1,75 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=5
40 +
41 +inherit webapp
42 +
43 +MY_PV=${PV:0:3}.0
44 +
45 +DESCRIPTION="PHP-based open-source platform and content management system"
46 +HOMEPAGE="https://www.drupal.org/"
47 +SRC_URI="https://ftp.drupal.org/files/projects/${P}.tar.gz"
48 +
49 +LICENSE="GPL-2"
50 +KEYWORDS="~alpha ~amd64 ~ppc ~x86"
51 +IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
52 +
53 +RDEPEND="
54 + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
55 + virtual/httpd-php
56 + accelerator? ( ||
57 + (
58 + dev-php/xcache
59 + (
60 + >=dev-lang/php-5.5[opcache]
61 + dev-php/pecl-apcu
62 + )
63 + )
64 + )
65 + uploadprogress? ( dev-php/pecl-uploadprogress )
66 + mysql? (
67 + || (
68 + dev-lang/php[mysql]
69 + dev-lang/php[mysqli]
70 + )
71 + )
72 + sqlite? ( dev-lang/php[sqlite] )
73 +"
74 +
75 +need_httpd_cgi
76 +
77 +REQUIRED_USE="|| ( mysql postgres sqlite )"
78 +
79 +src_install() {
80 + webapp_src_preinst
81 +
82 + local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
83 + dodoc ${docs}
84 + rm -f ${docs} INSTALL COPYRIGHT.txt || die
85 +
86 + cp sites/default/{default.settings.php,settings.php} || die
87 + insinto "${MY_HTDOCSDIR}"
88 + doins -r .
89 +
90 + dodir "${MY_HTDOCSDIR}"/files
91 + webapp_serverowned "${MY_HTDOCSDIR}"/files
92 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
93 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
94 +
95 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
96 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
97 +
98 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
99 +
100 + webapp_src_install
101 +}
102 +
103 +pkg_postinst() {
104 + echo
105 + ewarn "SECURITY NOTICE"
106 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
107 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
108 + echo
109 +}
110
111 diff --git a/www-apps/drupal/drupal-8.2.0.ebuild b/www-apps/drupal/drupal-8.2.0.ebuild
112 new file mode 100644
113 index 00000000..0eab001
114 --- /dev/null
115 +++ b/www-apps/drupal/drupal-8.2.0.ebuild
116 @@ -0,0 +1,87 @@
117 +# Copyright 1999-2016 Gentoo Foundation
118 +# Distributed under the terms of the GNU General Public License v2
119 +# $Id$
120 +
121 +EAPI=5
122 +
123 +inherit webapp
124 +
125 +MY_PV=${PV:0:3}.0
126 +MY_P=${P/_/-}
127 +S="${WORKDIR}/${MY_P}"
128 +
129 +DESCRIPTION="PHP-based open-source platform and content management system"
130 +HOMEPAGE="https://www.drupal.org/"
131 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
132 +
133 +LICENSE="GPL-2"
134 +KEYWORDS="~alpha ~amd64 ~ppc ~x86"
135 +IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
136 +
137 +RDEPEND="
138 + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
139 + virtual/httpd-php
140 + accelerator? ( ||
141 + (
142 + dev-php/xcache
143 + (
144 + >=dev-lang/php-5.5[opcache]
145 + dev-php/pecl-apcu
146 + )
147 + )
148 + )
149 + uploadprogress? ( dev-php/pecl-uploadprogress )
150 + mysql? (
151 + || (
152 + dev-lang/php[mysql]
153 + dev-lang/php[mysqli]
154 + )
155 + )
156 + sqlite? ( dev-lang/php[sqlite] )
157 +"
158 +
159 +need_httpd_cgi
160 +
161 +REQUIRED_USE="|| ( mysql postgres sqlite )"
162 +
163 +src_install() {
164 + webapp_src_preinst
165 +
166 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
167 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
168 +
169 + dodoc ${docs}
170 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
171 +
172 + cp sites/default/{default.settings.php,settings.php} || die
173 + insinto "${MY_HTDOCSDIR}"
174 + doins -r .
175 +
176 + dodir "${MY_HTDOCSDIR}"/files
177 + webapp_serverowned "${MY_HTDOCSDIR}"/files
178 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
179 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
180 +
181 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
182 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
183 +
184 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
185 +
186 + webapp_src_install
187 +}
188 +
189 +pkg_postinst() {
190 + echo
191 + ewarn "SECURITY NOTICE"
192 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
193 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
194 + echo
195 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
196 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
197 + echo
198 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
199 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
200 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
201 + ewarn "reported by the setup."
202 + echo
203 +}