Adding dnstop

svn path=/nixpkgs/trunk/; revision=30209
This commit is contained in:
Lluís Batlle i Rossell 2011-11-03 18:43:48 +00:00
parent 583fbe814f
commit 15c16f50aa
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, libpcap, ncurses }:
stdenv.mkDerivation {
name = "dnstop-20110502";
src = fetchurl {
url = http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20110502.tar.gz;
sha256 = "0ra3xjf7dwvq5xm6qbqd2al35vigibihy46rsz1860qrn3wycy12";
};
buildInputs = [ libpcap ncurses ];
preInstall = ''
ensureDir $out/share/man/man8 $out/bin
'';
meta = {
description = "libpcap application that displays DNS traffic on your network";
homepage = "http://dns.measurement-factory.com/tools/dnstop";
license = "BSD";
};
}

View File

@ -571,6 +571,8 @@ let
# TODO i18n can be installed as well, implement it?
};
dnstop = callPackage ../tools/networking/dnstop { };
dhcp = callPackage ../tools/networking/dhcp { };
dhcpcd = callPackage ../tools/networking/dhcpcd { };