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: flow-tools-0.68.5.1-r4.ebuild ChangeLog flow-tools-0.68.5.1-r3.ebuild
Date: Sat, 23 Aug 2014 09:35:06
Message-Id: 20140823093502.EFEF43C29@oystercatcher.gentoo.org
1 jer 14/08/23 09:35:02
2
3 Modified: ChangeLog
4 Added: flow-tools-0.68.5.1-r4.ebuild
5 Removed: flow-tools-0.68.5.1-r3.ebuild
6 Log:
7 Convert sed script to patch. Fix syslog calls without format (bug #520520).
8
9 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.71 net-analyzer/flow-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/ChangeLog?rev=1.71&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/ChangeLog?rev=1.71&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/ChangeLog?r1=1.70&r2=1.71
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v
21 retrieving revision 1.70
22 retrieving revision 1.71
23 diff -u -r1.70 -r1.71
24 --- ChangeLog 11 Jul 2014 12:24:50 -0000 1.70
25 +++ ChangeLog 23 Aug 2014 09:35:02 -0000 1.71
26 @@ -1,6 +1,13 @@
27 # ChangeLog for net-analyzer/flow-tools
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.70 2014/07/11 12:24:50 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.71 2014/08/23 09:35:02 jer Exp $
31 +
32 +*flow-tools-0.68.5.1-r4 (23 Aug 2014)
33 +
34 + 23 Aug 2014; Jeroen Roovers <jer@g.o> -flow-tools-0.68.5.1-r3.ebuild,
35 + +flow-tools-0.68.5.1-r4.ebuild, +files/flow-tools-0.68.5.1-run.patch,
36 + +files/flow-tools-0.68.5.1-syslog.patch:
37 + Convert sed script to patch. Fix syslog calls without format (bug #520520).
38
39 *flow-tools-0.68.5.1-r3 (11 Jul 2014)
40
41
42
43
44 1.1 net-analyzer/flow-tools/flow-tools-0.68.5.1-r4.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: flow-tools-0.68.5.1-r4.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r4.ebuild,v 1.1 2014/08/23 09:35:02 jer Exp $
54
55 EAPI=5
56 inherit eutils user
57
58 DESCRIPTION="library and programs to collect, send, process, and generate reports from NetFlow data"
59 HOMEPAGE="http://code.google.com/p/flow-tools/"
60 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
61
62 LICENSE="BSD GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE="debug mysql postgres ssl static-libs"
66
67 RDEPEND="sys-apps/tcp-wrappers
68 sys-libs/zlib
69 mysql? ( virtual/mysql )
70 postgres? ( dev-db/postgresql-base )
71 ssl? ( dev-libs/openssl )"
72
73 DEPEND="${RDEPEND}
74 sys-devel/flex
75 sys-devel/bison"
76
77 DOCS=( ChangeLog README SECURITY TODO )
78
79 pkg_setup() {
80 enewgroup flows
81 enewuser flows -1 -1 /var/lib/flows flows
82 }
83
84 src_prepare() {
85 epatch "${FILESDIR}"/${P}-run.patch
86 epatch "${FILESDIR}"/${P}-syslog.patch
87 }
88
89 src_configure() {
90 econf \
91 $(use_enable static-libs static) \
92 $(usex mysql --with-mysql '') \
93 $(usex postgres --with-postgresql=yes --with-postgresql=no) \
94 $(usex ssl --with-openssl '') \
95 --sysconfdir=/etc/flow-tools
96 }
97
98 src_install() {
99 default
100
101 prune_libtool_files
102
103 exeinto /var/lib/flows/bin
104 doexe "${FILESDIR}"/linkme
105
106 keepdir /var/lib/flows/ft
107
108 newinitd "${FILESDIR}/flowcapture.initd" flowcapture
109 newconfd "${FILESDIR}/flowcapture.confd" flowcapture
110
111 fowners flows:flows /var/lib/flows
112 fowners flows:flows /var/lib/flows/bin
113 fowners flows:flows /var/lib/flows/ft
114
115 fperms 0755 /var/lib/flows
116 fperms 0755 /var/lib/flows/bin
117 }
118
119 pkg_preinst() {
120 enewgroup flows
121 enewuser flows -1 -1 /var/lib/flows flows
122 }