summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2006-03-27 04:53:44 +0000
committerChris Aniszczyk <zx@gentoo.org>2006-03-27 04:53:44 +0000
commitf4bcfb5b3a0f63eb533c5defb55655d67d8d0ca2 (patch)
treebc92314dc078b7b55ca490840cd453d923d98a7e /dev-util/systemtap
parentBug #94977, Version bump, ebuild submitted by Ajay Sharma <ssharma@odc.net>. (diff)
downloadgentoo-2-f4bcfb5b3a0f63eb533c5defb55655d67d8d0ca2.tar.gz
gentoo-2-f4bcfb5b3a0f63eb533c5defb55655d67d8d0ca2.tar.bz2
gentoo-2-f4bcfb5b3a0f63eb533c5defb55655d67d8d0ca2.zip
Initial Import. Closes #113306
(Portage version: 2.1_pre7-r1)
Diffstat (limited to 'dev-util/systemtap')
-rw-r--r--dev-util/systemtap/ChangeLog7
-rw-r--r--dev-util/systemtap/Manifest6
-rw-r--r--dev-util/systemtap/files/digest-systemtap-200603253
-rw-r--r--dev-util/systemtap/metadata.xml8
-rw-r--r--dev-util/systemtap/systemtap-20060325.ebuild46
5 files changed, 70 insertions, 0 deletions
diff --git a/dev-util/systemtap/ChangeLog b/dev-util/systemtap/ChangeLog
new file mode 100644
index 000000000000..b512e74b8c6d
--- /dev/null
+++ b/dev-util/systemtap/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-util/systemtap
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.1 2006/03/27 04:53:44 zx Exp $
+
+ 26 Mar 2006; Chris Aniszczyk <zx@gentoo.org> ChangeLog:
+ systemtap-20060325.ebuild Initial Import
+
diff --git a/dev-util/systemtap/Manifest b/dev-util/systemtap/Manifest
new file mode 100644
index 000000000000..4a6a2851d2bd
--- /dev/null
+++ b/dev-util/systemtap/Manifest
@@ -0,0 +1,6 @@
+MD5 d9fbcc549c4d4e9609ed343edd5bf8f8 files/digest-systemtap-20060325 259
+RMD160 8ff62b19ede13a06c2a544e731fb81bbb877e826 files/digest-systemtap-20060325 259
+SHA256 92a7b56461492b84a09b044c000112d8d4ea8ad9b69fe217e2147728210cb5dc files/digest-systemtap-20060325 259
+MD5 ce4e178ac75f5fedc9619368fa29a299 systemtap-20060325.ebuild 1149
+RMD160 df624eb615e140a7ee92e34868ea27e431214f7b systemtap-20060325.ebuild 1149
+SHA256 51092f802f13c00484d1d33200f1c9eee500b45e0e786a2126ccae114d1c6cb3 systemtap-20060325.ebuild 1149
diff --git a/dev-util/systemtap/files/digest-systemtap-20060325 b/dev-util/systemtap/files/digest-systemtap-20060325
new file mode 100644
index 000000000000..d37abc3c9e3e
--- /dev/null
+++ b/dev-util/systemtap/files/digest-systemtap-20060325
@@ -0,0 +1,3 @@
+MD5 34cf2152a4ddb284be4d62502e94b83a systemtap-20060325.tar.bz2 424504
+RMD160 8f98778eb09659cc4926e3a05011f549d75c3356 systemtap-20060325.tar.bz2 424504
+SHA256 3d13bdd1e5a6c120024c84f3162d0987dc024c9db7de4c43d308cc696d85359a systemtap-20060325.tar.bz2 424504
diff --git a/dev-util/systemtap/metadata.xml b/dev-util/systemtap/metadata.xml
new file mode 100644
index 000000000000..1741bebc232a
--- /dev/null
+++ b/dev-util/systemtap/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>zx@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-util/systemtap/systemtap-20060325.ebuild b/dev-util/systemtap/systemtap-20060325.ebuild
new file mode 100644
index 000000000000..d77f4f2ac50d
--- /dev/null
+++ b/dev-util/systemtap/systemtap-20060325.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-20060325.ebuild,v 1.1 2006/03/27 04:53:44 zx Exp $
+
+inherit kernel-mod
+
+DESCRIPTION="A linux trace/probe tool"
+HOMEPAGE="http://sourceware.org/systemtap/"
+SRC_URI="ftp://sourceware.org/pub/$PN/snapshots/${P}.tar.bz2"
+S="${WORKDIR}/src"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=virtual/linux-sources-2.6.9
+ >=dev-libs/elfutils-0.116"
+
+pkg_setup() {
+ if ! kernel-mod_configoption_builtin KPROBES; then
+ einfo "systemtap needs CONFIG_KPROBES in the kernel"
+ einfo "enable it under Kernel hacking -> Kprobes."
+ die "CONFIG_KPROBES not present"
+ fi
+ if ! kernel-mod_configoption_present RELAYFS_FS; then
+ einfo "systemtap needs CONFIG_RELAYFS_FS in the kernel"
+ einfo "enable it under Filesystems -> Pseudo filesystems -> Relayfs."
+ die "CONFIG_RELAYFS_FS not present"
+ fi
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ keepdir /var/cache/systemtap
+ dodoc AUTHORS ChangeLog HACKING NEWS README
+}
+
+src_test() {
+ make check || die "make check failed"
+}