1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Rsyslog works based in input and output modules. The port sysutils/rsyslog4 brings

the core modules for basic functionality.

-snmp SNMP trap sending

PR:		        ports/130046
Submitted by:	Cristiano Rolim Pereira <cristianorolim at hotmail.com>
This commit is contained in:
Philip M. Gollucci 2009-01-27 19:52:01 +00:00
parent 45e55c9ffb
commit eb14c96201
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226995
7 changed files with 151 additions and 0 deletions

View File

@ -645,6 +645,7 @@
SUBDIR += rsyslog4-mysql
SUBDIR += rsyslog4-pgsql
SUBDIR += rsyslog4-relp
SUBDIR += rsyslog4-snmp
SUBDIR += rtty
SUBDIR += ruby-log4r
SUBDIR += ruby-quota

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: rsyslog4-snmp
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= SNMP trap sender for rsyslog
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: rsyslog4-snmp
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= SNMP trap sender for rsyslog
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: rsyslog4-snmp
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= SNMP trap sender for rsyslog
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: rsyslog4-snmp
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= SNMP trap sender for rsyslog
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: rsyslog4-snmp
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= SNMP trap sender for rsyslog
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: rsyslog4-snmp
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= SNMP trap sender for rsyslog
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>