1 |
commit: 1339c5a7bf29a2acc87ed64c031aeb7d534aa097 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 8 18:51:12 2016 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 8 18:51:12 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/jmbsvicetto.git/commit/?id=1339c5a7 |
7 |
|
8 |
www-apps/drupal: Version bump to releases 7.50 and 8.1.5. |
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.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 3115087..97705b2 100644 |
19 |
--- a/www-apps/drupal/Manifest |
20 |
+++ b/www-apps/drupal/Manifest |
21 |
@@ -1,3 +1,5 @@ |
22 |
DIST drupal-7.44.tar.gz 3265819 SHA256 a62971d20edd4ffd4c6dd03eb5fe3d213777d3807f48b7399bb73688dfd4bc5a SHA512 67d358c85259b7722824f214be177c40819c7e0c06c8ec7511b7f87ecff1ab6622af62fc5769b62682e0e67f718743afa6b0a9e4c55e2348a1b408eeb566c3e9 WHIRLPOOL 2630412b085894f3b9dc8d5e0d6f0c08115f3ca60fdcbfafb6fa3070b1b54f4b551432778c6f93a59f51cd58d40b7e5c5bcdcf54abab4c6c634f31cc6be5c52a |
23 |
+DIST drupal-7.50.tar.gz 3286826 SHA256 82041716e1790269d09ec4a1c4cca8899d0221509471d53ac793a320143e0cf0 SHA512 1d80c1cb46db4a679f4ba61decfd799989c915206325a825e0c2234c33d84dc4a7ee38a76f51e48337e241c22deffc0589d65eb6de4341070e1b4440823e52c3 WHIRLPOOL eaf8a872c505a8be8faba3f8e687360c7f52e09fbf081fbd2141245a13220ac16de67bb4a7c1a283d61c517760df54bb2a268bf67649ea0875be48bd89bb6573 |
24 |
DIST drupal-8.0.6.tar.gz 11782652 SHA256 4aa4310d5e6e7d8a932b158379f27ac226cd43d01bde71d4cc3229a491992baa SHA512 99b1192eb85e04ca14d8929dbea1cb658542027efa7f2a8c67a0572a2f6266ada375f700d176c6b6c858062fb1845fd0991e76c54929a2ca41a336f38cf0b492 WHIRLPOOL 07b3b09b272f404123733710738418eded39ea10a5afcbc39659c6eab5550deaa18b0d9f33be33cf1647fe47f36af905c5f5ade02ce031f81bfb23e543775a68 |
25 |
DIST drupal-8.1.3.tar.gz 12552870 SHA256 178e5ad63839ba52904925a4e230146786bb7fce7f25a2ff57f835a390689176 SHA512 526672e8c2d4858cfaece25ed9fbea680d4adc9ef8d0ff57e291bd524cd8dc3f434e9603be4bb46aff2c14fbc6a27c7f9939a416cbd829913276545db6b34073 WHIRLPOOL e9d6f9651defdf9786611a61785598d88299bdf0a3263a94a3a978345cd09c230530f2605284119f2dc5b11f02bb9990286deee3d02a708efad6029bafc4beeb |
26 |
+DIST drupal-8.1.5.tar.gz 12596430 SHA256 66590d33ba123e0b399dd9588cf3fd3b6cfbc146fc238a3f4f7d05271ae66548 SHA512 733d27b9aae4dde71582e3ad9bbb274f7ee66bba0a0860febf306b0ea16d3e200770a41f8eedc9cf69bccbaebb0e75f7244ca073a0e88d4cfeb82a60e477c1a1 WHIRLPOOL 04e360cd828f3f830ec1a422f0a22a21f344030b969cd9747f4953bfc0a89981561970f58153e1f602dc393c6684546ab57605bb14e71ef5abd1ae7d06ba5c34 |
27 |
|
28 |
diff --git a/www-apps/drupal/drupal-7.50.ebuild b/www-apps/drupal/drupal-7.50.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..6eb274c |
31 |
--- /dev/null |
32 |
+++ b/www-apps/drupal/drupal-7.50.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.1.5.ebuild b/www-apps/drupal/drupal-8.1.5.ebuild |
111 |
new file mode 100644 |
112 |
index 0000000..0eab001 |
113 |
--- /dev/null |
114 |
+++ b/www-apps/drupal/drupal-8.1.5.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 |
+} |