miniupnpd: 2.1.20190502 -> 2.3.1

This commit is contained in:
Pavol Rusnak 2022-10-29 10:07:28 +02:00
parent 7cce48d597
commit ead382681e
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

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