net-snmp: 5.8 -> 5.9
Fixes CVE-2019-20892.
This commit is contained in:
parent
4bd7e25034
commit
e95b84e6a1
|
@ -1,7 +0,0 @@
|
||||||
diff --git a/dist/autoconf-version b/dist/autoconf-version
|
|
||||||
index 264f2ce..5e1b8b0 100644
|
|
||||||
--- a/dist/autoconf-version
|
|
||||||
+++ b/dist/autoconf-version
|
|
||||||
@@ -1 +1 @@
|
|
||||||
-2.68
|
|
||||||
+2.69
|
|
|
@ -2,11 +2,12 @@
|
||||||
, file, openssl, perl, perlPackages, unzip, nettools, ncurses }:
|
, file, openssl, perl, perlPackages, unzip, nettools, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "net-snmp-5.8";
|
pname = "net-snmp";
|
||||||
|
version = "5.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/net-snmp/${name}.tar.gz";
|
url = "mirror://sourceforge/net-snmp/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1pvajzj9gmj56dmwix0ywmkmy2pglh6nny646hkm7ghfhh03bz5j";
|
sha256 = "0wb0vyafpspw3mcifkjjmf17r1r80kjvslycscb8nvaxz1k3lc04";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
|
@ -17,7 +18,6 @@ stdenv.mkDerivation rec {
|
||||||
in [
|
in [
|
||||||
(fetchAlpinePatch "fix-includes.patch" "0zpkbb6k366qpq4dax5wknwprhwnhighcp402mlm7950d39zfa3m")
|
(fetchAlpinePatch "fix-includes.patch" "0zpkbb6k366qpq4dax5wknwprhwnhighcp402mlm7950d39zfa3m")
|
||||||
(fetchAlpinePatch "netsnmp-swinst-crash.patch" "0gh164wy6zfiwiszh58fsvr25k0ns14r3099664qykgpmickkqid")
|
(fetchAlpinePatch "netsnmp-swinst-crash.patch" "0gh164wy6zfiwiszh58fsvr25k0ns14r3099664qykgpmickkqid")
|
||||||
./0002-autoconf-version.patch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "bin" "out" "dev" "lib" ];
|
outputs = [ "bin" "out" "dev" "lib" ];
|
||||||
|
|
Loading…
Reference in a new issue