forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
miniupnpd: create iptables and nftables variant
The next OpenWrt stable release aims to use firewall4 by default. As this uses nftables as backend, miniupnpd will no longer work. Create an iptables and nftables variant of the miniupnpd package so that miniupnpd can be used with either firewall variant. See openwrt#16818 for more info. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
- Loading branch information
Showing
4 changed files
with
69 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
net/miniupnpd/patches/100-miniupnpd-configure-don-t-hardcode-iptables.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 51a422407b22f0cb7188ea4bfb3867b2bbfcfe68 Mon Sep 17 00:00:00 2001 | ||
From: Stijn Tintel <stijn@linux-ipv6.be> | ||
Date: Sun, 7 Nov 2021 20:24:29 +0200 | ||
Subject: [PATCH] miniupnpd/configure: don't hardcode iptables | ||
|
||
The OpenWrt Makefile that builds miniupnpd passes the firewall argument | ||
to the configure script, so this is not needed and it is blocking us | ||
from using nftables instead, which will be the default backend for | ||
firewall4 to be used in the next OpenWrt stable release. | ||
|
||
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> | ||
--- | ||
configure | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
--- a/configure | ||
+++ b/configure | ||
@@ -387,7 +387,6 @@ case $OS_NAME in | ||
OpenWRT) | ||
OS_URL=http://www.openwrt.org/ | ||
echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} | ||
- FW=iptables | ||
;; | ||
OpenEmbedded) | ||
OS_URL=http://www.openembedded.org/ |