Add tcl-snmptools, a Tcl extension that provides SNMP tools.

ok sebastia@
This commit is contained in:
matthieu 2012-01-08 14:56:29 +00:00
parent 52e58e485e
commit d6851af415
4 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/01/08 14:56:29 matthieu Exp $
SHARED_ONLY = Yes
COMMENT = Tcl package that provides SNMP tools
DISTNAME = tcl-snmptools-1.0
SHARED_LIBS = snmptools10 1.0
CATEGORIES = net
MAINTAINER = Matthieu Herrb <matthieu@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = netsnmp
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcl-snmptools/}
MODULES = lang/tcl
LIB_DEPENDS = net/net-snmp
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS}
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS}
USE_GROFF = yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS+=--with-tcl=${MODTCL_LIBDIR} \
--libdir=${MODTCL_TCLDIR} \
CPPFLAGS="-I/usr/local/include" \
CFLAGS="${CFLAGS} -pthread"
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (tcl-snmptools-1.0.tar.gz) = 3b0J4uOeLvpBVZgTF+xTlA==
RMD160 (tcl-snmptools-1.0.tar.gz) = h65wo6r3kGSMp6f80iWMAAAsT/8=
SHA1 (tcl-snmptools-1.0.tar.gz) = QQpfegapARz3250sPDx+jCPuAqY=
SHA256 (tcl-snmptools-1.0.tar.gz) = AUBbgRwC5ri8QDqtJPBUT9u9XIjSHbyJhFzWL4ROhos=
SIZE (tcl-snmptools-1.0.tar.gz) = 173610

View File

@ -0,0 +1,5 @@
A Tcl package that provides SNMP tools for managing remote Agents.
It uses the NetSNMP library and supports all standard SNMP v1/v2/v3
operations and more: get, set, getnext, walk, bulkget, bulkwalk, trap,
translate and table.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/01/08 14:56:29 matthieu Exp $
lib/tcl/snmptools1.0/
@lib lib/tcl/snmptools1.0/libsnmptools10.so.${LIBsnmptools10_VERSION}
lib/tcl/snmptools1.0/pkgIndex.tcl
@man man/mann/tcl-snmptools.n