From 948ae511fc39a8656ffa0091f126d216d091bc21 Mon Sep 17 00:00:00 2001 From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" Date: Fri, 1 Sep 2017 19:19:08 +0000 Subject: www-apps/drupal: Security version bump CVE-2017-692{3,4,5} - fixes bug 628210. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- www-apps/drupal/Manifest | 2 +- www-apps/drupal/drupal-8.3.4.ebuild | 86 ------------------------------------- www-apps/drupal/drupal-8.3.7.ebuild | 86 +++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 87 deletions(-) delete mode 100644 www-apps/drupal/drupal-8.3.4.ebuild create mode 100644 www-apps/drupal/drupal-8.3.7.ebuild (limited to 'www-apps/drupal') diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest index 55138a25a55a..b077ec5284dd 100644 --- a/www-apps/drupal/Manifest +++ b/www-apps/drupal/Manifest @@ -1,2 +1,2 @@ DIST drupal-7.56.tar.gz 3277833 SHA256 02fb4b46060d53c2f876d2381a8741249819e3a02ea1d7291036f6ea280d7b69 SHA512 ab7ad8d9cb26e89b9d81280b1677584072db627d508ccade9442c95a90f24c94d11561013c8a7297ddae6ae43696d0b711b8c37ab98f89539f6f0e0154db6344 WHIRLPOOL fda209ecaf63d32cb665b31dc1aff994d0fea7ac542df331efff8c05e006a77463e7a420a1b1f8c9bffb375cf963db745e354ad5585cf4aa2ec92da68ed53352 -DIST drupal-8.3.4.tar.gz 12721299 SHA256 c3efdf6f309fdd2c652f18d8279fd8afeefc10855e36a9ace217eba174639988 SHA512 efbca8ca833358a7040190c19af4c96490aeb0ce73174a49afd721cdf2d95e22b5764134c9118cb7d24171d55cb7fcc592d08c75a5ef98b93a3239d8f3cb2329 WHIRLPOOL 3c29430a584891c68f79bbfa72865f484334164b23dfc7f1a756b1e65ee67f0e9aa9e3e273cd900d707e4940e1b7128c88e1ebf7246c0b703c2f944353423747 +DIST drupal-8.3.7.tar.gz 12739663 SHA256 0a86d82878500f8512a624fb13736ddf82a1c8f424d9a45776ce6b10d560eeab SHA512 d454a51b2bc7ffbad3e461df1d2ea1f38797716b046a520ad65fab5f5c398091b28bc623d3efc2d18176e6506a95e113e1d5e5a0a76e50ca7f22a995920ea671 WHIRLPOOL 9ea7653dfd117f7552a12fdcbe96556a8a2cfe1e4bdc7386aff8882f8e43a9d3a097fd3ec98d0a77ab6d19079ecf1b09c8617cf8d69198f968a0fbe09dfd0dc8 diff --git a/www-apps/drupal/drupal-8.3.4.ebuild b/www-apps/drupal/drupal-8.3.4.ebuild deleted file mode 100644 index d0f9fcc2d95e..000000000000 --- a/www-apps/drupal/drupal-8.3.4.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2017 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.3.7.ebuild b/www-apps/drupal/drupal-8.3.7.ebuild new file mode 100644 index 000000000000..d0f9fcc2d95e --- /dev/null +++ b/www-apps/drupal/drupal-8.3.7.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 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-18-g5258