summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/shadow.inc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-12-04 17:56:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-28 23:25:42 +0000
commitaf2b2c4d9ff44b5951ef17dd0fba32021b232a27 (patch)
tree822d1717c9397cbdd6c910ee6f80d913e569ac85 /meta/recipes-extended/shadow/shadow.inc
parent40f28d15c5808207461f6064d15965d9f92a8d09 (diff)
downloadpoky-af2b2c4d9ff44b5951ef17dd0fba32021b232a27.tar.gz
shadow: update 4.6 -> 4.8
Drop two backports. Remove 0001-useradd.c-create-parent-directories-when-necessary.patch as upstream has addressed the issue: https://github.com/shadow-maint/shadow/commit/b3b6d9d77c1d18b98670b97157777bb74092cd69 Rebase the rest of the paches. Add a patch to remove the check for validity of login shells which does not work in our environment. Disable sssd cache support as that needs Fedora-specific tooling. (From OE-Core rev: fee6c063dfb80425caa7080083c61d1544d929c6) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 770c239e96..267d2324c5 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -11,8 +11,6 @@ DEPENDS = "virtual/crypt"
11UPSTREAM_CHECK_URI = "https://github.com/shadow-maint/shadow/releases" 11UPSTREAM_CHECK_URI = "https://github.com/shadow-maint/shadow/releases"
12SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}.tar.gz \ 12SRC_URI = "https://github.com/shadow-maint/shadow/releases/download/${PV}/${BP}.tar.gz \
13 file://shadow-4.1.3-dots-in-usernames.patch \ 13 file://shadow-4.1.3-dots-in-usernames.patch \
14 file://0001-Make-the-sp_lstchg-shadow-field-reproducible-re.-71.patch \
15 file://0001-configure.ac-fix-configure-error-with-dash.patch \
16 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ 14 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
17 file://shadow-relaxed-usernames.patch \ 15 file://shadow-relaxed-usernames.patch \
18 " 16 "
@@ -24,16 +22,16 @@ SRC_URI_append_class-target = " \
24 22
25SRC_URI_append_class-native = " \ 23SRC_URI_append_class-native = " \
26 file://0001-Disable-use-of-syslog-for-sysroot.patch \ 24 file://0001-Disable-use-of-syslog-for-sysroot.patch \
27 file://allow-for-setting-password-in-clear-text.patch \ 25 file://0002-Allow-for-setting-password-in-clear-text.patch \
28 file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \ 26 file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \
29 file://0001-useradd.c-create-parent-directories-when-necessary.patch \ 27 file://0001-Do-not-check-for-validity-of-shell-executable.patch \
30 " 28 "
31SRC_URI_append_class-nativesdk = " \ 29SRC_URI_append_class-nativesdk = " \
32 file://0001-Disable-use-of-syslog-for-sysroot.patch \ 30 file://0001-Disable-use-of-syslog-for-sysroot.patch \
33 " 31 "
34 32
35SRC_URI[md5sum] = "36feb15665338ae3de414f2a88e434db" 33SRC_URI[md5sum] = "017ac773ba370bc28e157cee30dad71a"
36SRC_URI[sha256sum] = "4668f99bd087399c4a586084dc3b046b75f560720d83e92fd23bf7a89dda4d31" 34SRC_URI[sha256sum] = "82016d65317555fc8ce9e669eb187984d8d4b1f8ecda0769f4bc5412aed326e4"
37 35
38# Additional Policy files for PAM 36# Additional Policy files for PAM
39PAM_SRC_URI = "file://pam.d/chfn \ 37PAM_SRC_URI = "file://pam.d/chfn \
@@ -53,6 +51,7 @@ EXTRA_OECONF += "--without-audit \
53 --without-selinux \ 51 --without-selinux \
54 --with-group-name-max-length=24 \ 52 --with-group-name-max-length=24 \
55 --enable-subordinate-ids=yes \ 53 --enable-subordinate-ids=yes \
54 --without-sssd \
56 ${NSCDOPT}" 55 ${NSCDOPT}"
57 56
58NSCDOPT = "" 57NSCDOPT = ""