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: Fri, 12 Apr 2019 13:00:24
Message-Id: 1555073987.daee4e9c8e3b64105f872d0a845dee75aa5a349a.jmbsvicetto@gentoo
1 commit: daee4e9c8e3b64105f872d0a845dee75aa5a349a
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 12 12:59:47 2019 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 12 12:59:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daee4e9c
7
8 www-apps/drupal: Bump to release 8.6.14.
9
10 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
11
12 www-apps/drupal/Manifest | 1 +
13 www-apps/drupal/drupal-8.6.14.ebuild | 84 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 85 insertions(+)
15
16 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
17 index a934dec7d03..7ef3c173656 100644
18 --- a/www-apps/drupal/Manifest
19 +++ b/www-apps/drupal/Manifest
20 @@ -1,3 +1,4 @@
21 DIST drupal-7.65.tar.gz 3298607 BLAKE2B f3a728c3e464b8d94719ed7a79359c5fa2b8b0216ee90029d05e873377566a398d80f188f9dc36f2504057c0000a7bcd364d5c4f50652f25e73e1aa0e7d5d7b1 SHA512 a79ff93e13456b35160ee17f986dce9cffefa265d0034dab6223a3097eaf45c11ea3548904ff6c125be0817dc71a8ac7320aca91a11eefeaad03d45527725e79
22 DIST drupal-8.5.14.tar.gz 15828327 BLAKE2B aa638ac4643541d9ec2b2168633c8ab4fe6b64f3c2b9fec46a6a45903ccaaa26ba671c62d57c51a5698ad2558c6ed3ee491dff739f1eed05ea2a0fefba5ace31 SHA512 2be4878cbb27389d11f3686fdc911468a8481d7cbade168c70e733615f2ed699bcc8eb1798079d0b354c81caec0cf74fb232b310e9ab7e059c00fba4b3ee2796
23 DIST drupal-8.6.13.tar.gz 17137449 BLAKE2B f52b082bdccbeb3600da723483bbdef8645babc84a433c82e38b7029332764361a3ca6996b6ac9c20e96c27b4412c7d14a9b0b454c234594f13ba4fdeba39029 SHA512 ed9da8596ca5f4dee569b2beea561b75742aa801ef450258786c6d496e9205cd865af3a6cca56bc276df48841b95bcaaaae46ffcda6bbf8183866ec3c991fff2
24 +DIST drupal-8.6.14.tar.gz 17136296 BLAKE2B e539fd4bc1dfe743f879fb3137b2bd5280187e6c9091859d31ae5ef5529ceae028bd9438d11b4acb18756918264d2b4b52e436b7d8bdef2c6bd427be18424c87 SHA512 22902aa09ae83452423e69e1dd5f9b58f1de454fc6e503634383c6cf8ebd1d75732629dd103bfcaa007013f37b0f87a3ab4768e2710e7e191369857211ddf2cd
25
26 diff --git a/www-apps/drupal/drupal-8.6.14.ebuild b/www-apps/drupal/drupal-8.6.14.ebuild
27 new file mode 100644
28 index 00000000000..a8514d07dfe
29 --- /dev/null
30 +++ b/www-apps/drupal/drupal-8.6.14.ebuild
31 @@ -0,0 +1,84 @@
32 +# Copyright 1999-2019 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 +
93 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
94 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
95 +
96 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
97 +
98 + webapp_src_install
99 +}
100 +
101 +pkg_postinst() {
102 + echo
103 + ewarn "SECURITY NOTICE"
104 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
105 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
106 + echo
107 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
108 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
109 + echo
110 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
111 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
112 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
113 + ewarn "reported by the setup."
114 + echo
115 +}