Accepting request 1181876 from Base:System

- Update to 4.16.0:
  * The shadow implementations of id(1) and groups(1) are deprecated
    in favor of the GNU coreutils and binutils versions.
    They will be removed in 4.17.0.
  * The rlogind implementation has been removed.
  * The libsubid major version has been bumped, since it now requires
    specification of the module's free() implementation.
- Update shadow-login_defs-suse.patch
- Add shadow-4.16.0-econf.patch:
  Replace deprecated econf_readDirs with econf_readConfig

OBS-URL: https://build.opensuse.org/request/show/1181876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shadow?expand=0&rev=68
This commit is contained in:
Ana Guerrero 2024-06-21 14:03:18 +00:00 committed by Git OBS Bridge
commit 51afa9a830
8 changed files with 59 additions and 30 deletions

BIN
shadow-4.15.1.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEflbiwT+nfOMVWa3JfcJMNsM0HSAFAmX/ahcACgkQfcJMNsM0
HSBW5BAAwtMZjHRGfS7R7SnydwSaW7sDP+QOl1108a6rDk0vuu5jCqCcenN66Bwb
CfR9wmFXUtnnfVSj+z/ESsZOdp1gBkEj6updIQXHK+V2AKmCfe2U7Nuci5Yk1I2E
6bBAIETHV1YijZMTHSeMWQEmqmOXbF6xhHjbKscqBA4KvnasFuE6hn3Omw/TNCSg
uwVxapgtUv3RJ/nkQq4OIODKgyeQA4r4LkAQLbtAYmUnEhDQqeEa7tsIJATFYKNK
7xDyZrqRHb8Rzd9pKRJtYTkYOD18hmOr/vZidZPBhZ0Am1QaYsiRbjuxc9iF/AeE
pI+WeGKmAvHG1F6hRmjiLmH4gsozL9tZ7OGDWGSrVDGeraIiEYRguwdy6Fe96v0V
EkwhtcwIl9z8Elo6bIHPiSweOH+e00yHTiBqnkdwpFuOahWsNvcXTigKAEv6KAfR
bp1BacPRFuO5tgb2/S+Miyb+Fzim5E7Ch77fH2ggtHRNtqff/PqlznX0CchtAplE
pgI/BGNlnpCecnS/vu8M+SFuES34kh+pz7x4hWL2JICsTVZnJz2SB1tL+Z6p0y0G
Jt78+LdoJ4U6SKl2s+42RVqrvR0QU01IbWDEFdaQ2lkK1ecGQWNfoOYwzweJiG2M
RNfUX179KTEbQ4edhY2GmiZif8JUbp+amv9u5qUPrS3ZEgwrYUw=
=1W4Z
-----END PGP SIGNATURE-----

13
shadow-4.16.0-econf.patch Normal file
View File

