summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-01-11 20:04:22 -0100
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-01-11 20:05:52 -0100
commite392d33c2816799e327eadd14d01b1700b5fadb3 (patch)
tree64b6d767f0c31e0c030423034e0463305c74f0c0 /www-apps/drupal
parentgames-emulation/hatari: add Python 3.8, 3.9 (diff)
downloadgentoo-e392d33c2816799e327eadd14d01b1700b5fadb3.tar.gz
gentoo-e392d33c2816799e327eadd14d01b1700b5fadb3.tar.bz2
gentoo-e392d33c2816799e327eadd14d01b1700b5fadb3.zip
www-apps/drupal: Security bump CVE-2020-{28948,28949}
Update to the latest releases to address the security issue and get up to date releases. Add 7.77, 8.8.12, 8.9.12, 9.0.01 and 9.1.2 releases. Drop vulnerable releases. Bug: https://bugs.gentoo.org/757252 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Diffstat (limited to 'www-apps/drupal')
-rw-r--r--www-apps/drupal/Manifest9
-rw-r--r--www-apps/drupal/drupal-7.77.ebuild (renamed from www-apps/drupal/drupal-7.74.ebuild)2
-rw-r--r--www-apps/drupal/drupal-8.8.12.ebuild (renamed from www-apps/drupal/drupal-8.8.11.ebuild)2
-rw-r--r--www-apps/drupal/drupal-8.9.12.ebuild (renamed from www-apps/drupal/drupal-8.9.9.ebuild)2
-rw-r--r--www-apps/drupal/drupal-9.0.10.ebuild (renamed from www-apps/drupal/drupal-9.0.8.ebuild)2
-rw-r--r--www-apps/drupal/drupal-9.1.2.ebuild68
6 files changed, 77 insertions, 8 deletions
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index 8b467075cba4..f15d82a9293b 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,4 +1,5 @@
-DIST drupal-7.74.tar.gz 3324903 BLAKE2B a6c60955d103e53083f1f964c7a4facc11e4eb6543d191003277da7e28648ff20b10a83f3097c955be91b2fce2f9c39a0b7f84b3e5392dbf7874c55f7be934a7 SHA512 caaf9827ea786fce7ebcdddd4a4a404c0c8b642adb6a7fc436ebdb3db982576fa8fe6a43241e15c9164ec85a96248fb63001c7c2f867f33a2d366f8760f9e83c
-DIST drupal-8.8.11.tar.gz 19510434 BLAKE2B d102c11d39b179419f014982401192f91117f96c25bd328439a620c2ba30c4ac0762ee2506d99519ba07cb86501b0adac84edb602c8d40eb0f68bf63766d0b79 SHA512 0c6dd1a3a6856ea2ea7fede6a62e000f186e8d9662cde15e5e5391f589bf2091378351b684d0d15d503e5a45b768fa5d866f7766b3a94bdf7ddd43127aa005ab
-DIST drupal-8.9.9.tar.gz 19798680 BLAKE2B de2b20ce15d14763e2e8f63392a5d04185c1864b390310cd73d90df27758da8f223c59d4adac22801194de4dd3ec221f9b755ecf095e9da05d4c6d6a68b35877 SHA512 2a1a88c15aba6103812823bf08606806941480cb75536962654a329f9193a995b38f7434898ddaf057000f7f6d98b66db65772d2decd6e19db8a8f49f2aec318
-DIST drupal-9.0.8.tar.gz 16862449 BLAKE2B 63de723f5fb8fed8a46d5a9b04a905b65aa9ca61939703a7da1cc2b42502aac18a36f1f7dd95619e128d743ca4855fc51200f98ac5f52e426c9c2d62d9f86ba3 SHA512 9e1fb325d2fea4eed05834a700165b2212dd2ab476457c2ac650e8227a4e85f863f87e4125c1a98bd5a4fa1dbc421165a3c5279df67869552c1b7ced0fc04d7e
+DIST drupal-7.77.tar.gz 3335456 BLAKE2B f1feae0cc992dfd7f6c809e4f505f71a4ebe84aefd3bfa3945946ba9a4397535e4d04b23c15fdcb96033f8d001e36529389dddd067301fa65cee5da8611ef454 SHA512 cbb047ab60e583be7fc1dc0ffd2398fa912e2b2fbf5d0446997cdad33422ac4b3b4e544b92cedcaf5e7c992609eb33e9a187c36d01e333f90772c84d386b9997
+DIST drupal-8.8.12.tar.gz 19515836 BLAKE2B 4627328d7df1496a12f4c5c97ab141b6b0b0e48233a4dd63a4b977b4ed0c044cd315711af992792802de2c6e3aaa6acc7e9a88c98e82317e25db22b4697d25a7 SHA512 b219a19f47acf775e1bb488584466b9a2a57926e52320a23b33f34fc400bd8313f088e22eb66ed4619767aaf8b009096cc5e585513dc65692869caf0e7c0d1d3
+DIST drupal-8.9.12.tar.gz 19808188 BLAKE2B b19a396734b615d2b63abd641a0183d94a3a7864092f364697924e060ce4d78e587ede4f51023144ab6a0a9d5138eafc3b5954e120cab52d9cdb4703104a0f37 SHA512 736ae2bfe4c4c6ae6dba2618992410a29c1f2a25c21b484a3e352203fb2309121ef03a4156b4a1262d2a1d534b94476eb06566e1265fa9af814eb034de4ba03a
+DIST drupal-9.0.10.tar.gz 16867321 BLAKE2B 834605d38984713b18951ce47c4d33de5e8198dbfc8552a32772637a8987fd8d9b0328917f5af630ce055044455fb22381c8c9e7ddc60f077848907b1d008ccf SHA512 e43f7b92ead39a0d5cd0f52e1a479aff16e1be3abf9f492ddf52156cd96526ae4b16361378a948719c3a8112b791ff50f455f13002c4827aee3702ddb1496353
+DIST drupal-9.1.2.tar.gz 17762094 BLAKE2B 77a7cd5bd887ad73a60bf6308c8c97c367b4d08fec0786004884f6d41092d18e147836f0bacb8a28fadf822ec401c609aa2c89f6ed2cae238deb644e30f74a81 SHA512 b71f42e2620c9a14236b7f76897859841fd121858a5b29962e407e7918c44028835d53761cc26e2eabba1464ef65965ab74ed769e734431cca541256e8eecdf0
diff --git a/www-apps/drupal/drupal-7.74.ebuild b/www-apps/drupal/drupal-7.77.ebuild
index 4fd21d3cac4f..4e6998d1e429 100644
--- a/www-apps/drupal/drupal-7.74.ebuild
+++ b/www-apps/drupal/drupal-7.77.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
diff --git a/www-apps/drupal/drupal-8.8.11.ebuild b/www-apps/drupal/drupal-8.8.12.ebuild
index 50acdd30770d..1fa351c0c00f 100644
--- a/www-apps/drupal/drupal-8.8.11.ebuild
+++ b/www-apps/drupal/drupal-8.8.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
diff --git a/www-apps/drupal/drupal-8.9.9.ebuild b/www-apps/drupal/drupal-8.9.12.ebuild
index 50acdd30770d..1fa351c0c00f 100644
--- a/www-apps/drupal/drupal-8.9.9.ebuild
+++ b/www-apps/drupal/drupal-8.9.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
diff --git a/www-apps/drupal/drupal-9.0.8.ebuild b/www-apps/drupal/drupal-9.0.10.ebuild
index 50acdd30770d..1fa351c0c00f 100644
--- a/www-apps/drupal/drupal-9.0.8.ebuild
+++ b/www-apps/drupal/drupal-9.0.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
diff --git a/www-apps/drupal/drupal-9.1.2.ebuild b/www-apps/drupal/drupal-9.1.2.ebuild
new file mode 100644
index 000000000000..1fa351c0c00f
--- /dev/null
+++ b/www-apps/drupal/drupal-9.1.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit webapp
+
+MY_PV=${PV:0:3}.0
+MY_P=${P/_/-}
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="https://www.drupal.org/"
+SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+mysql postgres sqlite +uploadprogress"
+
+RDEPEND="
+ dev-lang/php[gd,hash(+),mysql?,pdo,postgres?,simplexml,sqlite?,xml]
+ virtual/httpd-php
+ uploadprogress? ( dev-php/pecl-uploadprogress )
+"
+
+need_httpd_cgi
+
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
+ core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
+
+ dodoc ${docs}
+ rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
+
+ cp sites/default/{default.settings.php,settings.php} || die
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ dodir "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/files
+
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ echo
+ ewarn "SECURITY NOTICE"
+ ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
+ ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
+ echo
+ ewarn "If this is a new install, unless you want anyone with network access to your server to be"
+ ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
+ echo
+ ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
+ ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
+ ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
+ ewarn "reported by the setup."
+ echo
+}