diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-01-24 00:12:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-01-24 00:12:08 +0000 |
commit | 98d7244455bebd1c59c7c1fc4d122734c4d8dfad (patch) | |
tree | bfc3173467e8192e724a64505274fc42daecb002 /app-misc/pax-utils/pax-utils-0.3.0.ebuild | |
parent | http://my.opera.com/desktopteam/blog/2012/01/23/11-61-rc (diff) | |
download | gentoo-2-98d7244455bebd1c59c7c1fc4d122734c4d8dfad.tar.gz gentoo-2-98d7244455bebd1c59c7c1fc4d122734c4d8dfad.tar.bz2 gentoo-2-98d7244455bebd1c59c7c1fc4d122734c4d8dfad.zip |
Version bump.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/pax-utils/pax-utils-0.3.0.ebuild')
-rw-r--r-- | app-misc/pax-utils/pax-utils-0.3.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-misc/pax-utils/pax-utils-0.3.0.ebuild b/app-misc/pax-utils/pax-utils-0.3.0.ebuild new file mode 100644 index 000000000000..d185fc77b76a --- /dev/null +++ b/app-misc/pax-utils/pax-utils-0.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/pax-utils/pax-utils-0.3.0.ebuild,v 1.1 2012/01/24 00:12:08 vapier Exp $ + +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="ELF related utils for ELF 32/64 binaries that can check files for security relevant properties" +HOMEPAGE="http://hardened.gentoo.org/pax-utils.xml" +SRC_URI="mirror://gentoo/pax-utils-${PV}.tar.xz + http://dev.gentoo.org/~solar/pax/pax-utils-${PV}.tar.xz + http://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="caps" +#RESTRICT="mirror" + +RDEPEND="caps? ( sys-libs/libcap )" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +src_unpack() { + # avoid newer EAPI for easy upgrade paths + xz -dc "${DISTDIR}/${A}" | tar xf - || die +} + +src_compile() { + emake CC="$(tc-getCC)" USE_CAP=$(use caps && echo yes) || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc BUGS README TODO +} |