Update to 3.2.23.

Submitted by:	Martin Kjeldsen <mk@bluepipe.dk> (partially)
Approved by:	maintainer
This commit is contained in:
Anton Berezin 2009-03-05 14:48:50 +00:00
parent b9292159ee
commit 76d93b8cb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229521
4 changed files with 5 additions and 19 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= snmp++
PORTVERSION= 3.2.22
PORTREVISION= 2
PORTVERSION= 3.2.23
CATEGORIES= net-mgmt
MASTER_SITES= http://www.agentpp.com/
DISTNAME= ${PORTNAME}v${PORTVERSION}

View file

@ -1,3 +1,3 @@
MD5 (snmp++v3.2.22.tar.gz) = 8cdbbca21d783e0120374ee1305368d7
SHA256 (snmp++v3.2.22.tar.gz) = 229e4333ac1d011fc9e2d1d07196bac321dcdd19c54f21354b77caf2ecfc6316
SIZE (snmp++v3.2.22.tar.gz) = 261879
MD5 (snmp++v3.2.23.tar.gz) = a8b0e51fbf20e436999781b7f5ea187b
SHA256 (snmp++v3.2.23.tar.gz) = c35ac5903432c3131ac2ce4fba69850f7d49aef4df13d5aef0a5b8f96594dfa3
SIZE (snmp++v3.2.23.tar.gz) = 268458

View file

@ -1,14 +0,0 @@
--- asn1.cpp.orig 2007-10-26 20:24:08.000000000 +0200
+++ asn1.cpp 2007-10-26 20:25:34.000000000 +0200
@@ -550,8 +550,9 @@ unsigned char * asn_parse_length( unsign
memcpy((char *)length, (char *)data + 1, (int)lengthbyte);
*length = ntohl(*length);
// ntohl even on ALPHA (DEC/COMPAQ) 64bit platforms works on 32bit int,
- // whereas long is 64bit - therefore:
-#ifdef __osf__
+ // whereas long is 64bit. The same is true for FreeBSD (and probably
+ // for lots of other platforms). Therefore:
+#if defined(__osf__) || defined(__FreeBSD__)
*length >>= (8 * ((sizeof(int)) - lengthbyte));
#else
*length >>= (8 * ((sizeof(long)) - lengthbyte));

View file

@ -1,3 +1,4 @@
include/snmp_pp/IPv6Utility.h
include/snmp_pp/address.h
include/snmp_pp/asn1.h
include/snmp_pp/auth_priv.h