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, 06 Mar 2020 19:43:58
Message-Id: 1583523728.2dcc18058276bd4a229301d59850c3e91e1a1eae.jmbsvicetto@gentoo
1 commit: 2dcc18058276bd4a229301d59850c3e91e1a1eae
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 6 19:41:20 2020 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 6 19:42:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dcc1805
7
8 www-apps/drupal: Add 8.8.3 release.
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
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.8.3.ebuild | 68 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
18 index bc53f2963c0..f57bf074562 100644
19 --- a/www-apps/drupal/Manifest
20 +++ b/www-apps/drupal/Manifest
21 @@ -2,3 +2,4 @@ DIST drupal-7.69.tar.gz 3314294 BLAKE2B bfa1d528caf5dc1fa8a21d65244801e2d10961ec
22 DIST drupal-8.7.11.tar.gz 17899106 BLAKE2B b0971595319abcae978a0a85f3d11345e3411d412775754139c9562baf5e3c4e49f5ff279139ab1b2128f72987746f13b3edb801cca9984269ce929492243f79 SHA512 1952630cce84c3d819e9f34e2beed3268f0e6aaa634aa367310b4aad59c1d86a59fe11d258aa6d0823cd0d2c227ce54d88fc27e07c53b660a6833e1f15feb9f1
23 DIST drupal-8.8.1.tar.gz 19409293 BLAKE2B f0fb8874fc4c706f15ab35795357088d4edf75a2bac23343feadf9e02a706f553d3985c418369c76ede310744c645d3ca4085d920f1bd3069c36d31ef3b90d52 SHA512 68663b078c7e4468d8fcaa82c385c79930d4d5741e9ec598faeda6b1f8eeb37dbd8a841bc5a458c1dc97dda9a566edaa981991cdd19fea1edc963f72d746c639
24 DIST drupal-8.8.2.tar.gz 19438764 BLAKE2B d37d1a4387b8873d6b42ed6afcae89025325aefddecfc3528b161fc86898630f6117301217b4aeeff0aa35ee906aa21de367dc1958db27ec26987c1e599217db SHA512 e4ec3e93649e1698da95a46af9087068beaf5c89a7941d7a3d9fd90d5d28a6ba765cc2ba1954a9c27117197e4322df711c07017b29fd89abc75bfa596fa58362
25 +DIST drupal-8.8.3.tar.gz 19473677 BLAKE2B a9d9788e90b5cf137276246f503dc0ce9a01baec55a8666d51ff987ed3742a74f53fb684bd1fea70eadb6fcb113387f520aed14c2666f244ae3681cbd446d346 SHA512 d0a4cfec09699da1f206f425c598b9beaae5e34c8a3bab27b7639bc5d27515126ba4ff3af78357964a9998e1d8fce7baf935821db149ec091bc6af45906054f1
26
27 diff --git a/www-apps/drupal/drupal-8.8.3.ebuild b/www-apps/drupal/drupal-8.8.3.ebuild
28 new file mode 100644
29 index 00000000000..50acdd30770
30 --- /dev/null
31 +++ b/www-apps/drupal/drupal-8.8.3.ebuild
32 @@ -0,0 +1,68 @@
33 +# Copyright 1999-2020 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="+mysql postgres sqlite +uploadprogress"
51 +
52 +RDEPEND="
53 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
54 + virtual/httpd-php
55 + uploadprogress? ( dev-php/pecl-uploadprogress )
56 +"
57 +
58 +need_httpd_cgi
59 +
60 +REQUIRED_USE="|| ( mysql postgres sqlite )"
61 +
62 +src_install() {
63 + webapp_src_preinst
64 +
65 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
66 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
67 +
68 + dodoc ${docs}
69 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
70 +
71 + cp sites/default/{default.settings.php,settings.php} || die
72 + insinto "${MY_HTDOCSDIR}"
73 + doins -r .
74 +
75 + dodir "${MY_HTDOCSDIR}"/files
76 + webapp_serverowned "${MY_HTDOCSDIR}"/files
77 +
78 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
79 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
80 +
81 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
82 +
83 + webapp_src_install
84 +}
85 +
86 +pkg_postinst() {
87 + echo
88 + ewarn "SECURITY NOTICE"
89 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
90 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
91 + echo
92 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
93 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
94 + echo
95 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
96 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
97 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
98 + ewarn "reported by the setup."
99 + echo
100 +}