commit:     496ec07666e299bee0b0717da214e03cce24c362
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 24 17:56:34 2021 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 17:56:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=496ec076

dev-php/smarty: Cleanup vulnerable version

Bug: https://bugs.gentoo.org/772206
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 dev-php/smarty/Manifest             |  1 -
 dev-php/smarty/smarty-3.1.33.ebuild | 46 -------------------------------------
 2 files changed, 47 deletions(-)

diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest
index 811d25356f8..59f8dd20ec0 100644
--- a/dev-php/smarty/Manifest
+++ b/dev-php/smarty/Manifest
@@ -1,3 +1,2 @@
 DIST manual-en.3.1.14.zip 408414 BLAKE2B 
03d4e7a386eb3bd5b19e5c555ec34b86812838a5b5fac8ec0ab9701fba89a5867714da57d950f68224a89bbe2267c18d638ee850681860de309c74bbfb3d0a0b
 SHA512 
d384e3856b45ed3f992f3732a5465120abe9fb947cdf13ff67a9c4264f72987d24885ee61cd7309b728e64cdfe4f34c3e7f757096d35de56d962f3b78def9e58
-DIST smarty-3.1.33.tar.gz 249999 BLAKE2B 
1e174b190238c8b20d5dae9c0c9fdf264c4716ba850599a2a028fe6c307eb3d9d2611e3b928efb9471e051496e4e31502458cd7a71a9318e012d5af7eca2c50e
 SHA512 
443473cf12c7e053744daef7a70d4172979d760278aa1593216d0b70f0c12ca2b48eb79486a1c10a1cf2264da671804b94ee9d538b9013ff0bdc42e28639ca5d
 DIST smarty-3.1.39.tar.gz 264604 BLAKE2B 
ab5e8e052fd83e38a99725f03dcc4a206848c153b0584c12de1c605d9a9a5b47d23c29bd8a5179e53cf73921c89632ee2c4e9921002f41a4de97c6dc2e7d91a1
 SHA512 
84566bdefd83784c5b22ea4c21405261010a03e07839b15f6e1837aeb93ae12ae724a31648627b5f8794659e2fcd6cbbcd633be8d290dd1744e45e87fbe60fd2

diff --git a/dev-php/smarty/smarty-3.1.33.ebuild 
b/dev-php/smarty/smarty-3.1.33.ebuild
deleted file mode 100644
index 838dc8fab1c..00000000000
--- a/dev-php/smarty/smarty-3.1.33.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DOC_PV="3.1.14"
-
-DESCRIPTION="A template engine for PHP"
-HOMEPAGE="https://www.smarty.net/";
-SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-       doc? ( https://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="doc"
-
-BDEPEND="doc? ( app-arch/unzip )"
-
-# PHP unicode support is detected at runtime, and the cached templates
-# that smarty generates depend on it. If, later on, PHP is reinstalled
-# without unicode support, all of the previously-generated cached
-# templates will begin to throw 500 errrors for missing mb_foo
-# functions. See bug #532618.
-RDEPEND="dev-lang/php:*[unicode]"
-
-src_install() {
-       insinto "/usr/share/php/${PN}"
-       doins -r libs/*
-
-       local DOCS=( *.txt README README.md )
-       local HTML_DOCS
-       use doc && HTML_DOCS="${WORKDIR}/manual-en/"*
-       einstalldocs
-}
-
-pkg_postinst() {
-       elog "${PN} has been installed in /usr/share/php/${PN}/."
-       elog
-       elog 'To use it in your scripts, include the Smarty.class.php file'
-       elog "from the \"${PN}\" directory; for example,"
-       elog
-       elog "  require('${PN}/Smarty.class.php');"
-       elog
-       elog 'After that, the Smarty class will be available to you.'
-}

Reply via email to