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 <[email protected]> --- 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 <[email protected]> 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 <[email protected]> +Signed-off-by: Jaipaul Cheernam <[email protected]> --- - 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?= <[email protected]> +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 <[email protected]> +--- + 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"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#246094): https://lists.openembedded.org/g/openembedded-core/message/246094 Mute This Topic: https://lists.openembedded.org/mt/121304876/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
