2012-01-25 06:03:14 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2012/01/25 11:03:14 ajacoutot Exp $
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
|
|
|
|
COMMENT-main = syslog daemon supporting databases, TCP, SSL, RELP
|
|
|
|
COMMENT-mysql = mysql plugin for rsyslog
|
|
|
|
COMMENT-pgsql = postgresql plugin for rsyslog
|
|
|
|
|
|
|
|
MULTI_PACKAGES = -main -mysql -pgsql
|
|
|
|
|
2010-08-26 17:28:58 -04:00
|
|
|
V = 4.6.4
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
DISTNAME = rsyslog-$V
|
|
|
|
PKGNAME-main = rsyslog-$V
|
|
|
|
PKGNAME-mysql = rsyslog-mysql-$V
|
|
|
|
PKGNAME-pgsql = rsyslog-pgsql-$V
|
|
|
|
CATEGORIES = sysutils
|
|
|
|
|
2012-01-25 06:03:14 -05:00
|
|
|
REVISION-main = 4
|
2011-09-16 07:41:38 -04:00
|
|
|
REVISION-mysql = 1
|
|
|
|
REVISION-pgsql = 1
|
2011-04-15 12:10:37 -04:00
|
|
|
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
HOMEPAGE = http://www.rsyslog.com/
|
|
|
|
|
|
|
|
# GPLv3+
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2011-07-06 20:22:37 -04:00
|
|
|
MODULES = devel/gettext
|
|
|
|
|
|
|
|
WANTLIB-main += c gmp hogweed nettle gnutls pthread
|
|
|
|
WANTLIB-main += relp tasn1 z ${MODGETTEXT_WANTLIB}
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
WANTLIB-mysql += crypto m mysqlclient ssl z
|
|
|
|
WANTLIB-pgsql += crypto com_err pq ssl
|
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS-main = security/gnutls \
|
|
|
|
sysutils/librelp
|
|
|
|
LIB_DEPENDS-mysql = databases/mysql
|
2011-09-14 17:25:39 -04:00
|
|
|
RUN_DEPENDS-mysql = ${PKGNAME-main}:${PKGPATH},-main
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS-pgsql = databases/postgresql
|
2011-09-14 17:25:39 -04:00
|
|
|
RUN_DEPENDS-pgsql = ${PKGNAME-main}:${PKGPATH},-main
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
|
2010-08-26 17:28:58 -04:00
|
|
|
MASTER_SITES = http://www.rsyslog.com/files/download/rsyslog/ \
|
|
|
|
http://download.rsyslog.com/rsyslog/
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = autoconf
|
2011-05-01 07:43:06 -04:00
|
|
|
AUTOCONF_VERSION = 2.65
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
LIBTOOL_FLAGS = --tag=disable-static
|
2010-10-19 03:43:00 -04:00
|
|
|
USE_GROFF = Yes
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
|
|
|
--enable-pgsql \
|
|
|
|
--enable-mysql \
|
|
|
|
--enable-mail \
|
|
|
|
--enable-gnutls \
|
|
|
|
--enable-relp
|
2011-09-14 17:25:39 -04:00
|
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include"
|
import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.
initial port from todd@, improved by sthen@ and me
2010-07-29 17:40:21 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rsyslog
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rsyslog.conf \
|
|
|
|
${PREFIX}/share/examples/rsyslog
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/ommysql/createDB.sql \
|
|
|
|
${PREFIX}/share/examples/rsyslog/createDB_mysql.sql
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/plugins/ompgsql/createDB.sql \
|
|
|
|
${PREFIX}/share/examples/rsyslog/createDB_pgsql.sql
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|