summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-10-21 12:27:18 +0000
committerSven Wegener <swegener@gentoo.org>2007-10-21 12:27:18 +0000
commit9e06a47c0f7dd77eee362fbffd67d842805c8dee (patch)
treed412d758c1c41268c92e74aed102af0d462a866f /dev-util/systemtap
parentYet another new patch, hopefully fixing the remaining issues we had w/ 2.6.22... (diff)
downloadgentoo-2-9e06a47c0f7dd77eee362fbffd67d842805c8dee.tar.gz
gentoo-2-9e06a47c0f7dd77eee362fbffd67d842805c8dee.tar.bz2
gentoo-2-9e06a47c0f7dd77eee362fbffd67d842805c8dee.zip
Version bump.
(Portage version: 2.1.3.15)
Diffstat (limited to 'dev-util/systemtap')
-rw-r--r--dev-util/systemtap/ChangeLog8
-rw-r--r--dev-util/systemtap/files/digest-systemtap-200710203
-rw-r--r--dev-util/systemtap/systemtap-20071020.ebuild44
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-util/systemtap/ChangeLog b/dev-util/systemtap/ChangeLog
index cf702c322591..8a634ade1a48 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.29 2007/10/07 15:33:10 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.30 2007/10/21 12:27:18 swegener Exp $
+
+*systemtap-20071020 (21 Oct 2007)
+
+ 21 Oct 2007; Sven Wegener <swegener@gentoo.org>
+ +systemtap-20071020.ebuild:
+ Version bump.
*systemtap-20071006 (07 Oct 2007)
diff --git a/dev-util/systemtap/files/digest-systemtap-20071020 b/dev-util/systemtap/files/digest-systemtap-20071020
new file mode 100644
index 000000000000..525131375c45
--- /dev/null
+++ b/dev-util/systemtap/files/digest-systemtap-20071020
@@ -0,0 +1,3 @@
+MD5 306c2c4e2b1978210a8b4ebc541e8376 systemtap-20071020.tar.bz2 773425
+RMD160 107ac693f7e03e4839898b2cb2bd1492f7e84e50 systemtap-20071020.tar.bz2 773425
+SHA256 c20ff3eeb97e2cab870f231ab745ec6da45b516660667f4d18d9f3103277e265 systemtap-20071020.tar.bz2 773425
diff --git a/dev-util/systemtap/systemtap-20071020.ebuild b/dev-util/systemtap/systemtap-20071020.ebuild
new file mode 100644
index 000000000000..d7a15037f240
--- /dev/null
+++ b/dev-util/systemtap/systemtap-20071020.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-20071020.ebuild,v 1.1 2007/10/21 12:27:18 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."
+}