From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] syslogng: version bump 4.8.1 -> 4.10.2
Date: Sun, 8 Mar 2026 19:11:31 +0100 [thread overview]
Message-ID: <aa2707AEKyHIXBEX@lenoch> (raw)
In-Reply-To: <aasTb9jCXNvYnuvX@pengutronix.de>
On Fri, Mar 06, 2026 at 06:48:31PM +0100, Michael Olbrich wrote:
> On Thu, Feb 19, 2026 at 09:54:40PM +0100, Ladislav Michl wrote:
> > From: Ladislav Michl <ladis@triops.cz>
> >
> > Additionally install required smart-multi-line.fsm and remove local
> > configuration file, which is obsolete anyway. Package comes with
> > its own example syslog-ng.conf.
> >
> > Signed-off-by: Ladislav Michl <ladis@triops.cz>
> > ---
> > projectroot/etc/syslog-ng.conf | 39 ----------------------------------
> > rules/syslogng.make | 11 +++++++---
> > 2 files changed, 8 insertions(+), 42 deletions(-)
> > delete mode 100644 projectroot/etc/syslog-ng.conf
> >
> > diff --git a/projectroot/etc/syslog-ng.conf b/projectroot/etc/syslog-ng.conf
> > deleted file mode 100644
> > index 0235b9857..000000000
> > --- a/projectroot/etc/syslog-ng.conf
> > +++ /dev/null
> > @@ -1,39 +0,0 @@
> > -#
> > -# syslog-ng configuration
> > -#
> > -
> > -@version: 3.25
> > -
> > -#
> > -# Options
> > -#
> > -
> > -# sync every 0 lines
> > -options { chain_hostnames(off); flush_lines(0); };
> > -
> > -#
> > -# Sources
> > -#
> > -
> > -# log source is /dev/log only
> > -source src { unix-stream("/dev/log"); internal(); };
> > -# source net { udp(); };
> > -
> > -#
> > -# Destinations
> > -#
> > -
> > -destination syslog { file("/var/log/syslog"); };
> > -
> > -#
> > -# Filters
> > -#
> > -
> > -#filter f_auth { facility(auth); };
> > -
> > -#
> > -# Logs
> > -#
> > -
> > -log { source(src); destination(syslog); };
> > -
> > diff --git a/rules/syslogng.make b/rules/syslogng.make
> > index 0264ddba6..947042623 100644
> > --- a/rules/syslogng.make
> > +++ b/rules/syslogng.make
> > @@ -16,9 +16,9 @@ PACKAGES-$(PTXCONF_SYSLOGNG) += syslogng
> > #
> > # Paths and names
> > #
> > -SYSLOGNG_VERSION := 4.8.1
> > -SYSLOG_LIBVERSION := 4.8
> > -SYSLOGNG_MD5 := 6a5852343f9a34449c3812b474728aa7
> > +SYSLOGNG_VERSION := 4.10.2
> > +SYSLOG_LIBVERSION := 4.10
> > +SYSLOGNG_MD5 := 0c97637b266efcf932b5fdea5f40235e
> > SYSLOGNG := syslog-ng-$(SYSLOGNG_VERSION)
> > SYSLOGNG_SUFFIX := tar.gz
> > SYSLOGNG_URL := https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOGNG_VERSION)/$(SYSLOGNG).$(SYSLOGNG_SUFFIX)
> > @@ -87,6 +87,8 @@ SYSLOGNG_CONF_OPT := \
> > --disable-java-modules \
> > --enable-native \
> > --disable-afsnmp \
> > + --disable-colored-log \
> > + --disable-stackdump \
>
> Are there any other new options? It now uses liburing if found.
Not that I'm aware of. Used configure_helper, but this one slipped though.
It is a bit tricky (autoconf fragment):
if test "x$with_ivykis" = "xinternal"; then
if $IVYKIS_INTERNAL_SOURCE_EXISTS; then
# these can only be used in lib as it assumes
# the current directory just one below ivykis
IVYKIS_CFLAGS="-isystem \$(top_srcdir)/lib/ivykis/src/include -isystem \$(top_builddir)/lib/ivykis/src/include"
IVYKIS_LIBS="-Wl,${WHOLE_ARCHIVE_OPT} -L\$(top_builddir)/lib/ivykis/src -livykis -Wl,${NO_WHOLE_ARCHIVE_OPT}"
INTERNAL_IVYKIS_CFLAGS="-isystem \${includedir}/syslog-ng/ivykis"
IVYKIS_VERSION_UPDATED="yes"
# LIBS to use when libtool is not applicable (when linking the main syslog-ng executable in mixed linking mode)
IVYKIS_NO_LIBTOOL_LIBS="-Wl,${WHOLE_ARCHIVE_OPT} -L\$(top_builddir)/lib/ivykis/src/.libs -livykis -Wl,${NO_WHOLE_ARCHIVE_OPT}"
# internal ivykis is linked statically, io_uring might be available and linked against too, we have to use it as well
AC_SEARCH_LIBS([io_uring_queue_init], [uring], [IO_URING_LIBS="-luring"])
# internal version surely has iv_work_pool_submit_continuation
AC_DEFINE(HAVE_IV_WORK_POOL_SUBMIT_CONTINUATION, 1)
else
AC_MSG_ERROR([Internal ivykis sources not found in lib/ivykis. This is a hard dependency, unable to build syslog-ng without them.])
fi
else
...
Since $IVYKIS_INTERNAL_SOURCE_EXISTS (it is part of tarball), liburing is
searched for. So we disable it with ac_cv_search_io_uring_queue_init=no
which gives nice:
checking for library containing io_uring_queue_init... (cached) no
I will send v2.
> Michael
>
> > --disable-all-modules \
> > $(GLOBAL_LARGE_FILE_OPTION) \
> > --disable-valgrind \
> > @@ -135,6 +137,9 @@ $(STATEDIR)/syslogng.targetinstall:
> > @$(call install_lib, syslogng, 0, 0, 0644, libsecret-storage)
> > @$(call install_glob, syslogng, 0, 0, -, /usr/lib/syslog-ng, *.so)
> >
> > + @$(call install_copy, syslogng, 0, 0, 0644, -, \
> > + /usr/share/syslog-ng/smart-multi-line.fsm)
> > +
> > # # config
> > ifdef PTXCONF_SYSLOGNG_CONFIG
> > @$(call install_alternative, syslogng, 0, 0, 0644, /etc/syslog-ng.conf, n)
> > --
> > 2.47.3
> >
> >
> >
>
> --
> Pengutronix e.K. | |
> Steuerwalder Str. 21 | http://www.pengutronix.de/ |
> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2026-03-08 18:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 20:54 Ladislav Michl
2026-03-06 17:48 ` Michael Olbrich
2026-03-08 18:11 ` Ladislav Michl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aa2707AEKyHIXBEX@lenoch \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox