Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/fprobe: ChangeLog fprobe-1.1-r1.ebuild
Date: Mon, 17 Mar 2008 08:41:14
Message-Id: E1JbAu8-00074f-48@stork.gentoo.org
1 robbat2 08/03/17 08:41:12
2
3 Modified: ChangeLog
4 Added: fprobe-1.1-r1.ebuild
5 Log:
6 Patch up the code to work properly under start-stop-daemon, and with the builtin chroot support. Also include Gentoo init.d support finally, modelled after the flow-tools init.d script.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.13 net-analyzer/fprobe/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/fprobe/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -p -w -b -B -u -u -r1.12 -r1.13
22 --- ChangeLog 9 Feb 2007 04:01:40 -0000 1.12
23 +++ ChangeLog 17 Mar 2008 08:41:11 -0000 1.13
24 @@ -1,6 +1,15 @@
25 # ChangeLog for net-analyzer/fprobe
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fprobe/ChangeLog,v 1.12 2007/02/09 04:01:40 flameeyes Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fprobe/ChangeLog,v 1.13 2008/03/17 08:41:11 robbat2 Exp $
30 +
31 +*fprobe-1.1-r1 (17 Mar 2008)
32 +
33 + 17 Mar 2008; Robin H. Johnson <robbat2@g.o>
34 + +files/fprobe-1.1-pidfile-sanity.patch, +files/fprobe-1.1-setgroups.patch,
35 + +files/conf.d-fprobe, +files/init.d-fprobe, +fprobe-1.1-r1.ebuild:
36 + Patch up the code to work properly under start-stop-daemon, and with the
37 + builtin chroot support. Also include Gentoo init.d support finally, modelled
38 + after the flow-tools init.d script.
39
40 09 Feb 2007; Diego Pettenò <flameeyes@g.o> ChangeLog:
41 Regenerate digest in Manifest2 format.
42
43
44
45 1.1 net-analyzer/fprobe/fprobe-1.1-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/fprobe-1.1-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/fprobe/fprobe-1.1-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: fprobe-1.1-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/fprobe/fprobe-1.1-r1.ebuild,v 1.1 2008/03/17 08:41:11 robbat2 Exp $
55
56 inherit eutils
57
58 DESCRIPTION="A libpcap-based tool to collect network traffic data and emit it as NetFlow flows"
59 HOMEPAGE="http://fprobe.sourceforge.net"
60 LICENSE="GPL-2"
61
62 SRC_URI="mirror://sourceforge/fprobe/${P}.tar.bz2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65
66 IUSE="debug messages"
67
68 DEPEND="net-libs/libpcap"
69
70 src_unpack() {
71 unpack ${A}
72 # The pidfile should be created by the parent process, before the
73 # setuid/chroot # is executed.
74 epatch "${FILESDIR}"/fprobe-1.1-pidfile-sanity.patch
75 # This seems to fail, uncertain why.
76 epatch "${FILESDIR}"/fprobe-1.1-setgroups.patch
77 }
78
79 src_compile() {
80 econf \
81 $(use_enable debug) \
82 $(use_enable messages) \
83 || die "configure failed"
84
85 emake || die "make failed"
86 }
87
88 src_install() {
89 make DESTDIR="${D}" install || die "install failed"
90
91 dodoc AUTHORS NEWS README TODO
92 docinto contrib
93 dodoc contrib/tg.sh
94
95 newinitd "${FILESDIR}"/init.d-fprobe fprobe
96 newconfd "${FILESDIR}"/conf.d-fprobe fprobe
97 }
98
99
100
101 --
102 gentoo-commits@l.g.o mailing list