summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-06-24 20:12:18 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-06-24 20:12:18 +0000
commita962eb40775ed43b6d3034e1a0fe5e1aae7aa985 (patch)
tree2f3c63715f8ee0d996e13cc9631cd4cd4e64801b /dev-lua
parentTake over htop. Fix bug 352024. (diff)
downloadgentoo-2-a962eb40775ed43b6d3034e1a0fe5e1aae7aa985.tar.gz
gentoo-2-a962eb40775ed43b6d3034e1a0fe5e1aae7aa985.tar.bz2
gentoo-2-a962eb40775ed43b6d3034e1a0fe5e1aae7aa985.zip
Remove vulnerable old version.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luaexpat/ChangeLog5
-rw-r--r--dev-lua/luaexpat/luaexpat-1.1.ebuild46
2 files changed, 4 insertions, 47 deletions
diff --git a/dev-lua/luaexpat/ChangeLog b/dev-lua/luaexpat/ChangeLog
index cdd2661241d0..f716573f251e 100644
--- a/dev-lua/luaexpat/ChangeLog
+++ b/dev-lua/luaexpat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lua/luaexpat
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaexpat/ChangeLog,v 1.3 2011/06/06 11:34:21 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaexpat/ChangeLog,v 1.4 2011/06/24 20:12:18 djc Exp $
+
+ 24 Jun 2011; Dirkjan Ochtman <djc@gentoo.org> -luaexpat-1.1.ebuild:
+ Remove vulnerable old version.
*luaexpat-1.2.0 (06 Jun 2011)
diff --git a/dev-lua/luaexpat/luaexpat-1.1.ebuild b/dev-lua/luaexpat/luaexpat-1.1.ebuild
deleted file mode 100644
index 19dec446b163..000000000000
--- a/dev-lua/luaexpat/luaexpat-1.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luaexpat/luaexpat-1.1.ebuild,v 1.1 2010/11/05 20:26:21 rafaelmartins Exp $
-
-EAPI=2
-
-inherit multilib toolchain-funcs flag-o-matic eutils
-
-DESCRIPTION="LuaExpat is a SAX XML parser based on the Expat library."
-HOMEPAGE="http://www.keplerproject.org/luaexpat/"
-SRC_URI="http://luaforge.net/frs/download.php/2469/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/lua-5.1[deprecated]
- dev-libs/expat"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-src_prepare() {
- sed -i -e "s#^LUA_LIBDIR=.*#LUA_LIBDIR=$(pkg-config --variable INSTALL_CMOD lua)#" "${S}/config"
- sed -i -e "s#^LUA_DIR=.*#LUA_DIR=$(pkg-config --variable INSTALL_LMOD lua)#" "${S}/config"
- sed -i -e "s#^LUA_INC=.*#LUA_INC=$(pkg-config --variable INSTALL_INC lua)#" "${S}/config"
- sed -i -e "s#^EXPAT_INC=.*#EXPAT_INC=/usr/include#" "${S}/config"
- sed -i -e "s#^LUA_VERSION_NUM=.*#LUA_VERSION_NUM=501#" "${S}/config"
- epatch "${FILESDIR}/${P}-makefile.patch"
-}
-
-src_compile() {
- append-flags -fPIC
- emake \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC) -shared" \
- || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "Install failed"
- dodoc README || die
- dohtml -r doc/* || die
-}