From nobody Fri May 13 14:07:07 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 812001AD72FD; Fri, 13 May 2022 14:07:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L09SW2sRnz3MMS; Fri, 13 May 2022 14:07:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652450827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JfGKjNOPbo8K10sjUtHvAmIOko1JRjf4363TlhVssmc=; b=j82earDoBenj2m/brPjTs3LDfQhY4yNHU1+LhRyhDXXCG7bbakOQYMKUGbOgJKbc+Dvw+f n8i2e3r+assqgpBDiqEGEg62ic8jZZ3EtF0EcNkkgzsSd28f7XVImkFGm5eLeWpEMstYrC F33LcIDFGX+otxr9RH1JFuUeAtH3t0zWE3TmBUgkrTcV66SUho2DTxZAEC9l3UEe/MGDw3 j0wNDc5OBvDuHXguvDsQlIkZQ1A8kQ3kM6FaCsj8xI00DF3vZUnu7ui6TiniKP4n68THUv 8UHqDVjoNHY6LKuy1Bdqeq6G4kv9pbndXQpG8vdF6fqa6KdewGjczKM+E9AmTQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3DFB52434A; Fri, 13 May 2022 14:07:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24DE77KH060089; Fri, 13 May 2022 14:07:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DE77t9060088; Fri, 13 May 2022 14:07:07 GMT (envelope-from git) Date: Fri, 13 May 2022 14:07:07 GMT Message-Id: <202205131407.24DE77t9060088@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: ed1cf21cae5a - main - net-mgmt/net-snmp: Update to 5.9.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed1cf21cae5aad16b6bcd3daf22537adfdcd7f1e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652450827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JfGKjNOPbo8K10sjUtHvAmIOko1JRjf4363TlhVssmc=; b=LbXXxd6Bx0cWoisAoPbNDD5xTePKyWk05THRBe2eC1yMGSSQ2OoU5sobJ4gcx2qkBo0I1B sTMMJlbkxFyTFfgIZGm1skMNXolGHQZK/BKs01N33HwoQ0pSy4kVc4nkKRA78H3cLQkAXl 9ieb/hwxJy5pJH44wPsFM16Z52a0/Ca8zydcMTvSCg88tJhRLfK8xk/n+PjPzhzLjnKhng F/catDWdU9G1q8Be6RB1QccjCNcgC1uX9IIDfY6ui4a09x5NS7LDXrGrQPdPL/sjqttA8R dpbDZdNofzJwuh5lw9Sn/91gG6Rp3AgwklwsVceYQBZkc4kqAHu5RYdCH3AFyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652450827; a=rsa-sha256; cv=none; b=xUCZfoFLql9tIOnXUKIQubLkzVgV6zzaSyUzbt4wKUrDUujwydyVe2R8R3Snb+LYQrLOm0 +EzaGD7LBJdbceUMFg2PO6+OtzAIta5al9KURSJ+R6uTrZHMGMTyrSbM1hO0l0PVxH7CfX OMVlT/K1QLFSL2bndkbfahUoQW99pFMdr29/3flQslD4YPNewrSTYpjOXYeOrLMUAyHfgQ pEoJtK5Rc02eaJi3TOvKGSgWLqa7obpr5/pdBlByiUXSojAzxI7vQZD8AGsisiCrj00gX8 VLTTMcRXG3FBl58+AEsVsrOxtpeD+U8MtRqCVCVQ1gclExhEF1fiL3E8Bh+5/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed1cf21cae5aad16b6bcd3daf22537adfdcd7f1e commit ed1cf21cae5aad16b6bcd3daf22537adfdcd7f1e Author: Dan Langille AuthorDate: 2022-05-13 14:05:23 +0000 Commit: Dan Langille 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 -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