@ -0,0 +1,13 @@
Index: shadow-4.16.0/lib/getdef.c
===================================================================
--- shadow-4.16.0.orig/lib/getdef.c
+++ shadow-4.16.0/lib/getdef.c
@@ -482,7 +482,7 @@ static void def_load (void)
*/
def_loaded = true;
- error = econf_readDirs (&defs_file, vendordir, sysconfdir, "login", "defs", " \t", "#");
+ error = econf_readConfig (&defs_file, vendordir, sysconfdir, "login", "defs", " \t", "#");
if (error) {
if (error == ECONF_NOFILE)
return;

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

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

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

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEflbiwT+nfOMVWa3JfcJMNsM0HSAFAmZyBfQACgkQfcJMNsM0
HSA4PxAA57RSvccAbXTTmp2sHMZVPbzizydThuGgqY/4F9egRvywUUlNy0vz/QAA
e0u8ja+paKhLjXg4HvA/Ejy+gtAE5NuvNCr/ihL8Xii6s/GH6OaW8EDcL0509j7L
PchWYkHYSqwdqdjLoy6NroaaEEllAzVEeNp2UzN9F7jllteF8gDjqY2j8SLqrkmm
Xb15kzk6mbqk5BxAOoZmgoRRDw+YRCBA2EzN0ztwR0h1rjwoCjebQk3E/qV+fM1t
pKKYVTnLRmb9E2tvPR1Oibzercisi/+6Z7br+Xh1Gz/mfZ++4CiOQrJndUTBj9zU
v7GEHMEdV8qz/Qzvh1eyxA7KX5zZqbXT3I/+kRvX01CJtI64MVdEOOqSeup794fr
QlaptfoAfe+ZS6exe1SwY2tZkoX4qXeeUNQXRBo8GJlG9auMA46U2CjtRGgyK6BK
cf/YkzUr9aTWExL3d2tZJzvEX80AHSR+MF2kW8UzIQI8hch1Pncp8an6NfLFbmsl
nyz5+GqrSuc1gNe7wnz5Lkxk3q4epmvdPcyrb16XDr42k3dP0IWZE50c8Caf05Nq
9zJC+It75nX7PFbGcZnNgE6sjsc6MB28O2wUb4Z51IU+s8hzthk2P4v0gq30TgrZ
vKTXxIYwp+yLii1sSTWUdE8a6vNK93cQki5uuB3R6VeNVBMZJA0=
=bB1D
-----END PGP SIGNATURE-----

View File

@ -137,7 +137,7 @@ Index: etc/login.defs
# #
# Only works if ENCRYPT_METHOD is set to SHA256 or SHA512. # Only works if ENCRYPT_METHOD is set to SHA256 or SHA512.
@@ -322,7 +316,7 @@ USERGROUPS_ENAB yes @@ -299,7 +293,7 @@ USERGROUPS_ENAB yes
# This option is overridden with the -M or -m flags on the useradd(8) # This option is overridden with the -M or -m flags on the useradd(8)
# command-line. # command-line.
# #

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jun 19 06:51:45 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 4.16.0:
* The shadow implementations of id(1) and groups(1) are deprecated
in favor of the GNU coreutils and binutils versions.
They will be removed in 4.17.0.
* The rlogind implementation has been removed.
* The libsubid major version has been bumped, since it now requires
specification of the module's free() implementation.
- Update shadow-login_defs-suse.patch
- Add shadow-4.16.0-econf.patch:
Replace deprecated econf_readDirs with econf_readConfig
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 24 09:06:48 UTC 2024 - Michael Vetter <mvetter@suse.com> Sun Mar 24 09:06:48 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@ -22,7 +22,7 @@
%define no_config 1 %define no_config 1
%endif %endif
Name: shadow Name: shadow
Version: 4.15.1 Version: 4.16.0
Release: 0 Release: 0
Summary: Utilities to Manage User and Group Accounts Summary: Utilities to Manage User and Group Accounts
License: BSD-3-Clause AND GPL-2.0-or-later License: BSD-3-Clause AND GPL-2.0-or-later
@ -48,6 +48,7 @@ Patch3: shadow-login_defs-comments.patch
Patch4: shadow-login_defs-suse.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. # 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 Patch5: disable_new_audit_function.patch
Patch6: shadow-4.16.0-econf.patch
BuildRequires: audit-devel > 2.3 BuildRequires: audit-devel > 2.3
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -91,20 +92,20 @@ BuildArch: noarch
This package contains the default login.defs configuration file This package contains the default login.defs configuration file
as used by util-linux, pam and shadow. as used by util-linux, pam and shadow.
%package -n libsubid4 %package -n libsubid5
Summary: A library to manage subordinate uid and gid ranges Summary: A library to manage subordinate uid and gid ranges
Group: System/Base Group: System/Base
%description -n libsubid4 %description -n libsubid5
Utility library that provides a way to manage subid ranges. Utility library that provides a way to manage subid ranges.
%package -n libsubid-devel %package -n libsubid-devel
Summary: Development files for libsubid4 Summary: Development files for libsubid5
Group: System/Base Group: System/Base
Requires: libsubid4 = %{version} Requires: libsubid5 = %{version}
%description -n libsubid-devel %description -n libsubid-devel
Development files for libsubid4. Development files for libsubid5.
%prep %prep
%setup -q -a 1 %setup -q -a 1
@ -116,8 +117,9 @@ Development files for libsubid4.
%if 0%{?suse_version} < 1330 %if 0%{?suse_version} < 1330
%patch -P 5 -p1 %patch -P 5 -p1
%endif %endif
%patch -P 6 -p1
iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8 iconv -c -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8
mv -v doc/HOWTO.utf8 doc/HOWTO mv -v doc/HOWTO.utf8 doc/HOWTO
%build %build
@ -276,8 +278,8 @@ done
# - Migration to /usr/etc (after SLE15 and Leap 15) # - Migration to /usr/etc (after SLE15 and Leap 15)
test -f %{_sysconfdir}/login.defs.rpmsave && mv -v %{_sysconfdir}/login.defs.rpmsave %{_sysconfdir}/login.defs ||: test -f %{_sysconfdir}/login.defs.rpmsave && mv -v %{_sysconfdir}/login.defs.rpmsave %{_sysconfdir}/login.defs ||:
%post -n libsubid4 -p /sbin/ldconfig %post -n libsubid5 -p /sbin/ldconfig
%postun -n libsubid4 -p /sbin/ldconfig %postun -n libsubid5 -p /sbin/ldconfig
%files -f shadow.lang %files -f shadow.lang
%license COPYING %license COPYING
@ -377,7 +379,7 @@ test -f %{_sysconfdir}/login.defs.rpmsave && mv -v %{_sysconfdir}/login.defs.rpm
%endif %endif
%{_mandir}/man5/login.defs.5%{?ext_man} %{_mandir}/man5/login.defs.5%{?ext_man}
%files -n libsubid4 %files -n libsubid5
%{_libdir}/libsubid.so.* %{_libdir}/libsubid.so.*
%files -n libsubid-devel %files -n libsubid-devel