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: Wed, 25 Jul 2018 19:34:28
Message-Id: 1532547197.c0425ce60cb8aab6f190b64d86de61c43d6e390e.jmbsvicetto@gentoo
1 commit: c0425ce60cb8aab6f190b64d86de61c43d6e390e
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 25 19:33:17 2018 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 25 19:33:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0425ce6
7
8 www-apps/drupal: Bump to 8.5.5 release.
9
10 Package-Manager: Portage-2.3.42, Repoman-2.3.9
11
12 www-apps/drupal/Manifest | 1 +
13 www-apps/drupal/drupal-8.5.5.ebuild | 86 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 87 insertions(+)
15
16 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
17 index 26657d92e42..7e788939881 100644
18 --- a/www-apps/drupal/Manifest
19 +++ b/www-apps/drupal/Manifest
20 @@ -1,2 +1,3 @@
21 DIST drupal-7.59.tar.gz 3282260 BLAKE2B bf7d74926fe4e94149ef7ff622cf7889f45f3e35b9bfd19fed12aa688c8131f2f8daa2a261796896d5386966603e837b6dec3b6c02221f9b0c527c4a6f5ff9da SHA512 68f02b39d1a4658adc0f0046c22cc1059b68f952f9cd753f5a3e379cf93705be308b4727519e90d77a42437442daebaa78d76745954be4d40e1a5105c319069c
22 DIST drupal-8.5.4.tar.gz 15779939 BLAKE2B a016402e9165d64b8998df1f4aa76b6345400e8a3aa909941244fec21112edc05977c1f4464b3679f44aded3addf3174794e075db546d585da836f36d1771df1 SHA512 7171818533dba2c1cf19fc0dd4fc0884502e007c9fe8669dc8131a927ba1a5b14322a8ba1f465ff1aac5bd8e61a8fd17c632ea4b1e321469595d144a752546d2
23 +DIST drupal-8.5.5.tar.gz 15786935 BLAKE2B ba4ba412402c366be9499131913f42e4457dab149c3624a7fa72d6f4f051096d5194fc90a344a22e5da46180adfa446caa428f3a20c322d2f6bde0c80c5acb17 SHA512 bc0fe05a798f5a791e6a5777b308ff815f5c75105b9c40c0d7ac855fdd5de46192b7fdad213f4d267e89b8b50844fdcb52c24c470f3f6c01ec5ee59d2a982637
24
25 diff --git a/www-apps/drupal/drupal-8.5.5.ebuild b/www-apps/drupal/drupal-8.5.5.ebuild
26 new file mode 100644
27 index 00000000000..ec2dacba2d1
28 --- /dev/null
29 +++ b/www-apps/drupal/drupal-8.5.5.ebuild
30 @@ -0,0 +1,86 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
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 +}