diff options
author | 2021-01-20 19:38:14 -0100 | |
---|---|---|
committer | 2021-01-20 19:38:14 -0100 | |
commit | 328d4929f49080abd8fbd2f84157db1eab235c99 (patch) | |
tree | 70da17a6f42ab2ab29874ade4ca094aa54917800 | |
parent | www-apps/drupal: Update copyright. (diff) | |
download | jmbsvicetto-328d4929f49080abd8fbd2f84157db1eab235c99.tar.gz jmbsvicetto-328d4929f49080abd8fbd2f84157db1eab235c99.tar.bz2 jmbsvicetto-328d4929f49080abd8fbd2f84157db1eab235c99.zip |
www-apps/drupal: Security bump - SA-CORE-2021-001.
Add releases 7.78, 8.9.13, 9.0.11 and 9.1.3.
Drop drupal-8.8 as it's now EoL.
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-rw-r--r-- | www-apps/drupal/Manifest | 5 | ||||
-rw-r--r-- | www-apps/drupal/drupal-7.78.ebuild | 58 | ||||
-rw-r--r-- | www-apps/drupal/drupal-8.9.13.ebuild (renamed from www-apps/drupal/drupal-8.8.12.ebuild) | 0 | ||||
-rw-r--r-- | www-apps/drupal/drupal-9.0.11.ebuild | 68 | ||||
-rw-r--r-- | www-apps/drupal/drupal-9.1.3.ebuild | 68 |
5 files changed, 198 insertions, 1 deletions
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest index f15d82a..6d05935 100644 --- a/www-apps/drupal/Manifest +++ b/www-apps/drupal/Manifest @@ -1,5 +1,8 @@ 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-7.78.tar.gz 3335651 BLAKE2B 16bf438b4c7892f2d001d89e194e8735b66a0c2bdcae5f38c14bd1233122d437ad786142c82aa34c0e3e22ce9dc4b14903f1f58ea42447157615559cc02002f2 SHA512 405ed053c0b73e8768ee2a8dda9fb7257e8c8664cbf76025dd58d34ed16bfd0c9e853b92cfee03e85b38e9d6d9c578d52c6943e804224ce73cf7be414f4cfb91 DIST drupal-8.9.12.tar.gz 19808188 BLAKE2B b19a396734b615d2b63abd641a0183d94a3a7864092f364697924e060ce4d78e587ede4f51023144ab6a0a9d5138eafc3b5954e120cab52d9cdb4703104a0f37 SHA512 736ae2bfe4c4c6ae6dba2618992410a29c1f2a25c21b484a3e352203fb2309121ef03a4156b4a1262d2a1d534b94476eb06566e1265fa9af814eb034de4ba03a +DIST drupal-8.9.13.tar.gz 19805034 BLAKE2B 2682c30b810ffd2089c51b0b9776b0b5fd664d415b4014d1923a1136683608a9231a6cda13732a28ea4cb7a277ffdb3e3427b6e49897a58645ac57c500d7e644 SHA512 2d8fa904a0c229c2430e24b89c85da9ec74ba88c12ed3b4afa9f2258377970ed8de7c0ce5397c89f2875e93b9f2e8d1bb174a71b4ad0904c1e6e2d7994c977c0 DIST drupal-9.0.10.tar.gz 16867321 BLAKE2B 834605d38984713b18951ce47c4d33de5e8198dbfc8552a32772637a8987fd8d9b0328917f5af630ce055044455fb22381c8c9e7ddc60f077848907b1d008ccf SHA512 e43f7b92ead39a0d5cd0f52e1a479aff16e1be3abf9f492ddf52156cd96526ae4b16361378a948719c3a8112b791ff50f455f13002c4827aee3702ddb1496353 +DIST drupal-9.0.11.tar.gz 16877941 BLAKE2B 53969ee3ee1bd2ed3672e37e01cdbf181a895b20750087778b0bcd687e7b1ad5fb73d0bd280dbc324921294a0586cf966a1f781a5f1d47d3daa81c91aa17975e SHA512 98b20aba886e36f76a2bea9b6eba1e92bf81e57cc272460e510e24f4622a6895fdb37407cbfc07875ef4c04845a2255f794f8626646b17ed461342a5b04dce10 DIST drupal-9.1.2.tar.gz 17762094 BLAKE2B 77a7cd5bd887ad73a60bf6308c8c97c367b4d08fec0786004884f6d41092d18e147836f0bacb8a28fadf822ec401c609aa2c89f6ed2cae238deb644e30f74a81 SHA512 b71f42e2620c9a14236b7f76897859841fd121858a5b29962e407e7918c44028835d53761cc26e2eabba1464ef65965ab74ed769e734431cca541256e8eecdf0 +DIST drupal-9.1.3.tar.gz 17763646 BLAKE2B 5faf8bdd1bb7cd3f062cbdb881d567f6cec706d06ce980f7aa4f666d172e635feb32ad41723e88a99a68b6026aaed3003251c3f5c879719e24e5dacf19f98ae9 SHA512 57d8edca0064221c80924a8ea981af9ea66497fee14e4d736d96024ea26abb84e16af62f4d9bf5d69c69eb6851861d09f7d6dd54d92a2c0ae8fb2ac9585f6b74 diff --git a/www-apps/drupal/drupal-7.78.ebuild b/www-apps/drupal/drupal-7.78.ebuild new file mode 100644 index 0000000..4e6998d --- /dev/null +++ b/www-apps/drupal/drupal-7.78.ebuild @@ -0,0 +1,58 @@ +# 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 + +DESCRIPTION="PHP-based open-source platform and content management system" +HOMEPAGE="https://www.drupal.org/" +SRC_URI="https://ftp.drupal.org/files/projects/${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="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt " + dodoc ${docs} + rm -f ${docs} INSTALL COPYRIGHT.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_serverowned "${MY_HTDOCSDIR}"/sites/default + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php + + 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 +} diff --git a/www-apps/drupal/drupal-8.8.12.ebuild b/www-apps/drupal/drupal-8.9.13.ebuild index 1fa351c..1fa351c 100644 --- a/www-apps/drupal/drupal-8.8.12.ebuild +++ b/www-apps/drupal/drupal-8.9.13.ebuild diff --git a/www-apps/drupal/drupal-9.0.11.ebuild b/www-apps/drupal/drupal-9.0.11.ebuild new file mode 100644 index 0000000..1fa351c --- /dev/null +++ b/www-apps/drupal/drupal-9.0.11.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 +} diff --git a/www-apps/drupal/drupal-9.1.3.ebuild b/www-apps/drupal/drupal-9.1.3.ebuild new file mode 100644 index 0000000..1fa351c --- /dev/null +++ b/www-apps/drupal/drupal-9.1.3.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 +} |