net-snmp: 5.8 -> 5.9

Fixes CVE-2019-20892.
This commit is contained in:
Thomas Gerbet 2021-01-26 18:24:29 +01:00
parent 4bd7e25034
commit e95b84e6a1
2 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -2,11 +2,12 @@
, file, openssl, perl, perlPackages, unzip, nettools, ncurses }:
stdenv.mkDerivation rec {
name = "net-snmp-5.8";
pname = "net-snmp";
version = "5.9";
src = fetchurl {
url = "mirror://sourceforge/net-snmp/${name}.tar.gz";
sha256 = "1pvajzj9gmj56dmwix0ywmkmy2pglh6nny646hkm7ghfhh03bz5j";
url = "mirror://sourceforge/net-snmp/${pname}-${version}.tar.gz";
sha256 = "0wb0vyafpspw3mcifkjjmf17r1r80kjvslycscb8nvaxz1k3lc04";
};
patches =
@ -17,7 +18,6 @@ stdenv.mkDerivation rec {
in [
(fetchAlpinePatch "fix-includes.patch" "0zpkbb6k366qpq4dax5wknwprhwnhighcp402mlm7950d39zfa3m")
(fetchAlpinePatch "netsnmp-swinst-crash.patch" "0gh164wy6zfiwiszh58fsvr25k0ns14r3099664qykgpmickkqid")
./0002-autoconf-version.patch
];
outputs = [ "bin" "out" "dev" "lib" ];