From 322be3ee25d1fbc8d2df0c30964e81d14a1baa54 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Tue, 27 Jan 2009 19:46:33 +0000 Subject: [PATCH] Rsyslog works based in input and output modules. The port sysutils/rsyslog4 brings the core modules for basic functionality. -dbi give output via libdbi PR: ports/130046 Submitted by: Cristiano Rolim Pereira --- sysutils/Makefile | 1 + sysutils/rsyslog4-dbi/Makefile | 24 ++++++++++++++++++++++++ sysutils/rsyslog4-devel-dbi/Makefile | 24 ++++++++++++++++++++++++ sysutils/rsyslog5-dbi/Makefile | 24 ++++++++++++++++++++++++ sysutils/rsyslog5-devel-dbi/Makefile | 24 ++++++++++++++++++++++++ sysutils/rsyslog55-dbi/Makefile | 24 ++++++++++++++++++++++++ sysutils/rsyslog6-devel-dbi/Makefile | 24 ++++++++++++++++++++++++ 7 files changed, 145 insertions(+) create mode 100644 sysutils/rsyslog4-dbi/Makefile create mode 100644 sysutils/rsyslog4-devel-dbi/Makefile create mode 100644 sysutils/rsyslog5-dbi/Makefile create mode 100644 sysutils/rsyslog5-devel-dbi/Makefile create mode 100644 sysutils/rsyslog55-dbi/Makefile create mode 100644 sysutils/rsyslog6-devel-dbi/Makefile diff --git a/sysutils/Makefile b/sysutils/Makefile index aa69ab024952..02e2a8f11019 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -639,6 +639,7 @@ SUBDIR += rsyslog3-relp SUBDIR += rsyslog3-snmp SUBDIR += rsyslog4 + SUBDIR += rsyslog4-dbi SUBDIR += rtty SUBDIR += ruby-log4r SUBDIR += ruby-quota diff --git a/sysutils/rsyslog4-dbi/Makefile b/sysutils/rsyslog4-dbi/Makefile new file mode 100644 index 000000000000..6c415fd8e0ac --- /dev/null +++ b/sysutils/rsyslog4-dbi/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rsyslog4-dbi +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira +# +# $FreeBSD$ + +COMMENT= LibDBI output module for rsyslog + +MNAME= libdbi +LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +CONFIGURE_ARGS+=--enable-libdbi + +PLIST_FILES+= lib/rsyslog/omlibdbi.la \ + lib/rsyslog/omlibdbi.so + +do-install: + @${INSTALL_PROGRAM} \ + ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog + @${INSTALL_DATA} \ + ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog +.include diff --git a/sysutils/rsyslog4-devel-dbi/Makefile b/sysutils/rsyslog4-devel-dbi/Makefile new file mode 100644 index 000000000000..6c415fd8e0ac --- /dev/null +++ b/sysutils/rsyslog4-devel-dbi/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rsyslog4-dbi +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira +# +# $FreeBSD$ + +COMMENT= LibDBI output module for rsyslog + +MNAME= libdbi +LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +CONFIGURE_ARGS+=--enable-libdbi + +PLIST_FILES+= lib/rsyslog/omlibdbi.la \ + lib/rsyslog/omlibdbi.so + +do-install: + @${INSTALL_PROGRAM} \ + ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog + @${INSTALL_DATA} \ + ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog +.include diff --git a/sysutils/rsyslog5-dbi/Makefile b/sysutils/rsyslog5-dbi/Makefile new file mode 100644 index 000000000000..6c415fd8e0ac --- /dev/null +++ b/sysutils/rsyslog5-dbi/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rsyslog4-dbi +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira +# +# $FreeBSD$ + +COMMENT= LibDBI output module for rsyslog + +MNAME= libdbi +LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +CONFIGURE_ARGS+=--enable-libdbi + +PLIST_FILES+= lib/rsyslog/omlibdbi.la \ + lib/rsyslog/omlibdbi.so + +do-install: + @${INSTALL_PROGRAM} \ + ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog + @${INSTALL_DATA} \ + ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog +.include diff --git a/sysutils/rsyslog5-devel-dbi/Makefile b/sysutils/rsyslog5-devel-dbi/Makefile new file mode 100644 index 000000000000..6c415fd8e0ac --- /dev/null +++ b/sysutils/rsyslog5-devel-dbi/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rsyslog4-dbi +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira +# +# $FreeBSD$ + +COMMENT= LibDBI output module for rsyslog + +MNAME= libdbi +LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +CONFIGURE_ARGS+=--enable-libdbi + +PLIST_FILES+= lib/rsyslog/omlibdbi.la \ + lib/rsyslog/omlibdbi.so + +do-install: + @${INSTALL_PROGRAM} \ + ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog + @${INSTALL_DATA} \ + ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog +.include diff --git a/sysutils/rsyslog55-dbi/Makefile b/sysutils/rsyslog55-dbi/Makefile new file mode 100644 index 000000000000..6c415fd8e0ac --- /dev/null +++ b/sysutils/rsyslog55-dbi/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rsyslog4-dbi +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira +# +# $FreeBSD$ + +COMMENT= LibDBI output module for rsyslog + +MNAME= libdbi +LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +CONFIGURE_ARGS+=--enable-libdbi + +PLIST_FILES+= lib/rsyslog/omlibdbi.la \ + lib/rsyslog/omlibdbi.so + +do-install: + @${INSTALL_PROGRAM} \ + ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog + @${INSTALL_DATA} \ + ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog +.include diff --git a/sysutils/rsyslog6-devel-dbi/Makefile b/sysutils/rsyslog6-devel-dbi/Makefile new file mode 100644 index 000000000000..6c415fd8e0ac --- /dev/null +++ b/sysutils/rsyslog6-devel-dbi/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rsyslog4-dbi +# Date created: 29 December 2008 +# Whom: Cristiano Rolim Pereira +# +# $FreeBSD$ + +COMMENT= LibDBI output module for rsyslog + +MNAME= libdbi +LIB_DEPENDS= dbi.0:${PORTSDIR}/databases/libdbi + +.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk" + +CONFIGURE_ARGS+=--enable-libdbi + +PLIST_FILES+= lib/rsyslog/omlibdbi.la \ + lib/rsyslog/omlibdbi.so + +do-install: + @${INSTALL_PROGRAM} \ + ${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog + @${INSTALL_DATA} \ + ${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog +.include