From b4e014f611670aa8295d1b3f4c8c6645f99c2753 Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Mon, 10 Oct 2011 15:29:17 +0000 Subject: Fixed PaX issue, bug #352640. The patch was submitted by Lubomir Krajcovic. (Portage version: 2.1.10.22/cvs/Linux x86_64) --- app-arch/upx-bin/ChangeLog | 7 ++++++- app-arch/upx-bin/upx-bin-3.07-r1.ebuild | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 app-arch/upx-bin/upx-bin-3.07-r1.ebuild (limited to 'app-arch') diff --git a/app-arch/upx-bin/ChangeLog b/app-arch/upx-bin/ChangeLog index ac5f2d48f4f4..52742c1fb802 100644 --- a/app-arch/upx-bin/ChangeLog +++ b/app-arch/upx-bin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/upx-bin # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-bin/ChangeLog,v 1.1 2011/01/06 03:21:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-bin/ChangeLog,v 1.2 2011/10/10 15:29:17 matsuu Exp $ + +*upx-bin-3.07-r1 (10 Oct 2011) + + 10 Oct 2011; MATSUU Takuto +upx-bin-3.07-r1.ebuild: + Fixed PaX issue, bug #352640. The patch was submitted by Lubomir Krajcovic. *upx-bin-3.07 (06 Jan 2011) diff --git a/app-arch/upx-bin/upx-bin-3.07-r1.ebuild b/app-arch/upx-bin/upx-bin-3.07-r1.ebuild new file mode 100644 index 000000000000..be64180e761d --- /dev/null +++ b/app-arch/upx-bin/upx-bin-3.07-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/upx-bin/upx-bin-3.07-r1.ebuild,v 1.1 2011/10/10 15:29:17 matsuu Exp $ + +EAPI="4" + +inherit pax-utils + +MY_P="${PN/-bin}-${PV}" +DESCRIPTION="Ultimate Packer for eXecutables (binary version with proprietary NRV compression)" +HOMEPAGE="http://upx.sourceforge.net/" +SRC_URI="x86? ( http://upx.sourceforge.net/download/${MY_P}-i386_linux.tar.bz2 ) + amd64? ( http://upx.sourceforge.net/download/${MY_P}-amd64_linux.tar.bz2 ) + ppc? ( http://upx.sourceforge.net/download/${MY_P}-powerpc_linux.tar.bz2 ) + arm? ( http://upx.sourceforge.net/download/${MY_P}-armeb_linux.tar.bz2 ) + mips? ( http://upx.sourceforge.net/download/${MY_P}-mipsel_linux.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +RESTRICT="strip" + +RDEPEND="!app-arch/upx-ucl" + +S="${WORKDIR}" + +src_install() { + cd ${MY_P}* + into /opt + dobin upx + pax-mark -m "${ED}"/opt/bin/upx + doman upx.1 + dodoc upx.doc BUGS NEWS README* THANKS TODO + dohtml upx.html +} -- cgit v1.2.3-65-gdbad