From b0f2f9918ee928e3ad829b2dfa54767fe70b18c3 Mon Sep 17 00:00:00 2001 From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" Date: Thu, 26 Apr 2018 01:02:37 +0000 Subject: www-apps/drupal: Security bump to releases 7.59 and 8.5.3 to fix SA-CORE-2018-004. Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- www-apps/drupal/Manifest | 4 +- www-apps/drupal/drupal-7.58.ebuild | 74 ------------------------------- www-apps/drupal/drupal-7.59.ebuild | 74 +++++++++++++++++++++++++++++++ www-apps/drupal/drupal-8.5.2.ebuild | 86 ------------------------------------- www-apps/drupal/drupal-8.5.3.ebuild | 86 +++++++++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+), 162 deletions(-) delete mode 100644 www-apps/drupal/drupal-7.58.ebuild create mode 100644 www-apps/drupal/drupal-7.59.ebuild delete mode 100644 www-apps/drupal/drupal-8.5.2.ebuild create mode 100644 www-apps/drupal/drupal-8.5.3.ebuild (limited to 'www-apps/drupal') diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest index bcb0d4accd04..890a5218895c 100644 --- a/www-apps/drupal/Manifest +++ b/www-apps/drupal/Manifest @@ -1,2 +1,2 @@ -DIST drupal-7.58.tar.gz 3281269 BLAKE2B 128ce0e9df584036771ead0f345dd3277e8a1b584398c4e766817774ded159ab8be6666e3f4702f8d636dd14ca7f3f2d7df6a7e0accb2d8e82d3d20802a1134c SHA512 13e437e0458d6b45723ceeca28ec9f82a67497b3dafff0152512e3ad07e1a9b53cdc39404565089ea1531495a047f803e3a1006ca218cbe3dcbbb7a6119e154e -DIST drupal-8.5.2.tar.gz 15527091 BLAKE2B 52aea95b6375ad2f82261c52201f04e19c72f25c3e02567a079bce01e09f6857947e0dd7f4706670162bedaf4ea29398e3f3bd34c5434f8a880bef1a07e439db SHA512 721e8425a18f68fec3a1dbaf22d0f5622e257d01705dc16a7de659d770afbab0e5207297d5a78abeea60a72dc98e4aecb0a1f81f95c80973cd7fe40da4e76567 +DIST drupal-7.59.tar.gz 3282260 BLAKE2B bf7d74926fe4e94149ef7ff622cf7889f45f3e35b9bfd19fed12aa688c8131f2f8daa2a261796896d5386966603e837b6dec3b6c02221f9b0c527c4a6f5ff9da SHA512 68f02b39d1a4658adc0f0046c22cc1059b68f952f9cd753f5a3e379cf93705be308b4727519e90d77a42437442daebaa78d76745954be4d40e1a5105c319069c +DIST drupal-8.5.3.tar.gz 15527015 BLAKE2B 1deb2e993a328edcbee511643126760c5dd95a6ac120dca41de89f7a7f0c05469644aeb3451b9f055a4157cf0f7e1636b7c98a6a94695935a754dcecb16f53c8 SHA512 282d558851fc96b1acf2f0c33bc66c1898e0f7b1346e83139ba923e131b6b75836692907418f73a430f9e67772e642a3b724ec4c12956691450bd4aa5cb31b13 diff --git a/www-apps/drupal/drupal-7.58.ebuild b/www-apps/drupal/drupal-7.58.ebuild deleted file mode 100644 index 904fbef88e17..000000000000 --- a/www-apps/drupal/drupal-7.58.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -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="~alpha ~amd64 ~ppc ~x86" -IUSE="+accelerator +mysql postgres sqlite +uploadprogress" - -RDEPEND=" - dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml] - virtual/httpd-php - accelerator? ( || - ( - dev-php/xcache - ( - >=dev-lang/php-5.5[opcache] - dev-php/pecl-apcu - ) - ) - ) - uploadprogress? ( dev-php/pecl-uploadprogress ) - mysql? ( - || ( - dev-lang/php[mysql] - dev-lang/php[mysqli] - ) - ) - sqlite? ( dev-lang/php[sqlite] ) -" - -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-7.59.ebuild b/www-apps/drupal/drupal-7.59.ebuild new file mode 100644 index 000000000000..904fbef88e17 --- /dev/null +++ b/www-apps/drupal/drupal-7.59.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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="~alpha ~amd64 ~ppc ~x86" +IUSE="+accelerator +mysql postgres sqlite +uploadprogress" + +RDEPEND=" + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml] + virtual/httpd-php + accelerator? ( || + ( + dev-php/xcache + ( + >=dev-lang/php-5.5[opcache] + dev-php/pecl-apcu + ) + ) + ) + uploadprogress? ( dev-php/pecl-uploadprogress ) + mysql? ( + || ( + dev-lang/php[mysql] + dev-lang/php[mysqli] + ) + ) + sqlite? ( dev-lang/php[sqlite] ) +" + +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.5.2.ebuild b/www-apps/drupal/drupal-8.5.2.ebuild deleted file mode 100644 index 703cace2293b..000000000000 --- a/www-apps/drupal/drupal-8.5.2.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -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="~alpha ~amd64 ~ppc ~x86" -IUSE="+accelerator +mysql postgres sqlite +uploadprogress" - -RDEPEND=" - dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml] - virtual/httpd-php - accelerator? ( || - ( - dev-php/xcache - ( - >=dev-lang/php-5.5[opcache] - dev-php/pecl-apcu - ) - ) - ) - uploadprogress? ( dev-php/pecl-uploadprogress ) - mysql? ( - || ( - dev-lang/php[mysql] - dev-lang/php[mysqli] - ) - ) - sqlite? ( dev-lang/php[sqlite] ) -" - -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_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 - 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-8.5.3.ebuild b/www-apps/drupal/drupal-8.5.3.ebuild new file mode 100644 index 000000000000..703cace2293b --- /dev/null +++ b/www-apps/drupal/drupal-8.5.3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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="~alpha ~amd64 ~ppc ~x86" +IUSE="+accelerator +mysql postgres sqlite +uploadprogress" + +RDEPEND=" + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml] + virtual/httpd-php + accelerator? ( || + ( + dev-php/xcache + ( + >=dev-lang/php-5.5[opcache] + dev-php/pecl-apcu + ) + ) + ) + uploadprogress? ( dev-php/pecl-uploadprogress ) + mysql? ( + || ( + dev-lang/php[mysql] + dev-lang/php[mysqli] + ) + ) + sqlite? ( dev-lang/php[sqlite] ) +" + +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_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 + 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