From f19bcfd71286e09b24956d05d97a880b39522f324ba1b41618255510cbff0dc7 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 30 Oct 2023 07:27:10 +0000 Subject: [PATCH] - Update to 4.14.2: * libshadow: + Fix build with musl libc. + Avoid NULL dereference. + Update utmp at an initial login * useradd(8): + Set proper SELinux labels for def_usrtemplate * Manual: + Document --prefix in chage(1), chpasswd(8), and passwd(1) - Drop upstreamed shadow-4.14.0-selinux-labels.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=160 --- shadow-4.14.0-selinux-labels.patch | 21 --------------------- shadow-4.14.1.tar.xz | 3 --- shadow-4.14.1.tar.xz.asc | 16 ---------------- shadow-4.14.2.tar.xz | 3 +++ shadow-4.14.2.tar.xz.asc | 16 ++++++++++++++++ shadow.changes | 14 ++++++++++++++ shadow.spec | 5 +---- 7 files changed, 34 insertions(+), 44 deletions(-) delete mode 100644 shadow-4.14.0-selinux-labels.patch delete mode 100644 shadow-4.14.1.tar.xz delete mode 100644 shadow-4.14.1.tar.xz.asc create mode 100644 shadow-4.14.2.tar.xz create mode 100644 shadow-4.14.2.tar.xz.asc diff --git a/shadow-4.14.0-selinux-labels.patch b/shadow-4.14.0-selinux-labels.patch deleted file mode 100644 index 548e8c1..0000000 --- a/shadow-4.14.0-selinux-labels.patch +++ /dev/null @@ -1,21 +0,0 @@ -commit e635d8eff074d4e00b2952e1e741cb16ad930ae1 -Author: Johannes Segitz -Date: Tue Sep 26 15:14:14 2023 +0200 - - useradd: Set proper SELinux labels also for content coming from def_usrtemplate - - Signed-off-by: Johannes Segitz - -diff --git a/src/useradd.c b/src/useradd.c -index 76a4d649..fe62a051 100644 ---- a/src/useradd.c -+++ b/src/useradd.c -@@ -2788,7 +2788,7 @@ int main (int argc, char **argv) - if (home_added) { - copy_tree (def_template, prefix_user_home, false, true, - (uid_t)-1, user_id, (gid_t)-1, user_gid); -- copy_tree (def_usrtemplate, prefix_user_home, false, false, -+ copy_tree (def_usrtemplate, prefix_user_home, false, true, - (uid_t)-1, user_id, (gid_t)-1, user_gid); - } else { - fprintf (stderr, diff --git a/shadow-4.14.1.tar.xz b/shadow-4.14.1.tar.xz deleted file mode 100644 index 7e0d550..0000000 --- a/shadow-4.14.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0141b283da9a0cd70128e9c083f1c64062686385ddaf5e64ca28de802e37e5d1 -size 1800368 diff --git a/shadow-4.14.1.tar.xz.asc b/shadow-4.14.1.tar.xz.asc deleted file mode 100644 index ba7186b..0000000 --- a/shadow-4.14.1.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmUe8sQACgkQnowa+77/ -2zK9GxAAiX/yOW1MVY2s+CIGQ99QVKwfFwtvXrg/p+SduDzcglN3faXrjwY2S5jB -lUIyDDHS7eo5qlrPWibPlYWFFDhM6934yLdaawwA7vfwvIx5F+HP8rdhWEXhE7O9 -E8h+sQA6r4Ze5Fa7KC+SL9MoXsIayox5y2mZrp181C+kmf40tbZxLMlmpL0kLhfU -0lUXI3H0mbU428cmLbLAwG3xnt/QA1pDIJ59R8t82zbVieO4Jc3EkPbg8Gi+m2PI -Bfm/+wAmxyIdB17vio8ScnzUiC0DcurSK3Ce3xHU7WXy/U2SnKa/QnCjhMVRjqsi -sGEGSrN7HErhuSZ5gbwDQMzw4PjmKA5zCqfvECDXrJxJ7RADWIdlZLlO+2ZEv82n -KYszXsFSKdG4OAk94fp6eOiNBK/yX4qhCp7sgMM2Q7JN2rV9EQLQ155OntX2wr2a -0zRpGYd4XwOgWHxaHxxgkPjAZujNGc4E+sUJu3frUXmiC2rUOvVqxSoaWhIsRt/6 -00tSnSiPl3hG1MKtDgEKCl3fSVprpGSbI9jelEoZEMhPp7/kcsat2IDuea+boc6s -ZxJ1bXkwb3WHKwb+oyhjePnOaT+S57RqLtQAItAY/SjOa5+Kim0x0SuG1nAlJnH4 -t9UQ0UoJ6Ah9kDw9Aeej5PF8IgLwqVN/7wv04H5YlYqor7bLbEU= -=VhIT ------END PGP SIGNATURE----- diff --git a/shadow-4.14.2.tar.xz b/shadow-4.14.2.tar.xz new file mode 100644 index 0000000..d15c682 --- /dev/null +++ b/shadow-4.14.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25df30589d2e31aaff14576d03f980bb578e6d446891da6d24de1e5a09a38949 +size 1799548 diff --git a/shadow-4.14.2.tar.xz.asc b/shadow-4.14.2.tar.xz.asc new file mode 100644 index 0000000..0b9608f --- /dev/null +++ b/shadow-4.14.2.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmU/BEwACgkQnowa+77/ +2zKZtQ//Uk8oS3vFsTpZJy82J89DfQ4q6qCqFrLEvzPvg6XgI2a+ei1geqbvGYJB +flMaUQNFfnJk1L8STvBa/krAhuWInBqFNmVbfIwtz9vXCof8TTa4ZNqHXRID+bq9 +1evvWC/pP/lIgavYaJQrgwOwz6eGGUSUVE0Tkp4IJatCGdcoeUWSYLuZFunpJ9cb +CQP8pchG7BZTqwMBfmWoWGDwST7DKgKSbfdTZ2zl6rG0g9e06ffGotZdD+idEVa4 +WTtyT2UV99na/SIfuIyMsTJr6tQSXtPTUy74zqvIBZRWnWvrubeAQuQzbVCt/vrH +rRctDaMc2Wl+8wx1clscLbNhk5jskcPZ9lyieYFdLJw5WJDFkacL2KVJ8IheYrYO +zqd4MUn0rsPvhY6ocXOAL9JRdj/gUCjJ0OL3jY0ikkdiLSFIGapBlzOIzxcqw0EH +vIy4JKF0JoNNlRNv5Wm+Rk5r8zYTDAY+DQG00d6n+XRUGqBQXTelW0U/GBvt7z0Q +Vk3nUTK5rXvQPlps8X+V+lhM96V7UkAiM9FhAd9x8BhRBzfAwk9NkgGyntA/cevm +2MLZFa3RxfvRmNpnB9p5L1jwONXKfHg4x/rcKUXwFp388Urmmb0+bsmHo8ppIZ1Y +++O3Q6r+rZdoIOlS3vMCeLBOYBu9Ox3U0rGFQfampUgEeOZ7pUU= +=OifL +-----END PGP SIGNATURE----- diff --git a/shadow.changes b/shadow.changes index 285a6a2..78e0733 100644 --- a/shadow.changes +++ b/shadow.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Oct 30 07:20:29 UTC 2023 - Michael Vetter + +- Update to 4.14.2: + * libshadow: + + Fix build with musl libc. + + Avoid NULL dereference. + + Update utmp at an initial login + * useradd(8): + + Set proper SELinux labels for def_usrtemplate + * Manual: + + Document --prefix in chage(1), chpasswd(8), and passwd(1) +- Drop upstreamed shadow-4.14.0-selinux-labels.patch + ------------------------------------------------------------------- Fri Oct 6 08:32:09 UTC 2023 - Michael Vetter diff --git a/shadow.spec b/shadow.spec index d407cb0..33f5b24 100644 --- a/shadow.spec +++ b/shadow.spec @@ -22,7 +22,7 @@ %define no_config 1 %endif Name: shadow -Version: 4.14.1 +Version: 4.14.2 Release: 0 Summary: Utilities to Manage User and Group Accounts License: BSD-3-Clause AND GPL-2.0-or-later @@ -48,8 +48,6 @@ Patch3: shadow-login_defs-comments.patch Patch4: shadow-login_defs-suse.patch # PATCH-FIX-SUSE disable_new_audit_function.patch adam.majer@suse.de -- Disable newer libaudit functionality for older distributions. Patch5: disable_new_audit_function.patch -# PATCH-FIX-SUSE shadow-4.14.0-selinux-labels.patch jsegitz@suse.com -- set proper SELinux labels for new homedirs, gh/shadow-maint/shadow#812 -Patch6: shadow-4.14.0-selinux-labels.patch BuildRequires: audit-devel > 2.3 BuildRequires: autoconf BuildRequires: automake @@ -118,7 +116,6 @@ Development files for libsubid4. %if 0%{?suse_version} < 1330 %patch5 -p1 %endif -%patch6 -p1 iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8 mv -v doc/HOWTO.utf8 doc/HOWTO