summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-10-07 15:33:11 +0000
committerSven Wegener <swegener@gentoo.org>2007-10-07 15:33:11 +0000
commita874b9ddeeecc7c1fb7f7177a077f46de7a0e317 (patch)
treebd583ba68f40447e7bbd54c5303f64098cb0c080 /dev-util
parentwhere's my head, it's nvidia-drivers (diff)
downloadgentoo-2-a874b9ddeeecc7c1fb7f7177a077f46de7a0e317.tar.gz
gentoo-2-a874b9ddeeecc7c1fb7f7177a077f46de7a0e317.tar.bz2
gentoo-2-a874b9ddeeecc7c1fb7f7177a077f46de7a0e317.zip
Version bump.
(Portage version: 2.1.3.12)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/systemtap/ChangeLog8
-rw-r--r--dev-util/systemtap/files/digest-systemtap-200710063
-rw-r--r--dev-util/systemtap/systemtap-20071006.ebuild44
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-util/systemtap/ChangeLog b/dev-util/systemtap/ChangeLog
index 3dbef3909981..cf702c322591 100644
--- a/dev-util/systemtap/ChangeLog
+++ b/dev-util/systemtap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/systemtap
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.28 2007/09/29 19:51:51 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.29 2007/10/07 15:33:10 swegener Exp $
+
+*systemtap-20071006 (07 Oct 2007)
+
+ 07 Oct 2007; Sven Wegener <swegener@gentoo.org>
+ +systemtap-20071006.ebuild:
+ Version bump.
*systemtap-20070929 (29 Sep 2007)
diff --git a/dev-util/systemtap/files/digest-systemtap-20071006 b/dev-util/systemtap/files/digest-systemtap-20071006
new file mode 100644
index 000000000000..c2395649aa51
--- /dev/null
+++ b/dev-util/systemtap/files/digest-systemtap-20071006
@@ -0,0 +1,3 @@
+MD5 2cc844fb088afbc60bfd1fbaff996a47 systemtap-20071006.tar.bz2 764588
+RMD160 6f7876873f15a162a9917c3d80740785ce8f61c7 systemtap-20071006.tar.bz2 764588
+SHA256 84fc09dfcd772ec42d0f4781b418cc5a4fd705d623cb1ad8bfd00510aae468be systemtap-20071006.tar.bz2 764588
diff --git a/dev-util/systemtap/systemtap-20071006.ebuild b/dev-util/systemtap/systemtap-20071006.ebuild
new file mode 100644
index 000000000000..b5e31c04ea75
--- /dev/null
+++ b/dev-util/systemtap/systemtap-20071006.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-20071006.ebuild,v 1.1 2007/10/07 15:33:10 swegener Exp $
+
+inherit linux-info eutils
+
+DESCRIPTION="A linux trace/probe tool"
+HOMEPAGE="http://sourceware.org/systemtap/"
+SRC_URI="ftp://sources.redhat.com/pub/${PN}/snapshots/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/elfutils-0.122
+ sys-libs/libcap
+ =dev-db/sqlite-3*"
+RDEPEND="${DEPEND}
+ virtual/linux-sources"
+
+S="${WORKDIR}"/src
+
+CONFIG_CHECK="KPROBES ~RELAY ~DEBUG_FS"
+ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
+ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
+ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/systemtap-20070414-grsecurity.patch
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS ChangeLog HACKING NEWS README
+}
+
+pkg_postinst() {
+ elog "If you use a kernel patched with grsecurity (e.g. sys-kernel/hardened-sources)"
+ elog "then please append '-D HAVE_GRSECURITY' to your stap command line."
+}