1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 4.1.4

PR:		ports/131181
Submitted by:	Cristiano Rolim Pereira <cristianorolim@hotmail.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2009-03-22 20:13:47 +00:00
parent f225722fd7
commit d432f3bc60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230696
60 changed files with 354 additions and 348 deletions

View File

@ -5,12 +5,11 @@
# $FreeBSD$
COMMENT= LibDBI output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
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 \
@ -21,4 +20,5 @@ do-install:
${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -5,12 +5,11 @@
# $FreeBSD$
COMMENT= LibDBI output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
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 \
@ -21,4 +20,5 @@ do-install:
${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= GNUTLS module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-gnutls
PLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,16 +6,10 @@
#
COMMENT= GSS API input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gssapi
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+=--enable-gssapi-krb5
PLIST_FILES+= lib/rsyslog/imgssapi.la \
@ -38,4 +32,4 @@ do-install:
${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog
.include <bsd.port.post.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= MySQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= mysql
USE_MYSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-mysql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= PostgreSQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,13 +6,12 @@
#
COMMENT= RELP input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= relp
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-relp
PLIST_FILES+= lib/rsyslog/imrelp.la \
@ -29,4 +28,4 @@ do-install:
${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= SNMP trap sender for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,25 +6,44 @@
#
PORTNAME= rsyslog
PORTVERSION= 4.1.3
PORTVERSION= 4.1.4
CATEGORIES= sysutils
MASTER_SITES= http://download.rsyslog.com/rsyslog/
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
.endif
MAINTAINER= cristianorolim@hotmail.com
COMMENT= Syslogd supporting SQL, TCP and TLS
COMMENT?= Syslogd supporting SQL, TCP and TLS
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
.ifdef MNAME
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
PLIST= ${.CURDIR}/pkg-plist
.endif
CONFLICTS= rsyslog-[2-3].[0-9]*
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
.ifdef WITH_DEBUG
CONFIGURE_ARGS+=--enable-rtinst --enable-debug
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CPPFLAGS+=-march=i686
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifndef MNAME
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate
post-patch:
@ -46,5 +65,18 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
.ifdef MNAME
.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif
.include <bsd.port.post.mk>

View File

@ -1,20 +0,0 @@
PORTNAME?= rsyslog
PORTVERSION?= 4.1.3
CATEGORIES?= sysutils
MASTER_SITES?= http://download.rsyslog.com/rsyslog/
MAINTAINER?= cristianorolim@hotmail.com
CONFLICTS= rsyslog-[2-3].[0-9]*
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif

View File

@ -1,3 +1,3 @@
MD5 (rsyslog-4.1.3.tar.gz) = d598cbed2066321bd4b156300a39b9ed
SHA256 (rsyslog-4.1.3.tar.gz) = 5a2e139f47b41ed59828e7dc04df79837f23179eed6e83a948570fff40ace66d
SIZE (rsyslog-4.1.3.tar.gz) = 1349408
MD5 (rsyslog-4.1.4.tar.gz) = 02132e48919be3b0f0464d7b192dbcc5
SHA256 (rsyslog-4.1.4.tar.gz) = 4411cec54cf021b7518055e0193d0ac9d591f4ec833943a05676acf782cef425
SIZE (rsyslog-4.1.4.tar.gz) = 1350013

View File

@ -6,12 +6,11 @@
#
COMMENT= GNUTLS module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-gnutls
PLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,16 +6,10 @@
#
COMMENT= GSS API input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gssapi
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+=--enable-gssapi-krb5
PLIST_FILES+= lib/rsyslog/imgssapi.la \
@ -38,4 +32,4 @@ do-install:
${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog
.include <bsd.port.post.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= MySQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= mysql
USE_MYSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-mysql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= PostgreSQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,13 +6,12 @@
#
COMMENT= RELP input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= relp
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-relp
PLIST_FILES+= lib/rsyslog/imrelp.la \
@ -29,4 +28,4 @@ do-install:
${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= SNMP trap sender for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,25 +6,44 @@
#
PORTNAME= rsyslog
PORTVERSION= 4.1.3
PORTVERSION= 4.1.4
CATEGORIES= sysutils
MASTER_SITES= http://download.rsyslog.com/rsyslog/
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
.endif
MAINTAINER= cristianorolim@hotmail.com
COMMENT= Syslogd supporting SQL, TCP and TLS
COMMENT?= Syslogd supporting SQL, TCP and TLS
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
.ifdef MNAME
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
PLIST= ${.CURDIR}/pkg-plist
.endif
CONFLICTS= rsyslog-[2-3].[0-9]*
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
.ifdef WITH_DEBUG
CONFIGURE_ARGS+=--enable-rtinst --enable-debug
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CPPFLAGS+=-march=i686
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifndef MNAME
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate
post-patch:
@ -46,5 +65,18 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
.ifdef MNAME
.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif
.include <bsd.port.post.mk>

View File

@ -1,20 +0,0 @@
PORTNAME?= rsyslog
PORTVERSION?= 4.1.3
CATEGORIES?= sysutils
MASTER_SITES?= http://download.rsyslog.com/rsyslog/
MAINTAINER?= cristianorolim@hotmail.com
CONFLICTS= rsyslog-[2-3].[0-9]*
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif

View File

@ -1,3 +1,3 @@
MD5 (rsyslog-4.1.3.tar.gz) = d598cbed2066321bd4b156300a39b9ed
SHA256 (rsyslog-4.1.3.tar.gz) = 5a2e139f47b41ed59828e7dc04df79837f23179eed6e83a948570fff40ace66d
SIZE (rsyslog-4.1.3.tar.gz) = 1349408
MD5 (rsyslog-4.1.4.tar.gz) = 02132e48919be3b0f0464d7b192dbcc5
SHA256 (rsyslog-4.1.4.tar.gz) = 4411cec54cf021b7518055e0193d0ac9d591f4ec833943a05676acf782cef425
SIZE (rsyslog-4.1.4.tar.gz) = 1350013

View File

@ -5,12 +5,11 @@
# $FreeBSD$
COMMENT= LibDBI output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
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 \
@ -21,4 +20,5 @@ do-install:
${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -5,12 +5,11 @@
# $FreeBSD$
COMMENT= LibDBI output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
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 \
@ -21,4 +20,5 @@ do-install:
${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= GNUTLS module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-gnutls
PLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,16 +6,10 @@
#
COMMENT= GSS API input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gssapi
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+=--enable-gssapi-krb5
PLIST_FILES+= lib/rsyslog/imgssapi.la \
@ -38,4 +32,4 @@ do-install:
${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog
.include <bsd.port.post.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= MySQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= mysql
USE_MYSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-mysql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= PostgreSQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,13 +6,12 @@
#
COMMENT= RELP input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= relp
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-relp
PLIST_FILES+= lib/rsyslog/imrelp.la \
@ -29,4 +28,4 @@ do-install:
${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= SNMP trap sender for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,25 +6,44 @@
#
PORTNAME= rsyslog
PORTVERSION= 4.1.3
PORTVERSION= 4.1.4
CATEGORIES= sysutils
MASTER_SITES= http://download.rsyslog.com/rsyslog/
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
.endif
MAINTAINER= cristianorolim@hotmail.com
COMMENT= Syslogd supporting SQL, TCP and TLS
COMMENT?= Syslogd supporting SQL, TCP and TLS
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
.ifdef MNAME
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
PLIST= ${.CURDIR}/pkg-plist
.endif
CONFLICTS= rsyslog-[2-3].[0-9]*
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
.ifdef WITH_DEBUG
CONFIGURE_ARGS+=--enable-rtinst --enable-debug
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CPPFLAGS+=-march=i686
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifndef MNAME
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate
post-patch:
@ -46,5 +65,18 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
.ifdef MNAME
.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif
.include <bsd.port.post.mk>

View File

@ -1,20 +0,0 @@
PORTNAME?= rsyslog
PORTVERSION?= 4.1.3
CATEGORIES?= sysutils
MASTER_SITES?= http://download.rsyslog.com/rsyslog/
MAINTAINER?= cristianorolim@hotmail.com
CONFLICTS= rsyslog-[2-3].[0-9]*
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif

View File

@ -1,3 +1,3 @@
MD5 (rsyslog-4.1.3.tar.gz) = d598cbed2066321bd4b156300a39b9ed
SHA256 (rsyslog-4.1.3.tar.gz) = 5a2e139f47b41ed59828e7dc04df79837f23179eed6e83a948570fff40ace66d
SIZE (rsyslog-4.1.3.tar.gz) = 1349408
MD5 (rsyslog-4.1.4.tar.gz) = 02132e48919be3b0f0464d7b192dbcc5
SHA256 (rsyslog-4.1.4.tar.gz) = 4411cec54cf021b7518055e0193d0ac9d591f4ec833943a05676acf782cef425
SIZE (rsyslog-4.1.4.tar.gz) = 1350013

View File

@ -6,12 +6,11 @@
#
COMMENT= GNUTLS module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-gnutls
PLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,16 +6,10 @@
#
COMMENT= GSS API input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gssapi
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+=--enable-gssapi-krb5
PLIST_FILES+= lib/rsyslog/imgssapi.la \
@ -38,4 +32,4 @@ do-install:
${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog
.include <bsd.port.post.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= MySQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= mysql
USE_MYSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-mysql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= PostgreSQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,13 +6,12 @@
#
COMMENT= RELP input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= relp
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-relp
PLIST_FILES+= lib/rsyslog/imrelp.la \
@ -29,4 +28,4 @@ do-install:
${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= SNMP trap sender for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,25 +6,44 @@
#
PORTNAME= rsyslog
PORTVERSION= 4.1.3
PORTVERSION= 4.1.4
CATEGORIES= sysutils
MASTER_SITES= http://download.rsyslog.com/rsyslog/
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
.endif
MAINTAINER= cristianorolim@hotmail.com
COMMENT= Syslogd supporting SQL, TCP and TLS
COMMENT?= Syslogd supporting SQL, TCP and TLS
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
.ifdef MNAME
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
PLIST= ${.CURDIR}/pkg-plist
.endif
CONFLICTS= rsyslog-[2-3].[0-9]*
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
.ifdef WITH_DEBUG
CONFIGURE_ARGS+=--enable-rtinst --enable-debug
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CPPFLAGS+=-march=i686
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifndef MNAME
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate
post-patch:
@ -46,5 +65,18 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
.ifdef MNAME
.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif
.include <bsd.port.post.mk>

View File

@ -1,20 +0,0 @@
PORTNAME?= rsyslog
PORTVERSION?= 4.1.3
CATEGORIES?= sysutils
MASTER_SITES?= http://download.rsyslog.com/rsyslog/
MAINTAINER?= cristianorolim@hotmail.com
CONFLICTS= rsyslog-[2-3].[0-9]*
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif

View File

@ -1,3 +1,3 @@
MD5 (rsyslog-4.1.3.tar.gz) = d598cbed2066321bd4b156300a39b9ed
SHA256 (rsyslog-4.1.3.tar.gz) = 5a2e139f47b41ed59828e7dc04df79837f23179eed6e83a948570fff40ace66d
SIZE (rsyslog-4.1.3.tar.gz) = 1349408
MD5 (rsyslog-4.1.4.tar.gz) = 02132e48919be3b0f0464d7b192dbcc5
SHA256 (rsyslog-4.1.4.tar.gz) = 4411cec54cf021b7518055e0193d0ac9d591f4ec833943a05676acf782cef425
SIZE (rsyslog-4.1.4.tar.gz) = 1350013

View File

@ -5,12 +5,11 @@
# $FreeBSD$
COMMENT= LibDBI output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
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 \
@ -21,4 +20,5 @@ do-install:
${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= GNUTLS module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-gnutls
PLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,16 +6,10 @@
#
COMMENT= GSS API input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gssapi
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+=--enable-gssapi-krb5
PLIST_FILES+= lib/rsyslog/imgssapi.la \
@ -38,4 +32,4 @@ do-install:
${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog
.include <bsd.port.post.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= MySQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= mysql
USE_MYSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-mysql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= PostgreSQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,13 +6,12 @@
#
COMMENT= RELP input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= relp
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-relp
PLIST_FILES+= lib/rsyslog/imrelp.la \
@ -29,4 +28,4 @@ do-install:
${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= SNMP trap sender for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,25 +6,44 @@
#
PORTNAME= rsyslog
PORTVERSION= 4.1.3
PORTVERSION= 4.1.4
CATEGORIES= sysutils
MASTER_SITES= http://download.rsyslog.com/rsyslog/
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
.endif
MAINTAINER= cristianorolim@hotmail.com
COMMENT= Syslogd supporting SQL, TCP and TLS
COMMENT?= Syslogd supporting SQL, TCP and TLS
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
.ifdef MNAME
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
PLIST= ${.CURDIR}/pkg-plist
.endif
CONFLICTS= rsyslog-[2-3].[0-9]*
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
.ifdef WITH_DEBUG
CONFIGURE_ARGS+=--enable-rtinst --enable-debug
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CPPFLAGS+=-march=i686
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifndef MNAME
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate
post-patch:
@ -46,5 +65,18 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
.ifdef MNAME
.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif
.include <bsd.port.post.mk>

View File

@ -1,20 +0,0 @@
PORTNAME?= rsyslog
PORTVERSION?= 4.1.3
CATEGORIES?= sysutils
MASTER_SITES?= http://download.rsyslog.com/rsyslog/
MAINTAINER?= cristianorolim@hotmail.com
CONFLICTS= rsyslog-[2-3].[0-9]*
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif

View File

@ -1,3 +1,3 @@
MD5 (rsyslog-4.1.3.tar.gz) = d598cbed2066321bd4b156300a39b9ed
SHA256 (rsyslog-4.1.3.tar.gz) = 5a2e139f47b41ed59828e7dc04df79837f23179eed6e83a948570fff40ace66d
SIZE (rsyslog-4.1.3.tar.gz) = 1349408
MD5 (rsyslog-4.1.4.tar.gz) = 02132e48919be3b0f0464d7b192dbcc5
SHA256 (rsyslog-4.1.4.tar.gz) = 4411cec54cf021b7518055e0193d0ac9d591f4ec833943a05676acf782cef425
SIZE (rsyslog-4.1.4.tar.gz) = 1350013

View File

@ -5,12 +5,11 @@
# $FreeBSD$
COMMENT= LibDBI output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
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 \
@ -21,4 +20,5 @@ do-install:
${WRKSRC}/plugins/omlibdbi/.libs/omlibdbi.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omlibdbi/omlibdbi.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= GNUTLS module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gnutls
LIB_DEPENDS+= gnutls.26:${PORTSDIR}/security/gnutls
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-gnutls
PLIST_FILES+= lib/rsyslog/lmnsd_gtls.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/runtime/.libs/lmnsd_gtls.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/runtime/lmnsd_gtls.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,16 +6,10 @@
#
COMMENT= GSS API input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= gssapi
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+=--enable-gssapi-krb5
PLIST_FILES+= lib/rsyslog/imgssapi.la \
@ -38,4 +32,4 @@ do-install:
${WRKSRC}/.libs/lmgssutil.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/lmgssutil.la ${PREFIX}/lib/rsyslog
.include <bsd.port.post.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= MySQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= mysql
USE_MYSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-mysql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql ${EXAMPLESDIR}/mysql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= PostgreSQL output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= pgsql
USE_PGSQL= yes
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-pgsql
do-install:
@ -24,4 +23,4 @@ post-install:
@${INSTALL} -d ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql ${EXAMPLESDIR}/pgsql_createDB.sql
.endif
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,13 +6,12 @@
#
COMMENT= RELP input/output module for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= relp
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
LIB_DEPENDS= relp.0:${PORTSDIR}/devel/librelp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-relp
PLIST_FILES+= lib/rsyslog/imrelp.la \
@ -29,4 +28,4 @@ do-install:
${WRKSRC}/plugins/imrelp/.libs/imrelp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/imrelp/imrelp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,12 +6,11 @@
#
COMMENT= SNMP trap sender for rsyslog
MASTERDIR= ${.CURDIR}/../rsyslog4
MNAME= snmp
LIB_DEPENDS= netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
.include "${.CURDIR}/../rsyslog4/bsd.rsyslog.mk"
CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
@ -22,4 +21,4 @@ do-install:
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
@${INSTALL_DATA} \
${WRKSRC}/plugins/omsnmp/omsnmp.la ${PREFIX}/lib/rsyslog
.include <bsd.port.mk>
.include "${MASTERDIR}/Makefile"

View File

@ -6,25 +6,44 @@
#
PORTNAME= rsyslog
PORTVERSION= 4.1.3
PORTVERSION= 4.1.4
CATEGORIES= sysutils
MASTER_SITES= http://download.rsyslog.com/rsyslog/
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
.endif
MAINTAINER= cristianorolim@hotmail.com
COMMENT= Syslogd supporting SQL, TCP and TLS
COMMENT?= Syslogd supporting SQL, TCP and TLS
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
.ifdef MNAME
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
PLIST= ${.CURDIR}/pkg-plist
.endif
CONFLICTS= rsyslog-[2-3].[0-9]*
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
.ifdef WITH_DEBUG
CONFIGURE_ARGS+=--enable-rtinst --enable-debug
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CPPFLAGS+=-march=i686
.endif
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifndef MNAME
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--enable-imfile --enable-mail --enable-imtemplate
post-patch:
@ -46,5 +65,18 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/rsyslog-example.conf ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
.ifdef MNAME
.if ${MNAME} == "gssapi" && ${OSVERSION} < 700000
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif
.include <bsd.port.post.mk>

View File

@ -1,20 +0,0 @@
PORTNAME?= rsyslog
PORTVERSION?= 4.1.3
CATEGORIES?= sysutils
MASTER_SITES?= http://download.rsyslog.com/rsyslog/
MAINTAINER?= cristianorolim@hotmail.com
CONFLICTS= rsyslog-[2-3].[0-9]*
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.ifdef MNAME
PKGNAMESUFFIX?= -${MNAME}
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
RUN_DEPENDS= rsyslog>=4:${PORTSDIR}/sysutils/rsyslog4
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
MD5_FILE?= ${.CURDIR}/../rsyslog4/distinfo
.endif

View File

@ -1,3 +1,3 @@
MD5 (rsyslog-4.1.3.tar.gz) = d598cbed2066321bd4b156300a39b9ed
SHA256 (rsyslog-4.1.3.tar.gz) = 5a2e139f47b41ed59828e7dc04df79837f23179eed6e83a948570fff40ace66d
SIZE (rsyslog-4.1.3.tar.gz) = 1349408
MD5 (rsyslog-4.1.4.tar.gz) = 02132e48919be3b0f0464d7b192dbcc5
SHA256 (rsyslog-4.1.4.tar.gz) = 4411cec54cf021b7518055e0193d0ac9d591f4ec833943a05676acf782cef425
SIZE (rsyslog-4.1.4.tar.gz) = 1350013