1 |
commit: 114702d99264f1e6a8ea09375cf2360e7b4dd00c |
2 |
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 5 14:48:25 2019 +0000 |
4 |
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 14:48:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=114702d9 |
7 |
|
8 |
www-apps/drupal: Add 8.7.2 release. |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
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.2.ebuild | 84 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 85 insertions(+) |
16 |
|
17 |
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest |
18 |
index 0362f78f81c..d79826f6686 100644 |
19 |
--- a/www-apps/drupal/Manifest |
20 |
+++ b/www-apps/drupal/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST drupal-7.67.tar.gz 3312764 BLAKE2B bb7f21e80ca192ff3e37f917c1fa43dcd8d3cd8b60ff012d1fe22e279ffd674e08be6aef6328d0c5b7c50a106592bde299300fe9ccb0c4c1ffc1aca57c3ca6ad SHA512 0e4f60010b1395183cea19424e8c2849f93fb7285a081bf7d0c774b8e82f403083533059f58c3831950cc06dfa8117d443db52b66a521301ceac10b1b333aa28 |
23 |
DIST drupal-8.6.16.tar.gz 17151378 BLAKE2B 2bdd14ff7a5f898af2d322a6b2862643899dfbe2ad05c99b85f036161612cccfc2c25105c8eef37311634a2aa03ed792db8de3e625aed5adb94cd8f644557fcb SHA512 34f260d780bce286a0a61b710c340d2622cb857aa92a2bdaad63737303ef2f4f1751edc3f415daaa14b9cb483757e367e639136d03f571cba5165129bba31e12 |
24 |
DIST drupal-8.7.1.tar.gz 17811529 BLAKE2B 5bdb92a8f6c5675dd311417db526be81149240a053bdb94f4294cb571193ed03f2edbc83b51cbcce9e0e322b45981d0949714659f5db2dff211815232cd447e5 SHA512 a386f7991465eade203aba4b20bb894041c76abda97e93afd772a02b215ac496d57a9aed50820a7bd78604c9e6602180fcda933c5121b8536a7d610a3bc3f2e8 |
25 |
+DIST drupal-8.7.2.tar.gz 17824323 BLAKE2B 355a4cdbcefe98afd53235bd8546e50efe911a36536aa07e9cb8a86f00dc6b068d0c276e26aee975790ef80ca5030d7464d4b705fa4da9391ce051994a7b850d SHA512 9dc8ca6c431f1d9e50d1c9139efe537815b59bf17b433cdeeb2df5f60ae9a77812f5ca096b5a0aa67bf71344efe60728e46b209609d41fc25065ae58a6bca6af |
26 |
|
27 |
diff --git a/www-apps/drupal/drupal-8.7.2.ebuild b/www-apps/drupal/drupal-8.7.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a8514d07dfe |
30 |
--- /dev/null |
31 |
+++ b/www-apps/drupal/drupal-8.7.2.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="~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="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 |
+} |