Gentoo Archives: gentoo-commits

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