summaryrefslogtreecommitdiff
path: root/net/nidentd/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/nidentd/patches/patch-aa')
-rw-r--r--net/nidentd/patches/patch-aa29
1 files changed, 12 insertions, 17 deletions
diff --git a/net/nidentd/patches/patch-aa b/net/nidentd/patches/patch-aa
index 84cd43606d6..6d6da9f2e03 100644
--- a/net/nidentd/patches/patch-aa
+++ b/net/nidentd/patches/patch-aa
@@ -1,22 +1,17 @@
-$NetBSD: patch-aa,v 1.2 2002/03/29 17:10:02 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2002/05/05 23:51:28 hubertf Exp $
---- nidentd.sh.orig Thu Mar 28 13:54:38 2002
-+++ nidentd.sh
-@@ -25,7 +25,7 @@
- #
- # Path to LSOF !
+--- nidentd.orig Mon May 6 00:37:54 2002
++++ nidentd
+@@ -1,9 +1,9 @@
+ #!/bin/sh
--lsof="/usr/pkg/sbin/lsof -P -n -i -Di"
-+lsof="@LOCALBASE@/sbin/lsof -P -n -i -Di"
+-v_lsof="/usr/pkg/sbin/lsof -P -n -Di"
++v_lsof="@LOCALBASE@/sbin/lsof -P -n -Di"
+ v_ipnat="/usr/sbin/ipnat -l"
+-v_nat_conf="/usr/local/etc/nidentd.nat"
+-v_fake_conf="/usr/local/etc/nidentd.fake"
++v_nat_conf="@LOCALBASE@/etc/nidentd.nat"
++v_fake_conf="@LOCALBASE@/etc/nidentd.fake"
# Protocol independent
-@@ -42,7 +42,7 @@
- masqip=`/usr/sbin/ipnat -l | grep MAP | egrep " $qlport " | egrep " $qrport" | awk '{ print $2 }' | tr -c -d '.1234567890'`
- lport=`/usr/sbin/ipnat -l | grep MAP | egrep " $qlport " | egrep " $qrport" | awk '{ print $7 }'`
- rport=`/usr/sbin/ipnat -l | grep MAP | egrep " $qlport " | egrep " $qrport" | awk '{ print $9 }' | tr -d ] `
--hostn=`grep ^$masqip /usr/local/etc/identn.conf | awk -F: '{ print $2 }'`
-+hostn=`grep ^$masqip /usr/local/etc/nidentd.conf | awk -F: '{ print $2 }'`
- if [ -n $qlport ] && [ -n $qrport ] && [ -n $lport ] && [ $rport ]
- then
- if [ $qlport -eq $lport ] && [ $qrport -eq $rport ]