* [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2
@ 2026-04-20 17:34 Bernd Kuhls
2026-04-20 17:34 ` [Buildroot] [PATCH 2/2] package/libp11: bump version to 0.4.18 Bernd Kuhls
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Bernd Kuhls @ 2026-04-20 17:34 UTC (permalink / raw)
To: buildroot
https://github.com/p11-glue/p11-kit/blob/0.26.2/NEWS
Fixes CVE-2026-2100: https://github.com/advisories/GHSA-hq85-3f6c-jx84
Switched to sha256 tarball hash provided by upstream.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/p11-kit/p11-kit.hash | 4 ++--
package/p11-kit/p11-kit.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/p11-kit/p11-kit.hash b/package/p11-kit/p11-kit.hash
index 43a566a82c..943ad9c22f 100644
--- a/package/p11-kit/p11-kit.hash
+++ b/package/p11-kit/p11-kit.hash
@@ -1,4 +1,4 @@
-# Locally calculated after checking pgp signature
-sha256 04d0a86450cdb1be018f26af6699857171a188ac6d5b8c90786a60854e1198e5 p11-kit-0.25.5.tar.xz
+# From https://github.com/p11-glue/p11-kit/releases/tag/0.26.2
+sha256 09fd9f44da4813a3141e73d5e7cf7008e5660d0405f13d56c15e1da9dcecf828 p11-kit-0.26.2.tar.xz
# Locally computed
sha256 2e1ba993904df807a10c3eda1e5c272338edc35674b679773a8b3ad460731054 COPYING
diff --git a/package/p11-kit/p11-kit.mk b/package/p11-kit/p11-kit.mk
index 42de3e1065..68b1894183 100644
--- a/package/p11-kit/p11-kit.mk
+++ b/package/p11-kit/p11-kit.mk
@@ -4,7 +4,7 @@
#
################################################################################
-P11_KIT_VERSION = 0.25.5
+P11_KIT_VERSION = 0.26.2
P11_KIT_SOURCE = p11-kit-$(P11_KIT_VERSION).tar.xz
P11_KIT_SITE = https://github.com/p11-glue/p11-kit/releases/download/$(P11_KIT_VERSION)
P11_KIT_INSTALL_STAGING = YES
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/libp11: bump version to 0.4.18
2026-04-20 17:34 [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2 Bernd Kuhls
@ 2026-04-20 17:34 ` Bernd Kuhls
2026-04-20 19:20 ` [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2 Julien Olivain via buildroot
2026-05-04 14:47 ` Thomas Perale via buildroot
2 siblings, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2026-04-20 17:34 UTC (permalink / raw)
To: buildroot
https://github.com/OpenSC/libp11/blob/libp11-0.4.18/NEWS
Removed all patches which are included in this release.
Switched to sha256 tarball hash provided by upstream.
Apply the fix for enginesdir to the newly introduced configure option
--with-modulesdir, added in version 0.4.14, as well:
https://github.com/OpenSC/libp11/commit/8ff7952a811086110486162fe9c3f167ded4afe3
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
.checkpackageignore | 1 -
...rc-p11_attr.c-fix-build-with-gcc-4.8.patch | 42 ------------
...ange-bool-attribute-true-false-names.patch | 67 -------------------
package/libp11/libp11.hash | 3 +-
package/libp11/libp11.mk | 5 +-
5 files changed, 5 insertions(+), 113 deletions(-)
delete mode 100644 package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch
delete mode 100644 package/libp11/0002-change-bool-attribute-true-false-names.patch
diff --git a/.checkpackageignore b/.checkpackageignore
index 3b867a994b..c4b4f1c4e8 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -535,7 +535,6 @@ package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch
package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch lib_patch.Upstream
package/liboping/0004-Fix-compile-error-on-GCC-7.patch lib_patch.Upstream
package/liboping/0005-src-oping.c-always-use-s-style-format-for-printf-sty.patch lib_patch.Upstream
-package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch lib_patch.Upstream
package/libpthsem/0001-fix-build-on-linux-3.x-host.patch lib_patch.Upstream
package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch lib_patch.Upstream
package/librsvg/0001-gdk-pixbuf-loader-Makefile.am-set-GDK_PIXBUF_MODULED.patch lib_patch.Upstream
diff --git a/package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch b/package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch
deleted file mode 100644
index 60fc16d9d0..0000000000
--- a/package/libp11/0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From ba44b87318ed89e489fa3ce0a5d66002afa2bd6c Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Fri, 12 Aug 2022 11:54:54 +0200
-Subject: [PATCH] src/p11_attr.c: fix build with gcc 4.8
-
-Fix the following build failure with gcc 4.8 raised since version 0.4.12
-and
-https://github.com/OpenSC/libp11/commit/639a4b6463278c0119a2ec60b261da3e5330fb33:
-
-p11_attr.c: In function 'pkcs11_zap_attrs':
-p11_attr.c:167:2: error: 'for' loop initial declarations are only allowed in C99 mode
- for (unsigned i = 0; i < 32; i++) {
- ^
-p11_attr.c:167:2: note: use option -std=c99 or -std=gnu99 to compile your code
-
-Fixes:
- - http://autobuild.buildroot.org/results/4391020fb5738cc8c26dc53783a6228bbf76473a
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Retrieved from:
-https://github.com/OpenSC/libp11/commit/ba44b87318ed89e489fa3ce0a5d66002afa2bd6c]
----
- src/p11_attr.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/p11_attr.c b/src/p11_attr.c
-index d49456ff..d425241a 100644
---- a/src/p11_attr.c
-+++ b/src/p11_attr.c
-@@ -162,9 +162,11 @@ void pkcs11_addattr_obj(PKCS11_TEMPLATE *tmpl, int type, pkcs11_i2d_fn enc, void
-
- void pkcs11_zap_attrs(PKCS11_TEMPLATE *tmpl)
- {
-+ unsigned int i;
-+
- if (!tmpl->allocated)
- return;
-- for (unsigned i = 0; i < 32; i++) {
-+ for (i = 0; i < 32; i++) {
- if (tmpl->allocated & (1<<i))
- OPENSSL_free(tmpl->attrs[i].pValue);
- }
diff --git a/package/libp11/0002-change-bool-attribute-true-false-names.patch b/package/libp11/0002-change-bool-attribute-true-false-names.patch
deleted file mode 100644
index d63ec74590..0000000000
--- a/package/libp11/0002-change-bool-attribute-true-false-names.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 89ccb1f097f56a0933f881af051422b8d67e457f Mon Sep 17 00:00:00 2001
-From: dlegault <dlegault@blackberry.com>
-Date: Fri, 2 Sep 2022 12:01:23 -0400
-Subject: [PATCH] Change bool attribute true/false names to _true/_false
-
-This prevents conflicts with true/false defined in stdbool.h
-
-fixes #472
-
-Upstream: https://github.com/OpenSC/libp11/commit/89ccb1f097f56a0933f881af051422b8d67e457f
-Signed-off-by: Thomas Perale <thomas.perale@mind.be>
----
- src/p11_attr.c | 6 +++---
- src/p11_ec.c | 14 +++++++-------
- 2 files changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/src/p11_attr.c b/src/p11_attr.c
-index d425241a..a420efad 100644
---- a/src/p11_attr.c
-+++ b/src/p11_attr.c
-@@ -123,9 +123,9 @@ unsigned int pkcs11_addattr(PKCS11_TEMPLATE *tmpl, int type, void *data, size_t
-
- void pkcs11_addattr_bool(PKCS11_TEMPLATE *tmpl, int type, int value)
- {
-- static CK_BBOOL true = CK_TRUE;
-- static CK_BBOOL false = CK_FALSE;
-- pkcs11_addattr(tmpl, type, value ? &true : &false, sizeof(CK_BBOOL));
-+ static CK_BBOOL _true = CK_TRUE;
-+ static CK_BBOOL _false = CK_FALSE;
-+ pkcs11_addattr(tmpl, type, value ? &_true : &_false, sizeof(CK_BBOOL));
- }
-
- void pkcs11_addattr_s(PKCS11_TEMPLATE *tmpl, int type, const char *s)
-diff --git a/src/p11_ec.c b/src/p11_ec.c
-index 4fb4efc3..16e3b3af 100644
---- a/src/p11_ec.c
-+++ b/src/p11_ec.c
-@@ -590,22 +590,22 @@ static int pkcs11_ecdh_derive(unsigned char **out, size_t *outlen,
- CK_MECHANISM mechanism;
- int rv;
-
-- CK_BBOOL true = TRUE;
-- CK_BBOOL false = FALSE;
-+ CK_BBOOL _true = TRUE;
-+ CK_BBOOL _false = FALSE;
- CK_OBJECT_HANDLE newkey = CK_INVALID_HANDLE;
- CK_OBJECT_CLASS newkey_class= CKO_SECRET_KEY;
- CK_KEY_TYPE newkey_type = CKK_GENERIC_SECRET;
- CK_ULONG newkey_len = key_len;
- CK_OBJECT_HANDLE *tmpnewkey = (CK_OBJECT_HANDLE *)outnewkey;
- CK_ATTRIBUTE newkey_template[] = {
-- {CKA_TOKEN, &false, sizeof(false)}, /* session only object */
-+ {CKA_TOKEN, &_false, sizeof(_false)}, /* session only object */
- {CKA_CLASS, &newkey_class, sizeof(newkey_class)},
- {CKA_KEY_TYPE, &newkey_type, sizeof(newkey_type)},
- {CKA_VALUE_LEN, &newkey_len, sizeof(newkey_len)},
-- {CKA_SENSITIVE, &false, sizeof(false) },
-- {CKA_EXTRACTABLE, &true, sizeof(true) },
-- {CKA_ENCRYPT, &true, sizeof(true)},
-- {CKA_DECRYPT, &true, sizeof(true)}
-+ {CKA_SENSITIVE, &_false, sizeof(_false) },
-+ {CKA_EXTRACTABLE, &_true, sizeof(_true) },
-+ {CKA_ENCRYPT, &_true, sizeof(_true)},
-+ {CKA_DECRYPT, &_true, sizeof(_true)}
- };
-
- memset(&mechanism, 0, sizeof(mechanism));
diff --git a/package/libp11/libp11.hash b/package/libp11/libp11.hash
index 0e42bdd4cf..8a31a6f39e 100644
--- a/package/libp11/libp11.hash
+++ b/package/libp11/libp11.hash
@@ -1,3 +1,4 @@
+# From https://github.com/OpenSC/libp11/releases/tag/libp11-0.4.18
+sha256 9292de67ca73aba1deacf577c9086b595765f36ef47712cfeb49fa31f6e772fb libp11-0.4.18.tar.gz
# Locally computed:
-sha256 1e1a2533b3fcc45fde4da64c9c00261b1047f14c3f911377ebd1b147b3321cfd libp11-0.4.12.tar.gz
sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f COPYING
diff --git a/package/libp11/libp11.mk b/package/libp11/libp11.mk
index cd4ed34297..51a44f5b3d 100644
--- a/package/libp11/libp11.mk
+++ b/package/libp11/libp11.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBP11_VERSION = 0.4.12
+LIBP11_VERSION = 0.4.18
LIBP11_SITE = https://github.com/OpenSC/libp11/releases/download/libp11-$(LIBP11_VERSION)
LIBP11_DEPENDENCIES = openssl host-pkgconf
LIBP11_INSTALL_STAGING = YES
@@ -14,7 +14,8 @@ LIBP11_LICENSE_FILES = COPYING
# pkg-config returns a libcrypto enginesdir prefixed with the sysroot,
# so let's rip it out.
LIBP11_CONF_OPTS = \
- --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'`
+ --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` \
+ --with-modulesdir=`$(PKG_CONFIG_HOST_BINARY) --variable modulesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'`
ifeq ($(BR2_PACKAGE_P11_KIT),y)
LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2
2026-04-20 17:34 [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2 Bernd Kuhls
2026-04-20 17:34 ` [Buildroot] [PATCH 2/2] package/libp11: bump version to 0.4.18 Bernd Kuhls
@ 2026-04-20 19:20 ` Julien Olivain via buildroot
2026-05-04 14:47 ` Thomas Perale via buildroot
2 siblings, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-04-20 19:20 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On 20/04/2026 19:34, Bernd Kuhls wrote:
> https://github.com/p11-glue/p11-kit/blob/0.26.2/NEWS
>
> Fixes CVE-2026-2100: https://github.com/advisories/GHSA-hq85-3f6c-jx84
>
> Switched to sha256 tarball hash provided by upstream.
>
> 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] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2
2026-04-20 17:34 [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2 Bernd Kuhls
2026-04-20 17:34 ` [Buildroot] [PATCH 2/2] package/libp11: bump version to 0.4.18 Bernd Kuhls
2026-04-20 19:20 ` [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2 Julien Olivain via buildroot
@ 2026-05-04 14:47 ` Thomas Perale via buildroot
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Perale via buildroot @ 2026-05-04 14:47 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Thomas Perale, buildroot
In reply of:
> https://github.com/p11-glue/p11-kit/blob/0.26.2/NEWS
>
> Fixes CVE-2026-2100: https://github.com/advisories/GHSA-hq85-3f6c-jx84
>
> Switched to sha256 tarball hash provided by upstream.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to 2025.02.x & 2026.02.x. Thanks
> ---
> package/p11-kit/p11-kit.hash | 4 ++--
> package/p11-kit/p11-kit.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/p11-kit/p11-kit.hash b/package/p11-kit/p11-kit.hash
> index 43a566a82c..943ad9c22f 100644
> --- a/package/p11-kit/p11-kit.hash
> +++ b/package/p11-kit/p11-kit.hash
> @@ -1,4 +1,4 @@
> -# Locally calculated after checking pgp signature
> -sha256 04d0a86450cdb1be018f26af6699857171a188ac6d5b8c90786a60854e1198e5 p11-kit-0.25.5.tar.xz
> +# From https://github.com/p11-glue/p11-kit/releases/tag/0.26.2
> +sha256 09fd9f44da4813a3141e73d5e7cf7008e5660d0405f13d56c15e1da9dcecf828 p11-kit-0.26.2.tar.xz
> # Locally computed
> sha256 2e1ba993904df807a10c3eda1e5c272338edc35674b679773a8b3ad460731054 COPYING
> diff --git a/package/p11-kit/p11-kit.mk b/package/p11-kit/p11-kit.mk
> index 42de3e1065..68b1894183 100644
> --- a/package/p11-kit/p11-kit.mk
> +++ b/package/p11-kit/p11-kit.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -P11_KIT_VERSION = 0.25.5
> +P11_KIT_VERSION = 0.26.2
> P11_KIT_SOURCE = p11-kit-$(P11_KIT_VERSION).tar.xz
> P11_KIT_SITE = https://github.com/p11-glue/p11-kit/releases/download/$(P11_KIT_VERSION)
> P11_KIT_INSTALL_STAGING = YES
> --
> 2.47.3
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-05-04 14:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-20 17:34 [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2 Bernd Kuhls
2026-04-20 17:34 ` [Buildroot] [PATCH 2/2] package/libp11: bump version to 0.4.18 Bernd Kuhls
2026-04-20 19:20 ` [Buildroot] [PATCH 1/2] package/p11-kit: security bump version to 0.26.2 Julien Olivain via buildroot
2026-05-04 14:47 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox