pkgsrc/sysutils/rsyslog/Makefile
fhajny 026a8e7b65 Update rsyslog to 8.7.0.
- add message metadata "system" to msg object
  this permits to store metadata alongside the message
- imfile: add support for "filename" metadata
  this is useful in cases where wildcards are used
- imptcp: make stats counter names consistent with what imudp, imtcp uses
- added new module "omkafka" to support writing to Apache Kafka
- omfwd: add new "udp.senddelay" parameter
- mmnormalize enhancements
- RainerScript "foreach" iterator and array reading support
- now requires liblognorm >= 1.0.2
- add support for systemd >= 209 library names
- BSD "ntp" facility (value 12) is now also supported in filter
- bugfix: global(localHostName="xxx") was not respected in all modules
- bugfix: emit correct error message on config-file-not-found
- bugfix: impstats emitted invalid JSON format (if JSON was selected)
- bugfix: (small) memory leak in omfile's outchannel code
- bugfix: imuxsock did not deactivate some code not supported by platform
2015-01-16 16:58:28 +00:00

55 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2015/01/16 16:58:28 fhajny Exp $
#
BUILDLINK_DEPMETHOD.libestr= full
BUILDLINK_DEPMETHOD.liblogging= full
BUILDLINK_DEPMETHOD.libuuid= full
.include "../../sysutils/rsyslog/Makefile.common"
COMMENT= The enhanced syslogd for Unix
CONFIGURE_ARGS+= --disable-testbench --enable-cached-man-pages \
--enable-diagtools --enable-usertools --enable-uuid \
--enable-imdiag --enable-imfile --enable-impstats \
--enable-mail --enable-mmjsonparse --enable-mmnormalize \
--enable-omstdout
PLIST_VARS+= klog solaris
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --enable-imsolaris --disable-klog
PLIST.solaris= yes
RSYSLOG_SYSMOD= imsolaris
.else
CONFIGURE_ARGS+= --disable-imsolaris --enable-klog
PLIST.klog= yes
RSYSLOG_SYSMOD= imklog
.endif
BUILD_DEFS+= VARBASE RSYSLOG_PIDDIR RSYSLOG_WRKDIR
RSYSLOG_PIDDIR?= ${VARBASE}/run
RSYSLOG_WRKDIR?= ${VARBASE}/lib/rsyslog
OWN_DIRS+= ${RSYSLOG_PIDDIR} ${RSYSLOG_WRKDIR}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= platform/redhat/rsyslog.conf tools/rsyslog.conf.5
SUBST_FILES.paths+= tools/rsyslogd.8 tools/rsyslogd.c tools/syslogd.c
SUBST_VARS.paths= RSYSLOG_PIDDIR RSYSLOG_SYSMOD
SUBST_SED.paths= -e "s|/etc|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.paths= Setting default paths and options.
RCD_SCRIPTS= rsyslogd
CONF_FILES+= share/examples/rsyslog/rsyslog.conf \
${PKG_SYSCONFDIR}/rsyslog.conf
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/platform/redhat/rsyslog.conf \
${DESTDIR}${EGDIR}/rsyslog.conf
BUILDLINK_ABI_DEPENDS.liblognorm+= liblognorm>=1.0.2
.include "../../sysutils/liblognorm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"