Accepting request 1121084 from Base:System

- 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/request/show/1121084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=61
This commit is contained in:
Ana Guerrero 2023-10-31 19:24:26 +00:00 committed by Git OBS Bridge
commit ed667551d3
7 changed files with 34 additions and 44 deletions

View File

@ -1,21 +0,0 @@
commit e635d8eff074d4e00b2952e1e741cb16ad930ae1
Author: Johannes Segitz <jsegitz@suse.de>
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 <jsegitz@suse.com>
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,

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0141b283da9a0cd70128e9c083f1c64062686385ddaf5e64ca28de802e37e5d1
size 1800368

View File

@ -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-----

3
shadow-4.14.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25df30589d2e31aaff14576d03f980bb578e6d446891da6d24de1e5a09a38949
size 1799548

16
shadow-4.14.2.tar.xz.asc Normal file
View File

@ -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-----

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Oct 30 07:20:29 UTC 2023 - Michael Vetter <mvetter@suse.com>
- 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 <mvetter@suse.com>

View File

@ -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