2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, libpcap, perl }:
|
2015-02-05 13:52:14 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2015-02-05 13:52:14 +00:00
|
|
|
name = "dhcpdump-1.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://archive.ubuntu.com/ubuntu/pool/universe/d/dhcpdump/dhcpdump_1.8.orig.tar.gz";
|
|
|
|
sha256 = "143iyzkqvhj4dscwqs75jvfr4wvzrs11ck3fqn5p7yv2h50vjpkd";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libpcap perl];
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "fortify" ];
|
2016-02-12 00:40:58 +00:00
|
|
|
|
2015-02-05 13:52:14 +00:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -pv $out/bin
|
|
|
|
cp dhcpdump $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-02-05 13:52:14 +00:00
|
|
|
description = "A tool for visualization of DHCP packets as recorded and output by tcpdump to analyze DHCP server responses";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.mavetju.org/unix/dhcpdump-man.php";
|
2018-09-10 20:20:19 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
2015-02-05 13:52:14 +00:00
|
|
|
};
|
|
|
|
}
|