Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

miniupnpd: 2.1.20190502 -> 2.3.1

+9 -9
+9 -9
pkgs/tools/networking/miniupnpd/default.nix
··· 1 - { stdenv, lib, fetchurl, iptables, libuuid, pkg-config 1 + { stdenv, lib, fetchurl, iptables, libuuid, openssl, pkg-config 2 2 , which, iproute2, gnused, coreutils, gawk, makeWrapper 3 3 , nixosTests 4 4 }: ··· 8 8 in 9 9 stdenv.mkDerivation rec { 10 10 pname = "miniupnpd"; 11 - version = "2.1.20190502"; 11 + version = "2.3.1"; 12 12 13 13 src = fetchurl { 14 - url = "http://miniupnp.free.fr/files/download.php?file=miniupnpd-${version}.tar.gz"; 15 - sha256 = "1m8d0g9b0bjwsnqccw1yapp6n0jghmgzwixwjflwmvi2fi6hdp4b"; 16 - name = "miniupnpd-${version}.tar.gz"; 14 + url = "https://miniupnp.tuxfamily.org/files/miniupnpd-${version}.tar.gz"; 15 + sha256 = "0crv975qqppnj27jba96yysq2911y49vjd74sp9vnjb54z0d9pyi"; 17 16 }; 18 17 19 - buildInputs = [ iptables libuuid ]; 18 + buildInputs = [ iptables libuuid openssl ]; 20 19 nativeBuildInputs= [ pkg-config makeWrapper ]; 21 20 22 - makefile = "Makefile.linux"; 23 21 24 - buildFlags = [ "miniupnpd" "genuuid" ]; 22 + # ./configure is not a standard configure file, errors with: 23 + # Option not recognized : --prefix= 24 + dontAddPrefix = true; 25 25 26 26 installFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ]; 27 27 ··· 37 37 }; 38 38 39 39 meta = with lib; { 40 - homepage = "http://miniupnp.free.fr/"; 40 + homepage = "https://miniupnp.tuxfamily.org/"; 41 41 description = "A daemon that implements the UPnP Internet Gateway Device (IGD) specification"; 42 42 platforms = platforms.linux; 43 43 license = licenses.bsd3;