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