summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Underwood <natey@gentoo.org>2003-04-30 18:37:42 +0000
committerNate Underwood <natey@gentoo.org>2003-04-30 18:37:42 +0000
commita2b525439187e9d687a590250fcecbdf1f1d9b68 (patch)
treefbc2034b0e93e96160edea7ee1345b3dec76b4fb /sys-apps/systrace
parentManifest update (diff)
downloadgentoo-2-a2b525439187e9d687a590250fcecbdf1f1d9b68.tar.gz
gentoo-2-a2b525439187e9d687a590250fcecbdf1f1d9b68.tar.bz2
gentoo-2-a2b525439187e9d687a590250fcecbdf1f1d9b68.zip
Bump for new systrace userland sources
Diffstat (limited to 'sys-apps/systrace')
-rw-r--r--sys-apps/systrace/ChangeLog12
-rw-r--r--sys-apps/systrace/Manifest3
-rw-r--r--sys-apps/systrace/files/digest-systrace-1.0-r22
-rw-r--r--sys-apps/systrace/systrace-1.0-r2.ebuild67
4 files changed, 81 insertions, 3 deletions
diff --git a/sys-apps/systrace/ChangeLog b/sys-apps/systrace/ChangeLog
index ae288773f4c5..b2b460cc635c 100644
--- a/sys-apps/systrace/ChangeLog
+++ b/sys-apps/systrace/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-apps/systrace
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/systrace/ChangeLog,v 1.1 2003/03/28 23:38:07 method Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/systrace/ChangeLog,v 1.2 2003/04/30 18:37:29 natey Exp $
+
+*systrace-1.0-r2 (29 Apr 2003)
+
+ 29 Apr 2003; Nate Underwood <natey@gentoo.org> systrace-1.0-r2.ebuild:
+ Minor ebuild fix for include files
+
+*systrace-1.0-r2 (29 Apr 2003)
+
+ 29 Apr 2003; Nate Underwood <natey@gentoo.org> systrace-1.0-r2.ebuild:
+ Updated ebuild for new systrace userland sources
*systrace-1.0-r1 (27 Mar 2003)
diff --git a/sys-apps/systrace/Manifest b/sys-apps/systrace/Manifest
index a3940a4a7241..460ecbcf6824 100644
--- a/sys-apps/systrace/Manifest
+++ b/sys-apps/systrace/Manifest
@@ -1,6 +1,5 @@
MD5 8bc5899387c733b60f0c3a5b4bd15990 systrace-1.0-r1.ebuild 1830
-MD5 890216fc785f30e0e867fc3f2f461871 ChangeLog 628
+MD5 e5464f6876c350ea044a017a9ebf103e ChangeLog 770
MD5 2760c8cbd7856c70feb28c383979961e systrace-1.0-r2.ebuild 1799
-MD5 fbb0fbe3b3c038d9171db22c09be09d5 systrace-1.0-r2.ebuild.old 1722
MD5 8f7c88d1249a2c3d03176b5b52bb88c3 files/digest-systrace-1.0-r1 147
MD5 ae6c383f84feb5ad04359eaaf24c34e0 files/digest-systrace-1.0-r2 147
diff --git a/sys-apps/systrace/files/digest-systrace-1.0-r2 b/sys-apps/systrace/files/digest-systrace-1.0-r2
new file mode 100644
index 000000000000..0da0b33cdce5
--- /dev/null
+++ b/sys-apps/systrace/files/digest-systrace-1.0-r2
@@ -0,0 +1,2 @@
+MD5 65681fe3b4182bf36af70a06cda1a674 usr-systrace-2003-04-27.tar.gz 152982
+MD5 991caa03d07abeb2a5e9bb27bfee2123 systrace.c-no_x11-1.0.patch.gz 275
diff --git a/sys-apps/systrace/systrace-1.0-r2.ebuild b/sys-apps/systrace/systrace-1.0-r2.ebuild
new file mode 100644
index 000000000000..f75ddd223aa3
--- /dev/null
+++ b/sys-apps/systrace/systrace-1.0-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+
+DESCRIPTION="Systrace userland binary"
+HOMEPAGE="http://www.systrace.org"
+SRC_URI="http://www.citi.umich.edu/u/provos/systrace/usr-systrace-2003-04-27.tar.gz
+ http://natey.com/gentoo/systrace/patches/systrace.c-no_x11-1.0.patch.gz"
+SLOT="0"
+LICENSE="GPL-2"
+PATCH1="systrace.c-no_x11-1.0.patch"
+INCLUDE0="/usr/src/linux/include/linux/systrace.h"
+INCLUDE1="/usr/include/linux/systrace.h"
+S="${WORKDIR}/${P}"
+
+KEYWORDS="~x86"
+IUSE="gtk"
+DEPEND="gtk? ( =x11-libs/gtk+-1.2* =dev-libs/glib-1.2* )"
+
+pkg_setup() {
+ if ! [ -f ${INCLUDE0} ] || ! [ -f ${INCLUDE1} ] ;
+ then
+ einfo
+ einfo "ERROR: It does not look like you have a systrace capable kernel. If"
+ einfo "this is incorrect, please copy /usr/src/linux/include/linux/systrace.h"
+ einfo "to /usr/include/linux/ and restart the build."
+ einfo
+ einfo "The latest systrace Linux kernel patches can be found at:"
+ einfo
+ einfo "http://www.citi.umich.edu/u/provos/systrace/linux.html"
+ einfo
+ exit 1
+ fi
+}
+
+src_compile() {
+ if [ "`use gtk`" ]
+ then
+ einfo
+ einfo "You are building systrace with gtk support; this version will not"
+ einfo "function without the sys-apps/gtk-systrace package installed. Please"
+ einfo "set the USE=\"-gtk\" to build the non-gui capable version of systrace."
+ einfo
+ sleep 7
+ ./configure --host=${CHOST} || die
+ elif [ -z "`use gtk`" ]
+ then
+ einfo
+ einfo "You are building systrace without gtk support; please set USE=\"gtk\""
+ einfo "to build the gui capable version of systrace."
+ einfo
+ sleep 7
+ cd ${S}
+ epatch ../${PATCH1} || die
+ ./configure --host=${CHOST} || die
+ fi
+
+ emake || die
+}
+
+src_install() {
+ dobin systrace
+ exeinto /usr/bin
+
+ doman systrace.1
+}