1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

net_snmp: update from 5.7.2 to 5.7.2.1, potentially fixes CVE-2014-2284, change source to .zip because tar.gz is broken

This commit is contained in:
Evgeny Egorochkin 2014-03-26 13:04:35 +02:00
parent d2571617c0
commit fa49cba237

View file

@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, file, openssl, perl }:
{ stdenv, fetchurl, autoreconfHook, file, openssl, perl, unzip }:
stdenv.mkDerivation rec {
name = "net-snmp-5.7.2";
name = "net-snmp-5.7.2.1";
src = fetchurl {
url = "mirror://sourceforge/net-snmp/${name}.tar.gz";
sha256 = "05mqrv22c65405d6v91cqf4hvczkkvvyy5lsxw8h8g0zrjs33v89";
url = "mirror://sourceforge/net-snmp/${name}.zip";
sha256 = "1nj3b2x4fhsh82nra99128vqp2lfw5wx91ka8nqwzxvik59hb4dc";
};
preConfigure =
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
"--with-persistent-directory=/var/lib/net-snmp"
];
buildInputs = [ autoreconfHook file openssl perl ];
buildInputs = [ autoreconfHook file openssl perl unzip ];
enableParallelBuilding = true;