summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2003-12-30 05:29:45 +0000
committerchristos <christos@pkgsrc.org>2003-12-30 05:29:45 +0000
commitf27fd298e9721dc283049e5cb5fbc8b8764b93ef (patch)
treea0b2b249b24b1c44a1981e4f9291463e7bb5ea40 /net/net-snmp
parent4b7d653bef662125c1fa262bf66de5369e6db9fd (diff)
downloadpkgsrc-f27fd298e9721dc283049e5cb5fbc8b8764b93ef.tar.gz
- 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 (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/Makefile4
-rw-r--r--net/net-snmp/distinfo3
-rw-r--r--net/net-snmp/patches/patch-ac16
3 files changed, 20 insertions, 3 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 6ed01dcffb8..06067e74e2c 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -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 --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index d52958da032..d159219eeca 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -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 --git a/net/net-snmp/patches/patch-ac b/net/net-snmp/patches/patch-ac
new file mode 100644
index 00000000000..e5937158fe9
--- /dev/null
+++ b/net/net-snmp/patches/patch-ac
@@ -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