From eb9c281cfea128a2d565bee548da4bd3706ec124 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Tue, 27 Jan 2009 19:49:26 +0000 Subject: 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 --- sysutils/rsyslog6-devel-pgsql/Makefile | 27 +++++++++++++++++++++++++++ sysutils/rsyslog6-devel-pgsql/pkg-plist | 4 ++++ 2 files changed, 31 insertions(+) create mode 100644 sysutils/rsyslog6-devel-pgsql/Makefile create mode 100644 sysutils/rsyslog6-devel-pgsql/pkg-plist (limited to 'sysutils/rsyslog6-devel-pgsql') diff --git a/sysutils/rsyslog6-devel-pgsql/Makefile b/sysutils/rsyslog6-devel-pgsql/Makefile new file mode 100644 index 000000000000..18bf4d0f723b --- /dev/null +++ b/sysutils/rsyslog6-devel-pgsql/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: rsyslog4-pgsql +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira +# +# $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 diff --git a/sysutils/rsyslog6-devel-pgsql/pkg-plist b/sysutils/rsyslog6-devel-pgsql/pkg-plist new file mode 100644 index 000000000000..c01f4b8042c0 --- /dev/null +++ b/sysutils/rsyslog6-devel-pgsql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ompgsql.la +lib/rsyslog/ompgsql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% -- cgit