tcpdump: 4.9.3 -> 4.99.0
Changelog: https://www.tcpdump.org/tcpdump-changes.txt
This commit is contained in:
parent
ecd2d63dfd
commit
da55ee488f
@ -1,22 +1,14 @@
|
|||||||
{ lib, stdenv, fetchurl, libpcap, perl, fetchpatch }:
|
{ lib, stdenv, fetchurl, libpcap, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tcpdump";
|
pname = "tcpdump";
|
||||||
version = "4.9.3";
|
version = "4.99.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.tcpdump.org/release/${pname}-${version}.tar.gz";
|
url = "http://www.tcpdump.org/release/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c";
|
sha256 = "0hmqh2fx8rgs9v1mk3vpywj61xvkifz260q685xllxr8jmxg3wlc";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Patch for CVE-2020-8037
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/the-tcpdump-group/tcpdump/commit/32027e199368dad9508965aae8cd8de5b6ab5231.patch";
|
|
||||||
sha256 = "sha256-bO3aV032ru9+M/9isBRjmH8jTZLKj9Zf9ha2rmOaZwc=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs tests
|
patchShebangs tests
|
||||||
'';
|
'';
|
||||||
@ -29,11 +21,11 @@ stdenv.mkDerivation rec {
|
|||||||
(stdenv.hostPlatform != stdenv.buildPlatform)
|
(stdenv.hostPlatform != stdenv.buildPlatform)
|
||||||
"ac_cv_linux_vers=2";
|
"ac_cv_linux_vers=2";
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Network sniffer";
|
description = "Network sniffer";
|
||||||
homepage = "http://www.tcpdump.org/";
|
homepage = "https://www.tcpdump.org/";
|
||||||
license = "BSD-style";
|
license = licenses.bsd3;
|
||||||
maintainers = with lib.maintainers; [ globin ];
|
maintainers = with maintainers; [ globin ];
|
||||||
platforms = lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user