From: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2] shadow: upgrade 4.20.2 -> 4.20.3
Date: Fri, 2 Oct 2026 13:57:36 +0200 [thread overview]
Message-ID: <20261002115736.97429-1-jaipaul.cheernam@est.tech> (raw)
In-Reply-To: <20261002071557.74249-4-jaipaul.cheernam@est.tech>
ChangeLog:
https://github.com/shadow-maint/shadow/releases/tag/4.20.3
Compare log: https://github.com/shadow-maint/shadow/compare/4.20.2...4.20.3
- Backport patch for lib/nscd.h: nscd_flush_cache(): Fix type of parameter
Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
Changes Since V1:
- Add backport patch for issue seen in AUH
...cd_flush_cache-Fix-type-of-parameter.patch | 30 +++++++++++++++++++
.../shadow/files/notallylog.patch | 2 +-
.../{shadow_4.20.2.bb => shadow_4.20.3.bb} | 3 +-
3 files changed, 33 insertions(+), 2 deletions(-)
create mode 100644 meta/recipes-extended/shadow/files/0001-lib-nscd.h-nscd_flush_cache-Fix-type-of-parameter.patch
rename meta/recipes-extended/shadow/{shadow_4.20.2.bb => shadow_4.20.3.bb} (97%)
diff --git a/meta/recipes-extended/shadow/files/0001-lib-nscd.h-nscd_flush_cache-Fix-type-of-parameter.patch b/meta/recipes-extended/shadow/files/0001-lib-nscd.h-nscd_flush_cache-Fix-type-of-parameter.patch
new file mode 100644
index 0000000000..e873cdaffd
--- /dev/null
+++ b/meta/recipes-extended/shadow/files/0001-lib-nscd.h-nscd_flush_cache-Fix-type-of-parameter.patch
@@ -0,0 +1,30 @@
+From b8d3549a49acfe967f45aebaf06d474c82c46d22 Mon Sep 17 00:00:00 2001
+From: Alejandro Colomar <alx@kernel.org>
+Date: Wed, 30 Sep 2026 19:12:01 +0200
+Subject: [PATCH] lib/nscd.h: nscd_flush_cache(): Fix type of parameter
+
+Fixes: deef7d84c3e4 (2026-09-09; "lib/nscd.h: nscd_flush_cache(): Define as static inline function")
+Closes: <https://github.com/shadow-maint/shadow/issues/1763>
+Reported-by: <https://github.com/Bonnietwin>
+Tested-by: <https://github.com/Bonnietwin>
+Signed-off-by: Alejandro Colomar <alx@kernel.org>
+
+Upstream-Status: Backport [https://github.com/shadow-maint/shadow/commit/b8d3549a49acfe967f45aebaf06d474c82c46d22]
+Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
+---
+ lib/nscd.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/nscd.h b/lib/nscd.h
+index fda3b1cb..30b56720 100644
+--- a/lib/nscd.h
++++ b/lib/nscd.h
+@@ -8,7 +8,7 @@
+ extern int nscd_flush_cache (const char *service);
+ #else
+ static inline int
+-nscd_flush_cache(MAYBE_UNUSED int _1)
++nscd_flush_cache(MAYBE_UNUSED const char *_1)
+ {
+ return 0;
+ }
diff --git a/meta/recipes-extended/shadow/files/notallylog.patch b/meta/recipes-extended/shadow/files/notallylog.patch
index 6d6957bbf8..b3b30026ce 100644
--- a/meta/recipes-extended/shadow/files/notallylog.patch
+++ b/meta/recipes-extended/shadow/files/notallylog.patch
@@ -1,4 +1,4 @@
-From 20dc49519cc177d4c829f4dd5cc277ada24376d7 Mon Sep 17 00:00:00 2001
+From a7d45933186754a1190509b46c51c56d48089004 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Tue, 21 Apr 2026 11:30:52 +0100
Subject: [PATCH] shadow: Disable tallylog execution
diff --git a/meta/recipes-extended/shadow/shadow_4.20.2.bb b/meta/recipes-extended/shadow/shadow_4.20.3.bb
similarity index 97%
rename from meta/recipes-extended/shadow/shadow_4.20.2.bb
rename to meta/recipes-extended/shadow/shadow_4.20.3.bb
index cf7d253a7f..683a284aad 100644
--- a/meta/recipes-extended/shadow/shadow_4.20.2.bb
+++ b/meta/recipes-extended/shadow/shadow_4.20.3.bb
@@ -14,6 +14,7 @@ GITHUB_BASE_URI = "https://github.com/shadow-maint/shadow/releases"
SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \
${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
file://useradd \
+ file://0001-lib-nscd.h-nscd_flush_cache-Fix-type-of-parameter.patch \
"
SRC_URI:append:class-target = " \
@@ -23,7 +24,7 @@ SRC_URI:append:class-target = " \
SRC_URI:append:class-native = " \
file://notallylog.patch \
"
-SRC_URI[sha256sum] = "e5016b40541ee6fa02ea3d409547cef6e7eea9b31f0e3482e4874f87c1d0c7c5"
+SRC_URI[sha256sum] = "39006c9daf9228ddda9156605201fc9f59c43f9fdecc83c78bbe0e72d9ffd58c"
UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
# Additional Policy files for PAM
next prev parent reply other threads:[~2026-10-02 11:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-02 7:15 [PATCH 0/4] Upgrades on 02-10-2026 Jaipaul Cheernam
2026-10-02 7:15 ` [PATCH 1/4] libjitterentropy: upgrade 3.6.3 -> 3.7.0 Jaipaul Cheernam
2026-10-02 8:52 ` [OE-core] " Mathieu Dubois-Briand
2026-10-02 9:35 ` Alexander Kanavin
2026-10-05 6:51 ` Jaipaul Cheernam
2026-10-02 7:15 ` [PATCH 2/4] libjitterentropy: Fix HOMEPAGE Jaipaul Cheernam
2026-10-02 7:15 ` [PATCH 3/4] shadow: upgrade 4.20.2 -> 4.20.3 Jaipaul Cheernam
2026-10-02 8:25 ` [OE-core] " Mathieu Dubois-Briand
2026-10-02 10:49 ` Jaipaul Cheernam
2026-10-02 11:57 ` Jaipaul Cheernam [this message]
2026-10-02 7:15 ` [PATCH 4/4] glib-networking: upgrade 2.80.1 -> 2.90.0 Jaipaul Cheernam
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=20261002115736.97429-1-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