From 64e0f14a5663c10e366c0a812c9e57dd7c9abe5d Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 19 Jan 2022 11:40:56 +0100 Subject: shadow: upgrade 4.10 -> 4.11.1 License-Update: license clarified to BSD-3-Clause only (From OE-Core rev: 79201206b5f7867ad7ffd462705f34179b33c0d7) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../0001-Disable-use-of-syslog-for-sysroot.patch | 30 +++++++++++----------- ...fix-unexpected-open-failure-in-chroot-env.patch | 6 ++--- meta/recipes-extended/shadow/shadow.inc | 8 +++--- meta/recipes-extended/shadow/shadow_4.10.bb | 11 -------- meta/recipes-extended/shadow/shadow_4.11.1.bb | 11 ++++++++ 5 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta/recipes-extended/shadow/shadow_4.10.bb create mode 100644 meta/recipes-extended/shadow/shadow_4.11.1.bb (limited to 'meta/recipes-extended/shadow') diff --git a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch b/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch index 95728bcd3f..4d6f6d68ec 100644 --- a/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch +++ b/meta/recipes-extended/shadow/files/0001-Disable-use-of-syslog-for-sysroot.patch @@ -1,4 +1,4 @@ -From 30a3906a0a21120fa6bbc918b6258ab9303fbeaa Mon Sep 17 00:00:00 2001 +From 531cd5ca6eadef29b4799459f1bcfc002ecbd424 Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Thu, 14 Apr 2016 12:28:57 +0200 Subject: [PATCH] Disable use of syslog for sysroot @@ -24,10 +24,10 @@ Signed-off-by: Chen Qi 7 files changed, 22 insertions(+) diff --git a/src/groupadd.c b/src/groupadd.c -index d7f68b1..5fe5f43 100644 +index 66ccb53..776ea51 100644 --- a/src/groupadd.c +++ b/src/groupadd.c -@@ -34,6 +34,9 @@ +@@ -11,6 +11,9 @@ #ident "$Id$" @@ -38,10 +38,10 @@ index d7f68b1..5fe5f43 100644 #include #include diff --git a/src/groupdel.c b/src/groupdel.c -index 5c89312..2aefc5a 100644 +index c84faa7..1076f4b 100644 --- a/src/groupdel.c +++ b/src/groupdel.c -@@ -34,6 +34,9 @@ +@@ -11,6 +11,9 @@ #ident "$Id$" @@ -52,10 +52,10 @@ index 5c89312..2aefc5a 100644 #include #include diff --git a/src/groupmems.c b/src/groupmems.c -index 654a8f3..6b2026b 100644 +index a0e3266..6540cb1 100644 --- a/src/groupmems.c +++ b/src/groupmems.c -@@ -32,6 +32,9 @@ +@@ -9,6 +9,9 @@ #include @@ -66,10 +66,10 @@ index 654a8f3..6b2026b 100644 #include #include diff --git a/src/groupmod.c b/src/groupmod.c -index acd6f35..a2c5247 100644 +index 006eca1..78b1ad6 100644 --- a/src/groupmod.c +++ b/src/groupmod.c -@@ -34,6 +34,9 @@ +@@ -11,6 +11,9 @@ #ident "$Id$" @@ -80,10 +80,10 @@ index acd6f35..a2c5247 100644 #include #include diff --git a/src/useradd.c b/src/useradd.c -index 127177e..b80e505 100644 +index 456b9de..2b0d703 100644 --- a/src/useradd.c +++ b/src/useradd.c -@@ -34,6 +34,9 @@ +@@ -11,6 +11,9 @@ #ident "$Id$" @@ -94,10 +94,10 @@ index 127177e..b80e505 100644 #include #include diff --git a/src/userdel.c b/src/userdel.c -index 79a7c89..c1e010a 100644 +index 7012b0e..08bb5d1 100644 --- a/src/userdel.c +++ b/src/userdel.c -@@ -31,6 +31,10 @@ +@@ -8,6 +8,10 @@ */ #include @@ -109,10 +109,10 @@ index 79a7c89..c1e010a 100644 #include #include diff --git a/src/usermod.c b/src/usermod.c -index 03bb9b9..e15fdd4 100644 +index 9473a7d..7d4f7b5 100644 --- a/src/usermod.c +++ b/src/usermod.c -@@ -34,6 +34,9 @@ +@@ -11,6 +11,9 @@ #ident "$Id$" diff --git a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch index bd24626a26..173e8a937d 100644 --- a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch +++ b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch @@ -1,4 +1,4 @@ -From 1422c24f7266b553c82100e3d18a10c55cd91063 Mon Sep 17 00:00:00 2001 +From d767f776e631f1493fd7b266f2026d630ecf70fe Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 17 Jul 2014 15:53:34 +0800 Subject: [PATCH] commonio.c-fix-unexpected-open-failure-in-chroot-env @@ -21,10 +21,10 @@ Signed-off-by: Chen Qi 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/commonio.c b/lib/commonio.c -index cef404b..66908fb 100644 +index 9e0fde6..7c3a1da 100644 --- a/lib/commonio.c +++ b/lib/commonio.c -@@ -646,10 +646,18 @@ int commonio_open (struct commonio_db *db, int mode) +@@ -624,10 +624,18 @@ int commonio_open (struct commonio_db *db, int mode) db->cursor = NULL; db->changed = false; diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 6d4a77caed..f5fdf436f7 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc @@ -3,9 +3,9 @@ HOMEPAGE = "http://github.com/shadow-maint/shadow" DESCRIPTION = "${SUMMARY}" BUGTRACKER = "http://github.com/shadow-maint/shadow/issues" SECTION = "base/utils" -LICENSE = "BSD-3-Clause | Artistic-1.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=24f172951acb1904c9273a6a016b0b36 \ - file://src/passwd.c;beginline=2;endline=30;md5=5720ff729a6ff39ecc9f64555d75f4af \ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=c9a450b7be84eac23e6353efecb60b5b \ + file://src/passwd.c;beginline=2;endline=30;md5=758c26751513b6795395275969dd3be1 \ " DEPENDS = "virtual/crypt" @@ -31,7 +31,7 @@ SRC_URI:append:class-nativesdk = " \ file://0001-Disable-use-of-syslog-for-sysroot.patch \ " -SRC_URI[sha256sum] = "efa9b89b5901644890dbf230b8e9e3dbcdb51ffb6be145afc57f3012861aeddf" +SRC_URI[sha256sum] = "f262089be6a1011d50ec7849e14571b7b2e788334368f3dccb718513f17935ed" # Additional Policy files for PAM PAM_SRC_URI = "file://pam.d/chfn \ diff --git a/meta/recipes-extended/shadow/shadow_4.10.bb b/meta/recipes-extended/shadow/shadow_4.10.bb deleted file mode 100644 index 2fbd81bf72..0000000000 --- a/meta/recipes-extended/shadow/shadow_4.10.bb +++ /dev/null @@ -1,11 +0,0 @@ -require shadow.inc - -# Build falsely assumes that if --enable-libpam is set, we don't need to link against -# libcrypt. This breaks chsh. -BUILD_LDFLAGS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '-lcrypt', '', d)}" - -BBCLASSEXTEND = "native nativesdk" - -# Severity is low and marked as closed and won't fix. -# https://bugzilla.redhat.com/show_bug.cgi?id=884658 -CVE_CHECK_WHITELIST += "CVE-2013-4235" diff --git a/meta/recipes-extended/shadow/shadow_4.11.1.bb b/meta/recipes-extended/shadow/shadow_4.11.1.bb new file mode 100644 index 0000000000..2fbd81bf72 --- /dev/null +++ b/meta/recipes-extended/shadow/shadow_4.11.1.bb @@ -0,0 +1,11 @@ +require shadow.inc + +# Build falsely assumes that if --enable-libpam is set, we don't need to link against +# libcrypt. This breaks chsh. +BUILD_LDFLAGS:append:class-target = " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '-lcrypt', '', d)}" + +BBCLASSEXTEND = "native nativesdk" + +# Severity is low and marked as closed and won't fix. +# https://bugzilla.redhat.com/show_bug.cgi?id=884658 +CVE_CHECK_WHITELIST += "CVE-2013-4235" -- cgit v1.2.3-54-g00ecf