Gentoo Archives: gentoo-commits

From: "Sven Wegener (swegener)" <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/systemtap: ChangeLog systemtap-0.8.ebuild systemtap-0.7.1_pre20080830.ebuild systemtap-0.7.1_pre20081004.ebuild
Date: Fri, 30 Jan 2009 21:41:18
Message-Id: E1LT16y-0003LJ-5E@stork.gentoo.org
1 swegener 09/01/30 21:41:16
2
3 Modified: ChangeLog
4 Added: systemtap-0.8.ebuild
5 Removed: systemtap-0.7.1_pre20080830.ebuild
6 systemtap-0.7.1_pre20081004.ebuild
7 Log:
8 Version bump, bug #256244.
9 (Portage version: 2.2_rc23/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.73 dev-util/systemtap/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/ChangeLog?rev=1.73&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/ChangeLog?rev=1.73&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/ChangeLog?r1=1.72&r2=1.73
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v
21 retrieving revision 1.72
22 retrieving revision 1.73
23 diff -u -r1.72 -r1.73
24 --- ChangeLog 4 Oct 2008 16:55:37 -0000 1.72
25 +++ ChangeLog 30 Jan 2009 21:41:16 -0000 1.73
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-util/systemtap
28 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.72 2008/10/04 16:55:37 swegener Exp $
30 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.73 2009/01/30 21:41:16 swegener Exp $
32 +
33 +*systemtap-0.8 (30 Jan 2009)
34 +
35 + 30 Jan 2009; Sven Wegener <swegener@g.o>
36 + -systemtap-0.7.1_pre20080830.ebuild, -systemtap-0.7.1_pre20081004.ebuild,
37 + +systemtap-0.8.ebuild:
38 + Version bump, bug #256244.
39
40 04 Oct 2008; Sven Wegener <swegener@g.o> systemtap-0.7.ebuild,
41 systemtap-0.7.1_pre20080830.ebuild, systemtap-0.7.1_pre20081004.ebuild:
42
43
44
45 1.1 dev-util/systemtap/systemtap-0.8.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.8.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.8.ebuild?rev=1.1&content-type=text/plain
49
50 Index: systemtap-0.8.ebuild
51 ===================================================================
52 # Copyright 1999-2009 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.8.ebuild,v 1.1 2009/01/30 21:41:16 swegener Exp $
55
56 inherit linux-info eutils
57
58 DESCRIPTION="A linux trace/probe tool"
59 HOMEPAGE="http://sourceware.org/systemtap/"
60 if [[ ${PV} = *_pre* ]] # is this a snaphot?
61 then
62 # see configure.ac to get the version of the snapshot
63 SRC_URI="http://sources.redhat.com/${PN}/ftp/snapshots/${PN}-${PV/*_pre/}.tar.bz2
64 mirror://gentoo/${PN}-${PV/*_pre/}.tar.bz2" # upstream only keeps four snapshot distfiles around
65 S="${WORKDIR}"/src
66 else
67 SRC_URI="http://sources.redhat.com/${PN}/ftp/releases/${P}.tar.gz"
68 # use default S for releases
69 fi
70
71 LICENSE="GPL-2"
72 SLOT="0"
73 KEYWORDS="~amd64 ~x86"
74 IUSE="sqlite"
75
76 DEPEND=">=dev-libs/elfutils-0.122
77 sys-libs/libcap
78 sqlite? ( =dev-db/sqlite-3* )"
79 RDEPEND="${DEPEND}
80 virtual/linux-sources"
81
82 CONFIG_CHECK="KPROBES ~RELAY ~DEBUG_FS"
83 ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
84 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)'."
85 ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
86
87 src_unpack() {
88 unpack ${A}
89 cd "${S}"
90
91 epatch "${FILESDIR}"/systemtap-20080119-grsecurity.patch
92 }
93
94 src_compile() {
95 econf \
96 --docdir=/usr/share/doc/${PF} \
97 $(use_enable sqlite) \
98 || die "econf failed"
99 emake || die "emake failed"
100 }
101
102 src_install() {
103 emake install DESTDIR="${D}" || die "make install failed"
104 dodoc AUTHORS ChangeLog HACKING NEWS README
105 }
106
107 pkg_postinst() {
108 elog "If you use a kernel patched with grsecurity (e.g. sys-kernel/hardened-sources)"
109 elog "then please append '-D HAVE_GRSECURITY' to your stap command line."
110 }