pkgsrc/net/miniupnpd/patches/patch-genconfig.sh
adam 1557a0b727 Changes 1.8.20140523:
* Add ipv6_bind_address (option "ipv6_listening_ip")
* disable IPv6 when socket(PF_INTET6, ...) errors with EAFNOSUPPORT
* Add IPV6 multicast membership only on selected "LAN" interfaces
2014-07-10 13:44:22 +00:00

15 lines
316 B
Bash

$NetBSD: patch-genconfig.sh,v 1.1 2014/07/10 13:44:22 adam Exp $
Avoid firewall type auto-detection.
--- genconfig.sh.orig 2014-07-10 10:43:05.000000000 +0000
+++ genconfig.sh
@@ -293,7 +293,7 @@ case $OS_NAME in
;;
esac
-case $FW in
+case @FWNAME@ in
pf)
echo "#define USE_PF 1" >> ${CONFIGFILE}
;;