Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package shadow for openSUSE:Factory checked 
in at 2022-11-12 17:39:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shadow (Old)
 and      /work/SRC/openSUSE:Factory/.shadow.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shadow"

Sat Nov 12 17:39:48 2022 rev:52 rq:1034857 version:4.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/shadow/shadow.changes    2022-11-09 
12:55:59.507859600 +0100
+++ /work/SRC/openSUSE:Factory/.shadow.new.1597/shadow.changes  2022-11-12 
17:39:50.393693190 +0100
@@ -1,0 +2,40 @@
+Tue Nov  8 21:15:44 UTC 2022 - Michael Vetter <mvet...@suse.com>
+
+- Update to 4.13:
+  * useradd.8: fix default group ID
+  * Revert drop of subid_init()
+  * Georgian translation
+  * useradd: Avoid taking unneeded space: do not reset non-existent data
+    in lastlog
+  * relax username restrictions
+  * selinux: check MLS enabled before setting serange
+  * copy_tree: use fchmodat instead of chmod
+  * copy_tree: don't block on FIFOs
+  * add shell linter
+  * copy_tree: carefully treat permissions
+  * lib/commonio: make lock failures more detailed
+  * lib: use strzero and memzero where applicable
+  * Update Dutch translation
+  * Don't test for NULL before calling free
+  * Use libc MAX() and MIN()
+  * chage: Fix regression in print_date
+  * usermod: report error if homedir does not exist
+  * libmisc: minimum id check for system accounts
+  * fix usermod -rG x y wrongly adding a group
+  * man: add missing space in useradd.8.xml
+  * lastlog: check for localtime() return value
+  * Raise limit for passwd and shadow entry length
+  * Remove adduser-old.c
+  * useradd: Fix buffer overflow when using a prefix
+  * Don't warn when failed to open /etc/nsswitch.conf
+- Remove patches we took from upstream pre-release:
+  * shadow-copytree-usermod-fifo.patch
+  * shadow-chage-format.patch
+  * shadow-prefix-overflow.patch
+- Remove chkname-regex.patch:
+  Upstream now also relaxed the usernames requirements.
+  They don't use regex for this but the result is similar.
+  Plus they also check that the name is less than 32 characters long.
+- Rebase useradd-userkeleton.patch 
+
+-------------------------------------------------------------------

Old:
----
  chkname-regex.patch
  shadow-4.12.3.tar.xz
  shadow-4.12.3.tar.xz.asc
  shadow-chage-format.patch
  shadow-copytree-usermod-fifo.patch
  shadow-prefix-overflow.patch

New:
----
  shadow-4.13.tar.xz
  shadow-4.13.tar.xz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ shadow.spec ++++++
--- /var/tmp/diff_new_pack.yXaglw/_old  2022-11-12 17:39:51.433699382 +0100
+++ /var/tmp/diff_new_pack.yXaglw/_new  2022-11-12 17:39:51.441699429 +0100
@@ -22,7 +22,7 @@
   %define no_config 1
 %endif
 Name:           shadow
-Version:        4.12.3
+Version:        4.13
 Release:        0
 Summary:        Utilities to Manage User and Group Accounts
 License:        BSD-3-Clause AND GPL-2.0-or-later
@@ -45,26 +45,18 @@
 Patch1:         userdel-script.patch
 # PATCH-FEATURE-SUSE useradd-script.patch ku...@suse.com -- Add support for 
USERADD_CMD.
 Patch2:         useradd-script.patch
-# PATCH-FEATURE-SUSE chkname-regex.patch ku...@suse.com -- Username 
restriction by regex.
-Patch3:         chkname-regex.patch
 # PATCH-FEATURE-SUSE useradd-default.patch ku...@suse.com -- Change useradd 
defaults group to 1000.
-Patch4:         useradd-default.patch
+Patch3:         useradd-default.patch
 # PATCH-FEATURE-SUSE shadow-util-linux.patch sbra...@suse.com -- Add support 
for util-linux specific variables, delete shadow login, su runuser specific.
-Patch5:         shadow-util-linux.patch
+Patch4:         shadow-util-linux.patch
 # PATCH-FEATURE-SUSE shadow-login_defs-comments.patch ku...@suse.com -- Adjust 
login.defs comments.
-Patch6:         shadow-login_defs-comments.patch
+Patch5:         shadow-login_defs-comments.patch
 # PATCH-FEATURE-SUSE shadow-login_defs-suse.patch ku...@suse.com -- Customize 
