Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl
@ 2026-08-09 10:36 Bernd Kuhls
  2026-08-09 10:36 ` [Buildroot] [PATCH 2/2] package/syslog-ng: security bump version to 4.12.0 Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bernd Kuhls @ 2026-08-09 10:36 UTC (permalink / raw)
  To: buildroot; +Cc: Chris Packham

Buildroot commit 51ab6d2290f169f4bb96b8dbbab2d8fb4656766d bumped the
package from version 4.8.3 to 4.11.0. Upstream commit
https://github.com/syslog-ng/syslog-ng/commit/dbe9fb306929168172062a6bc985eb7e38201dab
added the usage of OpenSSL BIO_ functions in version 4.9.0 causing
build errors with LibreSSL:

lib/transport/transport-tls.c: In function 'BIO_s_transport':
lib/transport/transport-tls.c:125:3: error: implicit declaration of
 function 'BIO_meth_set_write_ex'; did you mean 'BIO_meth_set_write'?
 [-Wimplicit-function-declaration]
  125 |   BIO_meth_set_write_ex(meth, _BIO_transport_write);

lib/transport/transport-tls.c:126:3: error: implicit declaration of
 function 'BIO_meth_set_read_ex'; did you mean 'BIO_meth_set_read'?
 [-Wimplicit-function-declaration]
  126 |   BIO_meth_set_read_ex(meth, _BIO_transport_read);

because LibreSSL does not provide these functions.

Fixes:
https://autobuild.buildroot.net/results/117/117b3b38098df075d96167863d9f6b933a97eb64/
https://autobuild.buildroot.net/results/a39/a39ecc88a9342005b75660ee0ac60a1025fa6fc2/
https://autobuild.buildroot.net/results/6b3/6b3eb910ccdb67827f0c12cea0e3a63c5e6b68af/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipeline passed:
https://gitlab.com/bkuhls/buildroot/-/commits/3e545dbf07eb3c7f4ed0e54b50b7d072c03d217e

 package/syslog-ng/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/syslog-ng/Config.in b/package/syslog-ng/Config.in
index 1302e6ac46..0bdf0dcd27 100644
--- a/package/syslog-ng/Config.in
+++ b/package/syslog-ng/Config.in
@@ -9,6 +9,7 @@ config BR2_PACKAGE_SYSLOG_NG
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_PCRE2
 	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
 	help
 	  syslog-ng is an enhanced log daemon, supporting a wide range
 	  of input and output methods: syslog, unstructured text,
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] package/syslog-ng: security bump version to 4.12.0
  2026-08-09 10:36 [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl Bernd Kuhls
@ 2026-08-09 10:36 ` Bernd Kuhls
  2026-08-14 14:25   ` Titouan Christophe via buildroot
  2026-08-09 15:22 ` [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl Julien Olivain via buildroot
  2026-08-14 14:24 ` Titouan Christophe via buildroot
  2 siblings, 1 reply; 5+ messages in thread
From: Bernd Kuhls @ 2026-08-09 10:36 UTC (permalink / raw)
  To: buildroot; +Cc: Chris Packham

https://github.com/syslog-ng/syslog-ng/blob/syslog-ng-4.12.0/NEWS.md

Fixes CVE-2026-39879.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/243681251be3b0fb45a332cd2d27bff7769bf73e

 package/syslog-ng/syslog-ng.conf | 2 +-
 package/syslog-ng/syslog-ng.hash | 4 ++--
 package/syslog-ng/syslog-ng.mk   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/syslog-ng/syslog-ng.conf b/package/syslog-ng/syslog-ng.conf
index c4b0cbe54a..ae6f190c92 100644
--- a/package/syslog-ng/syslog-ng.conf
+++ b/package/syslog-ng/syslog-ng.conf
@@ -1,4 +1,4 @@
-@version: 4.11
+@version: 4.12
 
 source s_sys {
 	file("/proc/kmsg" program_override("kernel"));
diff --git a/package/syslog-ng/syslog-ng.hash b/package/syslog-ng/syslog-ng.hash
index a276e85385..95621bde26 100644
--- a/package/syslog-ng/syslog-ng.hash
+++ b/package/syslog-ng/syslog-ng.hash
@@ -1,5 +1,5 @@
-# From https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.11.0
-sha256  37ea0d4588533316de122df4e1b249867b0a0575f646c7478d0cc4d747462943  syslog-ng-4.11.0.tar.gz
+# From https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.12.0
+sha256  03a03d19ac203dca53c7ec79a7005c8a850665a95ff4cd0f1e7bb4c497c64d46  syslog-ng-4.12.0.tar.gz
 # Locally computed
 sha256  d7d51f8d0f6ee9757a371080e7f5fa19ac73afbef14db6e981705cf1ec813d6b  COPYING
 sha256  ce3324c9f22299cfc7c281e5a6ab40fbe9c2ea1a67cee87226cb8cd39db1e1d2  GPL.txt
diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk
index 2faf2cebe5..12c305b9cd 100644
--- a/package/syslog-ng/syslog-ng.mk
+++ b/package/syslog-ng/syslog-ng.mk
@@ -6,7 +6,7 @@
 
 # When updating the version, please check at runtime if the version in
 # syslog-ng.conf header needs to be updated
-SYSLOG_NG_VERSION = 4.11.0
+SYSLOG_NG_VERSION = 4.12.0
 SYSLOG_NG_SITE = https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOG_NG_VERSION)
 SYSLOG_NG_LICENSE = LGPL-2.1+ (syslog-ng core), GPL-2.0+ (modules)
 SYSLOG_NG_LICENSE_FILES = COPYING GPL.txt LGPL.txt
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl
  2026-08-09 10:36 [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl Bernd Kuhls
  2026-08-09 10:36 ` [Buildroot] [PATCH 2/2] package/syslog-ng: security bump version to 4.12.0 Bernd Kuhls
@ 2026-08-09 15:22 ` Julien Olivain via buildroot
  2026-08-14 14:24 ` Titouan Christophe via buildroot
  2 siblings, 0 replies; 5+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-09 15:22 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Chris Packham

On 09/08/2026 12:36, Bernd Kuhls wrote:
> Buildroot commit 51ab6d2290f169f4bb96b8dbbab2d8fb4656766d bumped the
> package from version 4.8.3 to 4.11.0. Upstream commit
> https://github.com/syslog-ng/syslog-ng/commit/dbe9fb306929168172062a6bc985eb7e38201dab
> added the usage of OpenSSL BIO_ functions in version 4.9.0 causing
> build errors with LibreSSL:
> 
> lib/transport/transport-tls.c: In function 'BIO_s_transport':
> lib/transport/transport-tls.c:125:3: error: implicit declaration of
>  function 'BIO_meth_set_write_ex'; did you mean 'BIO_meth_set_write'?
>  [-Wimplicit-function-declaration]
>   125 |   BIO_meth_set_write_ex(meth, _BIO_transport_write);
> 
> lib/transport/transport-tls.c:126:3: error: implicit declaration of
>  function 'BIO_meth_set_read_ex'; did you mean 'BIO_meth_set_read'?
>  [-Wimplicit-function-declaration]
>   126 |   BIO_meth_set_read_ex(meth, _BIO_transport_read);
> 
> because LibreSSL does not provide these functions.
> 
> Fixes:
> https://autobuild.buildroot.net/results/117/117b3b38098df075d96167863d9f6b933a97eb64/
> https://autobuild.buildroot.net/results/a39/a39ecc88a9342005b75660ee0ac60a1025fa6fc2/
> https://autobuild.buildroot.net/results/6b3/6b3eb910ccdb67827f0c12cea0e3a63c5e6b68af/
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl
  2026-08-09 10:36 [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl Bernd Kuhls
  2026-08-09 10:36 ` [Buildroot] [PATCH 2/2] package/syslog-ng: security bump version to 4.12.0 Bernd Kuhls
  2026-08-09 15:22 ` [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl Julien Olivain via buildroot
@ 2026-08-14 14:24 ` Titouan Christophe via buildroot
  2 siblings, 0 replies; 5+ messages in thread
From: Titouan Christophe via buildroot @ 2026-08-14 14:24 UTC (permalink / raw)
  To: Bernd Kuhls, buildroot; +Cc: Chris Packham

On 9/08/26 12:36, Bernd Kuhls wrote:
> Buildroot commit 51ab6d2290f169f4bb96b8dbbab2d8fb4656766d bumped the
> package from version 4.8.3 to 4.11.0. Upstream commit
> https://github.com/syslog-ng/syslog-ng/commit/dbe9fb306929168172062a6bc985eb7e38201dab
> added the usage of OpenSSL BIO_ functions in version 4.9.0 causing
> build errors with LibreSSL:
>
> lib/transport/transport-tls.c: In function 'BIO_s_transport':
> lib/transport/transport-tls.c:125:3: error: implicit declaration of
>   function 'BIO_meth_set_write_ex'; did you mean 'BIO_meth_set_write'?
>   [-Wimplicit-function-declaration]
>    125 |   BIO_meth_set_write_ex(meth, _BIO_transport_write);
>
> lib/transport/transport-tls.c:126:3: error: implicit declaration of
>   function 'BIO_meth_set_read_ex'; did you mean 'BIO_meth_set_read'?
>   [-Wimplicit-function-declaration]
>    126 |   BIO_meth_set_read_ex(meth, _BIO_transport_read);
>
> because LibreSSL does not provide these functions.
>
> Fixes:
> https://autobuild.buildroot.net/results/117/117b3b38098df075d96167863d9f6b933a97eb64/
> https://autobuild.buildroot.net/results/a39/a39ecc88a9342005b75660ee0ac60a1025fa6fc2/
> https://autobuild.buildroot.net/results/6b3/6b3eb910ccdb67827f0c12cea0e3a63c5e6b68af/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to 2025.02.x and 2026.05.x, thanks !
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/syslog-ng: security bump version to 4.12.0
  2026-08-09 10:36 ` [Buildroot] [PATCH 2/2] package/syslog-ng: security bump version to 4.12.0 Bernd Kuhls
@ 2026-08-14 14:25   ` Titouan Christophe via buildroot
  0 siblings, 0 replies; 5+ messages in thread
From: Titouan Christophe via buildroot @ 2026-08-14 14:25 UTC (permalink / raw)
  To: Bernd Kuhls, buildroot; +Cc: Chris Packham

On 9/08/26 12:36, Bernd Kuhls wrote:
> https://github.com/syslog-ng/syslog-ng/blob/syslog-ng-4.12.0/NEWS.md
>
> Fixes CVE-2026-39879.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to 2025.02.x and 2026.05.x, thanks !
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-14 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-09 10:36 [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl Bernd Kuhls
2026-08-09 10:36 ` [Buildroot] [PATCH 2/2] package/syslog-ng: security bump version to 4.12.0 Bernd Kuhls
2026-08-14 14:25   ` Titouan Christophe via buildroot
2026-08-09 15:22 ` [Buildroot] [PATCH 1/2] package/syslog-ng: needs libopenssl, not libressl Julien Olivain via buildroot
2026-08-14 14:24 ` Titouan Christophe via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox