1 |
commit: b15ee09b70b1f2e8bb793f712401923f667f5cc4 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 25 03:19:56 2016 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 25 03:19:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/jmbsvicetto.git/commit/?id=b15ee09b |
7 |
|
8 |
Add first 8.2.0 release candidate. |
9 |
|
10 |
www-apps/drupal/Manifest | 1 + |
11 |
www-apps/drupal/drupal-8.2.0_rc1.ebuild | 87 +++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 88 insertions(+) |
13 |
|
14 |
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest |
15 |
index cde9797..93fc005 100644 |
16 |
--- a/www-apps/drupal/Manifest |
17 |
+++ b/www-apps/drupal/Manifest |
18 |
@@ -1,3 +1,4 @@ |
19 |
DIST drupal-7.50.tar.gz 3286826 SHA256 82041716e1790269d09ec4a1c4cca8899d0221509471d53ac793a320143e0cf0 SHA512 1d80c1cb46db4a679f4ba61decfd799989c915206325a825e0c2234c33d84dc4a7ee38a76f51e48337e241c22deffc0589d65eb6de4341070e1b4440823e52c3 WHIRLPOOL eaf8a872c505a8be8faba3f8e687360c7f52e09fbf081fbd2141245a13220ac16de67bb4a7c1a283d61c517760df54bb2a268bf67649ea0875be48bd89bb6573 |
20 |
DIST drupal-8.1.10.tar.gz 12651446 SHA256 6bacd17843a23f5079171023cdef6fc03616cf9682c0af898649232c0a6262cb SHA512 22e27a339b2fff40b99549617480f1ca5525b8103b0ceb85e267b13ac6bd1703c06db63c1bb8bf6a85ba3ad1e178e3bf0fc04bbaf26bb96b1950c6d032181e16 WHIRLPOOL dfaa9900a96e2ec01b5b3d19910d869323a8ff985080686e567dad8c7d3e570e3fecc5c34e2112e9f52f60c73b7139fb99f7bc06f463c89872b1375d3c97390f |
21 |
DIST drupal-8.1.7.tar.gz 12601662 SHA256 1d4c9d58c22651aca312d9fd1446f28f16018326a03e3f40dfcce264212a8e2e SHA512 bad9ef2ede85af0cd7f254c5b7827bc98a487054c614313f791af1fe6a9a34d739500669b048ea7487bd606652e03c184fc795476928df573ccefcbf1b31a496 WHIRLPOOL d30690ff5ffad3330264e3e94856420f19605d3c54a3f224f4e367ad2a6fee583bf5be1a07523b7a0b4c423e6b2adc08498923fe82485ffd360a6af0e6d6a8c0 |
22 |
+DIST drupal-8.2.0-rc1.tar.gz 12854953 SHA256 6d8b7c3f5009fde60beb2dc02cd3c8b9e36413dd95b30a4af7d80a3b7463aa25 SHA512 6f73da6c25eb3c40c9f0df88ab6bf785ee0ef9ba48b51ad246d0cd16019c6d269027fb853f9490741031fecf1a046d16c119fc61cc6568738d3cc639dabb7a0f WHIRLPOOL 291e6bb4bc5d97c691019ef3211b88c0303d60be97e4f4b3b5be1b78186fb8c93cca1bf2b398359ad7df0c640e4bad840185915c7d57874fe44a2d41a9d76dda |
23 |
|
24 |
diff --git a/www-apps/drupal/drupal-8.2.0_rc1.ebuild b/www-apps/drupal/drupal-8.2.0_rc1.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..0eab001 |
27 |
--- /dev/null |
28 |
+++ b/www-apps/drupal/drupal-8.2.0_rc1.ebuild |
29 |
@@ -0,0 +1,87 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit webapp |
37 |
+ |
38 |
+MY_PV=${PV:0:3}.0 |
39 |
+MY_P=${P/_/-} |
40 |
+S="${WORKDIR}/${MY_P}" |
41 |
+ |
42 |
+DESCRIPTION="PHP-based open-source platform and content management system" |
43 |
+HOMEPAGE="https://www.drupal.org/" |
44 |
+SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
48 |
+IUSE="+accelerator +mysql postgres sqlite +uploadprogress" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml] |
52 |
+ virtual/httpd-php |
53 |
+ accelerator? ( || |
54 |
+ ( |
55 |
+ dev-php/xcache |
56 |
+ ( |
57 |
+ >=dev-lang/php-5.5[opcache] |
58 |
+ dev-php/pecl-apcu |
59 |
+ ) |
60 |
+ ) |
61 |
+ ) |
62 |
+ uploadprogress? ( dev-php/pecl-uploadprogress ) |
63 |
+ mysql? ( |
64 |
+ || ( |
65 |
+ dev-lang/php[mysql] |
66 |
+ dev-lang/php[mysqli] |
67 |
+ ) |
68 |
+ ) |
69 |
+ sqlite? ( dev-lang/php[sqlite] ) |
70 |
+" |
71 |
+ |
72 |
+need_httpd_cgi |
73 |
+ |
74 |
+REQUIRED_USE="|| ( mysql postgres sqlite )" |
75 |
+ |
76 |
+src_install() { |
77 |
+ webapp_src_preinst |
78 |
+ |
79 |
+ local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \ |
80 |
+ core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt " |
81 |
+ |
82 |
+ dodoc ${docs} |
83 |
+ rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.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 |
+ ewarn "If this is a new install, unless you want anyone with network access to your server to be" |
109 |
+ ewarn "able to run the setup, you'll have to configure your web server to limit access to it." |
110 |
+ echo |
111 |
+ ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml" |
112 |
+ ewarn "to /sites/default/services.yml and grant it write permissions to your web server." |
113 |
+ ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue" |
114 |
+ ewarn "reported by the setup." |
115 |
+ echo |
116 |
+} |