1 |
commit: 15e84e998abe8c86baab2b7bc4069cd63e92d228 |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 12 13:29:54 2019 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 13:29:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e84e99 |
7 |
|
8 |
www-apps/drupal: Add 8.7.6 release. |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
11 |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org> |
12 |
|
13 |
www-apps/drupal/Manifest | 1 + |
14 |
www-apps/drupal/drupal-8.7.6.ebuild | 84 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 85 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest |
18 |
index e3b2cafebd2..df23e5af2af 100644 |
19 |
--- a/www-apps/drupal/Manifest |
20 |
+++ b/www-apps/drupal/Manifest |
21 |
@@ -5,3 +5,4 @@ DIST drupal-8.7.2.tar.gz 17824323 BLAKE2B 355a4cdbcefe98afd53235bd8546e50efe911a |
22 |
DIST drupal-8.7.3.tar.gz 17825116 BLAKE2B 961d92526d8d53d1823b01696bacf6bcca7c10ea0057c561a9126d43f0e18ab1b37a5e85b733927793348b8241014b78b4efdf8aaedbf9e6e82caed51df76b64 SHA512 f7b1c0360091f7b14109b6a328663d0006138d3a39855838bfa9ec70d17aa835ffe8fb393e3b54a378bdfd3011f6cfe9e2eae9be5e79c8fc2586bc48b0bd7df2 |
23 |
DIST drupal-8.7.4.tar.gz 17843961 BLAKE2B a07d6acfe41f2f347c8a335f88daa0b19c8016d0d5e533e3038585c59ad9a11cbb68f2352d59cee47c71422a261a3286053784e70cb15614ec061fb6af5d2572 SHA512 85c9e890d34bd5c725a4361030ba7a2ca71e7ff3fd89d92972bd8fcf657047d74760a897e0083dd3f0fc1c4309e87489a8730727804ae20c1be204dfa1c14428 |
24 |
DIST drupal-8.7.5.tar.gz 17843250 BLAKE2B e68895ae3d097c1bb4269bd77a2180723caa3601322443eaced9e6e157511468b2fe877ee72dafb735c6d7d077c1f3d29e3de6b3624bbcc0f080ec4deb305065 SHA512 f0f34f8314e86b9fa104992fe8f96dfada335f58c5e25c174f44e484c27dd4a2c9f4fb19505ac29636fc7f9548c898fbf497c119ac8dd588e881e7aa373aefde |
25 |
+DIST drupal-8.7.6.tar.gz 17866782 BLAKE2B 19a616fd685078bdffa9f9e20234aa0aca8f24bc040068f7496cfb7163216977c4bfaf63f564b5fea08351f1899bb97bc50f48ae21250213ed8b93bbb15ab54f SHA512 eec8c5d5646371cb8382806c93e925d65b725878b2a4e53f4ad5559f14523c31e62cbba7ec813292b79cf1a332f64098e41720472171f233ce0bc1c0d24c395e |
26 |
|
27 |
diff --git a/www-apps/drupal/drupal-8.7.6.ebuild b/www-apps/drupal/drupal-8.7.6.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..364116f1197 |
30 |
--- /dev/null |
31 |
+++ b/www-apps/drupal/drupal-8.7.6.ebuild |
32 |
@@ -0,0 +1,84 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit webapp |
39 |
+ |
40 |
+MY_PV=${PV:0:3}.0 |
41 |
+MY_P=${P/_/-} |
42 |
+S="${WORKDIR}/${MY_P}" |
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/${MY_P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+KEYWORDS="~amd64 ~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="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \ |
82 |
+ core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt " |
83 |
+ |
84 |
+ dodoc ${docs} |
85 |
+ rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die |
86 |
+ |
87 |
+ cp sites/default/{default.settings.php,settings.php} || die |
88 |
+ insinto "${MY_HTDOCSDIR}" |
89 |
+ doins -r . |
90 |
+ |
91 |
+ dodir "${MY_HTDOCSDIR}"/files |
92 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/files |
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 |
+} |