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.3.1:
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e03bfdb1a22
branches: trunk
changeset: 516855:7e03bfdb1a22
user: adam <adam%pkgsrc.org@localhost>
date: Sat Jul 29 16:48:27 2006 +0000
description:
Changes 5.3.1:
snmpd:
- fix trap processing from SMUX peers
- fix disman/event monitoring crashes
- fix bug 1399369: ifNumber broken
- fix re-init of daemons after SIGHUP
snmptrapd:
- fix bug 1420758/1458815: snmptrapd aborts/loops in select()
- fix re-init of daemons after SIGHUP
snmplib:
- fix OID lookups for fully qualified object names (eg .iso.org)
snmpusm:
- performance improvement when changing localized keys
perl:
- The perl modules now check to make sure they're building
against the proper Net-SNMP version.
misc:
- Coverity fixes
diffstat:
net/net-snmp/Makefile | 16 +++++-----
net/net-snmp/builtin.mk | 65 +++++++++++++++++++++++++++++++++++++++++++
net/net-snmp/distinfo | 21 ++++++-------
net/net-snmp/patches/patch-af | 34 +++++++++++-----------
net/net-snmp/patches/patch-ag | 8 ++--
net/net-snmp/patches/patch-am | 8 ++--
net/net-snmp/patches/patch-dc | 8 ++--
net/net-snmp/patches/patch-dl | 6 +-
net/net-snmp/patches/patch-ds | 10 +++---
net/net-snmp/patches/patch-dt | 18 -----------
10 files changed, 120 insertions(+), 74 deletions(-)
diffs (truncated from 439 to 300 lines):
diff -r 99e62c1a3ea5 -r 7e03bfdb1a22 net/net-snmp/Makefile
--- a/net/net-snmp/Makefile Sat Jul 29 16:01:37 2006 +0000
+++ b/net/net-snmp/Makefile Sat Jul 29 16:48:27 2006 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2006/07/06 18:13:08 joerg Exp $
+# $NetBSD: Makefile,v 1.51 2006/07/29 16:48:27 adam Exp $
-DISTNAME= net-snmp-5.3.0.1
-PKGREVISION= 3
+DISTNAME= net-snmp-5.3.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} \
ftp://ftp.net-smnp.org/pub/sourceforge/net-snmp/
@@ -12,8 +11,8 @@
CONFLICTS= ucd-snmp-[0-9]*
+USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
MAKE_ENV+= OPSYS=${OPSYS:Q}
@@ -80,9 +79,9 @@
#
# Enable the perl modules build and installation
#
+PERL5_CONFIGURE= no
+PERL5_PACKLIST= auto/Bundle/NetSNMP/.packlist
CONFIGURE_ARGS+= --with-perl-modules=${MAKE_PARAMS:Q}
-PERL5_CONFIGURE= NO
-PERL5_PACKLIST= auto/Bundle/NetSNMP/.packlist
CONFIGURE_ENV+= PERLPROG=${PERL5:Q}
.include "options.mk"
@@ -99,6 +98,8 @@
REPLACE.bash.new= ${SH}
REPLACE_FILES.bash= local/mib2c-update
+INSTALLATION_DIRS+= share/examples/net-snmp
+
post-extract:
${CP} ${FILESDIR}/dragonfly.h ${WRKSRC}/include/net-snmp/system
@@ -109,8 +110,7 @@
.endif
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/net-snmp
- ${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf \
+ ${INSTALL_DATA} ${WRKSRC}/EXAMPLE.conf \
${PREFIX}/share/examples/net-snmp/EXAMPLE.conf
.include "../../lang/perl5/module.mk"
diff -r 99e62c1a3ea5 -r 7e03bfdb1a22 net/net-snmp/builtin.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/net-snmp/builtin.mk Sat Jul 29 16:48:27 2006 +0000
@@ -0,0 +1,65 @@
+# $NetBSD: builtin.mk,v 1.1 2006/07/29 16:48:27 adam Exp $
+
+BUILTIN_PKG:= net-snmp
+
+BUILTIN_FIND_FILES_VAR:= H_NETSNMP
+BUILTIN_FIND_FILES.H_NETSNMP= /usr/include/net-snmp/net-snmp-config.h
+
+.include "../../mk/buildlink3/bsd.builtin.mk"
+
+###
+### Determine if there is a built-in implementation of the package and
+### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
+###
+.if !defined(IS_BUILTIN.net-snmp)
+IS_BUILTIN.net-snmp= no
+. if empty(H_NETSNMP:M__nonexistent__) && empty(H_NETSNMP:M${LOCALBASE}/*)
+IS_BUILTIN.net-snmp= yes
+. endif
+.endif
+MAKEVARS+= IS_BUILTIN.net-snmp
+
+###
+### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to
+### a package name to represent the built-in package.
+###
+.if !defined(BUILTIN_PKG.net-snmp) && \
+ !empty(IS_BUILTIN.net-snmp:M[yY][eE][sS]) && \
+ empty(H_NETSNMP:M__nonexistent__)
+BUILTIN_VERSION.net-snmp!= \
+ ${AWK} '/\#define[ ]*PACKAGE_VERSION/ { \
+ vers = $$3; \
+ gsub("\"", "", vers); \
+ print vers; \
+ } \
+ ' ${H_NETSNMP:Q}
+BUILTIN_PKG.net-snmp= net-snmp-${BUILTIN_VERSION.net-snmp}
+.endif
+MAKEVARS+= BUILTIN_PKG.net-snmp
+
+###
+### Determine whether we should use the built-in implementation if it
+### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
+###
+.if !defined(USE_BUILTIN.net-snmp)
+. if ${PREFER.net-snmp} == "pkgsrc"
+USE_BUILTIN.net-snmp= no
+. else
+USE_BUILTIN.net-snmp= ${IS_BUILTIN.net-snmp}
+. if defined(BUILTIN_PKG.net-snmp) && \
+ !empty(IS_BUILTIN.net-snmp:M[yY][eE][sS])
+USE_BUILTIN.net-snmp= yes
+. for _dep_ in ${BUILDLINK_API_DEPENDS.net-snmp}
+. if !empty(USE_BUILTIN.net-snmp:M[yY][eE][sS])
+USE_BUILTIN.net-snmp!= \
+ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.net-snmp:Q}; then \
+ ${ECHO} yes; \
+ else \
+ ${ECHO} no; \
+ fi
+. endif
+. endfor
+. endif
+. endif
+.endif
+MAKEVARS+= USE_BUILTIN.net-snmp
diff -r 99e62c1a3ea5 -r 7e03bfdb1a22 net/net-snmp/distinfo
--- a/net/net-snmp/distinfo Sat Jul 29 16:01:37 2006 +0000
+++ b/net/net-snmp/distinfo Sat Jul 29 16:48:27 2006 +0000
@@ -1,20 +1,20 @@
-$NetBSD: distinfo,v 1.24 2006/06/19 13:46:36 christos Exp $
+$NetBSD: distinfo,v 1.25 2006/07/29 16:48:27 adam Exp $
-SHA1 (net-snmp-5.3.0.1.tar.gz) = c58ddabe4281c3681a268bd48de6865e812f2ec5
-RMD160 (net-snmp-5.3.0.1.tar.gz) = 86b7e56b512faf73d2a08ac3df2def4560b62945
-Size (net-snmp-5.3.0.1.tar.gz) = 4183370 bytes
+SHA1 (net-snmp-5.3.1.tar.gz) = 8ddb5122769814f04a7d3d352dcc640df7c89d41
+RMD160 (net-snmp-5.3.1.tar.gz) = 7bcdd213fb2517d0927b030deab5146522b58b3d
+Size (net-snmp-5.3.1.tar.gz) = 4210843 bytes
SHA1 (patch-aa) = 30a4d1546fe7022a0578d01004fc3f284e45c392
SHA1 (patch-ab) = cdc455989f9d7abb6cad9256a42e2008b6c0f2ee
SHA1 (patch-ae) = 750412088b9ccd5fb50bd6e7fc049903f6113a39
-SHA1 (patch-af) = f7c95d2276ccd8332e7dc39f2bf88c857bdfde9f
-SHA1 (patch-ag) = 9bad3789cfb12bb68c2b306e82600d866467471a
+SHA1 (patch-af) = d2a38e024bd5da572fc898674907eef8f84d4f43
+SHA1 (patch-ag) = 23c8d1755a29a503827f3851eeddddb633a2eda8
SHA1 (patch-aj) = eb17148368c9d02c0e589052b99003e7e21f2917
SHA1 (patch-al) = 2609e273d557e1ce06c1295d86965fe26ac7ff08
-SHA1 (patch-am) = 4db69b58419b809f7251d0ca555b3adb3e989710
+SHA1 (patch-am) = 237adef32b2121e95a9d7bcd332420efedd3dacd
SHA1 (patch-an) = 167f23c62c085efc96a25bc2be5dca3c746dde6f
SHA1 (patch-da) = 7466445c8388492344acdee236b153cb5f5b45e1
SHA1 (patch-db) = bec0bee1860ee42ba64b4c07df2280e206eaf582
-SHA1 (patch-dc) = 43e430f42c9f8a89c95a2eae91053805fa3e2373
+SHA1 (patch-dc) = 96fb6bca78a88bd2d9290bc8e47cc49893220104
SHA1 (patch-dd) = 56957eaf21224d788baf315e35768d2c7b2f2c95
SHA1 (patch-de) = f6e97f3cc60102c8542409a29fb744339569ef9f
SHA1 (patch-df) = 3a82b023d3b284150562c66aa8f5c41c6c455367
@@ -23,13 +23,12 @@
SHA1 (patch-di) = e0e1039c1adbf10ae56c50998ff74b39193e7348
SHA1 (patch-dj) = 392a5bcd7e63f0831fc6a6aa34904dd590b05703
SHA1 (patch-dk) = fdd71ac507b0b589ae4464c2810300a5d2de17a0
-SHA1 (patch-dl) = 571b12bcdc1f801b47274d46a17b6e94294c0b4e
+SHA1 (patch-dl) = 6bdf874319b9d2fa28aa5f2cbe9f5cc2697aea68
SHA1 (patch-dm) = 05c182f5bc1751ea0a0bcc7e21f24684b3c4933a
SHA1 (patch-dn) = 16c68c667c129c4fcccdbff704d7d25481691710
SHA1 (patch-do) = 7a69e6e81cbddbb7fc610f4260fe521a5e4c2348
SHA1 (patch-dp) = 3ecdfa78a5c7a86715d3fd3ab8bbd0208a0d685d
SHA1 (patch-dq) = 619d94d9937098b684ee8d0f1a3a92dfdff2155c
SHA1 (patch-dr) = ab75e5cf3448d9c0520b6e7d2c68adfbf3ab639b
-SHA1 (patch-ds) = b27b0dc9c0da0ab688f26e2821e90c145c6ae641
-SHA1 (patch-dt) = 0cbf8245fbb5475dc864acc4e7c1490095377a6e
+SHA1 (patch-ds) = e0319c5f63ed56ab8a9ddc96759f16fd43395096
SHA1 (patch-mib2cupdate) = d6773633c8737fe45a58e378967995e21012d21d
diff -r 99e62c1a3ea5 -r 7e03bfdb1a22 net/net-snmp/patches/patch-af
--- a/net/net-snmp/patches/patch-af Sat Jul 29 16:01:37 2006 +0000
+++ b/net/net-snmp/patches/patch-af Sat Jul 29 16:48:27 2006 +0000
@@ -1,17 +1,17 @@
-$NetBSD: patch-af,v 1.6 2006/03/19 22:03:29 joerg Exp $
+$NetBSD: patch-af,v 1.7 2006/07/29 16:48:27 adam Exp $
---- configure.orig 2006-01-14 01:51:51.000000000 +0000
+--- configure.orig 2006-07-29 17:35:31.000000000 +0200
+++ configure
-@@ -13421,7 +13421,7 @@ else
+@@ -13548,7 +13548,7 @@ else
default_mibs=IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB
case $target_os in
-- linux* | mingw32* | cygwin* | freebsd* | dynix* | solaris2* | hpux* )
-+ linux* | mingw32* | cygwin* | freebsd* | dynix* | solaris2* | hpux* | dragonfly* )
+- linux* | freebsd* | dynix* | solaris2* | hpux* )
++ linux* | freebsd* | dynix* | solaris2* | hpux* | dragonfly* )
new_module_list="$new_module_list host"
;;
*)
-@@ -15503,6 +15503,53 @@ fi
+@@ -15630,6 +15630,53 @@ fi
fi
@@ -65,7 +65,7 @@
# Check for libraries that the agent needs
# saving old libraries
NONAGENTLIBS=$LIBS
-@@ -27716,7 +27763,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28131,7 +28178,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -75,7 +75,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -27814,7 +27863,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28229,7 +28278,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -85,7 +85,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -27912,10 +27963,14 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28327,10 +28378,14 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -101,7 +101,7 @@
#include <net/route.h>
-@@ -27999,7 +28054,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28414,7 +28469,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -111,7 +111,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -28066,7 +28123,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28481,7 +28538,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -121,7 +121,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -28204,7 +28263,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28619,7 +28678,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -131,7 +131,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -28299,7 +28360,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28714,7 +28775,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -141,7 +141,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -28398,7 +28461,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28813,7 +28876,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -151,7 +151,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -28497,7 +28562,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -28912,7 +28977,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -161,7 +161,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -28596,7 +28663,9 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -29011,7 +29078,9 @@ cat >>conftest.$ac_ext <<_ACEOF
#endif
#include <sys/types.h>
#define KERNEL
@@ -171,7 +171,7 @@
#include <sys/socket.h>
#undef KERNEL
#undef _KERNEL
-@@ -34718,6 +34787,8 @@ do
+@@ -35133,6 +35202,8 @@ do
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
diff -r 99e62c1a3ea5 -r 7e03bfdb1a22 net/net-snmp/patches/patch-ag
--- a/net/net-snmp/patches/patch-ag Sat Jul 29 16:01:37 2006 +0000
+++ b/net/net-snmp/patches/patch-ag Sat Jul 29 16:48:27 2006 +0000
Home |
Main Index |
Thread Index |
Old Index