Version 8.38.0 [v8-stable] 2018-09-18 - AIX: make basic modules work again - make rsyslog build on AIX again - imfile: support for endmsg.regex - imkafka: add parameter "parseHostName" - im[p]tcp: improve error message on connect failure - imkafka: implement multithreading support for kafka consumers. - omelasticsearch: write all header metadata to $.omes for retries - core: improve error message on module load fail - core/queue: add error message if queue file cannot be accessed - imtcp/imudp: new option preservecase for managing the case of FROMHOST value - omprog: add feedback timeout and keep-alive feature - omprog: fix forceSingleInstance configuration option - imfile: implement file-id, used in state file - imfile: experimental input throtteling feature - core: emit TZ warning on startup not on Linux non-container - omkafka: - better debug information - Fixed minor issue in omkafka producing wrong kafka timestamps when msgTimestamp was NULL. - Setting RD_KAFKA_V_KEY(NULL, 0) in rd_kafka_producev now when KEY is not configured. - Fixed minor issue when rsyslog is compiled with --enable-debug and librdkafka is too old. - omfile bugfix: errant error message when dynafile param needed - omhttp: new contribued module - mmkubertnetes: action fails preparation cycle if kubernetes API destroys resource during bootup sequence - bugfix pmnormalize/core: several memory leaks, invld property handling - bugfix imptcp: fixed pointers for session counting - bugfix omprog: invalid memory access on partial writes to pipe - bugfix omprog: rsyslog's environment was not passed to script - bugfix omprog: severity of some log messages in waitForChild corrected - bugfix imfile: files which were loaded via symlink were not always followed - bugfix imfile: potential misadressing when processing symlinks - bugfix ommongodb: build issue if mongo-c-driver is not compiled with TLS
71 lines
2.2 KiB
Makefile
71 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2018/09/20 13:30:11 fhajny Exp $
|
|
#
|
|
|
|
BUILDLINK_DEPMETHOD.libestr= full
|
|
BUILDLINK_DEPMETHOD.libuuid= full
|
|
|
|
.include "../../sysutils/rsyslog/Makefile.common"
|
|
|
|
COMMENT= The enhanced syslogd for Unix
|
|
|
|
CONFIGURE_ARGS+= --disable-testbench \
|
|
--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
|
|
# Explicitly disable epoll/inotify on illumos, provided for Linux compat only.
|
|
CONFIGURE_ENV+= ac_cv_func_epoll_create=no
|
|
CONFIGURE_ENV+= ac_cv_func_epoll_create1=no
|
|
CONFIGURE_ENV+= ac_cv_func_inotify_init=no
|
|
CONFIGURE_ENV+= ac_cv_header_sys_inotify_h=no
|
|
PLIST.solaris= yes
|
|
RSYSLOG_SYSMOD= imsolaris
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-imsolaris --enable-klog
|
|
PLIST.klog= yes
|
|
RSYSLOG_SYSMOD= imklog
|
|
.endif
|
|
|
|
# needs to be able to do compare-and-swap on time_t (cmpxchg8b)
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
CFLAGS+= -march=i586
|
|
.endif
|
|
|
|
BUILDLINK_TRANSFORM.Darwin+= rm:-luuid
|
|
|
|
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.
|
|
|
|
SUBST_CLASSES.Darwin+= ldargs
|
|
SUBST_STAGE.ldargs= pre-configure
|
|
SUBST_FILES.ldargs= tools/Makefile.in
|
|
SUBST_SED.ldargs= -e '/whole-archive.*librsyslog/d'
|
|
|
|
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_API_DEPENDS.liblognorm+= liblognorm>=2.0.3
|
|
.include "../../sysutils/liblognorm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|