1 |
commit: 1318394217bd16f8c3c4bbedb041daba914dc72f |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 14 22:05:09 2016 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 14 22:05:09 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13183942 |
7 |
|
8 |
www-apps/drupal: Version bump to releases 7.50 and 8.1.5. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
www-apps/drupal/Manifest | 2 + |
13 |
www-apps/drupal/drupal-7.50.ebuild | 75 ++++++++++++++++++++++++++++++++ |
14 |
www-apps/drupal/drupal-8.1.5.ebuild | 87 +++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 164 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest |
18 |
index 3e31c64..aa75d6d 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.44.tar.gz 3265819 SHA256 a62971d20edd4ffd4c6dd03eb5fe3d213777d3807f48b7399bb73688dfd4bc5a SHA512 67d358c85259b7722824f214be177c40819c7e0c06c8ec7511b7f87ecff1ab6622af62fc5769b62682e0e67f718743afa6b0a9e4c55e2348a1b408eeb566c3e9 WHIRLPOOL 2630412b085894f3b9dc8d5e0d6f0c08115f3ca60fdcbfafb6fa3070b1b54f4b551432778c6f93a59f51cd58d40b7e5c5bcdcf54abab4c6c634f31cc6be5c52a |
24 |
+DIST drupal-7.50.tar.gz 3286826 SHA256 82041716e1790269d09ec4a1c4cca8899d0221509471d53ac793a320143e0cf0 SHA512 1d80c1cb46db4a679f4ba61decfd799989c915206325a825e0c2234c33d84dc4a7ee38a76f51e48337e241c22deffc0589d65eb6de4341070e1b4440823e52c3 WHIRLPOOL eaf8a872c505a8be8faba3f8e687360c7f52e09fbf081fbd2141245a13220ac16de67bb4a7c1a283d61c517760df54bb2a268bf67649ea0875be48bd89bb6573 |
25 |
DIST drupal-8.0.6.tar.gz 11782652 SHA256 4aa4310d5e6e7d8a932b158379f27ac226cd43d01bde71d4cc3229a491992baa SHA512 99b1192eb85e04ca14d8929dbea1cb658542027efa7f2a8c67a0572a2f6266ada375f700d176c6b6c858062fb1845fd0991e76c54929a2ca41a336f38cf0b492 WHIRLPOOL 07b3b09b272f404123733710738418eded39ea10a5afcbc39659c6eab5550deaa18b0d9f33be33cf1647fe47f36af905c5f5ade02ce031f81bfb23e543775a68 |
26 |
DIST drupal-8.1.3.tar.gz 12552870 SHA256 178e5ad63839ba52904925a4e230146786bb7fce7f25a2ff57f835a390689176 SHA512 526672e8c2d4858cfaece25ed9fbea680d4adc9ef8d0ff57e291bd524cd8dc3f434e9603be4bb46aff2c14fbc6a27c7f9939a416cbd829913276545db6b34073 WHIRLPOOL e9d6f9651defdf9786611a61785598d88299bdf0a3263a94a3a978345cd09c230530f2605284119f2dc5b11f02bb9990286deee3d02a708efad6029bafc4beeb |
27 |
+DIST drupal-8.1.5.tar.gz 12596430 SHA256 66590d33ba123e0b399dd9588cf3fd3b6cfbc146fc238a3f4f7d05271ae66548 SHA512 733d27b9aae4dde71582e3ad9bbb274f7ee66bba0a0860febf306b0ea16d3e200770a41f8eedc9cf69bccbaebb0e75f7244ca073a0e88d4cfeb82a60e477c1a1 WHIRLPOOL 04e360cd828f3f830ec1a422f0a22a21f344030b969cd9747f4953bfc0a89981561970f58153e1f602dc393c6684546ab57605bb14e71ef5abd1ae7d06ba5c34 |
28 |
|
29 |
diff --git a/www-apps/drupal/drupal-7.50.ebuild b/www-apps/drupal/drupal-7.50.ebuild |
30 |
new file mode 100644 |
31 |
index 0000000..6eb274c |
32 |
--- /dev/null |
33 |
+++ b/www-apps/drupal/drupal-7.50.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.1.5.ebuild b/www-apps/drupal/drupal-8.1.5.ebuild |
112 |
new file mode 100644 |
113 |
index 0000000..0eab001 |
114 |
--- /dev/null |
115 |
+++ b/www-apps/drupal/drupal-8.1.5.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 |
+} |