Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 09:18:52 GMT
From:      Nicolai Petri <nicolai@petri.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182402: Fix and update SNMP++ port
Message-ID:  <201309260918.r8Q9Iqm1071208@oldred.freebsd.org>
Resent-Message-ID: <201309260920.r8Q9K0lV039174@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182402
>Category:       ports
>Synopsis:       Fix and update SNMP++ port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 26 09:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Nicolai Petri
>Release:        9.1-STABLE
>Organization:
N Possible
>Environment:
FreeBSD edge.petri.cc 9.1-STABLE FreeBSD 9.1-STABLE #3: Fri Jun 21 02:14:48 CEST 2013     root@edge.petri.cc:/usr/obj/usr/src/sys/FEVER  amd64

>Description:
Update to latest release and fix build under clang only enviroments
>How-To-Repeat:

>Fix:
apply attached patch

Patch attached with submission follows:

--- Makefile.orig	2013-09-26 11:05:40.653706748 +0200
+++ Makefile	2013-09-26 11:13:30.150707065 +0200
@@ -6,12 +6,12 @@
 #
 
 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@catpipe.net
+MAINTAINER=	nicolai@petri.dk
 COMMENT=	SNMP C++ library with V3 support
 
 MAKEFILE=	Makefile.FreeBSD
@@ -24,6 +24,6 @@
 	${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
 
 post-install:
-	${LN} -sf ${PREFIX}/lib/libsnmp++.so.2.0.0 ${PREFIX}/lib/libsnmp++.so
+	${LN} -sf ${PREFIX}/lib/libsnmp++.so.3.3.0 ${PREFIX}/lib/libsnmp++.so
 
 .include <bsd.port.mk>
--- files/Makefile.FreeBSD.orig	2013-09-26 10:57:10.103722951 +0200
+++ files/Makefile.FreeBSD	2013-09-26 11:04:10.770704788 +0200
@@ -39,10 +39,4 @@
 LDFLAGS  = $(CFLAGS)
 SHARED	 = -fPIC -shared
 
-#
-# Compilation rules
-#
-CC = g++
-LD = ld
-
 include common.mk
--- pkg-plist.orig	2013-09-26 11:14:40.140711660 +0200
+++ pkg-plist	2013-09-26 11:14:51.996709070 +0200
@@ -36,5 +36,5 @@
 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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309260918.r8Q9Iqm1071208>