1 |
commit: 0494563914cc7ab31e9b92f44a08452cc1121418 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 6 17:49:25 2017 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 6 19:01:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04945639 |
7 |
|
8 |
www-apps/drupal: Add 8.4.2 release. |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
11 |
|
12 |
www-apps/drupal/Manifest | 1 + |
13 |
www-apps/drupal/drupal-8.4.2.ebuild | 86 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 87 insertions(+) |
15 |
|
16 |
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest |
17 |
index b077ec5284d..346b3b37733 100644 |
18 |
--- a/www-apps/drupal/Manifest |
19 |
+++ b/www-apps/drupal/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST drupal-7.56.tar.gz 3277833 SHA256 02fb4b46060d53c2f876d2381a8741249819e3a02ea1d7291036f6ea280d7b69 SHA512 ab7ad8d9cb26e89b9d81280b1677584072db627d508ccade9442c95a90f24c94d11561013c8a7297ddae6ae43696d0b711b8c37ab98f89539f6f0e0154db6344 WHIRLPOOL fda209ecaf63d32cb665b31dc1aff994d0fea7ac542df331efff8c05e006a77463e7a420a1b1f8c9bffb375cf963db745e354ad5585cf4aa2ec92da68ed53352 |
22 |
DIST drupal-8.3.7.tar.gz 12739663 SHA256 0a86d82878500f8512a624fb13736ddf82a1c8f424d9a45776ce6b10d560eeab SHA512 d454a51b2bc7ffbad3e461df1d2ea1f38797716b046a520ad65fab5f5c398091b28bc623d3efc2d18176e6506a95e113e1d5e5a0a76e50ca7f22a995920ea671 WHIRLPOOL 9ea7653dfd117f7552a12fdcbe96556a8a2cfe1e4bdc7386aff8882f8e43a9d3a097fd3ec98d0a77ab6d19079ecf1b09c8617cf8d69198f968a0fbe09dfd0dc8 |
23 |
+DIST drupal-8.4.2.tar.gz 13393043 SHA256 48422be6775140e712acaa3681a1bad0cc2655e9fb7c9c754c3e6eb8bee17783 SHA512 ce4ba105c253669ed18656d50a172d2f0622b1be121895486b2df00dfda0f71c497277cbc3e3a7a9fb426b9fb0828bfcf7ede3ff134304ca136ed689d4f15582 WHIRLPOOL e0e631f860e3bac97ffd20941128c432e1b3bb143c6f05e24254ffa82a9641d8725352c9fb5333b6d303d991dd755b0d832c9a1f5aaab7fab83f44796a2dd5c5 |
24 |
|
25 |
diff --git a/www-apps/drupal/drupal-8.4.2.ebuild b/www-apps/drupal/drupal-8.4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..d0f9fcc2d95 |
28 |
--- /dev/null |
29 |
+++ b/www-apps/drupal/drupal-8.4.2.ebuild |
30 |
@@ -0,0 +1,86 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
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 |
+} |