aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/shadow_4.6.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-07-27 16:04:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-30 12:44:28 +0100
commit79dd22729d5b8a2f2cf4294ff6b261c9d6ecd977 (patch)
tree35d3527cc67958d85facfe81aff82b11676c732d /meta/recipes-extended/shadow/shadow_4.6.bb
parentc3f67a19f9393540443bf14b2dbde151d5d01b3d (diff)
downloadopenembedded-core-contrib-79dd22729d5b8a2f2cf4294ff6b261c9d6ecd977.tar.gz
shadow: upgrade 4.2.1 -> 4.6
The 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 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/shadow/shadow_4.6.bb')
-rw-r--r--meta/recipes-extended/shadow/shadow_4.6.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow_4.6.bb b/meta/recipes-extended/shadow/shadow_4.6.bb
new file mode 100644
index 0000000000..5675cb8cc9
--- /dev/null
+++ b/meta/recipes-extended/shadow/shadow_4.6.bb
@@ -0,0 +1,10 @@
+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', bb.utils.contains('DISTRO_FEATURES', 'libc-crypt', '-lcrypt', '', d), '', d)}"
+
+BBCLASSEXTEND = "native nativesdk"
+
+
+