ports/157364: [update] net/snmp++ to 3.2.25
Ryan Steinmetz
rpsfa at rit.edu
Fri May 27 02:40:10 UTC 2011
>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 <bsd.port.mk>
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:
More information about the freebsd-ports-bugs
mailing list