diff options
author | Andrea Barisani <lcars@gentoo.org> | 2006-04-28 13:56:30 +0000 |
---|---|---|
committer | Andrea Barisani <lcars@gentoo.org> | 2006-04-28 13:56:30 +0000 |
commit | b434569fbef56d31e9d1dad31b2840c0683c4b58 (patch) | |
tree | 3f618f9ff41921474c067bd92746efddb91547b6 /sys-apps/systrace | |
parent | update (diff) | |
download | gentoo-2-b434569fbef56d31e9d1dad31b2840c0683c4b58.tar.gz gentoo-2-b434569fbef56d31e9d1dad31b2840c0683c4b58.tar.bz2 gentoo-2-b434569fbef56d31e9d1dad31b2840c0683c4b58.zip |
new systrace revision
(Portage version: 2.0.54)
Diffstat (limited to 'sys-apps/systrace')
-rw-r--r-- | sys-apps/systrace/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/systrace/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/systrace/files/digest-systrace-1.6d-r1 | 1 | ||||
-rw-r--r-- | sys-apps/systrace/systrace-1.6d-r1.ebuild | 49 |
4 files changed, 59 insertions, 2 deletions
diff --git a/sys-apps/systrace/ChangeLog b/sys-apps/systrace/ChangeLog index 9932133385fb..02b7312bb877 100644 --- a/sys-apps/systrace/ChangeLog +++ b/sys-apps/systrace/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/systrace # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/systrace/ChangeLog,v 1.10 2006/04/24 18:13:24 lcars Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systrace/ChangeLog,v 1.11 2006/04/28 13:56:30 lcars Exp $ + +*systrace-1.6d-r1 (28 Apr 2006) + + 28 Apr 2006; Andrea Barisani <lcars@gentoo.org> +systrace-1.6d-r1.ebuild: + Improve systrace.h detection (still not as clean as it should). Bug #131490. 24 Apr 2006; Andrea Barisani <lcars@gentoo.org> Manifest: Removing from package.mask, updating digest since 1.6d is released now. diff --git a/sys-apps/systrace/Manifest b/sys-apps/systrace/Manifest index 3ce5b7870d7e..1f2589fe1424 100644 --- a/sys-apps/systrace/Manifest +++ b/sys-apps/systrace/Manifest @@ -1,5 +1,7 @@ -MD5 29fcb7f27c584f437d7ffe42cb4a762f ChangeLog 418 +MD5 c05ad82055e651b5e983a95aeff5e42c ChangeLog 607 MD5 272032d7c512e67c7dff7c0ab971a786 files/digest-systrace-1.6d 65 +MD5 272032d7c512e67c7dff7c0ab971a786 files/digest-systrace-1.6d-r1 65 MD5 cc2c0fd87a1ad91d7fafa55aa8652cb3 files/systrace-regress.patch 599 MD5 c9457d9cbc8395414fa86b30c6f61612 metadata.xml 362 +MD5 35a30cf0116a63a070662617928154c4 systrace-1.6d-r1.ebuild 1251 MD5 7f59d4f49aec6da2010023669120a590 systrace-1.6d.ebuild 1148 diff --git a/sys-apps/systrace/files/digest-systrace-1.6d-r1 b/sys-apps/systrace/files/digest-systrace-1.6d-r1 new file mode 100644 index 000000000000..9b006e8166f6 --- /dev/null +++ b/sys-apps/systrace/files/digest-systrace-1.6d-r1 @@ -0,0 +1 @@ +MD5 1fb1a66618769ba30f02d87e1c05656a systrace-1.6d.tar.gz 211154 diff --git a/sys-apps/systrace/systrace-1.6d-r1.ebuild b/sys-apps/systrace/systrace-1.6d-r1.ebuild new file mode 100644 index 000000000000..d0a7411e0a2e --- /dev/null +++ b/sys-apps/systrace/systrace-1.6d-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/systrace/systrace-1.6d-r1.ebuild,v 1.1 2006/04/28 13:56:30 lcars Exp $ + +inherit eutils + +DESCRIPTION="Interactive Policy Generation for System Calls" +HOMEPAGE="http://www.systrace.org/" +SRC_URI="http://www.citi.umich.edu/u/provos/systrace/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86" + +RDEPEND="dev-libs/libevent" +DEPEND="$RDEPEND + >=sys-devel/autoconf-2.58" + +SYSTR_HEADER="${ROOT}usr/src/linux/include/linux/systrace.h" + +src_unpack() { + unpack ${A} + cd ${S} + + if [ -f /usr/include/linux/systrace.h ] ; then + SYSTR_HEADER="/usr/include/linux/systrace.h" + fi + + if ! [ -f ${SYSTR_HEADER} ] ; then + einfo + einfo "${SYSTR_HEADER} not found. Using ptrace-based backend." + einfo + epatch "${FILESDIR}"/systrace-regress.patch + else + einfo + einfo "${SYSTR_HEADER} found. Assuming /dev/systrace." + einfo + sed -i -e "s/all:.\+/all:/" ./regress/Makefile.am + sed -i -e "s:linux\/systrace.h:${SYSTR_HEADER}:" ./configure + sed -i -e "s:<linux\/systrace.h>:\"${SYSTR_HEADER}\":" ./linux-syscalls.c + fi + + export WANT_AUTOCONF=2.5 +} + +src_install() { + dobin systrace || die + doman systrace.1 +} |