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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242603): 
https://lists.openembedded.org/g/openembedded-core/message/242603
Mute This Topic: https://lists.openembedded.org/mt/120573050/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to