pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add a patch to support NetBSD-specific DLT_PPP_SERIAL ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d42215d5877
branches:  trunk
changeset: 475930:8d42215d5877
user:      cube <cube%pkgsrc.org@localhost>
date:      Sat May 29 22:14:23 2004 +0000

description:
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:

 doc/CHANGES                  |   3 ++-
 net/libnids/Makefile         |   3 ++-
 net/libnids/distinfo         |   3 ++-
 net/libnids/patches/patch-aa |  15 +++++++++++++++
 4 files changed, 21 insertions(+), 3 deletions(-)

diffs (57 lines):

diff -r 3ff1fe9da988 -r 8d42215d5877 doc/CHANGES
--- a/doc/CHANGES       Sat May 29 21:41:30 2004 +0000
+++ b/doc/CHANGES       Sat May 29 22:14:23 2004 +0000
@@ -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 @@
        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 -r 3ff1fe9da988 -r 8d42215d5877 net/libnids/Makefile
--- a/net/libnids/Makefile      Sat May 29 21:41:30 2004 +0000
+++ b/net/libnids/Makefile      Sat May 29 22:14:23 2004 +0000
@@ -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 -r 3ff1fe9da988 -r 8d42215d5877 net/libnids/distinfo
--- a/net/libnids/distinfo      Sat May 29 21:41:30 2004 +0000
+++ b/net/libnids/distinfo      Sat May 29 22:14:23 2004 +0000
@@ -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 -r 3ff1fe9da988 -r 8d42215d5877 net/libnids/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libnids/patches/patch-aa      Sat May 29 22:14:23 2004 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index