public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] shadow: Update to version 4.20.4
Date: Mon, 23 Nov 2026 13:21:09 +0100	[thread overview]
Message-ID: <20261123122109.3198846-5-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20261123122109.3198846-1-adolf.belka@ipfire.org>

- Update from version 4.20.0 to 4.20.4
- No change in rootfile
- stdint.h patch removed as now included in tarball
- 1 security fix in 4.20.4
- Changelog
4.20.4
Security fixes:
    new[ug]idmap(1)
        Use openat2(2) to avoid following symlinks and bind mounts.
        Drop fd:N.
Regression fixes:
    lib/nscd.h
        Fix build error due to wrong type.
        (regression introduced in 4.20.3)
    chfn(1)
        Restore an error message that was accidentally made unreachable.
        (regression introduced in 4.20.0)
    chpasswd(8)
        Respect chroot/prefix when reading </etc/login.defs>.
        (regression introduced in 4.12)
    groupmod(8)
        Fix wrong database name in syslog(3) message.
        (regression introduced in 4.1.3)
4.20.3
Regression fixes:
    Build error when using '--with-nscd=no' (bug introduced in v4.19.0).
4.20.2
Regression fixes:
    lib/: Add missing include.
Other changes:
    Remove unused build flag

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/shadow                                    |  5 ++---
 ...ow-4.20.0_Add_stdint.h_for_uintmax_t.patch | 22 -------------------
 2 files changed, 2 insertions(+), 25 deletions(-)
 delete mode 100644 src/patches/shadow-4.20.0_Add_stdint.h_for_uintmax_t.patch

diff --git a/lfs/shadow b/lfs/shadow
index f1a021910..72f9a8085 100644
--- a/lfs/shadow
+++ b/lfs/shadow
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 4.20.0
+VER        = 4.20.4
 
 THISAPP    = shadow-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 8224edc692d6016da26e54aa43405029b4bebcbc7a73a9a56f1ee3bdcf7c7a3af6b90d8fc134182fc26c6b7b8f2afc4f54c2f6e6748760b8928284aa77374a15
+$(DL_FILE)_BLAKE2 = 6093485a552d2584a07b433cbeb6978994a3104c1d5430a039df44bb929a553f370a75ae3cfa626c23f8984c3b967ea3cf7247a0aa04b1fe4b967664cf14cf8a
 
 install : $(TARGET)
 
@@ -70,7 +70,6 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/shadow-4.20.0_Add_stdint.h_for_uintmax_t.patch
 	cd $(DIR_APP) && find man -name Makefile.in -exec sed -i 's/getspnam\.3 / /' {} \;
 	cd $(DIR_APP) && find man -name Makefile.in -exec sed -i 's/passwd\.5 / /'   {} \;
 	$(UPDATE_AUTOMAKE)
diff --git a/src/patches/shadow-4.20.0_Add_stdint.h_for_uintmax_t.patch b/src/patches/shadow-4.20.0_Add_stdint.h_for_uintmax_t.patch
deleted file mode 100644
index e07e7db74..000000000
--- a/src/patches/shadow-4.20.0_Add_stdint.h_for_uintmax_t.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -Naur shadow-4.20.0.orig/lib/find_new_sub_gids.c shadow-4.20.0/lib/find_new_sub_gids.c
---- shadow-4.20.0.orig/lib/find_new_sub_gids.c	2026-08-07 18:55:36.246967805 +0200
-+++ shadow-4.20.0/lib/find_new_sub_gids.c	2026-08-07 22:41:35.771731696 +0200
-@@ -8,6 +8,7 @@
- 
- #ifdef ENABLE_SUBIDS
- 
-+#include <stdint.h>
- #include <stdio.h>
- #include <errno.h>
- 
-diff -Naur shadow-4.20.0.orig/lib/find_new_sub_uids.c shadow-4.20.0/lib/find_new_sub_uids.c
---- shadow-4.20.0.orig/lib/find_new_sub_uids.c	2026-08-07 18:56:37.619956630 +0200
-+++ shadow-4.20.0/lib/find_new_sub_uids.c	2026-08-07 22:41:52.640184987 +0200
-@@ -8,6 +8,7 @@
- 
- #ifdef ENABLE_SUBIDS
- 
-+#include <stdint.h>
- #include <stdio.h>
- #include <errno.h>
- 
-- 
2.56.1



      parent reply	other threads:[~2026-11-23 12:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 12:21 [PATCH] core207: Ship shadow Adolf Belka
2026-11-23 12:21 ` [PATCH] ffmpeg: Update to version 9.1 Adolf Belka
2026-11-23 12:21 ` [PATCH] libseccomp: Update to version 2.6.2 Adolf Belka
2026-11-23 12:21 ` [PATCH] nfs: Update to version 3.2.1 Adolf Belka
2026-11-23 12:21 ` Adolf Belka [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=20261123122109.3198846-5-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.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