miniupnpd: 1.9.20160209 -> 1.9.20160212
Changes: - return error 729 - ConflictWithOtherMechanisms if IGD v2 is enabled. - add iptc_init() check in iptcrdr.c/init_redirect() - add update_portmapping() / update_portmapping_desc_timestamp() functions - use Linux libuuid uuid_generate() / BSD uuid_create() API Changes: https://github.com/miniupnp/miniupnp/blob/master/miniupnpd/Changelog.txt
This commit is contained in:
parent
6b9ae8bada
commit
54e82445cb
@ -1,21 +1,19 @@
|
|||||||
{ stdenv, fetchurl, iptables, pkgconfig }:
|
{ stdenv, fetchurl, iptables, libuuid, pkgconfig }:
|
||||||
|
|
||||||
assert stdenv.isLinux;
|
assert stdenv.isLinux;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "miniupnpd-1.9.20160209";
|
name = "miniupnpd-1.9.20160212";
|
||||||
|
|
||||||
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 = "0r4giqsr39s17mn9lmmy3zawrfj7kj9im7nzv7mx3rgz2ncw092z";
|
sha256 = "1fsl46f7lrhpb597m0a905nwijpf188cchgg6pz39fx2mgjjjk9l";
|
||||||
name = "${name}.tar.gz";
|
name = "${name}.tar.gz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ iptables ];
|
buildInputs = [ iptables libuuid ];
|
||||||
nativeBuildInputs= [ pkgconfig ];
|
nativeBuildInputs= [ pkgconfig ];
|
||||||
|
|
||||||
NIX_CFLAGS_LINK = "-liptc";
|
|
||||||
|
|
||||||
makefile = "Makefile.linux";
|
makefile = "Makefile.linux";
|
||||||
|
|
||||||
buildFlags = "miniupnpd genuuid";
|
buildFlags = "miniupnpd genuuid";
|
||||||
|
Loading…
Reference in New Issue
Block a user