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

brings the core modules for basic functionality.

-pgsql outputs to a Postgresql database

PR:		        ports/130046
Submitted by:	Cristiano Rolim Pereira <cristianorolim at hotmail.com>
This commit is contained in:
Philip M. Gollucci 2009-01-27 19:49:26 +00:00
parent 4dc1d88d17
commit 1585fdcd8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226993
13 changed files with 187 additions and 0 deletions

View file

@ -643,6 +643,7 @@
SUBDIR += rsyslog4-gnutls
SUBDIR += rsyslog4-gssapi
SUBDIR += rsyslog4-mysql
SUBDIR += rsyslog4-pgsql
SUBDIR += rtty
SUBDIR += ruby-log4r
SUBDIR += ruby-quota

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: rsyslog4-pgsql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= PostgreSQL output module for rsyslog
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,4 @@
lib/rsyslog/ompgsql.la
lib/rsyslog/ompgsql.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: rsyslog4-pgsql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= PostgreSQL output module for rsyslog
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,4 @@
lib/rsyslog/ompgsql.la
lib/rsyslog/ompgsql.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: rsyslog4-pgsql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= PostgreSQL output module for rsyslog
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,4 @@
lib/rsyslog/ompgsql.la
lib/rsyslog/ompgsql.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: rsyslog4-pgsql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= PostgreSQL output module for rsyslog
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,4 @@
lib/rsyslog/ompgsql.la
lib/rsyslog/ompgsql.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: rsyslog4-pgsql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= PostgreSQL output module for rsyslog
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,4 @@
lib/rsyslog/ompgsql.la
lib/rsyslog/ompgsql.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: rsyslog4-pgsql
# Date created: 29 December 2008
# Whom: Cristiano Rolim Pereira <cristianorolim@hotmail.com>
#
# $FreeBSD$
#
COMMENT= PostgreSQL output module for rsyslog
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/ompgsql/.libs/ompgsql.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/ompgsql/ompgsql.la ${PREFIX}/lib/rsyslog
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1,4 @@
lib/rsyslog/ompgsql.la
lib/rsyslog/ompgsql.so
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%