From patchwork Mon Nov 23 12:21:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10804 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jY4md5HfNz3x2w for ; Mon, 23 Nov 2026 12:21:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jY4mb54Dwz7JB for ; Mon, 23 Nov 2026 12:21:19 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jY4mZ2p6wz32xF for ; Mon, 23 Nov 2026 12:21:18 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jY4mW4CcZz307D for ; Mon, 23 Nov 2026 12:21:15 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jY4mV6tWwz4nr; Mon, 23 Nov 2026 12:21:14 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795436475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z50DT4ICQmfHTfnJiupHGF5hamRdXgUW1upwZgMsn5o=; b=nqvKR6naZXLewMlZeQseR6T4NPv5/Kd4mSYF6L7+XaqYSgkWNWYLnvMdUGQmdxTp8GoPxv MMjNlZj8b8dcJmAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795436475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Z50DT4ICQmfHTfnJiupHGF5hamRdXgUW1upwZgMsn5o=; b=imzVuC804R5KzLHwPla9if9YLFcPjjvLpEfDpqXhYRFPllzu8Ya8EdRPhNjSxHA+rLoVd4 gclUNO17MoIKoSoMNwD8MwpRNAv3hUoFklQYUzc2XSvvaMQUXeDeuuR2M1lckooMv9qBA4 lEQjDLIDfK2DfYWGZpw/q2cgAEFc8AvhDqVERwB7A/c0mQqYuRzc3AeCoCAi2UVM3LJ2jW tqFURbAfaqcS/Q6BKim3JDQrKdZ4IjxB1GLPuLJRjFAUTQDI6TTZEbOIcjAiOcGAGtthCg h1697Q8OdI743uWsWK5LdAcHNK7jF3MW8250S+WW1149vARN0vx5q0yJpCXA6Q== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] shadow: Update to version 4.20.4 Date: Mon, 23 Nov 2026 13:21:09 +0100 Message-ID: <20261123122109.3198846-5-adolf.belka@ipfire.org> In-Reply-To: <20261123122109.3198846-1-adolf.belka@ipfire.org> References: <20261123122109.3198846-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - 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 . (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 --- 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 - #include - #include - -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 - #include - #include -