Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/drupal/
Date: Mon, 12 Nov 2018 03:38:57
Message-Id: 1541993904.3205298913af670553f3bd27ab80a0ff1c10f57d.jmbsvicetto@gentoo
1 commit: 3205298913af670553f3bd27ab80a0ff1c10f57d
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 12 03:38:24 2018 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 12 03:38:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32052989
7
8 www-apps/drupal: Bump to 8.6.3 release.
9
10 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
11 Package-Manager: Portage-2.3.50, Repoman-2.3.11
12
13 www-apps/drupal/Manifest | 1 +
14 www-apps/drupal/drupal-8.6.3.ebuild | 86 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
18 index c335b61bb1d..6f0dc8faf57 100644
19 --- a/www-apps/drupal/Manifest
20 +++ b/www-apps/drupal/Manifest
21 @@ -1,2 +1,3 @@
22 DIST drupal-7.60.tar.gz 3283058 BLAKE2B 2c29c089e0e13ce52c5d7a0bbf72c79596fbdc1a370a60b33d617ab29f2aaec86e36545ced7620832f333de66bb775178f7eeeca80976d6e2616553b766c07b3 SHA512 fee59cf303a6c44e3fa3cbeda4912f7d61ffe8294282f9ad0416a6536cc6ea65cf114a6a801dd1f68572185c2b1e300f58f907f9bd61f96beaba3706c527d512
23 DIST drupal-8.6.2.tar.gz 16240694 BLAKE2B 122ff2464af6376256d96db8b470cf5f83beeba80a5c63e549e7eb0cfc875629d0b2d4ed46b130294e2145ea5a428b15cfa0edfcd31596660188df769b68bcd2 SHA512 8cdcd31f3a112a577e622cca0fb7957580b5691102421344c6f6bfc3096f33aae3a68d7d8eb9062ad14761bac14b68c2967973b1b1ef367dcbd79b972493b7c5
24 +DIST drupal-8.6.3.tar.gz 16372220 BLAKE2B b9bbf18e25292bfa87f23e2aa2329f86dfe714a265188c35998059b0075f31ceb6d0d6a23ed576615b1a6a6aef6b935a495e70b22aed0e649b41b79994bc9123 SHA512 93284235c9620ed235bfe0100317846694095ca96b1da7ac402c415e9f5f0819887c4da516655dabb49b4bbdba58935d7f78712c525c803125ec27d6a5692cea
25
26 diff --git a/www-apps/drupal/drupal-8.6.3.ebuild b/www-apps/drupal/drupal-8.6.3.ebuild
27 new file mode 100644
28 index 00000000000..236af8564a8
29 --- /dev/null
30 +++ b/www-apps/drupal/drupal-8.6.3.ebuild
31 @@ -0,0 +1,86 @@
32 +# Copyright 1999-2018 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit webapp
38 +
39 +MY_PV=${PV:0:3}.0
40 +MY_P=${P/_/-}
41 +S="${WORKDIR}/${MY_P}"
42 +
43 +DESCRIPTION="PHP-based open-source platform and content management system"
44 +HOMEPAGE="https://www.drupal.org/"
45 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +KEYWORDS="~alpha ~amd64 ~ppc ~x86"
49 +IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
50 +
51 +RDEPEND="
52 + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
53 + virtual/httpd-php
54 + accelerator? ( ||
55 + (
56 + dev-php/xcache
57 + (
58 + >=dev-lang/php-5.5[opcache]
59 + dev-php/pecl-apcu
60 + )
61 + )
62 + )
63 + uploadprogress? ( dev-php/pecl-uploadprogress )
64 + mysql? (
65 + || (
66 + dev-lang/php[mysql]
67 + dev-lang/php[mysqli]
68 + )
69 + )
70 + sqlite? ( dev-lang/php[sqlite] )
71 +"
72 +
73 +need_httpd_cgi
74 +
75 +REQUIRED_USE="|| ( mysql postgres sqlite )"
76 +
77 +src_install() {
78 + webapp_src_preinst
79 +
80 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
81 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
82 +
83 + dodoc ${docs}
84 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
85 +
86 + cp sites/default/{default.settings.php,settings.php} || die
87 + insinto "${MY_HTDOCSDIR}"
88 + doins -r .
89 +
90 + dodir "${MY_HTDOCSDIR}"/files
91 + webapp_serverowned "${MY_HTDOCSDIR}"/files
92 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
93 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
94 +
95 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
96 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
97 +
98 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
99 +
100 + webapp_src_install
101 +}
102 +
103 +pkg_postinst() {
104 + echo
105 + ewarn "SECURITY NOTICE"
106 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
107 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
108 + echo
109 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
110 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
111 + echo
112 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
113 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
114 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
115 + ewarn "reported by the setup."
116 + echo
117 +}