import snmptt 1.3

SNMP Trap Translator is used to 'translate' traps received from the
NET-SNMP snmptrapd trap daemon into easy to understand messages.
This commit is contained in:
jasper 2010-03-22 17:35:44 +00:00
parent 8ba6a59327
commit bce87bc114
5 changed files with 74 additions and 0 deletions

41
net/snmptt/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/03/22 17:35:44 jasper Exp $
COMMENT= SNMP trap handler written
DISTNAME= snmptt_1.3
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= net
HOMEPAGE= http://snmptt.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=snmptt/}
EXTRACT_SUFX= .tgz
PKG_ARCH= *
NO_BUILD= Yes
NO_REGRESS= Yes
RUN_DEPENDS= ::devel/p5-Config-IniFiles \
::net/net-snmp
DOC_DIR= ${PREFIX}/share/doc/snmptt
EX_DIR= ${PREFIX}/share/examples/snmptt
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/{snmptt,snmptthandler} ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOC_DIR}
${INSTALL_DATA_DIR} ${EX_DIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EX_DIR}
${INSTALL_DATA} ${WRKSRC}/snmptt.ini ${EX_DIR}
${INSTALL_DATA_DIR} ${PREFIX}/share/snmptt
${INSTALL_DATA} ${WRKSRC}/sample-* ${PREFIX}/share/snmptt
.include <bsd.port.mk>

5
net/snmptt/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (snmptt_1.3.tgz) = 7o2CBtPg2GD+4SbgnY6yBw==
RMD160 (snmptt_1.3.tgz) = PxL0VyDCY8zw0nyLORU32ggIPL4=
SHA1 (snmptt_1.3.tgz) = RBB32AbId1RcLOVojgwez1zKm7s=
SHA256 (snmptt_1.3.tgz) = LwnUiaIHP1sfS9wgdTO33PmdW1fRyWWc+qPCr0TOZWc=
SIZE (snmptt_1.3.tgz) = 146314

2
net/snmptt/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
SNMP Trap Translator is used to 'translate' traps received from the
NET-SNMP snmptrapd trap daemon into easy to understand messages.

2
net/snmptt/pkg/MESSAGE Normal file
View File

@ -0,0 +1,2 @@
Please see ${PREFIX}/share/doc/snmptt/snmptt.html on how to configure
snmptt for your network.

24
net/snmptt/pkg/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/03/22 17:35:44 jasper Exp $
sbin/snmptt
sbin/snmptthandler
share/doc/snmptt/
share/doc/snmptt/faqs.html
share/doc/snmptt/index.html
share/doc/snmptt/layout1.css
share/doc/snmptt/snmptt.html
share/doc/snmptt/snmpttconvert.html
share/doc/snmptt/snmpttconvertmib.html
share/examples/snmptt/
share/examples/snmptt/sample-trap.generic
share/examples/snmptt/sample-trap.generic.daemon
share/examples/snmptt/snmptt.conf.generic
share/examples/snmptt/snmptt.ini
@sample ${SYSCONFDIR}/snmptt.ini
share/snmptt/
share/snmptt/sample-trap
share/snmptt/sample-trap-daemon
share/snmptt/sample-unknown-trap
share/snmptt/sample-unknown-trap-daemon
@sample /var/log/snmptt/
@extraunexec rm -rf /var/log/snmptt/*