pkgsrc/sysutils/syslog-ng/Makefile
fhajny 60bfc69f7a Update sysutils/syslog-ng* to 3.13.2.
- Remove separate sysutils/syslog-ng-json package, it is now a core
  module/dependency.

3.13.2

Fixes
- Missing manpages from release tarball
- Package syslog-ng-mod-json is removed from
- Drop syslog-ng-abi virtual packages


3.13.1

Features
- Add app-parser() framework (automatic parsing of log messages)
- Support microseconds in Riemann destination
- Add osquery destination as an SCL plugin
- Add network load balancer destination
- Add possibility to only signal re-open of file handles (SIGUSR1)
- It is possible from now to limit the number of registered dynamic
  counters
- Add $(binary) template function
- Add experimental transport for transferring messages in whole
  between syslog-ng instances (EWMM)
- Docker based build and debian package generation
- Add auto-parse(yes/no) to app-paser(), system() and
  default-network-drivers()
- Add Graylog2 destination and $(format-gelf) template function

Bugfixes
- Exit when a read fails on an included config file instead of
  starting up with an empty configuration.
- Fix double free
- Add missing discarded counter to groupingby
- Fix a reference leak in Python destination
- Fix timezone issue in snmptrapd parser
- Fix potential crash in stdin driver
- Fix a crash when initializing new config fails for socket with
  keep_alive off
- Fix filter evaluation in case of contexts with multiple elements
- Various grouping-by fixes
- Fix potential use after free around dns-cache during shutdown
- Fix access to indirect values within Java destination
- Fix a crash in affile
- Fix a memory leak
- Fix a crash when getent is used empty group
- Fix jvm-options()
- Fix a crash in Python language binding
- Fix a crash in afmongodb
- Fix a memory leak in afmongodb
- Fix name-to-GID calculation in the $(getent) template function
- Fix a crash when redis is configured without the command() option
- Fix a race condition in kv-parser()

Other changes
- Cleanup diskq related warning messages
- Provide tls block for tls options in amqp(), http(), riemann()
  destination drivers
- It it possible from now to register blocks and generators as plugins
- Drop compatiblity with configurations below 3.0
- Do not change permissions of a file by default
- Allow source files to specify permissions locally
- Minor performance improvement
- The current config version can be queried with "--version"
- Increase the performance of kv-parser()
2017-12-11 14:45:11 +00:00

52 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.31 2017/12/11 14:45:11 fhajny Exp $
.include "../../sysutils/syslog-ng/Makefile.common"
CONFIGURE_ARGS+= --enable-ssl
CONFIGURE_ARGS+= --enable-stomp
CONFIGURE_ARGS+= --enable-tcp-wrapper
CONFIGURE_ARGS+= --with-jsonc=system
CONFIGURE_ARGS.SunOS+= --enable-dynamic-linking
CONFIGURE_ARGS.SunOS+= --enable-sun-streams
CPPFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
.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}
PLIST_VARS+= systemd
.if exists(/bin/systemd)
PLIST.systemd= yes
.endif
PKGCONFIG_OVERRIDE= libtest/syslog-ng-test.pc.in \
syslog-ng-add-contextual-data.pc.in \
syslog-ng-native-connector.pc.in \
syslog-ng.pc.in
post-install:
${INSTALL_DATA} ${WRKSRC}/contrib/syslog-ng.conf.doc ${DESTDIR}${DOCDIR}
.for f in syslog-ng.conf.HP-UX 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 "../../textproc/json-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"