Version bump. Add ~amd64 keyword. Taking maintainership.
authorSven Wegener <swegener@gentoo.org>
Mon, 16 Apr 2007 22:07:29 +0000 (22:07 +0000)
committerSven Wegener <swegener@gentoo.org>
Mon, 16 Apr 2007 22:07:29 +0000 (22:07 +0000)
Package-Manager: portage-2.1.2.3

dev-util/systemtap/ChangeLog
dev-util/systemtap/Manifest
dev-util/systemtap/files/digest-systemtap-20070414 [new file with mode: 0644]
dev-util/systemtap/files/systemtap-20070414-grsecurity.patch [new file with mode: 0644]
dev-util/systemtap/metadata.xml
dev-util/systemtap/systemtap-20070414.ebuild [new file with mode: 0644]

index 3153e40d1559f0a38add5afff2913d53d544e343..eeaf2a91a7def067c1822065393bc04889a1139a 100644 (file)
@@ -1,6 +1,13 @@
 # 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.4 2007/03/19 00:35:06 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.5 2007/04/16 22:07:29 swegener Exp $
+
+*systemtap-20070414 (16 Apr 2007)
+
+  16 Apr 2007; Sven Wegener <swegener@gentoo.org>
+  +files/systemtap-20070414-grsecurity.patch, metadata.xml,
+  +systemtap-20070414.ebuild:
+  Version bump. Add ~amd64 keyword. Taking maintainership.
 
   19 Mar 2007; Bryan Ã˜stergaard <kloeri@gentoo.org> metadata.xml:
   Remove zx from metadata.xml due to retirement.
index c83228f9c2746ef574ff331a722e6a6563f208ea..008c640f5bfe6b3f78bcf7991cb8311a01d256b7 100644 (file)
@@ -1,26 +1,38 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+AUX systemtap-20070414-grsecurity.patch 1294 RMD160 209186cbcd52e7a0a765540251362083875df003 SHA1 6c78ff47e93172957ba60fa59de529ddfdf77b93 SHA256 e2179e4b7c721ef0ff38df2f441bf49c075e92555112e98d64a4ad84001916a1
+MD5 80fd877b314ac56e9f75e603aceff638 files/systemtap-20070414-grsecurity.patch 1294
+RMD160 209186cbcd52e7a0a765540251362083875df003 files/systemtap-20070414-grsecurity.patch 1294
+SHA256 e2179e4b7c721ef0ff38df2f441bf49c075e92555112e98d64a4ad84001916a1 files/systemtap-20070414-grsecurity.patch 1294
 DIST systemtap-20061111.tar.bz2 606386 RMD160 df6d58a199c2d6d97f2ace12b7f44d46694dbb5d SHA1 aa9148c77a0571ba51b7ad1453b78fc4448809e8 SHA256 104565927e81a84e792cd306a1f03b5d9cd140e0681b97cb01d07e0916608e69
+DIST systemtap-20070414.tar.bz2 686530 RMD160 e8d023ae0c24127f0a78a85607f59f44ba6f92f2 SHA1 436702f9a565349d88bcd8bbce05d756bccc3830 SHA256 5dbd53887e5ce730e3f5b61e172daa45910a7d771272129aeaa596926947ac84
 EBUILD systemtap-20061111.ebuild 1022 RMD160 63429d9b7a23eed45af1a26190161083b31b2915 SHA1 ebf14db3a502a29f865d57c578748c127546d128 SHA256 4adf468fc7ee441a39c960489e985a0f4c9d02a400960bfefb66f771ebe3d8fe
 MD5 ba81963956733789a59de334378904fc systemtap-20061111.ebuild 1022
 RMD160 63429d9b7a23eed45af1a26190161083b31b2915 systemtap-20061111.ebuild 1022
 SHA256 4adf468fc7ee441a39c960489e985a0f4c9d02a400960bfefb66f771ebe3d8fe systemtap-20061111.ebuild 1022
