summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-05-29 22:14:23 +0000
committercube <cube@pkgsrc.org>2004-05-29 22:14:23 +0000
commit7228ca7d49239d0b4cfdbe035de0d8b5f5e5f6a1 (patch)
treec312b02317ad46c876361ebe1c94fe7306c240e2 /net
parent47a76e28eb9a0ccad7c4376b8236ae431645edb7 (diff)
downloadpkgsrc-7228ca7d49239d0b4cfdbe035de0d8b5f5e5f6a1.tar.gz
Add a patch to support NetBSD-specific DLT_PPP_SERIAL type. It will be in
the next version of libnids. Patch from Jean-Edouard BABIN in private mail.
Diffstat (limited to 'net')
-rw-r--r--net/libnids/Makefile3
-rw-r--r--net/libnids/distinfo3
-rw-r--r--net/libnids/patches/patch-aa15
3 files changed, 19 insertions, 2 deletions
diff --git a/net/libnids/Makefile b/net/libnids/Makefile
index a0a9e389ae6..cbc9eab9dbe 100644
--- a/net/libnids/Makefile
+++ b/net/libnids/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2004/04/25 04:25:11 snj Exp $
+# $NetBSD: Makefile,v 1.14 2004/05/29 22:14:23 cube Exp $
# $FreeBSD: ports/net/libnids/Makefile,v 1.5 2000/04/24 07:42:58 kris Exp $
#
DISTNAME= libnids-1.18
+PKGREVISION= 1
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libnids/}
diff --git a/net/libnids/distinfo b/net/libnids/distinfo
index b653c445098..02025d7ea24 100644
--- a/net/libnids/distinfo
+++ b/net/libnids/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2003/10/28 16:57:00 cube Exp $
+$NetBSD: distinfo,v 1.6 2004/05/29 22:14:23 cube Exp $
SHA1 (libnids-1.18.tar.gz) = 3494e614e5e5d2f60f2ffe738307e60e77e04a81
Size (libnids-1.18.tar.gz) = 114013 bytes
+SHA1 (patch-aa) = 39c8271928ba37584b875550493e447c1eff0109
diff --git a/net/libnids/patches/patch-aa b/net/libnids/patches/patch-aa
new file mode 100644
index 00000000000..24e3fb86974
--- /dev/null
+++ b/net/libnids/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.3 2004/05/29 22:14:23 cube Exp $
+
+--- src/libnids.c.orig 2003-10-10 19:41:32.000000000 +0200
++++ src/libnids.c
+@@ -452,6 +452,10 @@ int nids_init()
+ case DLT_EN10MB:
+ linkoffset = 14;
+ break;
++#ifdef DLT_PPP_SERIAL
++ /* NetBSD specific type */
++ case DLT_PPP_SERIAL:
++#endif
+ case DLT_PPP:
+ linkoffset = 4;
+ break;