Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nfdump/files/, net-analyzer/nfdump/
Date: Mon, 11 Dec 2017 20:37:41
Message-Id: 1513024642.5c5fff74a0a578405bde38b9ccde33a23b2c0369.jer@gentoo
1 commit: 5c5fff74a0a578405bde38b9ccde33a23b2c0369
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 11 20:37:22 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 11 20:37:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c5fff74
7
8 net-analyzer/nfdump: Version bump.
9
10 Package-Manager: Portage-2.3.18, Repoman-2.3.6
11
12 net-analyzer/nfdump/Manifest | 1 +
13 .../nfdump/files/nfdump-1.6.16-libnfdump.patch | 10 ++++
14 net-analyzer/nfdump/nfdump-1.6.16.ebuild | 64 ++++++++++++++++++++++
15 3 files changed, 75 insertions(+)
16
17 diff --git a/net-analyzer/nfdump/Manifest b/net-analyzer/nfdump/Manifest
18 index 31403c24762..24d54d76b77 100644
19 --- a/net-analyzer/nfdump/Manifest
20 +++ b/net-analyzer/nfdump/Manifest
21 @@ -1,3 +1,4 @@
22 DIST nfdump-1.6.14-security.patch 31579 BLAKE2B d747526f46837e99193bf761bceb853bb44ea54bc6ca2a9977565742e1485b706f3f33370005ccf5c854429635de01f5cf594fd43122d4a6f8912e2a457d8caf SHA512 ee3b82f1283f3dceb36cf60abcee7f5a8fb6c8fe257e2233c3fbb9a34b3c5608dfa101fd473c8b839356a9d1c294a37b9e65657ff1b2d5c015015ff90b2d2c97
23 DIST nfdump-1.6.14.tar.gz 1834355 BLAKE2B be92ec6c6eb60c883863a21e7d203c487f176e862f6227bf21d17ade2a04815095c5c119719a18c106401519d7976a2b82e46a11b7f207494abef3e0f73d2716 SHA512 c5e5540526dfce3798728930576e4c7930c3ff80893a94d7f9e65c7c577d1e78bdc47a99c47cee837327ad202197afc378d2408b1b9b847044d0110146055ffe
24 DIST nfdump-1.6.15.tar.gz 1834855 BLAKE2B 1892cfbd1d1299c44b14a39b55c766d3dd411d7410a66b8ecbebe590c9da595c79764966ef1c91adb91b936ee3c052ad14bca27c6bcb98472011eb2c67dff60f SHA512 a6bb4f2293ad85d8f16025e7272b889d3814cea2e9255dbd315ee92754675e4ee925c3ebe4e1350f2d5452d69d1d3c13ddeb656324a409c4744da1d4927fe1f2
25 +DIST nfdump-1.6.16.tar.gz 1814857 BLAKE2B cd50680adbb6023915232bb780daf2bcc4319348444a28c89fc4fdfd19225bdf243bb42179a6bd545c06ab6fafa50091401b7a286527d1863c888a96c0b0a2eb SHA512 c1af3cf984c7eaaf1012c71c061e00f12dbcdf276306096436eb707552932c65b9f03e7a22b4cc0989d951c433f32c5c927600a8248826227f10b4fb2d906a32
26
27 diff --git a/net-analyzer/nfdump/files/nfdump-1.6.16-libnfdump.patch b/net-analyzer/nfdump/files/nfdump-1.6.16-libnfdump.patch
28 new file mode 100644
29 index 00000000000..a748969da2e
30 --- /dev/null
31 +++ b/net-analyzer/nfdump/files/nfdump-1.6.16-libnfdump.patch
32 @@ -0,0 +1,10 @@
33 +--- a/bin/Makefile.am
34 ++++ b/bin/Makefile.am
35 +@@ -30,7 +30,6 @@
36 + LDADD = $(DEPS_LIBS)
37 +
38 + #Add extra debug info for gdb
39 +-AM_CFLAGS = -ggdb
40 +
41 + # libnfdump sources
42 + common = nf_common.c nf_common.h
43
44 diff --git a/net-analyzer/nfdump/nfdump-1.6.16.ebuild b/net-analyzer/nfdump/nfdump-1.6.16.ebuild
45 new file mode 100644
46 index 00000000000..4c9925d973e
47 --- /dev/null
48 +++ b/net-analyzer/nfdump/nfdump-1.6.16.ebuild
49 @@ -0,0 +1,64 @@
50 +# Copyright 1999-2017 Gentoo Foundation
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=6
54 +inherit autotools eutils
55 +
56 +DESCRIPTION="A set of tools to collect and process netflow data"
57 +HOMEPAGE="https://github.com/phaag/nfdump"
58 +SRC_URI="
59 + ${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz
60 +"
61 +
62 +LICENSE="BSD"
63 +SLOT="0/1.6.15"
64 +KEYWORDS="~amd64 ~x86"
65 +IUSE="compat15 debug ftconv nfprofile nftrack readpcap sflow static-libs"
66 +
67 +COMMON_DEPEND="
68 + app-arch/bzip2
69 + sys-libs/zlib
70 + ftconv? ( sys-libs/zlib net-analyzer/flow-tools )
71 + nfprofile? ( net-analyzer/rrdtool )
72 + nftrack? ( net-analyzer/rrdtool )
73 + readpcap? ( net-libs/libpcap )
74 +"
75 +DEPEND="
76 + ${COMMON_DEPEND}
77 + sys-devel/flex
78 + virtual/yacc
79 +"
80 +RDEPEND="
81 + ${COMMON_DEPEND}
82 + dev-lang/perl
83 +"
84 +DOCS=( AUTHORS ChangeLog NEWS README )
85 +PATCHES=(
86 + "${FILESDIR}"/${PN}-1.6.14-libft.patch
87 + "${FILESDIR}"/${PN}-1.6.16-libnfdump.patch
88 +)
89 +
90 +src_prepare() {
91 + default
92 +
93 + eautoreconf
94 +}
95 +
96 +src_configure() {
97 + # --without-ftconf is not handled well #322201
98 + econf \
99 + $(use ftconv && echo "--enable-ftconv --with-ftpath=/usr") \
100 + $(use nfprofile && echo --enable-nfprofile) \
101 + $(use nftrack && echo --enable-nftrack) \
102 + $(use_enable compat15) \
103 + $(use_enable debug devel) \
104 + $(use_enable readpcap) \
105 + $(use_enable sflow) \
106 + $(use_enable static-libs static)
107 +}
108 +
109 +src_install() {
110 + default
111 +
112 + prune_libtool_files
113 +}