Package Upgrade: cups, coreutils, shadow
cover Package Upgrade: cups, coreutils, shadow
The following changes since commit 1b56227d77d3113c9c17ec35cb7849a768078c4e:
classes/package: fix variable name in comment (2018-07-26 17:14:42 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/PU
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/PU
Chen Qi (3):
cups: upgrade 2.2.6 -> 2.2.8
coreutils: upgrade 8.29 -> 8.30
shadow: upgrade 4.2.1 -> 4.6
...need_charset_alias-when-building-for-musl.patch | 33 ----
.../{coreutils_8.29.bb => coreutils_8.30.bb} | 7 +-
.../cups/{cups_2.2.6.bb => cups_2.2.8.bb} | 4 +-
.../0001-Disable-use-of-syslog-for-sysroot.patch | 21 +--
...o-not-read-login.defs-before-doing-chroot.patch | 46 ------
.../shadow/files/0001-shadow-CVE-2017-12424 | 46 ------
...-useradd-copy-extended-attributes-of-home.patch | 28 ++--
...-create-parent-directories-when-necessary.patch | 83 +++++-----
.../shadow/files/CVE-2017-2616.patch | 64 --------
.../allow-for-setting-password-in-clear-text.patch | 181 ++++++++++++++++-----
..._of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch | 41 -----
...installation-failure-with-subids-disabled.patch | 28 ----
...-compilation-failure-with-subids-disabled.patch | 33 ----
...-securetty_4.2.1.bb => shadow-securetty_4.6.bb} | 0
...adow-sysroot_4.2.1.bb => shadow-sysroot_4.6.bb} | 0
meta/recipes-extended/shadow/shadow.inc | 13 +-
.../shadow/{shadow_4.2.1.bb => shadow_4.6.bb} | 0
17 files changed, 214 insertions(+), 414 deletions(-)
delete mode 100644 meta/recipes-core/coreutils/coreutils/0001-Unset-need_charset_alias-when-building-for-musl.patch
rename meta/recipes-core/coreutils/{coreutils_8.29.bb => coreutils_8.30.bb} (94%)
rename meta/recipes-extended/cups/{cups_2.2.6.bb => cups_2.2.8.bb} (40%)
delete mode 100644 meta/recipes-extended/shadow/files/0001-Do-not-read-login.defs-before-doing-chroot.patch
delete mode 100644 meta/recipes-extended/shadow/files/0001-shadow-CVE-2017-12424
delete mode 100644 meta/recipes-extended/shadow/files/CVE-2017-2616.patch
delete mode 100644 meta/recipes-extended/shadow/files/check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch
delete mode 100644 meta/recipes-extended/shadow/files/fix-installation-failure-with-subids-disabled.patch
delete mode 100644 meta/recipes-extended/shadow/files/usermod-fix-compilation-failure-with-subids-disabled.patch
rename meta/recipes-extended/shadow/{shadow-securetty_4.2.1.bb => shadow-securetty_4.6.bb} (100%)
rename meta/recipes-extended/shadow/{shadow-sysroot_4.2.1.bb => shadow-sysroot_4.6.bb} (100%)
rename meta/recipes-extended/shadow/{shadow_4.2.1.bb => shadow_4.6.bb} (100%)Signature · 1 line
1.9.1
PATCH 1/3 cups: upgrade 2.2.6 -> 2.2.8
---
meta/recipes-extended/cups/{cups_2.2.6.bb => cups_2.2.8.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-extended/cups/{cups_2.2.6.bb => cups_2.2.8.bb} (40%)meta/recipes-extended/cups/cups_2.2.8.bb renamed from meta/recipes-extended/cups/cups_2.2.6.bb +2 -2
@@ -2,5 +2,5 @@ require cups.inc LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f212b4338db0da8cb892e94bf2949460" -SRC_URI[md5sum] = "e91c26d8d97b5a1630a962f530f02192" -SRC_URI[sha256sum] = "40385778c2b3bdf55030d1c999734e22774c79e3425d91339ce677825620169b" +SRC_URI[md5sum] = "33150d08993a04c8e22176e93805a051" +SRC_URI[sha256sum] = "3968fc1d26fc48727508db1c1380e36c6694ab90177fd6920aec5f6cc73af9e4"
Signature · 1 line
1.9.1
PATCH 2/3 coreutils: upgrade 8.29 -> 8.30
In reply to Chen QiLicense-Update: Checksum for src/ls.c is changed but the license remains the same. The change is only about year change.
Remove 0001-Unset-need_charset_alias-when-building-for-musl.patch as the target this patches modifies no long exists.
---
...need_charset_alias-when-building-for-musl.patch | 33 ----------------------
.../{coreutils_8.29.bb => coreutils_8.30.bb} | 7 ++---
2 files changed, 3 insertions(+), 37 deletions(-)
delete mode 100644 meta/recipes-core/coreutils/coreutils/0001-Unset-need_charset_alias-when-building-for-musl.patch
rename meta/recipes-core/coreutils/{coreutils_8.29.bb => coreutils_8.30.bb} (94%)meta/recipes-core/coreutils/coreutils/0001-Unset-need_charset_alias-when-building-for-musl.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From b9565dc2fe0c4f7daaec91b7e83bc7313dee2f4a Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 13 Apr 2015 17:02:13 -0700 -Subject: [PATCH] Unset need_charset_alias when building for musl - -localcharset uses ac_cv_gnu_library_2_1 from glibc21.m4 -which actually shoudl be fixed in gnulib and then all downstream -projects will get it eventually. For now we apply the fix to -coreutils - -Upstream-Status: Pending - -Signed-off-by: Khem Raj <[email protected]> ---- - lib/gnulib.mk | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/gnulib.mk b/lib/gnulib.mk -index e1d74db..c0e92dd 100644 ---- a/lib/gnulib.mk -+++ b/lib/gnulib.mk -@@ -1882,7 +1882,7 @@ install-exec-localcharset: all-local - case '$(host_os)' in \ - darwin[56]*) \ - need_charset_alias=true ;; \ -- darwin* | cygwin* | mingw* | pw32* | cegcc*) \ -+ darwin* | cygwin* | mingw* | pw32* | cegcc* | linux-musl*) \ - need_charset_alias=false ;; \ - *) \ - need_charset_alias=true ;; \ --- -2.1.4 -
meta/recipes-core/coreutils/coreutils_8.30.bb renamed from meta/recipes-core/coreutils/coreutils_8.29.bb +3 -4
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.gnu.org/software/coreutils/" BUGTRACKER = "http://debbugs.gnu.org/coreutils" LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ - file://src/ls.c;beginline=1;endline=15;md5=1c3f9411e1842a062ce5ce9210beee0e" + file://src/ls.c;beginline=1;endline=15;md5=dbe356a88b09c29232b083d1ff8ac82a" DEPENDS = "gmp libcap" DEPENDS_class-native = ""
@@ -15,14 +15,13 @@ inherit autotools gettext texinfo SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ file://remove-usr-local-lib-from-m4.patch \ file://fix-selinux-flask.patch \ - file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ file://0001-uname-report-processor-and-hardware-correctly.patch \ file://disable-ls-output-quoting.patch \ file://0001-local.mk-fix-cross-compiling-problem.patch \ " -SRC_URI[md5sum] = "960cfe75a42c9907c71439f8eb436303" -SRC_URI[sha256sum] = "92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f40f955e" +SRC_URI[md5sum] = "ab06d68949758971fe744db66b572816" +SRC_URI[sha256sum] = "e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057" EXTRA_OECONF_class-native = "--without-gmp" EXTRA_OECONF_class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}"
Signature · 1 line
1.9.1
PATCH 3/3 shadow: upgrade 4.2.1 -> 4.6
In reply to Chen QiThe following patches are removed because problems have been fixed in this version.
0001-shadow-CVE-2017-12424 fix-installation-failure-with-subids-disabled.patch usermod-fix-compilation-failure-with-subids-disabled.patch CVE-2017-2616.patch check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch 0001-Do-not-read-login.defs-before-doing-chroot.patch
The following patches are rebased.
0001-Disable-use-of-syslog-for-sysroot.patch 0001-useradd-copy-extended-attributes-of-home.patch 0001-useradd.c-create-parent-directories-when-necessary.patch allow-for-setting-password-in-clear-text.patch
---
.../0001-Disable-use-of-syslog-for-sysroot.patch | 21 +--
...o-not-read-login.defs-before-doing-chroot.patch | 46 ------
.../shadow/files/0001-shadow-CVE-2017-12424 | 46 ------
...-useradd-copy-extended-attributes-of-home.patch | 28 ++--
...-create-parent-directories-when-necessary.patch | 83 +++++-----
.../shadow/files/CVE-2017-2616.patch | 64 --------
.../allow-for-setting-password-in-clear-text.patch | 181 ++++++++++++++++-----
..._of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch | 41 -----
...installation-failure-with-subids-disabled.patch | 28 ----
...-compilation-failure-with-subids-disabled.patch | 33 ----
...-securetty_4.2.1.bb => shadow-securetty_4.6.bb} | 0
...adow-sysroot_4.2.1.bb => shadow-sysroot_4.6.bb} | 0
meta/recipes-extended/shadow/shadow.inc | 13 +-
.../shadow/{shadow_4.2.1.bb => shadow_4.6.bb} | 0
14 files changed, 209 insertions(+), 375 deletions(-)
delete mode 100644 meta/recipes-extended/shadow/files/0001-Do-not-read-login.defs-before-doing-chroot.patch
delete mode 100644 meta/recipes-extended/shadow/files/0001-shadow-CVE-2017-12424
delete mode 100644 meta/recipes-extended/shadow/files/CVE-2017-2616.patch
delete mode 100644 meta/recipes-extended/shadow/files/check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch
delete mode 100644 meta/recipes-extended/shadow/files/fix-installation-failure-with-subids-disabled.patch
delete mode 100644 meta/recipes-extended/shadow/files/usermod-fix-compilation-failure-with-subids-disabled.patch
rename meta/recipes-extended/shadow/{shadow-securetty_4.2.1.bb => shadow-securetty_4.6.bb} (100%)
rename meta/recipes-extended/shadow/{shadow-sysroot_4.2.1.bb => shadow-sysroot_4.6.bb} (100%)
rename meta/recipes-extended/shadow/{shadow_4.2.1.bb => shadow_4.6.bb} (100%)meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch +11 -10
@@ -11,6 +11,7 @@ Upstream-Status: Inappropriate [disable feature] Signed-off-by: Scott Garman <[email protected]> Signed-off-by: Peter Kjellerstedt <[email protected]> +Signed-off-by: Chen Qi <[email protected]> --- src/groupadd.c | 3 +++ src/groupdel.c | 3 +++
@@ -22,7 +23,7 @@ Signed-off-by: Peter Kjellerstedt <[email protected]> 7 files changed, 21 insertions(+) diff --git a/src/groupadd.c b/src/groupadd.c -index 39b4ec0..f716f57 100644 +index 63e1c48..a596c49 100644 --- a/src/groupadd.c +++ b/src/groupadd.c @@ -34,6 +34,9 @@
@@ -36,7 +37,7 @@ index 39b4ec0..f716f57 100644 #include <fcntl.h> #include <getopt.h> diff --git a/src/groupdel.c b/src/groupdel.c -index da99347..46a679c 100644 +index 70bed01..ababd81 100644 --- a/src/groupdel.c +++ b/src/groupdel.c @@ -34,6 +34,9 @@
@@ -50,7 +51,7 @@ index da99347..46a679c 100644 #include <fcntl.h> #include <grp.h> diff --git a/src/groupmems.c b/src/groupmems.c -index e4f107f..95cb073 100644 +index fc91c8b..2842514 100644 --- a/src/groupmems.c +++ b/src/groupmems.c @@ -32,6 +32,9 @@
@@ -64,7 +65,7 @@ index e4f107f..95cb073 100644 #include <getopt.h> #include <grp.h> diff --git a/src/groupmod.c b/src/groupmod.c -index d9d3807..6229737 100644 +index 72daf2c..8965f9d 100644 --- a/src/groupmod.c +++ b/src/groupmod.c @@ -34,6 +34,9 @@
@@ -78,7 +79,7 @@ index d9d3807..6229737 100644 #include <fcntl.h> #include <getopt.h> diff --git a/src/useradd.c b/src/useradd.c -index e1ebf50..25679d8 100644 +index 3aaf45c..1ab9174 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -34,6 +34,9 @@
@@ -92,7 +93,7 @@ index e1ebf50..25679d8 100644 #include <ctype.h> #include <errno.h> diff --git a/src/userdel.c b/src/userdel.c -index 19b12bc..a083929 100644 +index c8de1d3..24d3ea9 100644 --- a/src/userdel.c +++ b/src/userdel.c @@ -34,6 +34,9 @@
@@ -102,11 +103,11 @@ index 19b12bc..a083929 100644 +/* Disable use of syslog since we're running this command against a sysroot */ +#undef USE_SYSLOG + + #include <assert.h> #include <errno.h> #include <fcntl.h> - #include <getopt.h> diff --git a/src/usermod.c b/src/usermod.c -index 685b50a..28e5cfc 100644 +index ccfbb99..24fb60d 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -34,6 +34,9 @@
@@ -116,9 +117,9 @@ index 685b50a..28e5cfc 100644 +/* Disable use of syslog since we're running this command against a sysroot */ +#undef USE_SYSLOG + + #include <assert.h> #include <ctype.h> #include <errno.h> - #include <fcntl.h> -- -2.1.0 +2.11.0
meta/recipes-extended/shadow/files/0001-Do-not-read-login.defs-before-doing-chroot.patch deleted +0 -46
46 lines not on this page · raw message
meta/recipes-extended/shadow/files/0001-shadow-CVE-2017-12424 deleted +0 -46
46 lines not on this page · raw message
meta/recipes-extended/shadow/files/0001-useradd-copy-extended-attributes-of-home.patch +11 -17
@@ -1,47 +1,41 @@ -From acec93540eba6899661c607408498ac72ab07a47 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jos=C3=A9=20Bollo?= <[email protected]> -Date: Tue, 7 Mar 2017 16:03:03 +0100 Subject: [PATCH] useradd: copy extended attributes of home -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit The Home directory wasn't getting the extended attributes of /etc/skel. This patch fixes that issue and adds the copy of the extended attributes of the root of the home directory. -Upstream-Status: Submitted [http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html] +Upstream-Status: Pending -Change-Id: Icd633f7c6c494efd2a30cb8f04c306f749ad0c3b Signed-off-by: José Bollo <[email protected]> +Signed-off-by: Chen Qi <[email protected]> --- src/useradd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/useradd.c b/src/useradd.c -index a8a1f76..8aefb9c 100644 +index e721e52..c74e491 100644 --- a/src/useradd.c +++ b/src/useradd.c -@@ -52,6 +52,9 @@ - #include <sys/stat.h> - #include <sys/types.h> +@@ -54,6 +54,9 @@ + #include <sys/wait.h> #include <time.h> + #include <unistd.h> +#ifdef WITH_ATTR +#include <attr/libattr.h> +#endif #include "chkname.h" #include "defines.h" #include "faillog.h" -@@ -1915,6 +1918,9 @@ static void create_home (void) - chown (user_home, user_id, user_gid); - chmod (user_home, +@@ -2042,6 +2045,9 @@ static void create_home (void) + (void) chown (prefix_user_home, user_id, user_gid); + chmod (prefix_user_home, 0777 & ~getdef_num ("UMASK", GETDEF_DEFAULT_UMASK)); +#ifdef WITH_ATTR -+ attr_copy_file (def_template, user_home, NULL, NULL); ++ attr_copy_file (def_template, user_home, NULL, NULL); +#endif home_added = true; #ifdef WITH_AUDIT audit_logger (AUDIT_ADD_USER, Prog, -- -2.9.3 +2.11.0
meta/recipes-extended/shadow/files/0001-useradd.c-create-parent-directories-when-necessary.patch +44 -39
129 lines not on this page · raw message
meta/recipes-extended/shadow/files/CVE-2017-2616.patch deleted +0 -64
64 lines not on this page · raw message
meta/recipes-extended/shadow/files/allow-for-setting-password-in-clear-text.patch +140 -41
318 lines not on this page · raw message
meta/recipes-extended/shadow/files/check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch deleted +0 -41
41 lines not on this page · raw message
meta/recipes-extended/shadow/files/fix-installation-failure-with-subids-disabled.patch deleted +0 -28
@@ -1,28 +0,0 @@ -Upstream-Status: Pending - -Subject: fix installation failure with subids disabled - -Signed-off-by: Chen Qi <[email protected]> ---- - src/Makefile.am | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/Makefile.am b/src/Makefile.am -index 25e288d..076f8ef 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -52,7 +52,10 @@ usbin_PROGRAMS = \ - noinst_PROGRAMS = id sulogin - - suidbins = su --suidubins = chage chfn chsh expiry gpasswd newgrp passwd newuidmap newgidmap -+suidubins = chage chfn chsh expiry gpasswd newgrp passwd -+if ENABLE_SUBIDS -+suidubins += newgidmap newuidmap -+endif - if ACCT_TOOLS_SETUID - suidubins += chage chgpasswd chpasswd groupadd groupdel groupmod newusers useradd userdel usermod - endif --- -1.7.9.5 -
meta/recipes-extended/shadow/files/usermod-fix-compilation-failure-with-subids-disabled.patch deleted +0 -33
@@ -1,33 +0,0 @@ -Upstream-Status: Pending - -usermod: fix compilation failure with subids disabled - -Signed-off-by: Chen Qi <[email protected]> ---- - src/usermod.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/usermod.c b/src/usermod.c -index e7d4351..685b50a 100644 ---- a/src/usermod.c -+++ b/src/usermod.c -@@ -1360,7 +1360,7 @@ static void process_flags (int argc, char **argv) - Prog, (unsigned long) user_newid); - exit (E_UID_IN_USE); - } -- -+#ifdef ENABLE_SUBIDS - if ( (vflg || Vflg) - && !is_sub_uid) { - fprintf (stderr, -@@ -1376,6 +1376,7 @@ static void process_flags (int argc, char **argv) - Prog, sub_gid_dbname (), "-w", "-W"); - exit (E_USAGE); - } -+#endif - } - - /* --- -1.7.9.5 -
meta/recipes-extended/shadow/shadow-securetty_4.6.bb renamed from meta/recipes-extended/shadow/shadow-securetty_4.2.1.bb +0 -0
meta/recipes-extended/shadow/shadow-sysroot_4.6.bb renamed from meta/recipes-extended/shadow/shadow-sysroot_4.2.1.bb +0 -0
meta/recipes-extended/shadow/shadow.inc +3 -10
@@ -9,16 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5 \ DEPENDS = "virtual/crypt" UPSTREAM_CHECK_URI = "https://github.com/shadow-maint/shadow/releases" - -SRC_URI = "https://downloads.yoctoproject.org/mirror/sources/${BP}.tar.xz \ +SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}.tar.gz \ file://shadow-4.1.3-dots-in-usernames.patch \ - file://usermod-fix-compilation-failure-with-subids-disabled.patch \ - file://fix-installation-failure-with-subids-disabled.patch \ - file://0001-Do-not-read-login.defs-before-doing-chroot.patch \ - file://check_size_of_uid_t_and_gid_t_using_AC_CHECK_SIZEOF.patch \ file://0001-useradd-copy-extended-attributes-of-home.patch \ - file://0001-shadow-CVE-2017-12424 \ - file://CVE-2017-2616.patch \ ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ "
@@ -38,8 +31,8 @@ SRC_URI_append_class-nativesdk = " \ file://0001-Disable-use-of-syslog-for-sysroot.patch \ " -SRC_URI[md5sum] = "2bfafe7d4962682d31b5eba65dba4fc8" -SRC_URI[sha256sum] = "3b0893d1476766868cd88920f4f1231c4795652aa407569faff802bcda0f3d41" +SRC_URI[md5sum] = "36feb15665338ae3de414f2a88e434db" +SRC_URI[sha256sum] = "4668f99bd087399c4a586084dc3b046b75f560720d83e92fd23bf7a89dda4d31" # Additional Policy files for PAM PAM_SRC_URI = "file://pam.d/chfn \
meta/recipes-extended/shadow/shadow_4.6.bb renamed from meta/recipes-extended/shadow/shadow_4.2.1.bb +0 -0
Signature · 1 line
1.9.1