git: ed1cf21cae5a - main - net-mgmt/net-snmp: Update to 5.9.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 14:07:07 UTC
The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed1cf21cae5aad16b6bcd3daf22537adfdcd7f1e commit ed1cf21cae5aad16b6bcd3daf22537adfdcd7f1e Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2022-05-13 14:05:23 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2022-05-13 14:07:01 +0000 net-mgmt/net-snmp: Update to 5.9.1 re https://net-snmp.sourceforge.io/about/ChangeLog.html libnetsnmp: - Fixed the mib-parsing-bug introduced shortly before 5.7 agent: - fixed rounding errors for disk percentage calculations openbsd: - better support for recent openbsd releases features: - bug fixes with minimalist support after additional user feedback Many other miscellaneous minor bug fixes Approved by: maintainer (via private communication) --- net-mgmt/net-snmp/Makefile | 5 ++--- net-mgmt/net-snmp/distinfo | 6 ++--- .../patch-92f0fe9e0dc3cf7ab6e8cc94d7962df83d0ddbec | 26 ---------------------- net-mgmt/net-snmp/pkg-plist | 12 +--------- 4 files changed, 6 insertions(+), 43 deletions(-) diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 0af9bccd05ee..9827504952b6 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -1,8 +1,7 @@ # Created by: gpalmer PORTNAME= snmp -PORTVERSION= 5.9 -PORTREVISION= 3 +PORTVERSION= 5.9.1 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} \ @@ -147,7 +146,7 @@ CONFIGURE_ARGS+=--without-root-access .endif SHLIB_VERSION= 40 -SHLIB_VERSION2= .0.0 +SHLIB_VERSION2= .1.0 PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} SHLIB_VERSION2=${SHLIB_VERSION2} SCRIPTS_SUB= PREFIX=${PREFIX} PERL=${PERL} diff --git a/net-mgmt/net-snmp/distinfo b/net-mgmt/net-snmp/distinfo index 06b636acd466..7904c57e50fb 100644 --- a/net-mgmt/net-snmp/distinfo +++ b/net-mgmt/net-snmp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1599226037 -SHA256 (net-snmp-5.9.tar.gz) = 04303a66f85d6d8b16d3cc53bde50428877c82ab524e17591dfceaeb94df6071 -SIZE (net-snmp-5.9.tar.gz) = 6690435 +TIMESTAMP = 1651857991 +SHA256 (net-snmp-5.9.1.tar.gz) = eb7fd4a44de6cddbffd9a92a85ad1309e5c1054fb9d5a7dd93079c8953f48c3f +SIZE (net-snmp-5.9.1.tar.gz) = 6711774 diff --git a/net-mgmt/net-snmp/files/patch-92f0fe9e0dc3cf7ab6e8cc94d7962df83d0ddbec b/net-mgmt/net-snmp/files/patch-92f0fe9e0dc3cf7ab6e8cc94d7962df83d0ddbec deleted file mode 100644 index b3b5f8d28bec..000000000000 --- a/net-mgmt/net-snmp/files/patch-92f0fe9e0dc3cf7ab6e8cc94d7962df83d0ddbec +++ /dev/null @@ -1,26 +0,0 @@ -From 92f0fe9e0dc3cf7ab6e8cc94d7962df83d0ddbec Mon Sep 17 00:00:00 2001 -From: Bart Van Assche <bvanassche@acm.org> -Date: Mon, 4 Jan 2021 12:21:59 -0800 -Subject: [PATCH] libsnmp: Fix asn_parse_nlength() - -Handle length zero correctly. - -Fixes: https://github.com/net-snmp/net-snmp/issues/253 -Fixes: a9850f4445cf ("asn parse: add NULL checks, check length lengths") ---- - snmplib/asn1.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/snmplib/asn1.c b/snmplib/asn1.c -index e983500e7..33c272768 100644 ---- snmplib/asn1.c -+++ snmplib/asn1.c -@@ -345,7 +345,7 @@ asn_parse_nlength(u_char *pkt, size_t pkt_len, u_long *data_len) - * long length; first byte is length of length (after masking high bit) - */ - len_len = (int) ((*pkt & ~0x80) + 1); -- if ((int) pkt_len <= len_len ) -+ if (pkt_len < len_len) - return NULL; /* still too short for length and data */ - - /* now we know we have enough data to parse length */ diff --git a/net-mgmt/net-snmp/pkg-plist b/net-mgmt/net-snmp/pkg-plist index 538ce97c781c..bf302685a853 100644 --- a/net-mgmt/net-snmp/pkg-plist +++ b/net-mgmt/net-snmp/pkg-plist @@ -182,17 +182,6 @@ include/net-snmp/system/bsdi3.h include/net-snmp/system/bsdi4.h include/net-snmp/system/cygwin.h include/net-snmp/system/darwin.h -include/net-snmp/system/darwin7.h -include/net-snmp/system/darwin8.h -include/net-snmp/system/darwin9.h -include/net-snmp/system/darwin10.h -include/net-snmp/system/darwin11.h -include/net-snmp/system/darwin12.h -include/net-snmp/system/darwin13.h -include/net-snmp/system/darwin14.h -include/net-snmp/system/darwin15.h -include/net-snmp/system/darwin16.h -include/net-snmp/system/darwin17.h include/net-snmp/system/dragonfly.h include/net-snmp/system/dynix.h include/net-snmp/system/freebsd.h @@ -212,6 +201,7 @@ include/net-snmp/system/freebsd14.h include/net-snmp/system/generic.h include/net-snmp/system/hpux.h include/net-snmp/system/irix.h +include/net-snmp/system/kfreebsd.h include/net-snmp/system/linux.h include/net-snmp/system/mingw32.h include/net-snmp/system/mingw32msvc.h