2f92fc7f31
Rework and clean up the package, split off various bindings into separate packages. Add SMF support. Major features and improvements introduced in major releases since 3.2. 3.7 - OpenSSL is now a required dependency for syslog-ng. - Java-destination driver ported from syslog-ng-incubator. - Python language support is ported from syslog-ng incubator. - New Java destination drivers - New Parsers 3.6 - PCRE is now a required dependency of syslog-ng. - Threaded mode is now enabled by default. 3.5 - Multi-line support - STOMP destination - Redis destination - Template type hinting - Template options honored everywhere - Support for unit suffixes in the configuration - The Incubator project 3.4 - New plugins: AMQP & SMTP destinations, JSON parser. - New parsers for patterndb: HOSTNAME, EMAIL, PCRE and LLADDR. - It is now possible to control what db-parser() sees as its input via it's new template() option. - value-pairs() gained support for programmatically rewriting key names in bulk, via the rekey() method. - The network() driver is introduced, unifying and extending tcp(), udp(), syslog(), unix-dgram() and unix-stream(). The old drivers are still available, but - Support for junctions & channels were added, which improve the flexibility of the syslog-ng configuration language. 3.3 - multi-core/CPU scaling: the new multi-threaded architecture allows syslog-ng to scale into the 800k msg/sec region. - MongoDB support: using MongoDB instead of SQL is faster and allows better representation of log data. - JSON support: using the $(format-json) template function it is now possible to construct JSON (JavaScript Object Notation) output for log messages. - A number of enhancements all over the place: SQL, patterndb. - The default ports have changed. syslog-ng is using the standard
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2015/10/29 16:34:13 fhajny Exp $
|
|
|
|
.include "../../sysutils/syslog-ng/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --enable-ssl
|
|
CONFIGURE_ARGS+= --enable-stomp
|
|
CONFIGURE_ARGS+= --enable-tcp-wrapper
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
CONFIGURE_ARGS+= --enable-dynamic-linking
|
|
CONFIGURE_ARGS+= --enable-sun-streams
|
|
CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
PKG_SYSCONFSUBDIR= syslog-ng
|
|
EGDIR= ${PREFIX}/share/examples/syslog-ng
|
|
DOCDIR= ${PREFIX}/share/doc/syslog-ng
|
|
|
|
OWN_DIRS+= ${VARBASE}/db/syslog-ng
|
|
CONF_FILES+= ${EGDIR}/scl.conf ${PKG_SYSCONFDIR}/scl.conf
|
|
CONF_FILES+= ${EGDIR}/syslog-ng.conf ${PKG_SYSCONFDIR}/syslog-ng.conf
|
|
|
|
RCD_SCRIPTS= syslogng
|
|
|
|
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
|
|
INSTALL_TARGET= install
|
|
INSTALLATION_DIRS= bin ${DOCDIR} ${EGDIR}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/syslog-ng.conf.doc ${DESTDIR}${DOCDIR}
|
|
.for f in syslog-ng.conf.RedHat syslog-ng.conf.SunOS
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/${f} ${DESTDIR}${EGDIR}
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/syslog2ng ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../security/tcp_wrappers/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|