diff --git a/miniupnpd/Makefile b/miniupnpd/Makefile index b51abee0d..64df656d9 100644 --- a/miniupnpd/Makefile +++ b/miniupnpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=miniupnpd PKG_VERSION:=2.3.11 -PKG_RELEASE:=11 +PKG_RELEASE:=12 # Build from GitHub archives, as release archives differ from Git in code comments; patches cannot be 1:1 applied PKG_SOURCE_VERSION:=f8c4f4c3320820e615b281147b3043f66c195f17 diff --git a/miniupnpd/patches/020-improve-logging.patch b/miniupnpd/patches/020-improve-logging.patch index 35728a038..d2ab3e117 100644 --- a/miniupnpd/patches/020-improve-logging.patch +++ b/miniupnpd/patches/020-improve-logging.patch @@ -1,4 +1,4 @@ -From 4f5fdc10d22b6a49f38f4d07cc90d691d3a11d92 Mon Sep 17 00:00:00 2001 +From 7305912d42053e72ebe4c70960204efd51e42806 Mon Sep 17 00:00:00 2001 From: Self-Hosting-Group <155233284+Self-Hosting-Group@users.noreply.github.com> Date: Mon, 12 Oct 2026 00:00:00 +0000 @@ -466,7 +466,7 @@ Link: https://github.com/miniupnp/miniupnp/pull/764 + default_min_port = atoi(ary_options[i].value); + break; + case DEFAULT_MAX_PORT: -+ default_min_port = atoi(ary_options[i].value); ++ default_max_port = atoi(ary_options[i].value); + break; case UPNPPORT: v->port = atoi(ary_options[i].value); diff --git a/miniupnpd/test.sh b/miniupnpd/test.sh index 8b977e198..ba8dede67 100755 --- a/miniupnpd/test.sh +++ b/miniupnpd/test.sh @@ -78,8 +78,7 @@ miniupnpd-nftables) common_checks for f in table-post/20-miniupnpd.nft \ chain-post/dstnat/20-miniupnpd.nft \ - chain-post/forward/20-miniupnpd.nft \ - chain-post/srcnat/20-miniupnpd.nft; do + chain-post/forward/20-miniupnpd.nft; do [ -s "/usr/share/nftables.d/$f" ] \ || { echo "FAIL: nft fragment $f missing or empty"; exit 1; } done