summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcube <cube>2004-05-29 22:14:23 +0000
committercube <cube>2004-05-29 22:14:23 +0000
commit1a88c39e87802ae0073d6b4ba2eb7cddd7fda957 (patch)
treec312b02317ad46c876361ebe1c94fe7306c240e2
parent0fb4e96c60bdfb46ff98de80dc4cb70a11b2702a (diff)
downloadpkgsrc-1a88c39e87802ae0073d6b4ba2eb7cddd7fda957.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.
-rw-r--r--doc/CHANGES3
-rw-r--r--net/libnids/Makefile3
-rw-r--r--net/libnids/distinfo3
-rw-r--r--net/libnids/patches/patch-aa15
4 files changed, 21 insertions, 3 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 8720001dfb2..6f8cedb4139 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.6068 2004/05/29 20:47:41 kristerw Exp $
+$NetBSD: CHANGES,v 1.6069 2004/05/29 22:14:23 cube Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -2697,3 +2697,4 @@ Changes to the packages collection and infrastructure in 2004:
Updated latex-mk to 1.3 [dmcmahill 2004-05-29]
Updated ghc to 6.2.1 [kristerw 2004-05-29]
Updated opensp to 1.5.1nb1 [kristerw 2004-05-29]
+ Updated libnids to 1.18nb1 [cube 2004-05-29]
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;