mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/paxtest: drop 0.9.15-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="PaX regression test suite"
|
||||
HOMEPAGE="https://pax.grsecurity.net"
|
||||
SRC_URI="https://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"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.9.13-Makefile.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
mv Makefile.psm Makefile
|
||||
default
|
||||
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
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" BINDIR=/usr/bin RUNDIR=/usr/$(get_libdir)/paxtest install
|
||||
|
||||
newman debian/manpage.1.ex paxtest.1
|
||||
dodoc ChangeLog README
|
||||
}
|
||||
Reference in New Issue
Block a user