pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/net-snmp - account for in_ifaddr -> in_ifaddrbase ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34775fa22ac1
branches:  trunk
changeset: 465435:34775fa22ac1
user:      christos <christos%pkgsrc.org@localhost>
date:      Tue Dec 30 05:29:45 2003 +0000

description:
- account for in_ifaddr -> in_ifaddrbase in 1.6ZD (I think).
- XXX: whoever ported this needs to revisit it and fix issues such as utmp
  support etc.

diffstat:

 net/net-snmp/Makefile         |   4 ++--
 net/net-snmp/distinfo         |   3 ++-
 net/net-snmp/patches/patch-ac |  16 ++++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 2489bdcb25f4 -r 34775fa22ac1 net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Tue Dec 30 05:07:41 2003 +0000
+++ b/net/net-snmp/Makefile     Tue Dec 30 05:29:45 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2003/11/12 03:39:41 jschauma Exp $
+# $NetBSD: Makefile,v 1.15 2003/12/30 05:29:45 christos Exp $
 
 DISTNAME=      net-snmp-5.0.9
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=net-snmp/} \
                ftp://ftp.net-smnp.org/pub/sourceforge/net-snmp/
diff -r 2489bdcb25f4 -r 34775fa22ac1 net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Tue Dec 30 05:07:41 2003 +0000
+++ b/net/net-snmp/distinfo     Tue Dec 30 05:29:45 2003 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2003/09/14 11:57:03 tron Exp $
+$NetBSD: distinfo,v 1.4 2003/12/30 05:29:45 christos Exp $
 
 SHA1 (net-snmp-5.0.9.tar.gz) = bb27bdf38da96833a3fa55f8c6a14732ab2c1991
 Size (net-snmp-5.0.9.tar.gz) = 2345822 bytes
 SHA1 (patch-aa) = 40ef03e182f8e8bb4f01f67f97c200c6e82f3d82
 SHA1 (patch-ab) = 94146deb60a3923481c52dc66a64a269641a1265
+SHA1 (patch-ac) = 8f4eb73296e817f7bbcb4c9d9ac6f2495d339798
diff -r 2489bdcb25f4 -r 34775fa22ac1 net/net-snmp/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/net-snmp/patches/patch-ac     Tue Dec 30 05:29:45 2003 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2003/12/30 05:29:45 christos Exp $
+
+--- include/net-snmp/system/netbsd.h.orig      2002-04-20 03:30:12.000000000 -0400
++++ include/net-snmp/system/netbsd.h   2003-12-30 00:20:27.000000000 -0500
+@@ -22,6 +22,11 @@
+ #define INP_PREV_SYMBOL inp_queue.cqe_prev
+ #define HAVE_INPCBTABLE 1
+ 
++#if __NetBSD_Version__ >= 106300000       /* NetBSD 1.6ZD */            
++#undef IFADDR_SYMBOL
++#define IFADDR_SYMBOL "in_ifaddrhead"
++#endif
++
+ #define UTMP_FILE _PATH_UTMP
+ 
+ #ifndef netbsd1



Home | Main Index | Thread Index | Old Index