Adding ntop. It runs for me, if using "-P directory".
svn path=/nixpkgs/trunk/; revision=33870
This commit is contained in:
parent
0842337d80
commit
2eb8304fcf
29
pkgs/tools/networking/ntop/default.nix
Normal file
29
pkgs/tools/networking/ntop/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ stdenv, fetchurl, autoconf, automake, libtool, wget, libpcap, gdbm, zlib, openssl, rrdtool
|
||||||
|
, python, geoip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ntop-4.1.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/ntop/${name}.tar.gz";
|
||||||
|
sha256 = "19440gnswnqwvkbzpay9hzmnfnhbyc2ifpl2jri8dhcyhxima7n7";
|
||||||
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./autogen.sh
|
||||||
|
cp ${libtool}/share/aclocal/libtool.m4 libtool.m4.in
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildNativeInputs = [ autoconf automake libtool wget libpcap gdbm zlib openssl rrdtool
|
||||||
|
python geoip ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Traffic analysis with NetFlow and sFlow support";
|
||||||
|
|
||||||
|
license = "GLPv3+";
|
||||||
|
|
||||||
|
homepage = http://www.ntop.org/products/ntop/;
|
||||||
|
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1109,6 +1109,8 @@ let
|
|||||||
# ntfsprogs are merged into ntfs-3g
|
# ntfsprogs are merged into ntfs-3g
|
||||||
ntfsprogs = pkgs.ntfs3g;
|
ntfsprogs = pkgs.ntfs3g;
|
||||||
|
|
||||||
|
ntop = callPackage ../tools/networking/ntop { };
|
||||||
|
|
||||||
ntp = callPackage ../tools/networking/ntp { };
|
ntp = callPackage ../tools/networking/ntp { };
|
||||||
|
|
||||||
nssmdns = callPackage ../tools/networking/nss-mdns { };
|
nssmdns = callPackage ../tools/networking/nss-mdns { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user