nfdump: 1.6.16 -> 1.6.17 (#57306)
* nfdump: 1.6.16 -> 1.6.17 Build system switched to autotools in the new version. Also enabled the build of a few additional tools. - Remove unneeded call to patchShebangs - Add a comment explaining the darwin libtoolize workaround
This commit is contained in:
parent
3f901ea7a4
commit
674d7f42c3
|
@ -1,19 +1,34 @@
|
|||
{ stdenv, fetchFromGitHub, bzip2, yacc, flex }:
|
||||
{ stdenv, fetchFromGitHub
|
||||
, autoconf, automake, libtool, pkg-config
|
||||
, bzip2, libpcap, flex, yacc }:
|
||||
|
||||
let version = "1.6.16"; in
|
||||
let version = "1.6.17"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
name = "nfdump-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phaag";
|
||||
repo = "nfdump";
|
||||
rev = "v${version}";
|
||||
sha256 = "0dgrzf9m4rg5ygibjw21gjdm9am3570wys7wdh5k16nsnyai1gqm";
|
||||
sha256 = "1z8zpvd9jfi2raafcbkykw55y0hd4mp74jvna19h3k0g86mqkxya";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [yacc flex];
|
||||
buildInputs = [bzip2];
|
||||
nativeBuildInputs = [ autoconf automake flex libtool pkg-config yacc ];
|
||||
buildInputs = [ bzip2 libpcap ];
|
||||
|
||||
preConfigure = ''
|
||||
# The script defaults to glibtoolize on darwin, so we pass the correct
|
||||
# name explicitly.
|
||||
LIBTOOLIZE=libtoolize ./autogen.sh
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--enable-nsel"
|
||||
"--enable-sflow"
|
||||
"--enable-readpcap"
|
||||
"--enable-nfpcapd"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tools for working with netflow data";
|
||||
|
|
Loading…
Reference in New Issue