login.defs.
-Patch7:         shadow-login_defs-suse.patch
+Patch6:         shadow-login_defs-suse.patch
 # PATCH-FEATURE-SUSE Copy also skeleton files from /usr/etc/skel (boo#1173321)
-Patch8:         useradd-userkeleton.patch
+Patch7:         useradd-userkeleton.patch
 # PATCH-FIX-SUSE disable_new_audit_function.patch adam.ma...@suse.de -- 
Disable newer libaudit functionality for older distributions.
-Patch9:         disable_new_audit_function.patch
-# PATCH-FIX-UPSTREAM shadow-prefix-overflow.patch mvet...@suse.com -- Fix 
buffer overflow when using --prefix in useradd
-Patch10:        
https://github.com/shadow-maint/shadow/commit/eaebea55a495a56317ed85e959b3599f73c6bdf2.patch#/shadow-prefix-overflow.patch
-# PATCH-FIX-UPSTREAM shadow-chage-format.patch mvet...@suse.com -- Fix chage 
format string
-Patch11:        
https://github.com/shadow-maint/shadow/commit/e503fd574b7dbf6b21b1168e20938f0922807916.patch#/shadow-chage-format.patch
-# PATCH-FIX-UPSTREAM shadow-copytree-usermod-fifo.patch mvet...@suse.com -- 
Fix regression when openat blocks
-Patch12:        
https://github.com/shadow-maint/shadow/commit/10cd68e0f04b48363eb32d2c6e168b358fb27810.patch#/shadow-copytree-usermod-fifo.patch
+Patch8:         disable_new_audit_function.patch
 BuildRequires:  audit-devel > 2.3
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -131,13 +123,9 @@
 %patch5
 %patch6
 %patch7
-%patch8
 %if 0%{?suse_version} < 1330
-%patch9 -p1
+%patch8 -p1
 %endif
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
 
 iconv -f ISO88591 -t utf-8  doc/HOWTO > doc/HOWTO.utf8
 mv -v doc/HOWTO.utf8 doc/HOWTO

++++++ shadow-4.12.3.tar.xz -> shadow-4.13.tar.xz ++++++
++++ 27133 lines of diff (skipped)


++++++ useradd-userkeleton.patch ++++++
--- /var/tmp/diff_new_pack.yXaglw/_old  2022-11-12 17:39:52.217704049 +0100
+++ /var/tmp/diff_new_pack.yXaglw/_new  2022-11-12 17:39:52.221704073 +0100
@@ -100,7 +100,7 @@
  
        if (!out_create_mail_spool)
                fprintf (ofp, DCREATE_MAIL_SPOOL "%s\n", def_create_mail_spool);
-@@ -2756,6 +2791,8 @@ int main (int argc, char **argv)
+@@ -2758,6 +2793,8 @@ 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);
@@ -113,7 +113,7 @@
 ===================================================================
 --- libmisc/copydir.c.orig
 +++ libmisc/copydir.c
-@@ -453,6 +453,14 @@ static int copy_entry (const struct path
+@@ -449,6 +449,14 @@ static int copy_entry (const struct path
                }
  
                /*
@@ -128,7 +128,7 @@
                 * Copy any symbolic links
                 */
  
-@@ -511,6 +519,7 @@ static int copy_dir (const struct path_i
+@@ -507,6 +515,7 @@ static int copy_dir (const struct path_i
                       gid_t old_gid, gid_t new_gid)
  {
        int err = 0;
@@ -136,11 +136,10 @@
  
        /*
         * Create a new target directory, make it owned by
-@@ -522,6 +531,16 @@ static int copy_dir (const struct path_i
+@@ -518,6 +527,15 @@ static int copy_dir (const struct path_i
                return -1;
        }
  #endif                                /* WITH_SELINUX */
-+
 +        /*
 +         * If the destination is already a directory, don't change it
 +         * but copy into it (recursively).
@@ -150,7 +149,7 @@
 +                           old_uid, new_uid, old_gid, new_gid) != 0);
 +        }
 +
-       if (   (mkdirat (dst->dirfd, dst->name, statp->st_mode) != 0)
+       if (   (mkdirat (dst->dirfd, dst->name, 0700) != 0)
            || (chownat_if_needed (dst, statp,
                                 old_uid, new_uid, old_gid, new_gid) != 0)
 

Reply via email to