From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 27 02:40:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C631106566B for ; Fri, 27 May 2011 02:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0944E8FC22 for ; Fri, 27 May 2011 02:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4R2e9YJ070455 for ; Fri, 27 May 2011 02:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4R2e9Lx070454; Fri, 27 May 2011 02:40:09 GMT (envelope-from gnats) Resent-Date: Fri, 27 May 2011 02:40:09 GMT Resent-Message-Id: <201105270240.p4R2e9Lx070454@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryan Steinmetz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 607AA106566C for ; Fri, 27 May 2011 02:37:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4530F8FC1B for ; Fri, 27 May 2011 02:37:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4R2bKSq086953 for ; Fri, 27 May 2011 02:37:20 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4R2bKrm086952; Fri, 27 May 2011 02:37:20 GMT (envelope-from nobody) Message-Id: <201105270237.p4R2bKrm086952@red.freebsd.org> Date: Fri, 27 May 2011 02:37:20 GMT From: Ryan Steinmetz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157364: [update] net/snmp++ to 3.2.25 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 02:40:10 -0000 >Number: 157364 >Category: ports >Synopsis: [update] net/snmp++ to 3.2.25 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri May 27 02:40:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ryan Steinmetz >Release: 8.2-RELEASE >Organization: Rochester Institute of Technology >Environment: >Description: Update to 3.2.25: Changes snmp++v3.2.25 ===================== - Improved: Request id and salt initializations; Makefile target improvements; Documentation of Snmp::start/stop_poll_thread functions (Dominik Vogt) - Fixed: Possible off-by-one error in various XAddress::parse_Y() functions, if input values are filled with spaces. (Dave White) - Fixed: Async inform requests did not work because of incorrect PDU type (APP-2) - Changed: The QtExample now uses Qt4 (Don Radick). - Fixed: Snmp::notify_unregister() did not work. - Changed: Removed AddressCollection param of Snmp::notify_register() function. Changes snmp++v3.2.24 ===================== - Fixed: Counter64 was not encoded correctly on 64 bit platforms (Alex.Agranov). - Fixed: 64bit problem in asn1.cpp on some 64bit platforms. - Added: Set soname in shared library for inclusion in Fedora (suggested by Hayden James) - Improved: Compilation on MacOS 10.5 - Changed: First step for Fedora rpm packages (Hayden James) - Fixed: Compilation problem in msgqueue if SNMPv3 is not defined. - Fixed: Various possible null pointer dereferences in ASN1 code and in OctetStr::get_printableXXX functions (found from Abil George). - Changed: Use Snmp::get_eventListHolder() instead of Snmp::eventListHolder. - Fixed: Compilation problem on WIN32 if _THREADS is not defined (Arnaud Compan) - Improved: Added get and set functions to vb class for unsigned int values. - Fixed: Bug in Snmp::stop_poll_thread() could lead to crash at application exit. - Improved: Snmp class will no longer send snmpv3 message if all of the following is true: a) engine id discovery is diabled. b) local entity is not authoritative. c) engine id is not set in target. In this case an invalid target error is returned. - Improved: snmp++ used select() syscall. On most unix like systems select() can not deal with file descriptors larger than FD_SETSIZE (which is most likely defined as 1024). If HAVE_POLL_SYSCALL is enabled in config_snmp_pp.h, snmp++ will use poll() syscall. - Fixed: Through a race condition requests could return SNMPv3_MP_UNKNOWN_PDU_HANDLERS error. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN /usr/ports/net-mgmt/snmp++/Makefile snmp++/Makefile --- /usr/ports/net-mgmt/snmp++/Makefile 2009-03-05 09:48:50.000000000 -0500 +++ snmp++/Makefile 2011-05-26 22:29:30.000000000 -0400 @@ -6,7 +6,7 @@ # PORTNAME= snmp++ -PORTVERSION= 3.2.23 +PORTVERSION= 3.2.25 CATEGORIES= net-mgmt MASTER_SITES= http://www.agentpp.com/ DISTNAME= ${PORTNAME}v${PORTVERSION} @@ -23,4 +23,7 @@ post-extract: ${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC} +post-install: + ${LN} -sf ${PREFIX}/lib/libsnmp++.so.2.0.0 ${PREFIX}/lib/libsnmp++.so + .include diff -urN /usr/ports/net-mgmt/snmp++/distinfo snmp++/distinfo --- /usr/ports/net-mgmt/snmp++/distinfo 2011-03-20 08:54:11.000000000 -0400 +++ snmp++/distinfo 2011-05-26 22:12:50.000000000 -0400 @@ -1,2 +1,2 @@ -SHA256 (snmp++v3.2.23.tar.gz) = c35ac5903432c3131ac2ce4fba69850f7d49aef4df13d5aef0a5b8f96594dfa3 -SIZE (snmp++v3.2.23.tar.gz) = 268458 +SHA256 (snmp++v3.2.25.tar.gz) = 02234720a95af975180f7c093b98cc003bb564f44c8795882593afbb417c1f2b +SIZE (snmp++v3.2.25.tar.gz) = 265074 diff -urN /usr/ports/net-mgmt/snmp++/files/patch-src-common.mk snmp++/files/patch-src-common.mk --- /usr/ports/net-mgmt/snmp++/files/patch-src-common.mk 1969-12-31 19:00:00.000000000 -0500 +++ snmp++/files/patch-src-common.mk 2011-05-26 22:23:54.000000000 -0400 @@ -0,0 +1,11 @@ +--- ./common.mk.orig 2011-05-26 22:23:19.000000000 -0400 ++++ common.mk 2011-05-26 22:23:37.000000000 -0400 +@@ -65,7 +65,7 @@ + # Installation directories + # + ifndef INSTPREFIX +-INSTPREFIX = /usr/local ++INSTPREFIX = $(PREFIX) + endif + + ifndef INSTLIBPATH diff -urN /usr/ports/net-mgmt/snmp++/pkg-plist snmp++/pkg-plist --- /usr/ports/net-mgmt/snmp++/pkg-plist 2009-03-05 09:48:50.000000000 -0500 +++ snmp++/pkg-plist 2011-05-26 22:30:04.000000000 -0400 @@ -3,8 +3,6 @@ include/snmp_pp/asn1.h include/snmp_pp/auth_priv.h include/snmp_pp/collect.h -include/snmp_pp/collect1.h -include/snmp_pp/collect2.h include/snmp_pp/config_snmp_pp.h include/snmp_pp/counter.h include/snmp_pp/ctr64.h @@ -38,5 +36,6 @@ include/snmp_pp/vb.h lib/libsnmp++.a lib/libsnmp++.so +lib/libsnmp++.so.2.0.0 @dirrm include/snmp_pp >Release-Note: >Audit-Trail: >Unformatted: