diff options
Diffstat (limited to 'net/miniupnpd/patches/patch-aa')
-rw-r--r-- | net/miniupnpd/patches/patch-aa | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net/miniupnpd/patches/patch-aa b/net/miniupnpd/patches/patch-aa deleted file mode 100644 index f7668799368..00000000000 --- a/net/miniupnpd/patches/patch-aa +++ /dev/null @@ -1,35 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2009/06/04 07:54:26 hasso Exp $ - ---- genconfig.sh.orig 2008-10-01 15:49:26 +0300 -+++ genconfig.sh 2009-05-07 11:23:34 +0300 -@@ -96,14 +96,25 @@ case $OS_NAME in - ;; - NetBSD) - OS_URL=http://www.netbsd.org/ -- if [ -f /usr/include/net/pfvar.h ] ; then -- echo "#define USE_PF 1" >> ${CONFIGFILE} -- FW=pf -+ FWNAME_UPPER="$(echo $FWNAME | tr '[a-z]' '[A-Z]')" -+ if [ ! "x$FWNAME" = "x" ]; then -+ FW=${FWNAME} -+ echo "#define USE_${FWNAME_UPPER} 1" >> ${CONFIGFILE} - else -- echo "#define USE_IPF 1" >> ${CONFIGFILE} -- FW=ipf -+ if [ -f /usr/include/net/pfvar.h ] ; then -+ echo "#define USE_PF 1" >> ${CONFIGFILE} -+ FW=pf -+ else -+ echo "#define USE_IPF 1" >> ${CONFIGFILE} -+ FW=ipf -+ fi - fi - ;; -+ DragonFly) -+ OS_URL=http://www.dragonflybsd.org/ -+ echo "#define USE_PF 1" >> ${CONFIGFILE} -+ FW=pf -+ ;; - SunOS) - echo "#define USE_IPF 1" >> ${CONFIGFILE} - FW=ipf |