From ead382681efee646ee446a8ef73cd85ef33bbfac Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 29 Oct 2022 10:07:28 +0200 Subject: [PATCH] miniupnpd: 2.1.20190502 -> 2.3.1 --- pkgs/tools/networking/miniupnpd/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/networking/miniupnpd/default.nix b/pkgs/tools/networking/miniupnpd/default.nix index da950cdd2b8e..b3a10fee2c4e 100644 --- a/pkgs/tools/networking/miniupnpd/default.nix +++ b/pkgs/tools/networking/miniupnpd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, iptables, libuuid, pkg-config +{ stdenv, lib, fetchurl, iptables, libuuid, openssl, pkg-config , which, iproute2, gnused, coreutils, gawk, makeWrapper , nixosTests }: @@ -8,20 +8,20 @@ let in stdenv.mkDerivation rec { pname = "miniupnpd"; - version = "2.1.20190502"; + version = "2.3.1"; src = fetchurl { - url = "http://miniupnp.free.fr/files/download.php?file=miniupnpd-${version}.tar.gz"; - sha256 = "1m8d0g9b0bjwsnqccw1yapp6n0jghmgzwixwjflwmvi2fi6hdp4b"; - name = "miniupnpd-${version}.tar.gz"; + url = "https://miniupnp.tuxfamily.org/files/miniupnpd-${version}.tar.gz"; + sha256 = "0crv975qqppnj27jba96yysq2911y49vjd74sp9vnjb54z0d9pyi"; }; - buildInputs = [ iptables libuuid ]; + buildInputs = [ iptables libuuid openssl ]; nativeBuildInputs= [ pkg-config makeWrapper ]; - makefile = "Makefile.linux"; - buildFlags = [ "miniupnpd" "genuuid" ]; + # ./configure is not a standard configure file, errors with: + # Option not recognized : --prefix= + dontAddPrefix = true; installFlags = [ "PREFIX=$(out)" "INSTALLPREFIX=$(out)" ]; @@ -37,7 +37,7 @@ stdenv.mkDerivation rec { }; meta = with lib; { - homepage = "http://miniupnp.free.fr/"; + homepage = "https://miniupnp.tuxfamily.org/"; description = "A daemon that implements the UPnP Internet Gateway Device (IGD) specification"; platforms = platforms.linux; license = licenses.bsd3;