public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/p11-kit] rawhide: Update to 0.26.4 upstream release
Date: Fri, 10 Jul 2026 13:19:38 GMT [thread overview]
Message-ID: <178368957843.1.2164481653157980695.rpms-p11-kit-e4539bf601b7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/p11-kit
Branch : rawhide
Commit : e4539bf601b745cced5d8ab467bc5943da320fd6
Author : Packit <hello@packit.dev>
Date : 2026-07-10T12:35:50+02:00
Stats : +6/-218 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/p11-kit/c/e4539bf601b745cced5d8ab467bc5943da320fd6?branch=rawhide
Log:
Update to 0.26.4 upstream release
Upstream tag: 0.26.4
Upstream commit: a1478884
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index f746312..d4d895b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,5 @@
/p11-kit-0.25.8.tar.xz.sig
/p11-kit-0.26.2.tar.xz
/p11-kit-0.26.2.tar.xz.sig
+/p11-kit-0.26.4.tar.xz
+/p11-kit-0.26.4.tar.xz.sig
diff --git a/README.packit b/README.packit
index 46915dc..173195e 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 1.14.0.post1.dev6+g54773bdd6.
+The file was generated using packit 1.16.1.post1.dev2+gf84fe2d5b.
diff --git a/p11-kit-0.25.5-rpc-empty.patch b/p11-kit-0.25.5-rpc-empty.patch
deleted file mode 100644
index 63709dc..0000000
--- a/p11-kit-0.25.5-rpc-empty.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From e94c1fb907546faafb3509615943776d1ea37eb8 Mon Sep 17 00:00:00 2001
-From: Daiki Ueno <ueno@gnu.org>
-Date: Wed, 3 Sep 2025 17:10:21 +0900
-Subject: [PATCH] rpc: Fix empty array attribute handling
-
-When an empty array attribute is exchanged at the RPC level, the
-client previously sent the number of elements (= 0) even if it's
-empty, while the server doesn't expect it. This fixes the client to
-not send it.
-
-Signed-off-by: Daiki Ueno <ueno@gnu.org>
----
- p11-kit/rpc-message.c | 2 +-
- p11-kit/test-mock.c | 12 ++++++++++++
- 2 files changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/p11-kit/rpc-message.c b/p11-kit/rpc-message.c
-index 049417f..5eaea61 100644
---- a/p11-kit/rpc-message.c
-+++ b/p11-kit/rpc-message.c
-@@ -266,7 +266,7 @@ p11_rpc_message_write_attribute_buffer_array (p11_rpc_message *msg,
- /* And the attribute buffer length */
- p11_rpc_buffer_add_uint32 (msg->output, attr->pValue ? attr->ulValueLen : 0);
-
-- if (IS_ATTRIBUTE_ARRAY (attr))
-+ if (attr->pValue && IS_ATTRIBUTE_ARRAY (attr))
- p11_rpc_message_write_attribute_buffer_array (
- msg, attr->pValue,
- attr->ulValueLen / sizeof (CK_ATTRIBUTE));
-diff --git a/p11-kit/test-mock.c b/p11-kit/test-mock.c
-index b117b92..f174015 100644
---- a/p11-kit/test-mock.c
-+++ b/p11-kit/test-mock.c
-@@ -624,6 +624,12 @@ test_get_wrap_template (void)
- { CKA_WRAP_TEMPLATE, temp, sizeof (temp) },
- };
- CK_ULONG n_attrs = sizeof (attrs) / sizeof (attrs[0]);
-+ CK_OBJECT_CLASS klass = -1ul;
-+ CK_ATTRIBUTE attrs_empty_template[] = {
-+ { CKA_WRAP_TEMPLATE, NULL, 0 },
-+ { CKA_UNWRAP_TEMPLATE, NULL, 0 },
-+ };
-+ CK_ULONG n_attrs_empty_template = sizeof(attrs_empty_template) / sizeof(attrs_empty_template[0]);
-
- module = setup_mock_module (&session);
-
-@@ -664,6 +670,12 @@ test_get_wrap_template (void)
- assert (verify == CK_TRUE);
- assert (encrypt == CK_TRUE);
-
-+ rv = (module->C_GetAttributeValue) (session, MOCK_PUBLIC_KEY_CAPITALIZE, attrs_empty_template, n_attrs_empty_template);
-+ assert (rv == CKR_ATTRIBUTE_TYPE_INVALID);
-+ assert_num_eq (attrs_empty_template[0].type, CKA_WRAP_TEMPLATE);
-+ assert_ptr_eq (attrs_empty_template[0].pValue, NULL);
-+ assert_num_eq (attrs_empty_template[0].ulValueLen, (CK_ULONG)-1);
-+
- teardown_mock_module (module);
- }
-
---
-2.50.1
-
diff --git a/p11-kit-0.25.6-packaging.patch b/p11-kit-0.25.6-packaging.patch
deleted file mode 100644
index aee2dd8..0000000
--- a/p11-kit-0.25.6-packaging.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/meson.build b/meson.build
-index ab28396..b5829ca 100644
---- a/meson.build
-+++ b/meson.build
-@@ -459,6 +459,7 @@ with_systemd = false
- systemd = dependency('systemd', required: get_option('systemd'))
- if systemd.found()
- systemduserunitdir = systemd.get_variable(pkgconfig : 'systemduserunitdir')
-+ with_systemd = true
- endif
-
- configure_file(output: 'config.h', configuration: conf)
-@@ -488,4 +489,4 @@ if get_option('nls')
- subdir('po')
- endif
- subdir('bash-completion')
--subdir('zsh-completion')
-+# subdir('zsh-completion')
diff --git a/p11-kit-0.25.6-thread-local-var.patch b/p11-kit-0.25.6-thread-local-var.patch
deleted file mode 100644
index 77acdbc..0000000
--- a/p11-kit-0.25.6-thread-local-var.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-From fd7ad3969f68ea24e54d242a08b089039555f7bb Mon Sep 17 00:00:00 2001
-From: Brecht Sanders <brecht@sanders.org>
-Date: Tue, 31 Dec 2024 16:28:31 +0100
-Subject: [PATCH] avoid using already defined thread_local as variable name
-
-Building p11-kit 0.25.5 with GCC15 on MinGW-w64 failed because `thread_local` is already defined for this platform.
-
-Resolved by changing the variable name from `thread_local` to `threadlocal`.
----
- common/library.c | 36 ++++++++++++++++++------------------
- 1 file changed, 18 insertions(+), 18 deletions(-)
-
-diff --git a/common/library.c b/common/library.c
-index 1581702b62db..723b05f33699 100644
---- a/common/library.c
-+++ b/common/library.c
-@@ -124,7 +124,7 @@ _p11_library_get_thread_local (void)
- return &local;
- }
- #else
--static pthread_key_t thread_local = 0;
-+static pthread_key_t threadlocal = 0;
-
- static p11_local *
- _p11_library_get_thread_local (void)
-@@ -133,10 +133,10 @@ _p11_library_get_thread_local (void)
-
- p11_library_init_once ();
-
-- local = pthread_getspecific (thread_local);
-+ local = pthread_getspecific (threadlocal);
- if (local == NULL) {
- local = calloc (1, sizeof (p11_local));
-- pthread_setspecific (thread_local, local);
-+ pthread_setspecific (threadlocal, local);
- }
-
- return local;
-@@ -158,7 +158,7 @@ p11_library_init_impl (void)
- P11_RECURSIVE_MUTEX_INIT (p11_library_mutex);
- P11_RECURSIVE_MUTEX_INIT (p11_virtual_mutex);
- #ifndef P11_TLS_KEYWORD
-- pthread_key_create (&thread_local, free);
-+ pthread_key_create (&threadlocal, free);
- #endif
- p11_message_storage = thread_local_message;
- #ifdef HAVE_STRERROR_L
-@@ -181,8 +181,8 @@ p11_library_uninit (void)
-
- #ifndef P11_TLS_KEYWORD
- /* Some cleanup to pacify valgrind */
-- free (pthread_getspecific (thread_local));
-- pthread_setspecific (thread_local, NULL);
-+ free (pthread_getspecific (threadlocal));
-+ pthread_setspecific (threadlocal, NULL);
- #endif
-
- #ifdef HAVE_STRERROR_L
-@@ -191,7 +191,7 @@ p11_library_uninit (void)
- #endif
- p11_message_storage = dont_store_message;
- #ifndef P11_TLS_KEYWORD
-- pthread_key_delete (thread_local);
-+ pthread_key_delete (threadlocal);
- #endif
- p11_mutex_uninit (&p11_virtual_mutex);
- p11_mutex_uninit (&p11_library_mutex);
-@@ -205,7 +205,7 @@ p11_library_uninit (void)
-
- #ifdef OS_WIN32
-
--static DWORD thread_local = TLS_OUT_OF_INDEXES;
-+static DWORD threadlocal = TLS_OUT_OF_INDEXES;
-
- BOOL WINAPI DllMain (HINSTANCE, DWORD, LPVOID);
-
-@@ -214,13 +214,13 @@ _p11_library_get_thread_local (void)
- {
- LPVOID data;
-
-- if (thread_local == TLS_OUT_OF_INDEXES)
-+ if (threadlocal == TLS_OUT_OF_INDEXES)
- return NULL;
-
-- data = TlsGetValue (thread_local);
-+ data = TlsGetValue (threadlocal);
- if (data == NULL) {
- data = LocalAlloc (LPTR, sizeof (p11_local));
-- TlsSetValue (thread_local, data);
-+ TlsSetValue (threadlocal, data);
- }
-
- return (p11_local *)data;
-@@ -233,8 +233,8 @@ p11_library_init (void)
- p11_debug ("initializing library");
- P11_RECURSIVE_MUTEX_INIT (p11_library_mutex);
- P11_RECURSIVE_MUTEX_INIT (p11_virtual_mutex);
-- thread_local = TlsAlloc ();
-- if (thread_local == TLS_OUT_OF_INDEXES)
-+ threadlocal = TlsAlloc ();
-+ if (threadlocal == TLS_OUT_OF_INDEXES)
- p11_debug ("couldn't setup tls");
- else
- p11_message_storage = thread_local_message;
-@@ -244,9 +244,9 @@ void
- p11_library_thread_cleanup (void)
- {
- p11_local *local;
-- if (thread_local != TLS_OUT_OF_INDEXES) {
-+ if (threadlocal != TLS_OUT_OF_INDEXES) {
- p11_debug ("thread stopped, freeing tls");
-- local = TlsGetValue (thread_local);
-+ local = TlsGetValue (threadlocal);
- LocalFree (local);
- }
- }
-@@ -258,11 +258,11 @@ p11_library_uninit (void)
-
- uninit_common ();
-
-- if (thread_local != TLS_OUT_OF_INDEXES) {
-+ if (threadlocal != TLS_OUT_OF_INDEXES) {
- p11_message_storage = dont_store_message;
-- data = TlsGetValue (thread_local);
-+ data = TlsGetValue (threadlocal);
- LocalFree (data);
-- TlsFree (thread_local);
-+ TlsFree (threadlocal);
- }
- p11_mutex_uninit (&p11_virtual_mutex);
- p11_mutex_uninit (&p11_library_mutex);
---
-2.49.0
-
diff --git a/p11-kit.spec b/p11-kit.spec
index 37c2471..ffaad03 100644
--- a/p11-kit.spec
+++ b/p11-kit.spec
@@ -6,7 +6,7 @@
%endif
-Version: 0.26.2
+Version: 0.26.4
Release: %{?autorelease}%{!?autorelease:1%{?dist}}
Name: p11-kit
Summary: Library for loading and sharing PKCS#11 modules
diff --git a/sources b/sources
index 5b04602..01551aa 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (p11-kit-0.26.2.tar.xz) = 662c77e3133a9ee00f155fc2c1f12fdb16492920f992ab6e9de587c8abf76f990d442643bf8464cc08ad4d1c584f4d6f8d3a006aa7fc791010fa9cb7acaf6b7b
-SHA512 (p11-kit-0.26.2.tar.xz.sig) = 84f5d5363eb38a6a501b34103b5c1df08c88b80897fdd4f966c0692131cca0f21f590a58a7810b9e87e86656641ac4e0f4224b0327840890af4a4baf5186e264
+SHA512 (p11-kit-0.26.4.tar.xz) = bebaf91589dd93ddf882a9f38ce897720c79fd56f5196a3b25fc552c3e49250f2ce94e33cb8fe74087bc1e5c4945fa179a0ccb202d0403252656161b2a48ce10
+SHA512 (p11-kit-0.26.4.tar.xz.sig) = 525d7bda0bed5e9549f92c02c0b7bdcdba2490037b985a93c0e968159711eeb735abb00c254949a0e75e4341470f092c90745b1289876210339d1e5a0ae324f1
SHA512 (p11-kit-release-keyring.gpg) = 9a832a8ac3a139cbbf1ecb66573f0709847ebfef4975777cf82b4dca09af1ad8e6400f0af0bcdb92860e7ed4fc05082ba1edda0238a21fe24d49555a1069e881
reply other threads:[~2026-07-10 13:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178368957843.1.2164481653157980695.rpms-p11-kit-e4539bf601b7@fedoraproject.org \
--to=hello@packit.dev \
--cc=git-commits@fedoraproject.org \
/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