aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-08-28 03:31:55 +0800
committersat <sat@FreeBSD.org>2006-08-28 03:31:55 +0800
commit628b43929166c29c8616f413bdcb58f6d2327d92 (patch)
tree53dbe3389d3a25f5b5da711ca255091ac02d4bfd /net-mgmt
parent2e63bab9ac58c1a8257eadd72eea87d76e2e54a7 (diff)
downloadfreebsd-ports-gnome-628b43929166c29c8616f413bdcb58f6d2327d92.tar.gz
freebsd-ports-gnome-628b43929166c29c8616f413bdcb58f6d2327d92.tar.zst
freebsd-ports-gnome-628b43929166c29c8616f413bdcb58f6d2327d92.zip
Add port net-mgmt/bsnmptools:
Snmp client-side tools WWW: http://wiki.freebsd.org/BsnmpTools Author: Shteryana Shopova <soc-shteryana@freebsd.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/bsnmptools/Makefile40
-rw-r--r--net-mgmt/bsnmptools/distinfo3
-rw-r--r--net-mgmt/bsnmptools/pkg-descr4
4 files changed, 48 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index d2ea1fbc9666..1fbdeedf9db4 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -29,6 +29,7 @@
SUBDIR += braa
SUBDIR += bsd-airtools
SUBDIR += bsnmpd
+ SUBDIR += bsnmptools
SUBDIR += bwm-ng
SUBDIR += cdpd
SUBDIR += cdpr
diff --git a/net-mgmt/bsnmptools/Makefile b/net-mgmt/bsnmptools/Makefile
new file mode 100644
index 000000000000..da5358d8674b
--- /dev/null
+++ b/net-mgmt/bsnmptools/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: bsnmptools
+# Date created: 28 August 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bsnmptools
+PORTVERSION= 0.0.20060818
+DISTVERSION= 20060818-01
+CATEGORIES= net-mgmt
+MASTER_SITES= http://www.ringlet.net/~shteryana/snmp/ CSME
+EXTRACT_SUFX= .tar
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Snmp client tools
+
+USE_LDCONFIG= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+MAKE_ARGS= SHLIB_MAJOR=0 INCLUDEDIR=${PREFIX}/include LIBDIR=${PREFIX}/lib \
+ MANDIR=${MANPREFIX}/man/man NO_MANCOMPRESS=yes BINDIR=${PREFIX}/bin
+CFLAGS= -I${WRKSRC}/lib -L${WRKSRC}/lib
+#LDFLAGS= -L/lib -L${WRKSRC}/lib
+PLIST_FILES= ${BIN_FILES:S,^,bin/,} include/${PORTNAME}.h include/bsnmptc.h \
+ lib/lib${PORTNAME}.a lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0
+BIN_FILES= bsnmpget bsnmpset bsnmpwalk
+MAN1= ${BIN_FILES:S/$/.1/}
+MAN3= ${PORTNAME}.3
+
+post-extract:
+ @${CHMOD} -R u+w ${WRKSRC}
+ @${MV} ${WRKSRC}/lib/libbsnmptools/libbsnmptools ${WRKSRC}/tlib
+ @${MV} ${WRKSRC}/usr.sbin/bsnmpd/tools ${WRKSRC}/
+ @${RM} -rf ${WRKSRC}/lib ${WRKSRC}/usr.sbin ${WRKSRC}/tools/Makefile.inc
+ @${MV} ${WRKSRC}/tlib ${WRKSRC}/lib
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/usr.sbin/tools/' ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/bsnmptools/distinfo b/net-mgmt/bsnmptools/distinfo
new file mode 100644
index 000000000000..b78d9eb6fb30
--- /dev/null
+++ b/net-mgmt/bsnmptools/distinfo
@@ -0,0 +1,3 @@
+MD5 (bsnmptools-20060818-01.tar) = 2970135f69b0b50a6f0a2cdb25fd92c6
+SHA256 (bsnmptools-20060818-01.tar) = 0537938014c5af4eb33fe37ff4807f144cce1c3d60699e2eed477c4b8a506020
+SIZE (bsnmptools-20060818-01.tar) = 40407
diff --git a/net-mgmt/bsnmptools/pkg-descr b/net-mgmt/bsnmptools/pkg-descr
new file mode 100644
index 000000000000..d23639465a24
--- /dev/null
+++ b/net-mgmt/bsnmptools/pkg-descr
@@ -0,0 +1,4 @@
+Snmp client-side tools
+
+WWW: http://wiki.freebsd.org/BsnmpTools
+Author: Shteryana Shopova <soc-shteryana@freebsd.org>