Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/flow-tools: ChangeLog flow-tools-0.68.5.ebuild
Date: Mon, 01 Mar 2010 20:35:25
Message-Id: E1NmCKp-0008MX-56@stork.gentoo.org
1 jer 10/03/01 20:35:23
2
3 Modified: ChangeLog
4 Added: flow-tools-0.68.5.ebuild
5 Log:
6 Version bump to forked flow-tools project thanks to Oleg Gawriloff (bug #307291).
7 (Portage version: 2.2_rc63/cvs/Linux i686)
8
9 Revision Changes Path
10 1.41 net-analyzer/flow-tools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/flow-tools/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/flow-tools/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/flow-tools/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 12 Feb 2010 15:43:28 -0000 1.40
23 +++ ChangeLog 1 Mar 2010 20:35:22 -0000 1.41
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-analyzer/flow-tools
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.40 2010/02/12 15:43:28 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.41 2010/03/01 20:35:22 jer Exp $
29 +
30 +*flow-tools-0.68.5 (01 Mar 2010)
31 +
32 + 01 Mar 2010; Jeroen Roovers <jer@g.o> +flow-tools-0.68.5.ebuild:
33 + Version bump to forked flow-tools project thanks to Oleg Gawriloff (bug
34 + #307291).
35
36 *flow-tools-0.68-r8 (12 Feb 2010)
37
38
39
40
41 1.1 net-analyzer/flow-tools/flow-tools-0.68.5.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: flow-tools-0.68.5.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.ebuild,v 1.1 2010/03/01 20:35:22 jer Exp $
51
52 EAPI="2"
53
54 inherit eutils
55
56 DESCRIPTION="library and programs to collect, send, process, and generate reports from NetFlow data"
57 HOMEPAGE="http://code.google.com/p/flow-tools/"
58 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
63 IUSE="mysql postgres debug ssl"
64
65 RDEPEND="sys-apps/tcp-wrappers
66 sys-libs/zlib
67 sys-devel/flex
68 mysql? ( virtual/mysql )
69 postgres? ( virtual/postgresql-base )
70 ssl? ( dev-libs/openssl )"
71
72 DEPEND="${RDEPEND}
73 sys-devel/bison"
74
75 pkg_setup() {
76 enewgroup flows
77 enewuser flows -1 -1 /var/lib/flows flows
78 }
79
80 src_configure() {
81 local myconf="--localstatedir=/etc/flow-tools"
82 use mysql && myconf="${myconf} --with-mysql"
83 if use postgres; then
84 myconf="${myconf} --with-postgresql=yes"
85 else
86 myconf="${myconf} --with-postgresql=no"
87 fi
88 use ssl && myconf="${myconf} --with-openssl"
89 econf ${myconf} || die "econf failed"
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "emake install failed"
94 dodoc ChangeLog README SECURITY TODO
95
96 keepdir /var/lib/flows
97 keepdir /var/lib/flows/bin
98 exeinto /var/lib/flows/bin
99 doexe "${FILESDIR}"/linkme
100 keepdir /var/run/flows
101
102 newinitd "${FILESDIR}/flowcapture.initd" flowcapture
103 newconfd "${FILESDIR}/flowcapture.confd" flowcapture
104
105 }
106
107 pkg_postinst() {
108 chown flows:flows /var/run/flows
109 chown flows:flows /var/lib/flows
110 chown flows:flows /var/lib/flows/bin
111 chmod 0755 /var/run/flows
112 chmod 0755 /var/lib/flows
113 chmod 0755 /var/lib/flows/bin
114 }