summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-05-24 09:46:20 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-05-24 09:46:20 +0000
commit13f9ba33d89b3151c54c87c02b3018baf737097a (patch)
tree31ab42eacca8d6629be32520ad2af5b79be251fa /sys-apps/paxctl
parentStable for x86, wrt bug #414605 (diff)
downloadgentoo-2-13f9ba33d89b3151c54c87c02b3018baf737097a.tar.gz
gentoo-2-13f9ba33d89b3151c54c87c02b3018baf737097a.tar.bz2
gentoo-2-13f9ba33d89b3151c54c87c02b3018baf737097a.zip
Make ebuild prefix friendly
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/paxctl')
-rw-r--r--sys-apps/paxctl/ChangeLog7
-rw-r--r--sys-apps/paxctl/paxctl-0.7-r2.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/sys-apps/paxctl/ChangeLog b/sys-apps/paxctl/ChangeLog
index 9a71185fe755..563aa6049827 100644
--- a/sys-apps/paxctl/ChangeLog
+++ b/sys-apps/paxctl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/paxctl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/paxctl/ChangeLog,v 1.43 2012/05/06 17:58:44 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paxctl/ChangeLog,v 1.44 2012/05/24 09:46:20 blueness Exp $
+
+*paxctl-0.7-r2 (24 May 2012)
+
+ 24 May 2012; Anthony G. Basile <blueness@gentoo.org> +paxctl-0.7-r2.ebuild:
+ Make ebuild prefix friendly
06 May 2012; Raúl Porcel <armin76@gentoo.org> paxctl-0.7-r1.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #410685
diff --git a/sys-apps/paxctl/paxctl-0.7-r2.ebuild b/sys-apps/paxctl/paxctl-0.7-r2.ebuild
new file mode 100644
index 000000000000..ac3c783fcdc4
--- /dev/null
+++ b/sys-apps/paxctl/paxctl-0.7-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paxctl/paxctl-0.7-r2.ebuild,v 1.1 2012/05/24 09:46:20 blueness Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Manages various PaX related program header flags for Elf32, Elf64, binaries."
+SRC_URI="http://pax.grsecurity.net/${P}.tar.bz2"
+HOMEPAGE="http://pax.grsecurity.net"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-devel/binutils-2.14.90.0.8-r1"
+RDEPEND=""
+
+DOCS=( README ChangeLog )
+
+src_prepare() {
+ sed \
+ "s:--owner 0 --group 0::g" \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install () {
+ emake DESTDIR="${ED}" install
+}