From 76c2abbb87eb2d9ec06b4f205a51e6fde611e5fc Mon Sep 17 00:00:00 2001 From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" Date: Thu, 27 May 2021 00:26:07 +0000 Subject: www-apps/drupal: Security bump - SA-CORE-2021-003. Version bump for 8.9.16, 9.0.14, 9.1.9. Add 9.2.0_beta2. Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) --- www-apps/drupal/Manifest | 4 ++ www-apps/drupal/drupal-8.9.16.ebuild | 68 +++++++++++++++++++++++++++++++ www-apps/drupal/drupal-9.0.14.ebuild | 68 +++++++++++++++++++++++++++++++ www-apps/drupal/drupal-9.1.9.ebuild | 68 +++++++++++++++++++++++++++++++ www-apps/drupal/drupal-9.2.0_beta2.ebuild | 68 +++++++++++++++++++++++++++++++ 5 files changed, 276 insertions(+) create mode 100644 www-apps/drupal/drupal-8.9.16.ebuild create mode 100644 www-apps/drupal/drupal-9.0.14.ebuild create mode 100644 www-apps/drupal/drupal-9.1.9.ebuild create mode 100644 www-apps/drupal/drupal-9.2.0_beta2.ebuild diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest index e85fad2..48e8a74 100644 --- a/www-apps/drupal/Manifest +++ b/www-apps/drupal/Manifest @@ -1,4 +1,8 @@ DIST drupal-7.78.tar.gz 3335651 BLAKE2B 16bf438b4c7892f2d001d89e194e8735b66a0c2bdcae5f38c14bd1233122d437ad786142c82aa34c0e3e22ce9dc4b14903f1f58ea42447157615559cc02002f2 SHA512 405ed053c0b73e8768ee2a8dda9fb7257e8c8664cbf76025dd58d34ed16bfd0c9e853b92cfee03e85b38e9d6d9c578d52c6943e804224ce73cf7be414f4cfb91 DIST drupal-8.9.13.tar.gz 19805034 BLAKE2B 2682c30b810ffd2089c51b0b9776b0b5fd664d415b4014d1923a1136683608a9231a6cda13732a28ea4cb7a277ffdb3e3427b6e49897a58645ac57c500d7e644 SHA512 2d8fa904a0c229c2430e24b89c85da9ec74ba88c12ed3b4afa9f2258377970ed8de7c0ce5397c89f2875e93b9f2e8d1bb174a71b4ad0904c1e6e2d7994c977c0 +DIST drupal-8.9.16.tar.gz 19830094 BLAKE2B 90d9993832391817f2b6bda2943cc18f8231e4acfc76320353637ae84c07979e721ec5da85670e33e3fd56caf9e1a56182fcbfc4c3f6ed318b98cb7a7372c3af SHA512 633133cf13c27f51336c3280e4e76222b8abfcab3817925420a94846dece36434d800fee5aff68874a7e53170861a4e2dcda363e62f4bd9afd62ddd0ec0fe35b DIST drupal-9.0.11.tar.gz 16877941 BLAKE2B 53969ee3ee1bd2ed3672e37e01cdbf181a895b20750087778b0bcd687e7b1ad5fb73d0bd280dbc324921294a0586cf966a1f781a5f1d47d3daa81c91aa17975e SHA512 98b20aba886e36f76a2bea9b6eba1e92bf81e57cc272460e510e24f4622a6895fdb37407cbfc07875ef4c04845a2255f794f8626646b17ed461342a5b04dce10 +DIST drupal-9.0.14.tar.gz 16906856 BLAKE2B f24094cd30a392c31f2d6e79c7f31f1856dd8aaa6a1c02b180f5ac4862efaa6bc974e5ae458577a246818356857404355aa5c60066a79cbd9d8bffa84a8230af SHA512 690e7162737c8c202c401f3914a717d3eacacbf341eb3a902e23fbc46e29e6a637119c106816a4cb95fa61f5152cad8773c54cda3eebc7e71f1dbbdc50f97eea DIST drupal-9.1.3.tar.gz 17763646 BLAKE2B 5faf8bdd1bb7cd3f062cbdb881d567f6cec706d06ce980f7aa4f666d172e635feb32ad41723e88a99a68b6026aaed3003251c3f5c879719e24e5dacf19f98ae9 SHA512 57d8edca0064221c80924a8ea981af9ea66497fee14e4d736d96024ea26abb84e16af62f4d9bf5d69c69eb6851861d09f7d6dd54d92a2c0ae8fb2ac9585f6b74 +DIST drupal-9.1.9.tar.gz 18562135 BLAKE2B 432b34334f99a8833e4e8a1cb3ac7e64b3ae4e63757aec09c47089584b219096ea4bfa8bde2073bdb89d00c27ce7f8f21ea2acf6df85ebaf1905083f6247dfb5 SHA512 6a020a9200d535340982a9171da0c8ba0a2f435d2340816a7f370d72d960343e8f6c0c4198cfa6182d2c25eb1bd9cc0bbd088402f4fa4f01ac7aa34c6b2157f6 +DIST drupal-9.2.0-beta2.tar.gz 18843782 BLAKE2B 1dd4132388d7be65cdbf1b16f52b7de813b0362f542af594943f635a3aba8414a0d9b331288c88ce2004aafe3635b996030faae31a50b6cee224e462de0d8787 SHA512 96f1b0e3dd0ef881a919c24a9f9dd53726c28e30ffc77289dba2d1919797a781e9bd2ad23627f21787e4fd2e3ab730b5bb986729045c47d6b7d20aaf3e724a8b diff --git a/www-apps/drupal/drupal-8.9.16.ebuild b/www-apps/drupal/drupal-8.9.16.ebuild new file mode 100644 index 0000000..1fa351c --- /dev/null +++ b/www-apps/drupal/drupal-8.9.16.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.0.14.ebuild b/www-apps/drupal/drupal-9.0.14.ebuild new file mode 100644 index 0000000..1fa351c --- /dev/null +++ b/www-apps/drupal/drupal-9.0.14.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.9.ebuild b/www-apps/drupal/drupal-9.1.9.ebuild new file mode 100644 index 0000000..1fa351c --- /dev/null +++ b/www-apps/drupal/drupal-9.1.9.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.2.0_beta2.ebuild b/www-apps/drupal/drupal-9.2.0_beta2.ebuild new file mode 100644 index 0000000..1fa351c --- /dev/null +++ b/www-apps/drupal/drupal-9.2.0_beta2.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 +} -- cgit v1.2.3-65-gdbad