summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-10-10 15:29:17 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-10-10 15:29:17 +0000
commitb4e014f611670aa8295d1b3f4c8c6645f99c2753 (patch)
tree2d341b1261ee3abfaca877c8261d418507bf4375 /app-arch/upx-bin
parentAdd x11-libs/libXcursor as a dependency wrt bug #385617 by <spam@k-progs.org> (diff)
downloadgentoo-2-b4e014f611670aa8295d1b3f4c8c6645f99c2753.tar.gz
gentoo-2-b4e014f611670aa8295d1b3f4c8c6645f99c2753.tar.bz2
gentoo-2-b4e014f611670aa8295d1b3f4c8c6645f99c2753.zip
Fixed PaX issue, bug #352640. The patch was submitted by Lubomir Krajcovic.
(Portage version: 2.1.10.22/cvs/Linux x86_64)
Diffstat (limited to 'app-arch/upx-bin')
-rw-r--r--app-arch/upx-bin/ChangeLog7
-rw-r--r--app-arch/upx-bin/upx-bin-3.07-r1.ebuild36
2 files changed, 42 insertions, 1 deletions
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 <matsuu@gentoo.org> +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
+}