* [PATCH 0/2] libsecret: upgrade 0.21.7 -> 0.21.8.2
@ 2026-09-17 7:49 Jaipaul Cheernam
2026-09-17 7:49 ` [PATCH 1/2] gnomebase: fix gnome_verdir for four-component versions Jaipaul Cheernam
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Jaipaul Cheernam @ 2026-09-17 7:49 UTC (permalink / raw)
To: openembedded-core
Upgrading libsecret to 0.21.8.2 exposed a bug in gnome_verdir(): it
derived the GNOME download directory by stripping the last version
component, which produced 0.21.8/ for the four-component version
0.21.8.2 instead of GNOME's 0.21/, causing the fetch to 404.
The first patch fixes gnome_verdir() to use the major.minor directory,
which is unchanged for all existing gnomebase recipes. The second patch
performs the libsecret upgrade and refreshes the downstream pam-tests
patch.
Jaipaul Cheernam (2):
gnomebase: fix gnome_verdir for four-component versions
libsecret: upgrade 0.21.7 -> 0.21.8.2
meta/classes-recipe/gnomebase.bbclass | 7 ++++++-
...meson-add-option-to-disable-pam-tests.patch | 18 +++++++++++-------
...bsecret_0.21.7.bb => libsecret_0.21.8.2.bb} | 2 +-
3 files changed, 18 insertions(+), 9 deletions(-)
rename meta/recipes-gnome/libsecret/{libsecret_0.21.7.bb => libsecret_0.21.8.2.bb} (92%)
^ permalink raw reply [flat|nested] 13+ messages in thread* [PATCH 1/2] gnomebase: fix gnome_verdir for four-component versions 2026-09-17 7:49 [PATCH 0/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam @ 2026-09-17 7:49 ` Jaipaul Cheernam 2026-09-17 7:49 ` [PATCH 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam 2026-09-17 21:24 ` [PATCH v2 0/2] libsecret: upgrade to 0.21.8.2 and fix gnomebase verdir Jaipaul Cheernam 2 siblings, 0 replies; 13+ messages in thread From: Jaipaul Cheernam @ 2026-09-17 7:49 UTC (permalink / raw) To: openembedded-core gnome_verdir() stripped the last version component to build the download directory, which broke four-component versions: libsecret 0.21.8.2 was fetched from 0.21.8/ instead of GNOME's 0.21/, causing a 404. Use the first two components instead. This is unchanged for all existing gnomebase recipes and fixes four-component versions. Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- meta/classes-recipe/gnomebase.bbclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/gnomebase.bbclass b/meta/classes-recipe/gnomebase.bbclass index 57933dda71..e5aac95a16 100644 --- a/meta/classes-recipe/gnomebase.bbclass +++ b/meta/classes-recipe/gnomebase.bbclass @@ -5,7 +5,12 @@ # def gnome_verdir(v): - return ".".join(v.split(".")[:-1]) or v + # GNOME hosts tarballs under the major.minor directory (major only for + # two-component versions). Take the first two components rather than + # stripping the last, so four-component versions (e.g. 0.21.8.2 -> 0.21) + # resolve correctly. + parts = v.split(".") + return ".".join(parts[:2] if len(parts) >= 3 else parts[:-1]) or v GNOME_COMPRESS_TYPE ?= "xz" ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 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 ` Jaipaul Cheernam 2026-09-17 20:07 ` [OE-core] " Richard Purdie 2026-09-17 21:24 ` [PATCH v2 0/2] libsecret: upgrade to 0.21.8.2 and fix gnomebase verdir Jaipaul Cheernam 2 siblings, 1 reply; 13+ messages in thread From: Jaipaul Cheernam @ 2026-09-17 7:49 UTC (permalink / raw) To: openembedded-core NEWS: https://github.com/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. Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- ...meson-add-option-to-disable-pam-tests.patch | 18 +++++++++++------- ...bsecret_0.21.7.bb => libsecret_0.21.8.2.bb} | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) rename meta/recipes-gnome/libsecret/{libsecret_0.21.7.bb => libsecret_0.21.8.2.bb} (92%) 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 e0a5737eab..e57aa94337 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_0.21.7.bb b/meta/recipes-gnome/libsecret/libsecret_0.21.8.2.bb similarity index 92% rename from meta/recipes-gnome/libsecret/libsecret_0.21.7.bb rename to meta/recipes-gnome/libsecret/libsecret_0.21.8.2.bb index e77f83e92f..d7c5410a96 100644 --- a/meta/recipes-gnome/libsecret/libsecret_0.21.7.bb +++ b/meta/recipes-gnome/libsecret/libsecret_0.21.8.2.bb @@ -13,7 +13,7 @@ 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[archive.sha256sum] = "142948339c5b971d8f6a8c7099521f6fd319b6fe73d2694b4e6d3310ed28b6e6" EXTRA_OEMESON += "-Dpam-tests=false" ^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 2026-09-17 7:49 ` [PATCH 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam @ 2026-09-17 20:07 ` Richard Purdie 2026-09-17 21:19 ` Jaipaul Cheernam 0 siblings, 1 reply; 13+ messages in thread From: Richard Purdie @ 2026-09-17 20:07 UTC (permalink / raw) To: jaipaul.cheernam, openembedded-core On Thu, 2026-09-17 at 09:49 +0200, Jaipaul Cheernam via lists.openembedded.org wrote: > NEWS: https://github.com/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. > > Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> > --- > ...meson-add-option-to-disable-pam-tests.patch | 18 +++++++++++------- > ...bsecret_0.21.7.bb => libsecret_0.21.8.2.bb} | 2 +- > 2 files changed, 12 insertions(+), 8 deletions(-) > rename meta/recipes-gnome/libsecret/{libsecret_0.21.7.bb => libsecret_0.21.8.2.bb} (92%) https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/3394 Cheers, Richard ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 2026-09-17 20:07 ` [OE-core] " Richard Purdie @ 2026-09-17 21:19 ` Jaipaul Cheernam 0 siblings, 0 replies; 13+ messages in thread From: Jaipaul Cheernam @ 2026-09-17 21:19 UTC (permalink / raw) To: Richard Purdie, openembedded-core On 2026-09-17 22:07, Richard Purdie wrote: > https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/3394 Hi Richard, I forgot to test with musl and upstream fixed same issue in https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/181/ after release. Will send V2 with backport patch soon. Regards, Jaipaul > > Cheers, > > Richard ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 0/2] libsecret: upgrade to 0.21.8.2 and fix gnomebase verdir 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 21:24 ` Jaipaul Cheernam 2026-09-17 21:24 ` [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions Jaipaul Cheernam 2026-09-17 21:24 ` [PATCH v2 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam 2 siblings, 2 replies; 13+ messages in thread From: Jaipaul Cheernam @ 2026-09-17 21:24 UTC (permalink / raw) To: openembedded-core This series upgrades libsecret to 0.21.8.2 and fixes gnome_verdir() so the four-component version resolves to the correct GNOME download dir. Changes since v1: - gnomebase: shorten commit message and code comment (no code change). - libsecret: backport upstream <fcntl.h> fix (MR !181) for musl build. Jaipaul Cheernam (2): gnomebase: fix gnome_verdir for four-component versions libsecret: upgrade 0.21.7 -> 0.21.8.2 meta/classes-recipe/gnomebase.bbclass | 4 ++- ...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 ++-- 4 files changed, 51 insertions(+), 10 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%) ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions 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 ` Jaipaul Cheernam 2026-09-19 2:11 ` [OE-core] " Tim Orling 2026-09-23 14:05 ` Ross Burton 2026-09-17 21:24 ` [PATCH v2 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam 1 sibling, 2 replies; 13+ messages in thread From: Jaipaul Cheernam @ 2026-09-17 21:24 UTC (permalink / raw) To: openembedded-core gnome_verdir() stripped the last version component, so four-component versions broke: libsecret 0.21.8.2 resolved to 0.21.8/ instead of 0.21/, causing a fetch 404. Use the first two components instead, which is unchanged for existing recipes. Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> --- Changes since v1: shorten commit message and code comment; no functional change. meta/classes-recipe/gnomebase.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes-recipe/gnomebase.bbclass b/meta/classes-recipe/gnomebase.bbclass index 57933dda71a..9715e90f165 100644 --- a/meta/classes-recipe/gnomebase.bbclass +++ b/meta/classes-recipe/gnomebase.bbclass @@ -5,7 +5,9 @@ # def gnome_verdir(v): - return ".".join(v.split(".")[:-1]) or v + # GNOME dirs use the first two version components, e.g. 0.21.8.2 -> 0.21 + parts = v.split(".") + return ".".join(parts[:2] if len(parts) >= 3 else parts[:-1]) or v GNOME_COMPRESS_TYPE ?= "xz" ^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions 2026-09-17 21:24 ` [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions Jaipaul Cheernam @ 2026-09-19 2:11 ` Tim Orling 2026-09-23 14:05 ` Ross Burton 1 sibling, 0 replies; 13+ messages in thread From: Tim Orling @ 2026-09-19 2:11 UTC (permalink / raw) To: jaipaul.cheernam; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 1729 bytes --] This also fixes the upgrade to at-spi2-core 2.62.0.1 On Thu, Sep 17, 2026 at 2:24 PM Jaipaul Cheernam via lists.openembedded.org <jaipaul.cheernam=est.tech@lists.openembedded.org> wrote: > gnome_verdir() stripped the last version component, so four-component > versions broke: libsecret 0.21.8.2 resolved to 0.21.8/ instead of 0.21/, > causing a fetch 404. Use the first two components instead, which is > unchanged for existing recipes. > > Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech> > --- > Changes since v1: shorten commit message and code comment; no functional > change. > > meta/classes-recipe/gnomebase.bbclass | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/classes-recipe/gnomebase.bbclass > b/meta/classes-recipe/gnomebase.bbclass > index 57933dda71a..9715e90f165 100644 > --- a/meta/classes-recipe/gnomebase.bbclass > +++ b/meta/classes-recipe/gnomebase.bbclass > @@ -5,7 +5,9 @@ > # > > def gnome_verdir(v): > - return ".".join(v.split(".")[:-1]) or v > + # GNOME dirs use the first two version components, e.g. 0.21.8.2 -> > 0.21 > + parts = v.split(".") > + return ".".join(parts[:2] if len(parts) >= 3 else parts[:-1]) or v > > > GNOME_COMPRESS_TYPE ?= "xz" > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#246093): > https://lists.openembedded.org/g/openembedded-core/message/246093 > Mute This Topic: https://lists.openembedded.org/mt/121304875/924729 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > ticotimo@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > > [-- Attachment #2: Type: text/html, Size: 2686 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions 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 1 sibling, 1 reply; 13+ messages in thread From: Ross Burton @ 2026-09-23 14:05 UTC (permalink / raw) To: jaipaul.cheernam@est.tech; +Cc: openembedded-core@lists.openembedded.org On 17 Sep 2026, at 22:24, Jaipaul Cheernam via lists.openembedded.org <jaipaul.cheernam=est.tech@lists.openembedded.org> wrote: > def gnome_verdir(v): > - return ".".join(v.split(".")[:-1]) or v > + # GNOME dirs use the first two version components, e.g. 0.21.8.2 -> 0.21 > + parts = v.split(".") > + return ".".join(parts[:2] if len(parts) >= 3 else parts[:-1]) or v The original logic was slightly overcomplicated, and this seems even more so. Why isn’t this sufficient? def gnome_verdir(v): return “.”.join(v.split(“.”)[:2]) ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions 2026-09-23 14:05 ` Ross Burton @ 2026-09-23 14:21 ` Ross Burton 2026-09-23 14:42 ` Ross Burton 0 siblings, 1 reply; 13+ messages in thread From: Ross Burton @ 2026-09-23 14:21 UTC (permalink / raw) To: Ross Burton Cc: jaipaul.cheernam@est.tech, openembedded-core@lists.openembedded.org On 23 Sep 2026, at 15:05, Ross Burton via lists.openembedded.org <ross.burton=arm.com@lists.openembedded.org> wrote: > > On 17 Sep 2026, at 22:24, Jaipaul Cheernam via lists.openembedded.org <jaipaul.cheernam=est.tech@lists.openembedded.org> wrote: >> def gnome_verdir(v): >> - return ".".join(v.split(".")[:-1]) or v >> + # GNOME dirs use the first two version components, e.g. 0.21.8.2 -> 0.21 >> + parts = v.split(".") >> + return ".".join(parts[:2] if len(parts) >= 3 else parts[:-1]) or v > > The original logic was slightly overcomplicated, and this seems even more so. > > Why isn’t this sufficient? > > def gnome_verdir(v): > return “.”.join(v.split(“.”)[:2]) Hm because the required logic _is_ overcomplicated. epiphany 50.6 is in the 50/ directory, libsecret 0.21.8 is in the 0.21 directory, and libsecret 0.21.8.1 is also in the 0.21 directory. My proposal doesn’t work for the 50.6 case. I’m checking with GNOME to see if they’ve actually documented the algorithm used so we can be sure to match it. Ross ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions 2026-09-23 14:21 ` Ross Burton @ 2026-09-23 14:42 ` Ross Burton 2026-09-23 14:45 ` Jaipaul Cheernam 0 siblings, 1 reply; 13+ messages in thread From: Ross Burton @ 2026-09-23 14:42 UTC (permalink / raw) To: jaipaul.cheernam@est.tech; +Cc: openembedded-core@lists.openembedded.org On 23 Sep 2026, at 15:21, Ross Burton <Ross.Burton@arm.com> wrote: > I’m checking with GNOME to see if they’ve actually documented the algorithm used so we can be sure to match it. See get_majmin() in utils.py: https://gitlab.gnome.org/Infrastructure/openshift-images/gnome-release-service/-/blob/main/gnome_release_service/gnome_release_system/utils.py?blame=1&ref_type=heads#L31 The code used to populate the server uses a major of 40 to change the logic. I’ve just sent a patch replicating that behaviour, linking to the upstream code. Ross ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [OE-core] [PATCH v2 1/2] gnomebase: fix gnome_verdir for four-component versions 2026-09-23 14:42 ` Ross Burton @ 2026-09-23 14:45 ` Jaipaul Cheernam 0 siblings, 0 replies; 13+ messages in thread From: Jaipaul Cheernam @ 2026-09-23 14:45 UTC (permalink / raw) To: Ross Burton; +Cc: openembedded-core@lists.openembedded.org On 2026-09-23 16:42, Ross Burton wrote: > The code used to populate the server uses a major of 40 to change the logic. I’ve just sent a patch replicating that behaviour, linking to the upstream code. Hi Ross, If your new patch covers all usecases, please drop mine . //Jaipaul ^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 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-17 21:24 ` Jaipaul Cheernam 1 sibling, 0 replies; 13+ messages in thread From: Jaipaul Cheernam @ 2026-09-17 21:24 UTC (permalink / raw) To: openembedded-core 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" ^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2026-09-23 14:45 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 ` [PATCH v2 2/2] libsecret: upgrade 0.21.7 -> 0.21.8.2 Jaipaul Cheernam
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox