Skip to content

shadow: upgrade to 4.20.0

Jaipaul Cheernam openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2shadow: upgrade 4.19.4 -> 4.20.0meta/recipes-extended/shadow/files/0001-subid-Add-stdint.h-for-uintmax_t.patch meta/recipes-extended/shadow/files/disable_syslog.patch meta/recipes-extended/shadow/files/prototypes.patch +2 more+46 -1760 replies
2/2useradd.bbclass: drop groupmems from sysroot setupmeta/classes/useradd.bbclass+1 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] shadow: upgrade to 4.20.0

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%)