-MISC ChangeLog 825 RMD160 a5e4c1993bd3ac5176503db3b5d1ac796c83760f SHA1 c6387b8e74d2b7ca98ffb02c30ae21cda1a2b16f SHA256 5ce46b7f0542c9e8e83c26bdb6b546afd265133ff9b57403eb3ac9d7f9cb8e6a
-MD5 f1bf74309706cf8830233b3e8f01e112 ChangeLog 825
-RMD160 a5e4c1993bd3ac5176503db3b5d1ac796c83760f ChangeLog 825
-SHA256 5ce46b7f0542c9e8e83c26bdb6b546afd265133ff9b57403eb3ac9d7f9cb8e6a ChangeLog 825
-MISC metadata.xml 232 RMD160 9175a294469e617e696f19e3b6468f8747de37b0 SHA1 cc789056a277a74bd76eaf8139cee7bbbd350785 SHA256 433f35a36976e29c3c0e3f51bf5184d26578cf99de91cff0b50796b57c6b6ca1
-MD5 523f4af4b36f02c8e39cc620f7eae981 metadata.xml 232
-RMD160 9175a294469e617e696f19e3b6468f8747de37b0 metadata.xml 232
-SHA256 433f35a36976e29c3c0e3f51bf5184d26578cf99de91cff0b50796b57c6b6ca1 metadata.xml 232
+EBUILD systemtap-20070414.ebuild 1487 RMD160 17ee1ad59b0bad76c88aa7a1a4a241c87e6ff78c SHA1 f453a26cc2adaaa490d111f42568e2ef3d29c1d2 SHA256 c2e0031772afd683c98456a7f9e5a09b15a55f753ed1583de9d18011a16d54bb
+MD5 cd721a40f6c25a6b14763eca4312bafd systemtap-20070414.ebuild 1487
+RMD160 17ee1ad59b0bad76c88aa7a1a4a241c87e6ff78c systemtap-20070414.ebuild 1487
+SHA256 c2e0031772afd683c98456a7f9e5a09b15a55f753ed1583de9d18011a16d54bb systemtap-20070414.ebuild 1487
+MISC ChangeLog 1062 RMD160 278a3aec234ee24af5f26094dd48c66f1e4e73d4 SHA1 eb080e3a4e94e67b34e4bd5f19d4e01f3ebb94cc SHA256 2fe66f77c56a8375f262e7a779cabfe3f460112016a121ef42a250785ccd3703
+MD5 38b3be72913e3ac9b645931d929cd11b ChangeLog 1062
+RMD160 278a3aec234ee24af5f26094dd48c66f1e4e73d4 ChangeLog 1062
+SHA256 2fe66f77c56a8375f262e7a779cabfe3f460112016a121ef42a250785ccd3703 ChangeLog 1062
+MISC metadata.xml 224 RMD160 7f4383dcad66333b9ce8db59aa0d45bac5e95ef9 SHA1 6d56e5c988fe0c85370db92875086218349cea45 SHA256 707842fe6bed516e5865253fa613bb036ddfa66026dd163981627d4b90373a4f
+MD5 ad40c884c43300600c338439dc6102de metadata.xml 224
+RMD160 7f4383dcad66333b9ce8db59aa0d45bac5e95ef9 metadata.xml 224
+SHA256 707842fe6bed516e5865253fa613bb036ddfa66026dd163981627d4b90373a4f metadata.xml 224
 MD5 66c74db3ffad84a6991270fe8ec3d0c2 files/digest-systemtap-20061111 259
 RMD160 784df75b3c2dc17bcedb3eb4a094d7970b28d9bf files/digest-systemtap-20061111 259
 SHA256 08073165e2777d8f48d8167349e4bf72b915b3d931b7e260c3265a507b7ad14e files/digest-systemtap-20061111 259
