svn commit: r341254 - in head/net-mgmt/snmp++: . files
Ruslan Makhmatkhanov
rm at FreeBSD.org
Sun Jan 26 18:22:37 UTC 2014
Author: rm
Date: Sun Jan 26 18:22:35 2014
New Revision: 341254
URL: http://svnweb.freebsd.org/changeset/ports/341254
QAT: https://qat.redports.org/buildarchive/r341254/
Log:
- update to 3.3.0
- let it build with clang too
- update maintainer's email
- fix whitespace bugs, while here
PR: 182402
Submitted by: Nicolai Petri <nicolai at petri.dk> (maintainer)
Modified:
head/net-mgmt/snmp++/Makefile
head/net-mgmt/snmp++/distinfo
head/net-mgmt/snmp++/files/Makefile.FreeBSD
head/net-mgmt/snmp++/files/patch-src-common.mk
head/net-mgmt/snmp++/pkg-descr
head/net-mgmt/snmp++/pkg-plist
Modified: head/net-mgmt/snmp++/Makefile
==============================================================================
--- head/net-mgmt/snmp++/Makefile Sun Jan 26 18:15:52 2014 (r341253)
+++ head/net-mgmt/snmp++/Makefile Sun Jan 26 18:22:35 2014 (r341254)
@@ -2,12 +2,12 @@
# $FreeBSD$
PORTNAME= snmp++
-PORTVERSION= 3.2.25
+PORTVERSION= 3.3.0
CATEGORIES= net-mgmt
MASTER_SITES= http://www.agentpp.com/
DISTNAME= ${PORTNAME}v${PORTVERSION}
-MAINTAINER= nicolai at catpipe.net
+MAINTAINER= nicolai at petri.dk
COMMENT= SNMP C++ library with V3 support
MAKEFILE= Makefile.FreeBSD
@@ -21,7 +21,7 @@ post-extract:
${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
post-install:
- ${LN} -sf ${PREFIX}/lib/libsnmp++.so.2.0.0 ${STAGEDIR}${PREFIX}/lib/libsnmp++.so
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsnmp++.so.2.0.0
+ ${LN} -sf ${PREFIX}/lib/libsnmp++.so.3.3.0 ${STAGEDIR}${PREFIX}/lib/libsnmp++.so
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsnmp++.so.3.3.0
.include <bsd.port.mk>
Modified: head/net-mgmt/snmp++/distinfo
==============================================================================
--- head/net-mgmt/snmp++/distinfo Sun Jan 26 18:15:52 2014 (r341253)
+++ head/net-mgmt/snmp++/distinfo Sun Jan 26 18:22:35 2014 (r341254)
@@ -1,2 +1,2 @@
-SHA256 (snmp++v3.2.25.tar.gz) = 02234720a95af975180f7c093b98cc003bb564f44c8795882593afbb417c1f2b
-SIZE (snmp++v3.2.25.tar.gz) = 265074
+SHA256 (snmp++v3.3.0.tar.gz) = 821ae493f8fb54bb85cbd779697a3fc92e130906b5de993b9970ffd47f12466a
+SIZE (snmp++v3.3.0.tar.gz) = 584162
Modified: head/net-mgmt/snmp++/files/Makefile.FreeBSD
==============================================================================
--- head/net-mgmt/snmp++/files/Makefile.FreeBSD Sun Jan 26 18:15:52 2014 (r341253)
+++ head/net-mgmt/snmp++/files/Makefile.FreeBSD Sun Jan 26 18:22:35 2014 (r341254)
@@ -1,30 +1,30 @@
############################################################################
- ##
- ## Makefile.FreeBSD
+ ##
+ ## Makefile.FreeBSD
##
## SNMP++v3.2.22
## -----------------------------------------------
## Copyright (c) 2001-2006 Jochen Katz, Frank Fock
##
## This software is based on SNMP++2.6 from Hewlett Packard:
- ##
+ ##
## Copyright (c) 1996
## Hewlett-Packard Company
- ##
+ ##
## ATTENTION: USE OF THIS SOFTWARE IS SUBJECT TO THE FOLLOWING TERMS.
- ## Permission to use, copy, modify, distribute andor sell this software
- ## andor its documentation is hereby granted without fee. User agrees
- ## to display the above copyright notice and this license notice in all
- ## copies of the software and any documentation of the software. User
- ## agrees to assume all liability for the use of the software;
- ## Hewlett-Packard and Jochen Katz make no representations about the
- ## suitability of this software for any purpose. It is provided
- ## "AS-IS" without warranty of any kind, either express or implied. User
+ ## Permission to use, copy, modify, distribute andor sell this software
+ ## andor its documentation is hereby granted without fee. User agrees
+ ## to display the above copyright notice and this license notice in all
+ ## copies of the software and any documentation of the software. User
+ ## agrees to assume all liability for the use of the software;
+ ## Hewlett-Packard and Jochen Katz make no representations about the
+ ## suitability of this software for any purpose. It is provided
+ ## "AS-IS" without warranty of any kind, either express or implied. User
## hereby grants a royalty-free license to any and all derivatives based
- ## upon this software code base.
- ##
- ## Stuttgart, Germany, Tue Nov 21 22:12:16 CET 2006
- ##
+ ## upon this software code base.
+ ##
+ ## Stuttgart, Germany, Tue Nov 21 22:12:16 CET 2006
+ ##
##########################################################################*
#
@@ -32,17 +32,11 @@
#
COPTIONS = -D_XPG4_EXTENDED -D__unix -Wall -D_USE_OPENSSL# -DHEADER_DES_LOCL_H # -D_DEBUG
-TEMPOPTS = -I.
+TEMPOPTS = -I.
USEROPTS = -g
-CFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)
+CFLAGS = $(COPTIONS) $(CINCDIRS) $(USEROPTS)
LDFLAGS = $(CFLAGS)
SHARED = -fPIC -shared
-#
-# Compilation rules
-#
-CC = g++
-LD = ld
-
include common.mk
Modified: head/net-mgmt/snmp++/files/patch-src-common.mk
==============================================================================
--- head/net-mgmt/snmp++/files/patch-src-common.mk Sun Jan 26 18:15:52 2014 (r341253)
+++ head/net-mgmt/snmp++/files/patch-src-common.mk Sun Jan 26 18:22:35 2014 (r341254)
@@ -7,5 +7,5 @@
-INSTPREFIX = /usr/local
+INSTPREFIX = $(PREFIX)
endif
-
+
ifndef INSTLIBPATH
Modified: head/net-mgmt/snmp++/pkg-descr
==============================================================================
--- head/net-mgmt/snmp++/pkg-descr Sun Jan 26 18:15:52 2014 (r341253)
+++ head/net-mgmt/snmp++/pkg-descr Sun Jan 26 18:22:35 2014 (r341254)
@@ -13,4 +13,4 @@ SNMP++v3.x extends the original SNMP++v2
# Thread-safety
# Bug-fixes
-WWW: http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html for further details.
+WWW: http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html
Modified: head/net-mgmt/snmp++/pkg-plist
==============================================================================
--- head/net-mgmt/snmp++/pkg-plist Sun Jan 26 18:15:52 2014 (r341253)
+++ head/net-mgmt/snmp++/pkg-plist Sun Jan 26 18:22:35 2014 (r341254)
@@ -36,5 +36,5 @@ include/snmp_pp/v3.h
include/snmp_pp/vb.h
lib/libsnmp++.a
lib/libsnmp++.so
-lib/libsnmp++.so.2.0.0
+lib/libsnmp++.so.3.3.0
@dirrm include/snmp_pp
More information about the svn-ports-all
mailing list