Merge pull request #33906 from andir/miniupnp

miniupnp{d,c} updates, fix for CVE-2017-1000494
This commit is contained in:
adisbladis 2018-01-16 12:06:10 +08:00 committed by GitHub
commit f0f062b206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ let
}; };
in { in {
miniupnpc_2 = generic { miniupnpc_2 = generic {
version = "2.0.20170509"; version = "2.0.20171212";
sha256 = "0spi75q6nafxp3ndnrhrlqagzmjlp8wwlr5x7rnvdpswgxi6ihyk"; sha256 = "0za7pr6hrr3ajkifirhhxfn3hlhl06f622g8hnj5h8y18sp3bwff";
}; };
miniupnpc_1 = generic { miniupnpc_1 = generic {
version = "1.9.20160209"; version = "1.9.20160209";

View File

@ -3,11 +3,11 @@
assert stdenv.isLinux; assert stdenv.isLinux;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "miniupnpd-2.0"; name = "miniupnpd-2.0.20171212";
src = fetchurl { src = fetchurl {
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz"; url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
sha256 = "1dxzhvkylrnbkd5srb9rb2g4f9ydd1zbjg5sdf190m0g1sha6snr"; sha256 = "0jdcll1nd8jf356fpl0n2yw8sww58nfz6hkx052d77l34afq6sn7";
name = "${name}.tar.gz"; name = "${name}.tar.gz";
}; };