From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2
Date: Thu, 17 Sep 2026 23:24:35 +0200 [thread overview]
Message-ID: <20260917212435.93696-3-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20260917212435.93696-1-jaipaul.cheernam@est.tech>
NEWS: https://gitlab.gnome.org/GNOME/libsecret/-/blob/0.21.8.2/NEWS
0.21.8.2
* Release to bump meson.build version
0.21.8.1
* Make secret_item_load_secrets_sync match async behavior [!180]
0.21.8
* Allow the content type to have additional parameters [#114, !175]
* Support individually encrypted items [!174]
* Ensure we return chained up GTask [!179]
* Ensure length of DH shared secret match length of prime on GnuTLS [!170]
* file-backend: Add thread safety and file-based locking to prevent concurrent write races [!171]
* file-backend: Fix possible memory leak in error path of secret_file_backend_real_search() [!173]
* file-collection: Fix memory leaks on repeated calls [!173]
* Replace some SecretSync with a sync implementation [!108]
* Add linker version script to hide private symbols [#70, !159]
* Stop using CONST annotations on non-const fns [!176]
* secret-tool: align behavior for collection option [!164]
* secret-tool: document --collection option [#31, !164]
* meson: Put test setup behind a feature option [#101, !162]
* Several test and CI improvements [!172, !177, !178]
* Updated translations
- Refresh the pam-tests patch for the new release.
- Backport a fcntl.h include fix so the file backend builds with musl [!181].
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
Changes since v1: backport upstream <fcntl.h> fix (MR !181) for the musl
build; use the GitLab NEWS link.
...eson-add-option-to-disable-pam-tests.patch | 18 ++++++----
...lection-Make-sure-we-include-fcntl.h.patch | 33 +++++++++++++++++++
...secret_0.21.7.bb => libsecret_0.21.8.2.bb} | 6 ++--
3 files changed, 48 insertions(+), 9 deletions(-)
create mode 100644 meta/recipes-gnome/libsecret/libsecret/0002-file-collection-Make-sure-we-include-fcntl.h.patch
rename meta/recipes-gnome/libsecret/{libsecret_0.21.7.bb => libsecret_0.21.8.2.bb} (86%)
diff --git a/meta/recipes-gnome/libsecret/libsecret/0001-meson-add-option-to-disable-pam-tests.patch b/meta/recipes-gnome/libsecret/libsecret/0001-meson-add-option-to-disable-pam-tests.patch
index e0a5737eab8..e57aa94337b 100644
--- a/meta/recipes-gnome/libsecret/libsecret/0001-meson-add-option-to-disable-pam-tests.patch
+++ b/meta/recipes-gnome/libsecret/libsecret/0001-meson-add-option-to-disable-pam-tests.patch
@@ -1,24 +1,28 @@
-From a9fd7dcddf8bc64646f2945ab564357c23111541 Mon Sep 17 00:00:00 2001
+From 5a7a8d10d08892dda84092afbcf5fbdeceed0287 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 3 Dec 2024 15:58:17 +0100
Subject: [PATCH] meson: add option to disable pam tests
Upstream-Status: Denied [https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/151]
+refreshed for 0.21.8.2
+
Signed-off-by: Markus Volk <f_l_k@t-online.de>
+Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
- meson_options.txt | 1 +
+ meson_options.txt | 6 ++++++
pam/meson.build | 44 +++++++++++++++++++++++---------------------
- 2 files changed, 24 insertions(+), 21 deletions(-)
+ 2 files changed, 29 insertions(+), 21 deletions(-)
diff --git a/meson_options.txt b/meson_options.txt
-index 936eff8..2ae14f2 100644
+index d7b1628..0bed21d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
-@@ -61,3 +61,8 @@
- description: 'Build PAM module',
+@@ -66,3 +66,9 @@ option('test_setup',
+ value: 'auto',
+ description: 'Automatically setup a test environment when running tests',
)
-
++
+option('pam-tests',
+ type: 'boolean',
+ value: true,
diff --git a/meta/recipes-gnome/libsecret/libsecret/0002-file-collection-Make-sure-we-include-fcntl.h.patch b/meta/recipes-gnome/libsecret/libsecret/0002-file-collection-Make-sure-we-include-fcntl.h.patch
new file mode 100644
index 00000000000..2150e310b00
--- /dev/null
+++ b/meta/recipes-gnome/libsecret/libsecret/0002-file-collection-Make-sure-we-include-fcntl.h.patch
@@ -0,0 +1,33 @@
+From a5cd57f103038c06b64d5f6ebfd0e627bb40af4e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andr=C3=A9=20Schwarz?= <aschwarz@usp.br>
+Date: Tue, 15 Sep 2026 00:11:56 +0000
+Subject: [PATCH] file-collection: Make sure we include <fcntl.h>
+
+Without it, libsecret fails to compile with musl/libc++. Specifically,
+Clang compiler complains that the `open()` and the constants `O_CREAT`
+and `O_RDRW` are not defined.
+
+Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/work_items/117
+
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/181]
+Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
+---
+ libsecret/secret-file-collection.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libsecret/secret-file-collection.c b/libsecret/secret-file-collection.c
+index d528023..59667a4 100644
+--- a/libsecret/secret-file-collection.c
++++ b/libsecret/secret-file-collection.c
+@@ -24,6 +24,8 @@
+ #include <sys/file.h>
+ #include <errno.h>
+
++#include <fcntl.h>
++
+ EGG_SECURE_DECLARE (secret_file_collection);
+
+ #ifdef WITH_GCRYPT
+--
+GitLab
+
diff --git a/meta/recipes-gnome/libsecret/libsecret_0.21.7.bb b/meta/recipes-gnome/libsecret/libsecret_0.21.8.2.bb
similarity index 86%
rename from meta/recipes-gnome/libsecret/libsecret_0.21.7.bb
rename to meta/recipes-gnome/libsecret/libsecret_0.21.8.2.bb
index e77f83e92fe..409a2c0857c 100644
--- a/meta/recipes-gnome/libsecret/libsecret_0.21.7.bb
+++ b/meta/recipes-gnome/libsecret/libsecret_0.21.8.2.bb
@@ -12,8 +12,10 @@ inherit gnomebase gi-docgen vala gobject-introspection manpages
DEPENDS += "glib-2.0 libgcrypt gettext-native"
-SRC_URI += "file://0001-meson-add-option-to-disable-pam-tests.patch"
-SRC_URI[archive.sha256sum] = "6b452e4750590a2b5617adc40026f28d2f4903de15f1250e1d1c40bfd68ed55e"
+SRC_URI += "file://0001-meson-add-option-to-disable-pam-tests.patch \
+ file://0002-file-collection-Make-sure-we-include-fcntl.h.patch \
+ "
+SRC_URI[archive.sha256sum] = "142948339c5b971d8f6a8c7099521f6fd319b6fe73d2694b4e6d3310ed28b6e6"
EXTRA_OEMESON += "-Dpam-tests=false"
prev parent reply other threads:[~2026-09-17 21:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-17 7:49 [PATCH 0/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam
2026-09-17 7:49 ` [PATCH 1/2] gnomebase: fix gnome_verdir for four-component versions Jaipaul Cheernam
2026-09-17 7:49 ` [PATCH 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam
2026-09-17 20:07 ` [OE-core] " Richard Purdie
2026-09-17 21:19 ` Jaipaul Cheernam
2026-09-17 21:24 ` [PATCH v2 0/2] libsecret: upgrade to 0.21.8.2 and fix gnomebase verdir Jaipaul Cheernam
2026-09-17 21:24 ` [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions Jaipaul Cheernam
2026-09-19 2:11 ` [OE-core] " Tim Orling
2026-09-23 14:05 ` Ross Burton
2026-09-23 14:21 ` Ross Burton
2026-09-23 14:42 ` Ross Burton
2026-09-23 14:45 ` Jaipaul Cheernam
2026-09-17 21:24 ` Jaipaul Cheernam [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=20260917212435.93696-3-jaipaul.cheernam@est.tech \
--to=jaipaul.cheernam@est.tech \
--cc=openembedded-core@lists.openembedded.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