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/nfdump: nfdump-1.6.12.ebuild ChangeLog
Date: Fri, 27 Jun 2014 03:14:46
Message-Id: 20140627031426.6C93B20036@flycatcher.gentoo.org
1 jer 14/06/27 03:14:26
2
3 Modified: ChangeLog
4 Added: nfdump-1.6.12.ebuild
5 Log:
6 Version bump. Replace shipped minilzo (bug #515278). Work around parallel make issue in src_test().
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.36 net-analyzer/nfdump/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 14 Aug 2013 12:48:31 -0000 1.35
24 +++ ChangeLog 27 Jun 2014 03:14:26 -0000 1.36
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-analyzer/nfdump
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/ChangeLog,v 1.35 2013/08/14 12:48:31 jer Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/ChangeLog,v 1.36 2014/06/27 03:14:26 jer Exp $
31 +
32 +*nfdump-1.6.12 (27 Jun 2014)
33 +
34 + 27 Jun 2014; Jeroen Roovers <jer@g.o> +nfdump-1.6.12.ebuild:
35 + Version bump. Replace shipped minilzo (bug #515278). Work around parallel
36 + make issue in src_test().
37
38 *nfdump-1.6.10_p1 (14 Aug 2013)
39
40
41
42
43 1.1 net-analyzer/nfdump/nfdump-1.6.12.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.12.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.12.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nfdump-1.6.12.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nfdump/nfdump-1.6.12.ebuild,v 1.1 2014/06/27 03:14:26 jer Exp $
53
54 EAPI=5
55 inherit autotools eutils
56
57 MY_P="${P/_/}"
58 DESCRIPTION="A set of tools to collect and process netflow data"
59 HOMEPAGE="http://nfdump.sourceforge.net/"
60 SRC_URI="
61 mirror://sourceforge/nfdump/${MY_P}.tar.gz
62 http://www.oberhumer.com/opensource/lzo/download/minilzo-2.07.tar.gz
63 "
64
65 LICENSE="BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="compat15 debug ftconv nfprofile nftrack readpcap sflow"
69
70 CDEPEND="
71 ftconv? ( sys-libs/zlib net-analyzer/flow-tools )
72 nfprofile? ( net-analyzer/rrdtool )
73 nftrack? ( net-analyzer/rrdtool )
74 readpcap? ( net-libs/libpcap )
75 "
76 DEPEND="
77 ${CDEPEND}
78 sys-devel/flex
79 virtual/yacc
80 "
81 RDEPEND="
82 ${CDEPEND}
83 dev-lang/perl
84 "
85
86 DOCS=( AUTHORS ChangeLog NEWS README )
87
88 S="${WORKDIR}/${MY_P}"
89
90 src_prepare() {
91 # bug #515278
92 cp "${WORKDIR}"/minilzo-2.07/*.{c,h} "${S}"/bin || die
93
94 if use ftconv; then
95 sed -e '/ftbuild.h/d' -i bin/ft2nfdump.c || die
96 sed \
97 -e 's:lib\(/ftlib.h\):include\1:' \
98 -e 's:libft.a:libft.so:' \
99 \-i configure.in || die
100 fi
101 sed -i bin/Makefile.am -e '/^AM_CFLAGS/d' || die
102 eautoreconf
103 }
104
105 src_configure() {
106 # --without-ftconf is not handled well #322201
107 econf \
108 $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \
109 $(use nfprofile && echo --enable-nfprofile) \
110 $(use nftrack && echo --enable-nftrack) \
111 $(use_enable compat15) \
112 $(use_enable debug devel) \
113 $(use_enable readpcap) \
114 $(use_enable sflow)
115 }
116
117 src_test() {
118 emake -j1 check
119 }