aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2011-05-27 20:45:37 +0000
committerWesley Shields <wxs@FreeBSD.org>2011-05-27 20:45:37 +0000
commit8af63a6c28777a6a0f434211b4ee6210ce5487f2 (patch)
tree9088118d1ce9d1a7356e22ce6f68bfa9e336fb94 /net-mgmt
parentf145c94a25c999224620d3ccf8401871658706f9 (diff)
downloadports-8af63a6c28777a6a0f434211b4ee6210ce5487f2.tar.gz
ports-8af63a6c28777a6a0f434211b4ee6210ce5487f2.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/snmp++/Makefile5
-rw-r--r--net-mgmt/snmp++/distinfo4
-rw-r--r--net-mgmt/snmp++/files/patch-src-common.mk11
-rw-r--r--net-mgmt/snmp++/pkg-plist3
4 files changed, 18 insertions, 5 deletions
diff --git a/net-mgmt/snmp++/Makefile b/net-mgmt/snmp++/Makefile
index a7553f7b7125..6569fd4fac82 100644
--- a/net-mgmt/snmp++/Makefile
+++ b/net-mgmt/snmp++/Makefile
@@ -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 @@ USE_LDCONFIG= yes
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 --git a/net-mgmt/snmp++/distinfo b/net-mgmt/snmp++/distinfo
index cc9894a1f8a9..75e67b09b5fc 100644
--- a/net-mgmt/snmp++/distinfo
+++ b/net-mgmt/snmp++/distinfo
@@ -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 --git a/net-mgmt/snmp++/files/patch-src-common.mk b/net-mgmt/snmp++/files/patch-src-common.mk
new file mode 100644
index 000000000000..40471d4e806f
--- /dev/null
+++ b/net-mgmt/snmp++/files/patch-src-common.mk
@@ -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 --git a/net-mgmt/snmp++/pkg-plist b/net-mgmt/snmp++/pkg-plist
index 919bdcfbe8e2..57f81c57c980 100644
--- a/net-mgmt/snmp++/pkg-plist
+++ b/net-mgmt/snmp++/pkg-plist
@@ -3,8 +3,6 @@ include/snmp_pp/address.h
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/v3.h
include/snmp_pp/vb.h
lib/libsnmp++.a
lib/libsnmp++.so
+lib/libsnmp++.so.2.0.0
@dirrm include/snmp_pp