pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/net-snmp Changes 5.4.2:
details: https://anonhg.NetBSD.org/pkgsrc/rev/8de98b1899e8
branches: trunk
changeset: 546849:8de98b1899e8
user: adam <adam%pkgsrc.org@localhost>
date: Mon Sep 08 12:58:09 2008 +0000
description:
Changes 5.4.2:
snmplib:
- [PATCH 1921861]: Avoid endless loop after truncating 64bit int
- Better handling of CONTAINER_INSERT failures with multiple indices
snmpd:
- [PATCH 2023633]: add SCTP-MIB implementation (Linux only)
- suppress annoying "registration != duplicate" warning for root oids
build:
- [BUG 2023803]: Compilation problems on HP-UX 11.31
- Update to libtool 1.5.26
AIX:
- Add support for AIX 6.x.
diffstat:
net/net-snmp/Makefile | 4 +-
net/net-snmp/PLIST | 4 +-
net/net-snmp/distinfo | 31 +++++-------
net/net-snmp/patches/patch-aa | 6 +-
net/net-snmp/patches/patch-ac | 76 +++++++++++++++++-------------
net/net-snmp/patches/patch-ad | 103 ------------------------------------------
net/net-snmp/patches/patch-af | 76 +++++++++++++++++-------------
net/net-snmp/patches/patch-am | 20 ++++----
net/net-snmp/patches/patch-dc | 8 +-
net/net-snmp/patches/patch-dn | 6 +-
net/net-snmp/patches/patch-dr | 10 ++--
net/net-snmp/patches/patch-ds | 10 ++--
net/net-snmp/patches/patch-du | 24 +++++----
net/net-snmp/patches/patch-ea | 13 -----
net/net-snmp/patches/patch-ee | 13 -----
net/net-snmp/patches/patch-ej | 13 -----
net/net-snmp/patches/patch-et | 37 ---------------
17 files changed, 147 insertions(+), 307 deletions(-)
diffs (truncated from 882 to 300 lines):
diff -r 3b323b6e4c59 -r 8de98b1899e8 net/net-snmp/Makefile
--- a/net/net-snmp/Makefile Mon Sep 08 11:20:31 2008 +0000
+++ b/net/net-snmp/Makefile Mon Sep 08 12:58:09 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2008/07/15 09:14:01 adam Exp $
+# $NetBSD: Makefile,v 1.73 2008/09/08 12:58:09 adam Exp $
-DISTNAME= net-snmp-5.4.1.2
+DISTNAME= net-snmp-5.4.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/}
diff -r 3b323b6e4c59 -r 8de98b1899e8 net/net-snmp/PLIST
--- a/net/net-snmp/PLIST Mon Sep 08 11:20:31 2008 +0000
+++ b/net/net-snmp/PLIST Mon Sep 08 12:58:09 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2008/04/12 22:43:08 jlam Exp $
+@comment $NetBSD: PLIST,v 1.18 2008/09/08 12:58:09 adam Exp $
bin/encode_keychange
bin/fixproc
bin/ipf-mod.pl
@@ -463,6 +463,7 @@
share/snmp/mib2c.mfd.conf
share/snmp/mib2c.notify.conf
share/snmp/mib2c.old-api.conf
+share/snmp/mib2c.perl.conf
share/snmp/mib2c.scalar.conf
share/snmp/mib2c.table_data.conf
share/snmp/mibs/AGENTX-MIB.txt
@@ -498,6 +499,7 @@
share/snmp/mibs/RFC1155-SMI.txt
share/snmp/mibs/RFC1213-MIB.txt
share/snmp/mibs/RMON-MIB.txt
+share/snmp/mibs/SCTP-MIB.txt
share/snmp/mibs/SMUX-MIB.txt
share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
diff -r 3b323b6e4c59 -r 8de98b1899e8 net/net-snmp/distinfo
--- a/net/net-snmp/distinfo Mon Sep 08 11:20:31 2008 +0000
+++ b/net/net-snmp/distinfo Mon Sep 08 12:58:09 2008 +0000
@@ -1,25 +1,24 @@
-$NetBSD: distinfo,v 1.48 2008/07/15 09:14:01 adam Exp $
+$NetBSD: distinfo,v 1.49 2008/09/08 12:58:09 adam Exp $
-SHA1 (net-snmp-5.4.1.2.tar.gz) = aebe7d881f26403abd6b9ef3e69565beb041138d
-RMD160 (net-snmp-5.4.1.2.tar.gz) = ef8870420b651bc83a72cd792308886aa8fbfe8f
-Size (net-snmp-5.4.1.2.tar.gz) = 5123346 bytes
-SHA1 (patch-aa) = 51b09cc020776d136861d34f9ea529a986d2426d
+SHA1 (net-snmp-5.4.2.tar.gz) = 5b69da7d60bbc1092b61992f2d9ccb1051377ec6
+RMD160 (net-snmp-5.4.2.tar.gz) = 8c0cfd259893023c2c98fa68746adb48555d7788
+Size (net-snmp-5.4.2.tar.gz) = 5168274 bytes
+SHA1 (patch-aa) = 34f85e513ace26c1c2b05bb1c4b72a23491861cf
SHA1 (patch-ab) = 3227eeb8b54b37813d8b6949f8c6ddc446038bf2
-SHA1 (patch-ac) = acdcde40ec53215d7778b2d0a67656b82274d006
-SHA1 (patch-ad) = 0041bbc3c1b2be73c8d1af1aba671d3a227473f4
+SHA1 (patch-ac) = becbd7d3f7bbd16d6ddd1a6ea5467a127553caa4
SHA1 (patch-ae) = 721e62bb42b6d3787f36316cf2628cd71ae6a6ce
-SHA1 (patch-af) = 88d0433a6a233dc52fec10e29183d820c50bd524
+SHA1 (patch-af) = 15a18d1a8f3a8ffaba5facb37420668791944d29
SHA1 (patch-ag) = 7021f7238c37635c9c32ceca681fd42aa125437f
SHA1 (patch-ah) = 9ad04b5c0046a82c4e601e4f3abb2dd491846489
SHA1 (patch-ai) = c57baca06856187115db39fd50668203dad0a94c
SHA1 (patch-aj) = 30c28c4801cea33d54e68bbde603e7d531dfb2f8
SHA1 (patch-ak) = cccad21d4f56e79799a433ef7bf0e8ff4e917afb
SHA1 (patch-al) = 2609e273d557e1ce06c1295d86965fe26ac7ff08
-SHA1 (patch-am) = 58c2439ac2ad96e4114bc454d8148abd9dde4d43
+SHA1 (patch-am) = 84fc1131fb2699ab45b161a07017253e23a8ad08
SHA1 (patch-an) = 167f23c62c085efc96a25bc2be5dca3c746dde6f
SHA1 (patch-da) = 7466445c8388492344acdee236b153cb5f5b45e1
SHA1 (patch-db) = bec0bee1860ee42ba64b4c07df2280e206eaf582
-SHA1 (patch-dc) = a60caa72af001f5bbda173e5daa9afc6a7180a60
+SHA1 (patch-dc) = 3f668032cbef42b44ee908b3c973af619ce0a689
SHA1 (patch-dd) = 08da0d1da485959549ac461e5cbb7030f800e643
SHA1 (patch-de) = b505cef8542b30b3d28f5b3e61c473076e242d24
SHA1 (patch-dg) = 6e6e396add0613dd76e3b8618008a7ebf8103c7c
@@ -27,21 +26,17 @@
SHA1 (patch-di) = e0e1039c1adbf10ae56c50998ff74b39193e7348
SHA1 (patch-dl) = e464597dcade165978cea80a51d66bbb8d19e4db
SHA1 (patch-dm) = 05c182f5bc1751ea0a0bcc7e21f24684b3c4933a
-SHA1 (patch-dn) = 16c68c667c129c4fcccdbff704d7d25481691710
+SHA1 (patch-dn) = b0c40b7dc7311c446016750cf3bb6e42e1aef9be
SHA1 (patch-do) = 7a69e6e81cbddbb7fc610f4260fe521a5e4c2348
SHA1 (patch-dp) = 3ecdfa78a5c7a86715d3fd3ab8bbd0208a0d685d
SHA1 (patch-dq) = 619d94d9937098b684ee8d0f1a3a92dfdff2155c
-SHA1 (patch-dr) = ab75e5cf3448d9c0520b6e7d2c68adfbf3ab639b
-SHA1 (patch-ds) = 4d59f016eca12660f94dcba89f94e395323ab7b4
+SHA1 (patch-dr) = 9f962834da29776f43ee1483aca00625bb58674b
+SHA1 (patch-ds) = 0ce73a2d5b5b4b9629b7e49e9d4e655ec0f89055
SHA1 (patch-dt) = bd1884af6fb3743e79ab926fcd952068cb9a3642
-SHA1 (patch-du) = a07160ee1197d8aefa3ccaf7fb255be48311e8bc
-SHA1 (patch-ea) = 9d8d6b167b87d7e4f184b06f1279a55072a7645e
-SHA1 (patch-ee) = ec2a41ba9489bf71412169c0f8367eac214e3738
+SHA1 (patch-du) = c3c053c95c24c3fecfdcb7dfe649168a866206ba
SHA1 (patch-eg) = 421ccf1c810a2b03d7ff10fe38e8a3eea62d9836
SHA1 (patch-eh) = c2dbd651a0fcf6e20b8a9eee68f0ab30763af912
SHA1 (patch-ei) = 7eb4899b08b73c79f1eb8616bcebad38c0fbe148
-SHA1 (patch-ej) = c8047a6109bf6b833c56562d48b56b480c4299be
SHA1 (patch-el) = f80dc7058b8a60e3be53e5673538f6eb2d173b68
SHA1 (patch-ep) = 91029b17538360ba09e8e74943d2c4481f89a33a
SHA1 (patch-es) = c26c048ccbda7e4d28cb0a2263cdaa71befb4f96
-SHA1 (patch-et) = 63e31a08413b004608540a28a8fc448966320e7f
diff -r 3b323b6e4c59 -r 8de98b1899e8 net/net-snmp/patches/patch-aa
--- a/net/net-snmp/patches/patch-aa Mon Sep 08 11:20:31 2008 +0000
+++ b/net/net-snmp/patches/patch-aa Mon Sep 08 12:58:09 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2007/08/10 23:37:02 seb Exp $
+$NetBSD: patch-aa,v 1.8 2008/09/08 12:58:09 adam Exp $
---- agent/mibgroup/host/hr_filesys.c.orig 2006-08-06 00:01:01.000000000 +0000
+--- agent/mibgroup/host/hr_filesys.c.orig 2008-07-30 11:58:30.000000000 +0200
+++ agent/mibgroup/host/hr_filesys.c
-@@ -93,6 +93,11 @@ struct mnttab *HRFS_entry = &HRFS_entry
+@@ -96,6 +96,11 @@ struct mnttab *HRFS_entry = &HRFS_entry
#elif defined(HAVE_STATVFS) && defined(__NetBSD__)
diff -r 3b323b6e4c59 -r 8de98b1899e8 net/net-snmp/patches/patch-ac
--- a/net/net-snmp/patches/patch-ac Mon Sep 08 11:20:31 2008 +0000
+++ b/net/net-snmp/patches/patch-ac Mon Sep 08 12:58:09 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.6 2007/08/11 11:05:56 adam Exp $
+$NetBSD: patch-ac,v 1.7 2008/09/08 12:58:09 adam Exp $
---- configure.in.orig 2007-08-11 12:17:24.000000000 +0200
+--- configure.in.orig 2008-09-05 11:27:25.000000000 +0200
+++ configure.in
-@@ -2678,6 +2678,8 @@ AC_CHECK_LIB(kstat, kstat_lookup,
+@@ -2697,6 +2697,8 @@ AC_CHECK_LIB(kstat, kstat_lookup,
AC_DEFINE(HAVE_LIBKSTAT, 1, [Define to 1 if you have the `kstat' library (-lkstat).])
LNETSNMPLIBS="${LNETSNMPLIBS} -lkstat")
@@ -11,7 +11,7 @@
# Check for libraries that the agent needs
# saving old libraries
NONAGENTLIBS=$LIBS
-@@ -3406,6 +3408,12 @@ AC_CHECK_HEADERS(netinet/ip6.h netinet6/
+@@ -3425,6 +3427,12 @@ AC_CHECK_HEADERS(netinet/ip6.h netinet6/
#if HAVE_NETINET_IP6_H
#include <netinet/ip6.h>
#endif
@@ -24,102 +24,112 @@
]])
# DYNAMIC MODULE SUPPORT
AC_CHECK_HEADERS(dlfcn.h)
-@@ -3800,7 +3808,9 @@ AC_CHECK_STRUCT_FOR([
- #endif
+@@ -3864,8 +3872,10 @@ AC_CHECK_STRUCT_FOR([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
- #undef KERNEL
- #undef _KERNEL
-@@ -3812,7 +3822,9 @@ AC_CHECK_STRUCT_FOR([
- #endif
+ ], sockaddr, sa_len, no)
+
+@@ -3876,8 +3886,10 @@ AC_CHECK_STRUCT_FOR([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
++#endif
+ #include <sys/socket.h>
+ ], sockaddr, sa_union.sa_generic.sa_family2, no)
+
+@@ -3912,8 +3924,10 @@ AC_CHECK_STRUCT_FOR([
+ #include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
+ #define KERNEL
++#if !defined(__DragonFly__)
+ #define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -3848,7 +3860,9 @@ AC_CHECK_STRUCT_FOR([
- #endif
+@@ -3932,8 +3946,10 @@ AC_TRY_COMPILE([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -3866,7 +3880,9 @@ AC_TRY_COMPILE([
- #endif
+@@ -3958,8 +3974,10 @@ AC_TRY_COMPILE([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
-+#endif
- #include <sys/socket.h>
- #undef KERNEL
- #undef _KERNEL
-@@ -3890,7 +3906,9 @@ AC_TRY_COMPILE([
#endif
- #include <sys/types.h>
- #define KERNEL
-+#if !defined(__DragonFly__)
- #define _KERNEL
+#endif
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -3947,7 +3965,9 @@ AC_TRY_COMPILE([
- #endif
+@@ -4017,8 +4035,10 @@ AC_TRY_COMPILE([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -3985,7 +4005,9 @@ AC_CHECK_STRUCT_FOR([
- #endif
+@@ -4057,8 +4077,10 @@ AC_CHECK_STRUCT_FOR([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -3998,7 +4020,9 @@ AC_CHECK_STRUCT_FOR([
- #endif
+@@ -4072,8 +4094,10 @@ AC_CHECK_STRUCT_FOR([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -4011,7 +4035,9 @@ AC_CHECK_STRUCT_FOR([
- #endif
+@@ -4087,8 +4111,10 @@ AC_CHECK_STRUCT_FOR([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -4024,7 +4050,9 @@ AC_CHECK_STRUCT_FOR([
- #endif
+@@ -4102,8 +4128,10 @@ AC_CHECK_STRUCT_FOR([
#include <sys/types.h>
+ #ifdef IFNET_NEEDS_KERNEL
#define KERNEL
+#if !defined(__DragonFly__)
#define _KERNEL
+ #endif
+#endif
#include <sys/socket.h>
#undef KERNEL
diff -r 3b323b6e4c59 -r 8de98b1899e8 net/net-snmp/patches/patch-ad
--- a/net/net-snmp/patches/patch-ad Mon Sep 08 11:20:31 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,103 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2008/05/18 11:59:54 tron Exp $
-
---- perl/SNMP/SNMP.xs.orig 2007-06-18 23:28:09.000000000 +0100
-+++ perl/SNMP/SNMP.xs 2008-05-18 12:40:27.000000000 +0100
-@@ -470,14 +470,16 @@
- if (flag == USE_ENUMS) {
- for(ep = tp->enums; ep; ep = ep->next) {
- if (ep->value == *var->val.integer) {
-- strcpy(buf, ep->label);
-+ strncpy(buf, ep->label, buf_len);
-+ buf[buf_len-1] = '\0';
- len = strlen(buf);
- break;
- }
Home |
Main Index |
Thread Index |
Old Index