+MD5 4a04beb3c14c3f5e8a6e7b95ccd36a5c files/digest-systemtap-20070414 259
+RMD160 8bb23b5ddb2d33e8c0010312a45ae6df832e3190 files/digest-systemtap-20070414 259
+SHA256 6d799c27b72c5b9a5928a8e1e3dfcc1b5598bc2c20ba01f5001272edfe7c91e7 files/digest-systemtap-20070414 259
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFF/dqDugEuf3OQ0akRAqVxAJ9URawA6J77o1L4Z+fESwC4qL2zhgCdGGpy
-18T+xV55YGnI8Pw6V3ZLLXI=
-=jm92
+iD8DBQFGI/OpI1lqEGTUzyQRAktRAJ0YL3n0Xbqu7GC8ZiZs3B5tkmO9AwCfcwlk
+zgMsGA5kqZec2BSWCHcMtBU=
+=ALDs
 -----END PGP SIGNATURE-----
diff --git a/dev-util/systemtap/files/digest-systemtap-20070414 b/dev-util/systemtap/files/digest-systemtap-20070414
new file mode 100644 (file)
index 0000000..a233476
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 fea82fdcd7f7b1de2d497d37eb4ca43f systemtap-20070414.tar.bz2 686530
+RMD160 e8d023ae0c24127f0a78a85607f59f44ba6f92f2 systemtap-20070414.tar.bz2 686530
+SHA256 5dbd53887e5ce730e3f5b61e172daa45910a7d771272129aeaa596926947ac84 systemtap-20070414.tar.bz2 686530
diff --git a/dev-util/systemtap/files/systemtap-20070414-grsecurity.patch b/dev-util/systemtap/files/systemtap-20070414-grsecurity.patch
new file mode 100644 (file)
index 0000000..82925be
--- /dev/null
@@ -0,0 +1,25 @@
+diff -Nur src.old/translate.cxx src/translate.cxx
+--- src.old/translate.cxx      2007-04-04 18:41:27.000000000 +0000
++++ src/translate.cxx  2007-04-16 18:18:25.302079239 +0000
+@@ -1131,11 +1131,17 @@
+                << ", probes: " << session->probes.size()
+                << "\\n\""
+     // printk arguments
+-               << ", THIS_MODULE->name"
+-               << ", THIS_MODULE->module_core"
++               << ", THIS_MODULE->name";
++  o->newline() << "#ifdef HAVE_GRSECURITY";
++  o->newline() << ", THIS_MODULE->module_core_rx"
++               << ", (unsigned long) THIS_MODULE->core_size_rw"
++               << ", (unsigned long) THIS_MODULE->core_size_rx";
++  o->newline() << "#else";
++  o->newline() << ", THIS_MODULE->module_core"
+                << ", (unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)"
+-               << ", (unsigned long) THIS_MODULE->core_text_size"
+-             << ", (unsigned long) (num_online_cpus() * sizeof(struct context))"
++               << ", (unsigned long) THIS_MODULE->core_text_size";
++  o->newline() << "#endif";
++  o->newline() << ", (unsigned long) (num_online_cpus() * sizeof(struct context))"
+              << ", (unsigned long) _stp_allocated_net_memory"
+              << ", (unsigned long) _stp_allocated_memory"
+                << ");";
index 9af43a31b618b76f31cf9a87aaf2c22ea1686967..f4e4f141dd8f84676c427c49d260f571e2763b1a 100644 (file)
@@ -3,6 +3,6 @@
 <pkgmetadata>
 <herd>no-herd</herd>
 <maintainer>
<email>maintainer-needed@gentoo.org</email>
 <email>swegener@gentoo.org</email>
 </maintainer>
 </pkgmetadata>
diff --git a/dev-util/systemtap/systemtap-20070414.ebuild b/dev-util/systemtap/systemtap-20070414.ebuild
new file mode 100644 (file)
index 0000000..79bbdc3
--- /dev/null
@@ -0,0 +1,43 @@
+# 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-20070414.ebuild,v 1.1 2007/04/16 22:07:29 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"
+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 kernel to 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}"/${P}-grsecurity.patch
+}
+
+src_install() {
+       emake install DESTDIR="${D}" || die "make install failed"
+       dodoc AUTHORS ChangeLog HACKING NEWS README
+       keepdir /var/cache/systemtap
+}
+
+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."
+}