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, 05 Aug 2020 14:35:34
Message-Id: 1596638123.0f4ede5dd7bbdb6a25b5ed95a21ed99968883bc4.jmbsvicetto@gentoo
1 commit: 0f4ede5dd7bbdb6a25b5ed95a21ed99968883bc4
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 5 14:35:08 2020 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 5 14:35:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4ede5d
7
8 www-apps/drupal: 8.9.2 and 9.0.2 version bump.
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>
12
13 www-apps/drupal/Manifest | 2 ++
14 www-apps/drupal/drupal-8.9.2.ebuild | 68 +++++++++++++++++++++++++++++++++++++
15 www-apps/drupal/drupal-9.0.2.ebuild | 68 +++++++++++++++++++++++++++++++++++++
16 3 files changed, 138 insertions(+)
17
18 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
19 index 7a723bcab41..3b77ed54dd5 100644
20 --- a/www-apps/drupal/Manifest
21 +++ b/www-apps/drupal/Manifest
22 @@ -1,4 +1,6 @@
23 DIST drupal-7.72.tar.gz 3323531 BLAKE2B 07d22cde80763e9d9e959907ae246b95dc611b6ae32f8bf69e5c2fa03ad023bcb3810703dbe2285b89f43709616d9302b0598012237fe97487820e71df1b9b70 SHA512 5ad91d9aa31a0d31ba07dba0de5fd4d0fb4b875ed3fed7d48e3b65d4e2e8d7e7f3e66dcbe9d2a7a78fa22923597a396f43d70ee7b5ac63469ca3e256ba4746b6
24 DIST drupal-8.8.8.tar.gz 19504669 BLAKE2B f98e772753ffc6df5e9404bcf1c30acaca284447040b73ba43e62aa413c712f3174f636efa24a3e24c5d2dfd3906ad920b40eab5c7ad51f485ef6b25647bcf84 SHA512 1170d4a6372f21d8817264f17998f3b29c5c158267d4d60d057475a773fe24eb85b4988c89daef80c08a89bf4d4ba1a85d1d35ac698ebd588109be0731b796ca
25 DIST drupal-8.9.1.tar.gz 19776948 BLAKE2B 34dafaddafb0a8e742ff8591aa016e1d8cdf40c5779236308427339087b2c2f552b8829de0ae3dc2eedf5e99d70922e89a281852b3e3f2f3c27a00efafdea849 SHA512 db518cc180508023025c2f7b898f85c4728712bafaa048fe1783aa471d0c38f24f27e62175a8cea314c330b0a147509d8285ee6f0838d990ae3c76aab83d081f
26 +DIST drupal-8.9.2.tar.gz 19780242 BLAKE2B 72a84df5f2ed029dd4c6d6e6f6473d5934bdf4d02069fb0d522c3144e99b0409fd751d3e2201be562ea76b61f167bcc0fe1f0276311a7c58b291caf890f8bf72 SHA512 71643fb4c0ca8f299f9791c25172c4f4a8a7a5f9dcb7eba76bb25446c4f91c7d8fba6c93acec80302c33e7945e9d3b9f46e3b40a51a935724ddde4c702a3c9b0
27 DIST drupal-9.0.1.tar.gz 16832166 BLAKE2B b783bb0282f0ee81fa1a3d606e3a97d65a537f20e2820270a2e5d554b737af45f31fac82f45e1322df8ee04ba1a4a5ee757a67fe2a09c272a32400c4d5b51424 SHA512 499459ebf72b1008266e6075667a4781b27d2e82635687744321513af1ac2289a0a33273666f251b90c4a2020e4fb52b83146b9a65007de788c5f3559bb4cb0a
28 +DIST drupal-9.0.2.tar.gz 16841367 BLAKE2B c9813a0c4fd5a0b3a78b44c540c9938fe851a4c743a0ff21e9f5d7dc19190b03ec5ea6f10370e92589567b11dae19ea392a611022bad60be21eb58a3bc39808c SHA512 0ad937a2f0d300f70e33018b89074a0c97592dcad1eb0c3ba9fb8df3f4df53e659c6a47f4a94926ecdae34204f16173f75c14bf9756355254f4e1b666ba5ac39
29
30 diff --git a/www-apps/drupal/drupal-8.9.2.ebuild b/www-apps/drupal/drupal-8.9.2.ebuild
31 new file mode 100644
32 index 00000000000..50acdd30770
33 --- /dev/null
34 +++ b/www-apps/drupal/drupal-8.9.2.ebuild
35 @@ -0,0 +1,68 @@
36 +# Copyright 1999-2020 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +inherit webapp
42 +
43 +MY_PV=${PV:0:3}.0
44 +MY_P=${P/_/-}
45 +S="${WORKDIR}/${MY_P}"
46 +
47 +DESCRIPTION="PHP-based open-source platform and content management system"
48 +HOMEPAGE="https://www.drupal.org/"
49 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
50 +
51 +LICENSE="GPL-2"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE="+mysql postgres sqlite +uploadprogress"
54 +
55 +RDEPEND="
56 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
57 + virtual/httpd-php
58 + uploadprogress? ( dev-php/pecl-uploadprogress )
59 +"
60 +
61 +need_httpd_cgi
62 +
63 +REQUIRED_USE="|| ( mysql postgres sqlite )"
64 +
65 +src_install() {
66 + webapp_src_preinst
67 +
68 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
69 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
70 +
71 + dodoc ${docs}
72 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
73 +
74 + cp sites/default/{default.settings.php,settings.php} || die
75 + insinto "${MY_HTDOCSDIR}"
76 + doins -r .
77 +
78 + dodir "${MY_HTDOCSDIR}"/files
79 + webapp_serverowned "${MY_HTDOCSDIR}"/files
80 +
81 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
82 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
83 +
84 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
85 +
86 + webapp_src_install
87 +}
88 +
89 +pkg_postinst() {
90 + echo
91 + ewarn "SECURITY NOTICE"
92 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
93 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
94 + echo
95 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
96 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
97 + echo
98 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
99 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
100 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
101 + ewarn "reported by the setup."
102 + echo
103 +}
104
105 diff --git a/www-apps/drupal/drupal-9.0.2.ebuild b/www-apps/drupal/drupal-9.0.2.ebuild
106 new file mode 100644
107 index 00000000000..50acdd30770
108 --- /dev/null
109 +++ b/www-apps/drupal/drupal-9.0.2.ebuild
110 @@ -0,0 +1,68 @@
111 +# Copyright 1999-2020 Gentoo Authors
112 +# Distributed under the terms of the GNU General Public License v2
113 +
114 +EAPI=6
115 +
116 +inherit webapp
117 +
118 +MY_PV=${PV:0:3}.0
119 +MY_P=${P/_/-}
120 +S="${WORKDIR}/${MY_P}"
121 +
122 +DESCRIPTION="PHP-based open-source platform and content management system"
123 +HOMEPAGE="https://www.drupal.org/"
124 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
125 +
126 +LICENSE="GPL-2"
127 +KEYWORDS="~amd64 ~x86"
128 +IUSE="+mysql postgres sqlite +uploadprogress"
129 +
130 +RDEPEND="
131 + dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
132 + virtual/httpd-php
133 + uploadprogress? ( dev-php/pecl-uploadprogress )
134 +"
135 +
136 +need_httpd_cgi
137 +
138 +REQUIRED_USE="|| ( mysql postgres sqlite )"
139 +
140 +src_install() {
141 + webapp_src_preinst
142 +
143 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
144 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
145 +
146 + dodoc ${docs}
147 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
148 +
149 + cp sites/default/{default.settings.php,settings.php} || die
150 + insinto "${MY_HTDOCSDIR}"
151 + doins -r .
152 +
153 + dodir "${MY_HTDOCSDIR}"/files
154 + webapp_serverowned "${MY_HTDOCSDIR}"/files
155 +
156 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
157 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
158 +
159 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
160 +
161 + webapp_src_install
162 +}
163 +
164 +pkg_postinst() {
165 + echo
166 + ewarn "SECURITY NOTICE"
167 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
168 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
169 + echo
170 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
171 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
172 + echo
173 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
174 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
175 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
176 + ewarn "reported by the setup."
177 + echo
178 +}