Syslog-ng¶
Debian’s syslog-ng have disabled tests. Though package ships separate DEP-8 smoke tests. Here is a way to run upstream tests (and backported tests)
$ skip_submodules=1 ./autogen.sh
$ ./configure --prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc/syslog-ng \
--localstatedir=/var/lib/syslog-ng \
--libdir=/usr/lib/syslog-ng \
${SILENT_MODE} \
\
--enable-dynamic-linking \
--enable-ssl \
--enable-spoof-source \
--enable-tcp-wrapper \
--enable-sql \
--enable-mongodb \
--enable-json \
--enable-riemann \
--disable-java \
--enable-manpages \
--enable-amqp \
$(PACCT_CONFIGURE_OPTS) \
--enable-python \
--with-python=3 \
--enable-http \
--enable-kafka \
\
--with-mongoc=system \
--with-ivykis=system \
--with-jsonc=system \
--with-librabbitmq-client=system \
\
--with-module-dir='$${exec_prefix}/lib/syslog-ng/${UMAJOR}' \
--with-systemdsystemunitdir="/lib/systemd/system" \
\
SOURCE_REVISION="$${SOURCE_REVISION}" \
${SYSTEMD_CONFIGURE_OPTS} \
${EXTRA_CONFIGURE_OPTS}
$ sudo apt install libcriterion-dev
$ make && make check
Copyright (C) 2025 Abhijith PA