From: Anthony G. Basile Date: Mon, 5 Oct 2015 08:39:09 +0000 (-0400) Subject: app-admin/paxtest: version bump 0.9.14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c0dc7a3fc5c4794306b3e690e008ec721d9823bf;p=gentoo.git app-admin/paxtest: version bump 0.9.14 Package-Manager: portage-2.2.20.1 --- diff --git a/app-admin/paxtest/Manifest b/app-admin/paxtest/Manifest index 7db4620501fb..43a98d990864 100644 --- a/app-admin/paxtest/Manifest +++ b/app-admin/paxtest/Manifest @@ -1 +1,2 @@ DIST paxtest-0.9.13.tar.gz 34451 SHA256 b1f9122e45927a05ea65ec9c3b8dad92377245e546c0eff08b0f8ad9ba6e4c75 SHA512 dc375f7b0c9dd3efcf22adae6cbf0724ae505c6b3a1c55de223665c454650f86014098a45226b3fc8e4b89d528152aaf458aa3b7d1c9ffc86b3be52f2af69d60 WHIRLPOOL 6d5066f759d01e7efd6b4e872bb9d9e1a7341f82f379e77dc8ae77139fa533abe004bdda9f8a35d90a1d2f4c8917d8ba4b1c56e65401522ccc1e99f99a158070 +DIST paxtest-0.9.14.tar.gz 34286 SHA256 7dead81fcdc8db2f88e3da1027e6d7c93596f2e6e4dac25ec9b54c41fa808048 SHA512 6e2d642e1dfe7e3381ed520956d2f5b19ad8c8e569c4ddcf43a2772a76ed67701bb18fe55d7fe2b82ff50644f92470622243ac974083d87448f560f6d48d8727 WHIRLPOOL bef2998611b0487590364648b8f5d4ddc470b212c2a8b0282f4220b1da8033f23299298b51dc932c35f37099f7076a99220726b30d91472ca266042f16c4ed02 diff --git a/app-admin/paxtest/paxtest-0.9.14.ebuild b/app-admin/paxtest/paxtest-0.9.14.ebuild new file mode 100644 index 000000000000..21a5b5b4c07c --- /dev/null +++ b/app-admin/paxtest/paxtest-0.9.14.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="PaX regression test suite" +HOMEPAGE="http://pax.grsecurity.net" +SRC_URI="http://grsecurity.net/~spender/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + sys-apps/paxctl" + +# EI_PAX flags are not strip safe. +RESTRICT="strip" + +QA_EXECSTACK="usr/bin/${PN} + usr/$(get_libdir)/${PN}/getamap + usr/$(get_libdir)/${PN}/shlibtest2.so + usr/$(get_libdir)/${PN}/execheap + usr/$(get_libdir)/${PN}/mprotstack + usr/$(get_libdir)/${PN}/mprotdata + usr/$(get_libdir)/${PN}/mprotheap + usr/$(get_libdir)/${PN}/randshlib + usr/$(get_libdir)/${PN}/randmain1 + usr/$(get_libdir)/${PN}/getshlib + usr/$(get_libdir)/${PN}/randheap2 + usr/$(get_libdir)/${PN}/rettofunc2x + usr/$(get_libdir)/${PN}/shlibdata + usr/$(get_libdir)/${PN}/shlibbss + usr/$(get_libdir)/${PN}/getmain1 + usr/$(get_libdir)/${PN}/execdata + usr/$(get_libdir)/${PN}/execstack + usr/$(get_libdir)/${PN}/rettofunc2 + usr/$(get_libdir)/${PN}/mprotshdata + usr/$(get_libdir)/${PN}/getstack1 + usr/$(get_libdir)/${PN}/randamap + usr/$(get_libdir)/${PN}/rettofunc1x + usr/$(get_libdir)/${PN}/getheap2 + usr/$(get_libdir)/${PN}/getheap1 + usr/$(get_libdir)/${PN}/randheap1 + usr/$(get_libdir)/${PN}/getstack2 + usr/$(get_libdir)/${PN}/getmain2 + usr/$(get_libdir)/${PN}/rettofunc1 + usr/$(get_libdir)/${PN}/randstack2 + usr/$(get_libdir)/${PN}/mprotshbss + usr/$(get_libdir)/${PN}/randstack1 + usr/$(get_libdir)/${PN}/mprotanon + usr/$(get_libdir)/${PN}/randmain2 + usr/$(get_libdir)/${PN}/writetext + usr/$(get_libdir)/${PN}/mprotbss + usr/$(get_libdir)/${PN}/anonmap + usr/$(get_libdir)/${PN}/execbss + usr/$(get_libdir)/${PN}/shlibtest.so" + +src_prepare() { + mv Makefile.psm Makefile + epatch "${FILESDIR}/${PN}-0.9.13-Makefile.patch" + sed -i "s/^CC := gcc/CC := $(tc-getCC)/" Makefile + sed -i "s/^LD := ld/LD := $(tc-getLD)/" Makefile +} + +src_compile() { + emake RUNDIR=/usr/$(get_libdir)/paxtest || die +} + +src_install() { + emake DESTDIR="${D}" BINDIR=/usr/bin RUNDIR=/usr/$(get_libdir)/paxtest install || die + + newman debian/manpage.1.ex paxtest.1 || die + dodoc ChangeLog README || die +}