diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-01-28 03:49:26 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-01-28 03:49:26 +0800 |
commit | eb9c281cfea128a2d565bee548da4bd3706ec124 (patch) | |
tree | 8c0fdff26244b7c169837adba10289d3b8be6117 | |
parent | c1e2283fa8737bc661c9b4b2caa2f6c8086e1c94 (diff) | |
download | freebsd-ports-gnome-eb9c281cfea128a2d565bee548da4bd3706ec124.tar.gz freebsd-ports-gnome-eb9c281cfea128a2d565bee548da4bd3706ec124.tar.zst freebsd-ports-gnome-eb9c281cfea128a2d565bee548da4bd3706ec124.zip |
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>
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/rsyslog4-devel-pgsql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog4-devel-pgsql/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/rsyslog4-pgsql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog4-pgsql/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/rsyslog5-devel-pgsql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog5-devel-pgsql/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/rsyslog5-pgsql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog5-pgsql/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/rsyslog55-pgsql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog55-pgsql/pkg-plist | 4 | ||||
-rw-r--r-- | sysutils/rsyslog6-devel-pgsql/Makefile | 27 | ||||
-rw-r--r-- | sysutils/rsyslog6-devel-pgsql/pkg-plist | 4 |
13 files changed, 187 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 364eb83d2ff3..6064e0fe4857 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -643,6 +643,7 @@ SUBDIR += rsyslog4-gnutls SUBDIR += rsyslog4-gssapi SUBDIR += rsyslog4-mysql + SUBDIR += rsyslog4-pgsql SUBDIR += rtty SUBDIR += ruby-log4r SUBDIR += ruby-quota diff --git a/sysutils/rsyslog4-devel-pgsql/Makefile b/sysutils/rsyslog4-devel-pgsql/Makefile new file mode 100644 index 000000000000..18bf4d0f723b --- /dev/null +++ b/sysutils/rsyslog4-devel-pgsql/Makefile @@ -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> diff --git a/sysutils/rsyslog4-devel-pgsql/pkg-plist b/sysutils/rsyslog4-devel-pgsql/pkg-plist new file mode 100644 index 000000000000..c01f4b8042c0 --- /dev/null +++ b/sysutils/rsyslog4-devel-pgsql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ompgsql.la +lib/rsyslog/ompgsql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% diff --git a/sysutils/rsyslog4-pgsql/Makefile b/sysutils/rsyslog4-pgsql/Makefile new file mode 100644 index 000000000000..18bf4d0f723b --- /dev/null +++ b/sysutils/rsyslog4-pgsql/Makefile @@ -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> diff --git a/sysutils/rsyslog4-pgsql/pkg-plist b/sysutils/rsyslog4-pgsql/pkg-plist new file mode 100644 index 000000000000..c01f4b8042c0 --- /dev/null +++ b/sysutils/rsyslog4-pgsql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ompgsql.la +lib/rsyslog/ompgsql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% diff --git a/sysutils/rsyslog5-devel-pgsql/Makefile b/sysutils/rsyslog5-devel-pgsql/Makefile new file mode 100644 index 000000000000..18bf4d0f723b --- /dev/null +++ b/sysutils/rsyslog5-devel-pgsql/Makefile @@ -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> diff --git a/sysutils/rsyslog5-devel-pgsql/pkg-plist b/sysutils/rsyslog5-devel-pgsql/pkg-plist new file mode 100644 index 000000000000..c01f4b8042c0 --- /dev/null +++ b/sysutils/rsyslog5-devel-pgsql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ompgsql.la +lib/rsyslog/ompgsql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% diff --git a/sysutils/rsyslog5-pgsql/Makefile b/sysutils/rsyslog5-pgsql/Makefile new file mode 100644 index 000000000000..18bf4d0f723b --- /dev/null +++ b/sysutils/rsyslog5-pgsql/Makefile @@ -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> diff --git a/sysutils/rsyslog5-pgsql/pkg-plist b/sysutils/rsyslog5-pgsql/pkg-plist new file mode 100644 index 000000000000..c01f4b8042c0 --- /dev/null +++ b/sysutils/rsyslog5-pgsql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ompgsql.la +lib/rsyslog/ompgsql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% diff --git a/sysutils/rsyslog55-pgsql/Makefile b/sysutils/rsyslog55-pgsql/Makefile new file mode 100644 index 000000000000..18bf4d0f723b --- /dev/null +++ b/sysutils/rsyslog55-pgsql/Makefile @@ -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> diff --git a/sysutils/rsyslog55-pgsql/pkg-plist b/sysutils/rsyslog55-pgsql/pkg-plist new file mode 100644 index 000000000000..c01f4b8042c0 --- /dev/null +++ b/sysutils/rsyslog55-pgsql/pkg-plist @@ -0,0 +1,4 @@ +lib/rsyslog/ompgsql.la +lib/rsyslog/ompgsql.so +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pgsql_createDB.sql +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% 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 <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> 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%% |