From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32391138334 for ; Wed, 8 May 2019 20:00:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CE9DE091C; Wed, 8 May 2019 20:00:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2960CE091C for ; Wed, 8 May 2019 20:00:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C5FB343D0B for ; Wed, 8 May 2019 20:00:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9097503 for ; Wed, 8 May 2019 20:00:32 +0000 (UTC) From: "Dirkjan Ochtman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" Message-ID: <1557345623.fbfc7330bf19313e2aa121d786a2cfdbb4e8c12e.djc@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/twig/Manifest dev-php/twig/twig-1.31.0.ebuild dev-php/twig/twig-1.35.3.ebuild X-VCS-Directories: dev-php/twig/ X-VCS-Committer: djc X-VCS-Committer-Name: Dirkjan Ochtman X-VCS-Revision: fbfc7330bf19313e2aa121d786a2cfdbb4e8c12e X-VCS-Branch: master Date: Wed, 8 May 2019 20:00:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8092bbfe-bad9-4e19-9caa-9734abc3c54a X-Archives-Hash: ef807e96d902067e8e1c8f0607dc7fae commit: fbfc7330bf19313e2aa121d786a2cfdbb4e8c12e Author: Dirkjan Ochtman gentoo org> AuthorDate: Wed May 8 20:00:23 2019 +0000 Commit: Dirkjan Ochtman gentoo org> CommitDate: Wed May 8 20:00:23 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbfc7330 dev-php/twig: clean up vulnerable versions Signed-off-by: Dirkjan Ochtman gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-php/twig/Manifest | 2 - dev-php/twig/twig-1.31.0.ebuild | 82 ----------------------------------------- dev-php/twig/twig-1.35.3.ebuild | 82 ----------------------------------------- 3 files changed, 166 deletions(-) diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest index 1650929d3b1..2d9b40a94e2 100644 --- a/dev-php/twig/Manifest +++ b/dev-php/twig/Manifest @@ -1,3 +1 @@ -DIST twig-1.31.0.tar.gz 242247 BLAKE2B f11195b235c5dd8cda5373394d94306c81810d46c155194cc11bfcb832778b03085bf05de10b636ebda9223876ab9b752214e8676c000578c702f6d9b832ffe1 SHA512 c8c25139b2568d40c9d1b14d8f489047abe13b1598c9d3292ddd3898a685ac69ede00a516c12c4f22805314fca4712991cd27e39dd9c4f57e5576f86e2746401 -DIST twig-1.35.3.tar.gz 256758 BLAKE2B e96f6651fddd2fab3a1d379a2996ded594942bcb511548d419a56e8e4cc6c6b30e6a0a96b44211351ce9b3d2f36cde6b1c85acd46e51d5c2e19793703fccecc4 SHA512 c27d4407b5ad0e51724599fe0371a5951e8a8654df443ca6ac817a9c6958c3235b4d56a396eeceb71eaf707887420a6beace10ca42f1c09882988039c932fe7b DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1 diff --git a/dev-php/twig/twig-1.31.0.ebuild b/dev-php/twig/twig-1.31.0.ebuild deleted file mode 100644 index 7e678f068e6..00000000000 --- a/dev-php/twig/twig-1.31.0.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="Twig" -USE_PHP="php5-6" -S="${WORKDIR}/${MY_PN}-${PV}" -PHP_EXT_S="${S}/ext/${PN}" -PHP_EXT_NAME="${PN}" -PHP_EXT_OPTIONAL_USE="extension" - -inherit php-ext-source-r3 - -DESCRIPTION="PHP templating engine with syntax similar to Django" -HOMEPAGE="http://twig.sensiolabs.org/" -SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc extension test" - -DEPEND="test? ( dev-php/phpunit )" - -# We always require *some* version of PHP; the eclass (conditionally) -# requires *specific* versions. -RDEPEND="dev-lang/php" - -src_prepare(){ - # We need to call eapply_user ourselves, because it may be skipped - # if either the "extension" USE flag is not set, or if the user's - # PHP_TARGETS is essentially empty (does not contain "php5-6"). In - # the latter case, the eclass src_prepare does nothing. We only call - # the eclass phase conditionally because the correct version of - # e.g. "phpize" may not be there unless USE=extension is set. - eapply_user - use extension && php-ext-source-r3_src_prepare -} - -src_configure() { - # The eclass phase will try to run the ./configure script even if it - # doesn't exist (in contrast to the default src_configure), so we - # need to skip it if the eclass src_prepare (that creates said - # script) is not run. - use extension && php-ext-source-r3_src_configure -} - -src_compile() { - # Avoids the same problem as in src_configure. - use extension && php-ext-source-r3_src_compile -} - -src_install(){ - use extension && php-ext-source-r3_src_install - - cd "${S}" || die - # The autoloader requires the 'T' in "Twig" capitalized. - insinto "/usr/share/php/${MY_PN}" - doins -r lib/"${MY_PN}"/* - - # The eclass src_install calls einstalldocs, so we may install a few - # files twice. Doing so should be harmless. - dodoc README.rst CHANGELOG - - # This installs the reStructuredText source documents. There's got - # to be some way to turn them into HTML using Sphinx, but upstream - # doesn't provide for it. - use doc && dodoc -r doc -} - -src_test(){ - phpunit --bootstrap test/bootstrap.php || die "test suite failed" -} - -pkg_postinst(){ - elog "${PN} has been installed in /usr/share/php/${MY_PN}/." - elog "To use it in a script, require('${MY_PN}/Autoloader.php')," - elog "and then run \"Twig_Autoloader::register();\". Most of" - elog "the examples in the documentation should work without" - elog "further modification." -} diff --git a/dev-php/twig/twig-1.35.3.ebuild b/dev-php/twig/twig-1.35.3.ebuild deleted file mode 100644 index b4bbd806de7..00000000000 --- a/dev-php/twig/twig-1.35.3.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MY_PN="Twig" -USE_PHP="php5-6" -S="${WORKDIR}/${MY_PN}-${PV}" -PHP_EXT_S="${S}/ext/${PN}" -PHP_EXT_NAME="${PN}" -PHP_EXT_OPTIONAL_USE="extension" - -inherit php-ext-source-r3 - -DESCRIPTION="PHP templating engine with syntax similar to Django" -HOMEPAGE="http://twig.sensiolabs.org/" -SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc extension test" - -DEPEND="test? ( dev-php/phpunit )" - -# We always require *some* version of PHP; the eclass (conditionally) -# requires *specific* versions. -RDEPEND="dev-lang/php" - -src_prepare(){ - # We need to call eapply_user ourselves, because it may be skipped - # if either the "extension" USE flag is not set, or if the user's - # PHP_TARGETS is essentially empty (does not contain "php5-6"). In - # the latter case, the eclass src_prepare does nothing. We only call - # the eclass phase conditionally because the correct version of - # e.g. "phpize" may not be there unless USE=extension is set. - eapply_user - use extension && php-ext-source-r3_src_prepare -} - -src_configure() { - # The eclass phase will try to run the ./configure script even if it - # doesn't exist (in contrast to the default src_configure), so we - # need to skip it if the eclass src_prepare (that creates said - # script) is not run. - use extension && php-ext-source-r3_src_configure -} - -src_compile() { - # Avoids the same problem as in src_configure. - use extension && php-ext-source-r3_src_compile -} - -src_install(){ - use extension && php-ext-source-r3_src_install - - cd "${S}" || die - # The autoloader requires the 'T' in "Twig" capitalized. - insinto "/usr/share/php/${MY_PN}" - doins -r lib/"${MY_PN}"/* - - # The eclass src_install calls einstalldocs, so we may install a few - # files twice. Doing so should be harmless. - dodoc README.rst CHANGELOG - - # This installs the reStructuredText source documents. There's got - # to be some way to turn them into HTML using Sphinx, but upstream - # doesn't provide for it. - use doc && dodoc -r doc -} - -src_test(){ - phpunit --bootstrap test/bootstrap.php || die "test suite failed" -} - -pkg_postinst(){ - elog "${PN} has been installed in /usr/share/php/${MY_PN}/." - elog "To use it in a script, require('${MY_PN}/Autoloader.php')," - elog "and then run \"Twig_Autoloader::register();\". Most of" - elog "the examples in the documentation should work without" - elog "further modification." -}