Skip to contentSkip to conversation

package/syslog-ng: needs libopenssl, not libressl

PATCH In review Bernd Kuhls 2 participants 5 messages Aug 9 – Aug 14

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/syslog-ng: needs libopenssl, not libressl

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/

---
Gitlab pipeline passed:
https://gitlab.com/bkuhls/buildroot/-/commits/3e545dbf07eb3c7f4ed0e54b50b7d072c03d217e

 package/syslog-ng/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/syslog-ng/Config.in +1 -0
index 1302e6ac46..0bdf0dcd27 100644
@@ -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,
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/syslog-ng: security bump version to 4.12.0

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

Fixes CVE-2026-39879.

---
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(-)
package/syslog-ng/syslog-ng.conf +1 -1
index c4b0cbe54a..ae6f190c92 100644
@@ -1,4 +1,4 @@
-@version: 4.11
+@version: 4.12
 
 source s_sys {
 	file("/proc/kmsg" program_override("kernel"));
package/syslog-ng/syslog-ng.hash +2 -2
index a276e85385..95621bde26 100644
@@ -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
package/syslog-ng/syslog-ng.mk +1 -1
index 2faf2cebe5..12c305b9cd 100644
@@ -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
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to Bernd Kuhls
Quoted 17 lines · Bernd Kuhls

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);

Quoted 8 lines

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/

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw
In reply to Bernd Kuhls
Quoted 17 lines · Bernd Kuhls

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);

Quoted 8 lines

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/

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