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:
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
|
@ -643,6 +643,7 @@
|
|||
SUBDIR += rsyslog4-gnutls
|
||||
SUBDIR += rsyslog4-gssapi
|
||||
SUBDIR += rsyslog4-mysql
|
||||
SUBDIR += rsyslog4-pgsql
|
||||
SUBDIR += rtty
|
||||
SUBDIR += ruby-log4r
|
||||
SUBDIR += ruby-quota
|
||||
|
|
27
sysutils/rsyslog4-devel-pgsql/Makefile
Normal file
27
sysutils/rsyslog4-devel-pgsql/Makefile
Normal 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>
|
4
sysutils/rsyslog4-devel-pgsql/pkg-plist
Normal file
4
sysutils/rsyslog4-devel-pgsql/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/rsyslog/ompgsql.la
|
||||
lib/rsyslog/ompgsql.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
|
||||
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
|
27
sysutils/rsyslog4-pgsql/Makefile
Normal file
27
sysutils/rsyslog4-pgsql/Makefile
Normal 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>
|
4
sysutils/rsyslog4-pgsql/pkg-plist
Normal file
4
sysutils/rsyslog4-pgsql/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/rsyslog/ompgsql.la
|
||||
lib/rsyslog/ompgsql.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
|
||||
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
|
27
sysutils/rsyslog5-devel-pgsql/Makefile
Normal file
27
sysutils/rsyslog5-devel-pgsql/Makefile
Normal 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>
|
4
sysutils/rsyslog5-devel-pgsql/pkg-plist
Normal file
4
sysutils/rsyslog5-devel-pgsql/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/rsyslog/ompgsql.la
|
||||
lib/rsyslog/ompgsql.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
|
||||
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
|
27
sysutils/rsyslog5-pgsql/Makefile
Normal file
27
sysutils/rsyslog5-pgsql/Makefile
Normal 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>
|
4
sysutils/rsyslog5-pgsql/pkg-plist
Normal file
4
sysutils/rsyslog5-pgsql/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/rsyslog/ompgsql.la
|
||||
lib/rsyslog/ompgsql.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
|
||||
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
|
27
sysutils/rsyslog55-pgsql/Makefile
Normal file
27
sysutils/rsyslog55-pgsql/Makefile
Normal 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>
|
4
sysutils/rsyslog55-pgsql/pkg-plist
Normal file
4
sysutils/rsyslog55-pgsql/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/rsyslog/ompgsql.la
|
||||
lib/rsyslog/ompgsql.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
|
||||
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
|
27
sysutils/rsyslog6-devel-pgsql/Makefile
Normal file
27
sysutils/rsyslog6-devel-pgsql/Makefile
Normal 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>
|
4
sysutils/rsyslog6-devel-pgsql/pkg-plist
Normal file
4
sysutils/rsyslog6-devel-pgsql/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
lib/rsyslog/ompgsql.la
|
||||
lib/rsyslog/ompgsql.so
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql
|
||||
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
|
Loading…
Reference in a new issue