| 1 |
# Copyright 1999-2006 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paxctl/paxctl-0.3-r1.ebuild,v 1.2 2006/03/29 19:38:06 kevquinn Exp $
|
| 4 |
|
| 5 |
inherit flag-o-matic eutils
|
| 6 |
|
| 7 |
DESCRIPTION="Manages various PaX related program header flags for Elf32, Elf64, binaries."
|
| 8 |
SRC_URI="http://pax.grsecurity.net/paxctl-${PV}.tar.gz"
|
| 9 |
HOMEPAGE="http://pax.grsecurity.net"
|
| 10 |
KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~hppa ~ia64 ~mips ~ppc64"
|
| 11 |
IUSE=""
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
|
| 15 |
DEPEND="virtual/libc >=sys-devel/binutils-2.14.90.0.8-r1"
|
| 16 |
|
| 17 |
src_unpack() {
|
| 18 |
unpack ${A}
|
| 19 |
cd ${S}
|
| 20 |
# bug #127998 - paxctl tarball is user-readable only
|
| 21 |
chmod go+rx ${S}
|
| 22 |
chmod go+r ${S}/*
|
| 23 |
epatch ${FILESDIR}/${P}-error-codes.patch
|
| 24 |
}
|
| 25 |
|
| 26 |
src_compile() {
|
| 27 |
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
| 28 |
}
|
| 29 |
|
| 30 |
src_install() {
|
| 31 |
einstall DESTDIR="${D}"
|
| 32 |
dodoc README ChangeLog
|
| 33 |
}
|