diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2019-05-02 18:39:40 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2019-05-02 18:39:40 -0400 |
commit | d38cf949be695e971aa9d35dcdeb806eb509469b (patch) | |
tree | d50f0a07445d2afd334584c66e94241661c38d24 /dev-php/smarty/smarty-3.1.31.ebuild | |
parent | net-dns/djbdns: remove "unused" djbdns-1.05-r32.ebuild. (diff) | |
download | gentoo-d38cf949be695e971aa9d35dcdeb806eb509469b.tar.gz gentoo-d38cf949be695e971aa9d35dcdeb806eb509469b.tar.bz2 gentoo-d38cf949be695e971aa9d35dcdeb806eb509469b.zip |
dev-php/smarty: remove old vulnerable versions.
Bug: https://bugs.gentoo.org/666440
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-php/smarty/smarty-3.1.31.ebuild')
-rw-r--r-- | dev-php/smarty/smarty-3.1.31.ebuild | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-php/smarty/smarty-3.1.31.ebuild b/dev-php/smarty/smarty-3.1.31.ebuild deleted file mode 100644 index c1b265f15ead..000000000000 --- a/dev-php/smarty/smarty-3.1.31.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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" - -DEPEND="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.' -} |