summaryrefslogtreecommitdiff
path: root/net/tcpflow
diff options
context:
space:
mode:
authorcjs <cjs@pkgsrc.org>2004-08-20 07:10:53 +0000
committercjs <cjs@pkgsrc.org>2004-08-20 07:10:53 +0000
commita78f5445fd3029f5274c3bb000fdbe9aac9136c7 (patch)
tree96e0ff90dc589aab14b54a8faef80ea22f5d679d /net/tcpflow
parent6070cb65798480b630b990a983b5373fd0581b34 (diff)
downloadpkgsrc-a78f5445fd3029f5274c3bb000fdbe9aac9136c7.tar.gz
Add a patch: the address family coming back from the loopback interface is
in host, not network format. At least, this is the case for NetBSD. I don't know what systems out there exist where this is not the case, but Linux is one possibility.
Diffstat (limited to 'net/tcpflow')
-rw-r--r--net/tcpflow/Makefile3
-rw-r--r--net/tcpflow/distinfo3
-rw-r--r--net/tcpflow/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/net/tcpflow/Makefile b/net/tcpflow/Makefile
index 387295e3c36..7af4c9d5161 100644
--- a/net/tcpflow/Makefile
+++ b/net/tcpflow/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/04/18 07:33:30 snj Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/20 07:10:53 cjs Exp $
#
DISTNAME= tcpflow-0.20
+PKGREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://www.circlemud.org/pub/jelson/tcpflow/
diff --git a/net/tcpflow/distinfo b/net/tcpflow/distinfo
index 92ff24f780a..94dff81f8d2 100644
--- a/net/tcpflow/distinfo
+++ b/net/tcpflow/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/04/10 17:08:13 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/08/20 07:10:53 cjs Exp $
SHA1 (tcpflow-0.20.tar.gz) = 833d369e36828fa132106df93c604cc1c42c23c7
Size (tcpflow-0.20.tar.gz) = 72131 bytes
+SHA1 (patch-aa) = cf3774eb228191bf1b7b42820022f12990dfca99
diff --git a/net/tcpflow/patches/patch-aa b/net/tcpflow/patches/patch-aa
new file mode 100644
index 00000000000..63c69a3bc02
--- /dev/null
+++ b/net/tcpflow/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/08/20 07:10:53 cjs Exp $
+
+--- datalink.c.orig 1999-04-21 10:40:13.000000000 +0900
++++ datalink.c 2004-08-20 16:02:02.000000000 +0900
+@@ -64,7 +64,7 @@
+ #ifndef DLT_NULL_BROKEN
+ /* make sure this is AF_INET */
+ memcpy((char *)&family, (char *)p, sizeof(family));
+- family = ntohl(family);
++ family = family;
+ if (family != AF_INET) {
+ DEBUG(6) ("warning: received non-AF_INET null frame (type %d)", family);
+ return;