mbox series

[0/2] shadow: upgrade to 4.20.0

Message ID 20260803051832.25488-1-jaipaul.cheernam@est.tech
Headers show
Series shadow: upgrade to 4.20.0 | expand

Message

Jaipaul Cheernam Aug. 3, 2026, 5:18 a.m. UTC
Upgrade shadow from 4.19.4 to 4.20.0.

Release notes: https://github.com/shadow-maint/shadow/releases/tag/4.20.0

This is a breaking release that removes several programs deprecated in
4.19, notably groupmems(8), expiry(1), and logoutd(8). The upstream
recommendation is to use usermod(8) in place of groupmems.

Patch 1 handles the recipe upgrade itself - three patches are dropped
(the code they patched no longer exists) and one backport is added for a
build fix that landed in master after the release.

Patch 2 is a follow-up to remove groupmems from the useradd.bbclass
sysroot setup, since the binary no longer ships. The class was already
emulating groupmems via usermod, so this just removes the dead code path
that was triggering warnings.

Tested with a full core-image-sysext build on qemux86-64.

Jaipaul Cheernam (2):
  shadow: upgrade 4.19.4 -> 4.20.0
  useradd.bbclass: drop groupmems from sysroot setup

 meta/classes/useradd.bbclass                  |   7 +-
 ...001-subid-Add-stdint.h-for-uintmax_t.patch |  43 +++++++
 .../shadow/files/disable_syslog.patch         |  23 ----
 .../shadow/files/prototypes.patch             |  38 ------
 .../shadow/files/shadow-update-pam-conf.patch | 110 ------------------
 .../{shadow_4.19.4.bb => shadow_4.20.0.bb}    |   8 +-
 6 files changed, 47 insertions(+), 182 deletions(-)
 create mode 100644 meta/recipes-extended/shadow/files/0001-subid-Add-stdint.h-for-uintmax_t.patch
 delete mode 100644 meta/recipes-extended/shadow/files/disable_syslog.patch
 delete mode 100644 meta/recipes-extended/shadow/files/prototypes.patch
 delete mode 100644 meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch
 rename meta/recipes-extended/shadow/{shadow_4.19.4.bb => shadow_4.20.0.bb} (97%)