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: systemtap-0.7.1_pre20080830.ebuild systemtap-0.7.ebuild ChangeLog systemtap-0.7.1_pre20081004.ebuild
Date: Sat, 04 Oct 2008 16:49:08
Message-Id: E1KmAJV-0000uV-B8@stork.gentoo.org
1 swegener 08/10/04 16:49:05
2
3 Modified: systemtap-0.7.1_pre20080830.ebuild
4 systemtap-0.7.ebuild ChangeLog
5 Added: systemtap-0.7.1_pre20081004.ebuild
6 Log:
7 Snapshot bump, bug #238993.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64)
9
10 Revision Changes Path
11 1.2 dev-util/systemtap/systemtap-0.7.1_pre20080830.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20080830.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20080830.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20080830.ebuild?r1=1.1&r2=1.2
16
17 Index: systemtap-0.7.1_pre20080830.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20080830.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- systemtap-0.7.1_pre20080830.ebuild 4 Sep 2008 10:44:41 -0000 1.1
24 +++ systemtap-0.7.1_pre20080830.ebuild 4 Oct 2008 16:49:04 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2008 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20080830.ebuild,v 1.1 2008/09/04 10:44:41 swegener Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20080830.ebuild,v 1.2 2008/10/04 16:49:04 swegener Exp $
30
31 inherit linux-info eutils
32
33 @@ -8,8 +8,9 @@
34 HOMEPAGE="http://sourceware.org/systemtap/"
35 if [[ ${PV} = *_pre* ]] # is this a snaphot?
36 then
37 - # see configure.ac to see the version of the snapshot
38 - SRC_URI="ftp://sources.redhat.com/pub/${PN}/snapshots/${PN}-${PV/*_pre/}.tar.bz2"
39 + # see configure.ac to get the version of the snapshot
40 + SRC_URI="ftp://sources.redhat.com/pub/${PN}/snapshots/${PN}-${PV/*_pre/}.tar.bz2
41 + mirror://gentoo/${PN}-${PV/*_pre/}.tar.bz2" # upstream only keeps four snapshot distfiles around
42 S="${WORKDIR}"/src
43 else
44 SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${P}.tar.gz"
45
46
47
48 1.2 dev-util/systemtap/systemtap-0.7.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.ebuild?rev=1.2&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.ebuild?rev=1.2&content-type=text/plain
52 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.ebuild?r1=1.1&r2=1.2
53
54 Index: systemtap-0.7.ebuild
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.7.ebuild,v
57 retrieving revision 1.1
58 retrieving revision 1.2
59 diff -u -r1.1 -r1.2
60 --- systemtap-0.7.ebuild 26 Jul 2008 15:20:59 -0000 1.1
61 +++ systemtap-0.7.ebuild 4 Oct 2008 16:49:04 -0000 1.2
62 @@ -1,6 +1,6 @@
63 # Copyright 1999-2008 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 -# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.7.ebuild,v 1.1 2008/07/26 15:20:59 swegener Exp $
66 +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.7.ebuild,v 1.2 2008/10/04 16:49:04 swegener Exp $
67
68 inherit linux-info eutils
69
70 @@ -8,8 +8,9 @@
71 HOMEPAGE="http://sourceware.org/systemtap/"
72 if [[ ${PV} = *_pre* ]] # is this a snaphot?
73 then
74 - # see configure.ac to see the version of the snapshot
75 - SRC_URI="ftp://sources.redhat.com/pub/${PN}/snapshots/${PN}-${PV/*_pre/}.tar.bz2"
76 + # see configure.ac to get the version of the snapshot
77 + SRC_URI="ftp://sources.redhat.com/pub/${PN}/snapshots/${PN}-${PV/*_pre/}.tar.bz2
78 + mirror://gentoo/${PN}-${PV/*_pre/}.tar.bz2" # upstream only keeps four snapshot distfiles around
79 S="${WORKDIR}"/src
80 else
81 SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${P}.tar.gz"
82
83
84
85 1.71 dev-util/systemtap/ChangeLog
86
87 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/ChangeLog?rev=1.71&view=markup
88 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/ChangeLog?rev=1.71&content-type=text/plain
89 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/ChangeLog?r1=1.70&r2=1.71
90
91 Index: ChangeLog
92 ===================================================================
93 RCS file: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v
94 retrieving revision 1.70
95 retrieving revision 1.71
96 diff -u -r1.70 -r1.71
97 --- ChangeLog 4 Sep 2008 10:44:41 -0000 1.70
98 +++ ChangeLog 4 Oct 2008 16:49:04 -0000 1.71
99 @@ -1,6 +1,12 @@
100 # ChangeLog for dev-util/systemtap
101 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
102 -# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.70 2008/09/04 10:44:41 swegener Exp $
103 +# $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/ChangeLog,v 1.71 2008/10/04 16:49:04 swegener Exp $
104 +
105 +*systemtap-0.7.1_pre20081004 (04 Oct 2008)
106 +
107 + 04 Oct 2008; Sven Wegener <swegener@g.o> systemtap-0.7.ebuild,
108 + systemtap-0.7.1_pre20080830.ebuild, +systemtap-0.7.1_pre20081004.ebuild:
109 + Snapshot bump, bug #238993.
110
111 *systemtap-0.7.1_pre20080830 (04 Sep 2008)
112
113
114
115
116 1.1 dev-util/systemtap/systemtap-0.7.1_pre20081004.ebuild
117
118 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20081004.ebuild?rev=1.1&view=markup
119 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20081004.ebuild?rev=1.1&content-type=text/plain
120
121 Index: systemtap-0.7.1_pre20081004.ebuild
122 ===================================================================
123 # Copyright 1999-2008 Gentoo Foundation
124 # Distributed under the terms of the GNU General Public License v2
125 # $Header: /var/cvsroot/gentoo-x86/dev-util/systemtap/systemtap-0.7.1_pre20081004.ebuild,v 1.1 2008/10/04 16:49:04 swegener Exp $
126
127 inherit linux-info eutils
128
129 DESCRIPTION="A linux trace/probe tool"
130 HOMEPAGE="http://sourceware.org/systemtap/"
131 if [[ ${PV} = *_pre* ]] # is this a snaphot?
132 then
133 # see configure.ac to get the version of the snapshot
134 SRC_URI="ftp://sources.redhat.com/pub/${PN}/snapshots/${PN}-${PV/*_pre/}.tar.bz2
135 mirror://gentoo/${PN}-${PV/*_pre/}.tar.bz2" # upstream only keeps four snapshot distfiles around
136 S="${WORKDIR}"/src
137 else
138 SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${P}.tar.gz"
139 # use default S for releases
140 fi
141
142 LICENSE="GPL-2"
143 SLOT="0"
144 KEYWORDS=""
145 IUSE="sqlite"
146
147 DEPEND=">=dev-libs/elfutils-0.122
148 sys-libs/libcap
149 sqlite? ( =dev-db/sqlite-3* )"
150 RDEPEND="${DEPEND}
151 virtual/linux-sources"
152
153 CONFIG_CHECK="KPROBES ~RELAY ~DEBUG_FS"
154 ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
155 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)'."
156 ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
157
158 src_unpack() {
159 unpack ${A}
160 cd "${S}"
161
162 epatch "${FILESDIR}"/systemtap-20080119-grsecurity.patch
163 }
164
165 src_compile() {
166 econf $(use_enable sqlite) || die "econf failed"
167 emake || die "emake failed"
168 }
169
170 src_install() {
171 emake install DESTDIR="${D}" || die "make install failed"
172 dodoc AUTHORS ChangeLog HACKING NEWS README
173 }
174
175 pkg_postinst() {
176 elog "If you use a kernel patched with grsecurity (e.g. sys-kernel/hardened-sources)"
177 elog "then please append '-D HAVE_GRSECURITY' to your stap command line."
178 }