From ccb51bf365028fa30d18dd6742b0a3dcc53a0c7f7af51bf59d36ed099db8656f Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 12 Aug 2022 06:09:36 +0000 Subject: [PATCH] - Update to 4.12: * Add absolute path hint to --root * Various cleanups * Fix Ubuntu release used in CI tests * add -F options to userad * useradd manpage updates * Check for ownerid (not just username) in subid ranges * Declare file local functions static * Use strict prototypes * Do not drop const qualifier for Basename * Constify various pointers * Don't return uninitialized memory * Don't let compiler optimize away memory cleaning * Remove many obsolete compatibility checks and defines * Modify ID range check in useradd * Use "extern "C"" to make libsubid easier to use from C++ * French translation updates * Fix s/with-pam/with-libpam/ * Spanish translation updates * French translation fixes * Default max group name length to 32 * Fix PAM service files without-selinux * Improve manpages - groupadd, useradd, usermod - groups and id - pwck * Add fedora to CI builds * Fix condition under which pw_dir check happens * logoutd: switch to strncat * AUTHORS: improve markdown output OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=122 --- shadow-4.11.1.tar.xz | 3 -- shadow-4.11.1.tar.xz.asc | 11 ------- shadow-4.12-remove-uk.patch | 12 ++++++++ shadow-4.12.tar.xz | 3 ++ shadow-4.12.tar.xz.asc | 11 +++++++ shadow.changes | 61 +++++++++++++++++++++++++++++++++++++ shadow.spec | 9 ++++-- 7 files changed, 93 insertions(+), 17 deletions(-) delete mode 100644 shadow-4.11.1.tar.xz delete mode 100644 shadow-4.11.1.tar.xz.asc create mode 100644 shadow-4.12-remove-uk.patch create mode 100644 shadow-4.12.tar.xz create mode 100644 shadow-4.12.tar.xz.asc diff --git a/shadow-4.11.1.tar.xz b/shadow-4.11.1.tar.xz deleted file mode 100644 index 8ffbf1f..0000000 --- a/shadow-4.11.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41f093ce58b2ae5f389a1c5553e0c18bc73e6fe27f66273891991198a7707c95 -size 1656584 diff --git a/shadow-4.11.1.tar.xz.asc b/shadow-4.11.1.tar.xz.asc deleted file mode 100644 index f2a7fd2..0000000 --- a/shadow-4.11.1.tar.xz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCgAdFiEEqb0/8XByttt4D8+UNXDaFycKziQFAmHSaooACgkQNXDaFycK -ziQEowf8CnA6H9sohv45+YPfwzFs9Drj4iUX8q/v6z0SwzWtY2NeKGazABryeu9Q -DadmXeSFqIUQgzMWV1FMNwP0wFACSxsodfzusRQ/eKHjG4+5elVAqXHnxhJDZqvt -83iWXtGd+/L9mlpKfaWhSrSI/VPfzUQYYrmz/cMbkP3ijPmaCvW1Ke5pWrnhky5I -Iur+BqkiA5+Gi/mChhDZzBuE3eaIDRPVOYkmL5tyDjK7SyFmsM0lhGNwZQ525gDJ -9/NbkIAgz59lfcLZXjZ9Ui4hTh+YKjlSbsMlmo6Bpp29crwzfC3ppe69mwBywA3K -nt2BZxeFv3mkBnQXPabCBE8gaR8ZIQ== -=8xjr ------END PGP SIGNATURE----- diff --git a/shadow-4.12-remove-uk.patch b/shadow-4.12-remove-uk.patch new file mode 100644 index 0000000..a5ce35e --- /dev/null +++ b/shadow-4.12-remove-uk.patch @@ -0,0 +1,12 @@ +Index: shadow-4.12/configure.ac +=================================================================== +--- shadow-4.12.orig/configure.ac ++++ shadow-4.12/configure.ac +@@ -720,7 +720,6 @@ AC_CONFIG_FILES([ + man/ru/Makefile + man/sv/Makefile + man/tr/Makefile +- man/uk/Makefile + man/zh_CN/Makefile + man/zh_TW/Makefile + libmisc/Makefile diff --git a/shadow-4.12.tar.xz b/shadow-4.12.tar.xz new file mode 100644 index 0000000..12fafc1 --- /dev/null +++ b/shadow-4.12.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd4cb17c169b16959264f62f3a9deca908dc63908a61d43a8bfef6c23bb1e738 +size 1730308 diff --git a/shadow-4.12.tar.xz.asc b/shadow-4.12.tar.xz.asc new file mode 100644 index 0000000..0a1cba5 --- /dev/null +++ b/shadow-4.12.tar.xz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEEqb0/8XByttt4D8+UNXDaFycKziQFAmL1KjQACgkQNXDaFycK +ziTYtgf/RVJymnEGRbZt21UAU4jy2q99AdaeVogiQhADwy5sJkmSxjf1NSau1wio +o/pajAuvt9M74gv6N8tJIAvTYTBVLSgNMlgdUbM+N5tdJdt2eJ/igvvHan9IND0h ++8aoAwUjkDPpQVGUeA+b3DELqpGGwz5aqdgDOD8LoEPuZWFwj10BoVBuN6bo2ODS +m825TnS2ur1PHYPu9oTMhG9LeNdvXZpaIhkbsyOuIcnmEdE+yKYVq807V5bf5Que +Ygd3FP3Eec/Mb/CHGufQY4VzzCMVSBpVGK+mIFgWu4qefxBvOcqOxL6llaaKT3LN +oStVlIlpwRDp0rA5gOGmL/+61kU3Sw== +=vfQ5 +-----END PGP SIGNATURE----- diff --git a/shadow.changes b/shadow.changes index 0129bfc..8184891 100644 --- a/shadow.changes +++ b/shadow.changes @@ -1,3 +1,64 @@ +------------------------------------------------------------------- +Fri Aug 12 06:05:35 UTC 2022 - Michael Vetter + +- Update to 4.12: + * Add absolute path hint to --root + * Various cleanups + * Fix Ubuntu release used in CI tests + * add -F options to userad + * useradd manpage updates + * Check for ownerid (not just username) in subid ranges + * Declare file local functions static + * Use strict prototypes + * Do not drop const qualifier for Basename + * Constify various pointers + * Don't return uninitialized memory + * Don't let compiler optimize away memory cleaning + * Remove many obsolete compatibility checks and defines + * Modify ID range check in useradd + * Use "extern "C"" to make libsubid easier to use from C++ + * French translation updates + * Fix s/with-pam/with-libpam/ + * Spanish translation updates + * French translation fixes + * Default max group name length to 32 + * Fix PAM service files without-selinux + * Improve manpages + - groupadd, useradd, usermod + - groups and id + - pwck + * Add fedora to CI builds + * Fix condition under which pw_dir check happens + * logoutd: switch to strncat + * AUTHORS: improve markdown output + * Handle ERANGE errors correctly + * Check for fopen NULL return + * Split get_salt() into its own fn juyin) + * Get salt before chroot to ensure /dev/urandom. + * Chpasswd code cleanup + * Work around git safe.directory enforcement + * Alphabetize order in usermod help + * Erase password copy on error branches + * Suggest using --badname if needed + * Update translation files + * Correct badnames option to badname + * configure: replace obsolete autoconf macros + * tests: replace egrep with grep -E + * Update Ukrainian translations + * Cleanups + - Remove redeclared variable + - Remove commented out code and FIXMEs + - Add header guards + - Initialize local variables + * CI updates + - Create github workflow to install dependencies + - Enable CodeQL + - Update actions version + * libmisc: use /dev/urandom as fallback if other methods fail +- Add shadow-4.12-remove-uk.patch: + Disable non working Ukranian translation for now + https://github.com/shadow-maint/shadow/issues/547 + ------------------------------------------------------------------- Tue Aug 9 06:29:07 UTC 2022 - Thorsten Kukuk diff --git a/shadow.spec b/shadow.spec index 29c86c9..3231d0f 100644 --- a/shadow.spec +++ b/shadow.spec @@ -22,20 +22,20 @@ %define no_config 1 %endif Name: shadow -Version: 4.11.1 +Version: 4.12 Release: 0 Summary: Utilities to Manage User and Group Accounts License: BSD-3-Clause AND GPL-2.0-or-later Group: System/Base URL: https://github.com/shadow-maint/shadow -Source: https://github.com/shadow-maint/shadow/releases/download/v%{version}/shadow-%{version}.tar.xz +Source: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz Source1: pamd.tar.bz2 Source3: useradd.local Source4: userdel-pre.local Source5: userdel-post.local Source6: shadow.service Source7: shadow.timer -Source42: https://github.com/shadow-maint/shadow/releases/download/v%{version}/shadow-%{version}.tar.xz.asc +Source42: https://github.com/shadow-maint/shadow/releases/download/%{version}/shadow-%{version}.tar.xz.asc Source43: %{name}.keyring # SOURCE-FEATURE-SUSE shadow-login_defs-check.sh sbrabec@suse.com -- Supplementary script that verifies coverage of variables in shadow-login_defs-unused-by-pam.patch and other patches. Source44: shadow-login_defs-check.sh @@ -59,6 +59,8 @@ Patch7: shadow-login_defs-suse.patch Patch8: useradd-userkeleton.patch # PATCH-FIX-SUSE disable_new_audit_function.patch adam.majer@suse.de -- Disable newer libaudit functionality for older distributions. Patch9: disable_new_audit_function.patch +# PATCH-FIX-UPSTREAM mvetter@suse.com -- Disable non working Ukranian translation for now (https://github.com/shadow-maint/shadow/issues/547) +Patch10: shadow-4.12-remove-uk.patch BuildRequires: audit-devel > 2.3 BuildRequires: autoconf BuildRequires: automake @@ -129,6 +131,7 @@ Development files for libsubid4. %if 0%{?suse_version} < 1330 %patch9 -p1 %endif +%patch10 -p1 iconv -f ISO88591 -t utf-8 doc/HOWTO > doc/HOWTO.utf8 mv -v doc/HOWTO.utf8 doc/HOWTO