diff options
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 6848e054b3..40f58f0d12 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc | |||
@@ -1,50 +1,39 @@ | |||
1 | SUMMARY = "Tools to change and administer password and group data" | 1 | SUMMARY = "Tools to change and administer password and group data" |
2 | HOMEPAGE = "http://pkg-shadow.alioth.debian.org" | 2 | HOMEPAGE = "http://pkg-shadow.alioth.debian.org" |
3 | BUGTRACKER = "https://alioth.debian.org/tracker/?group_id=30580" | 3 | BUGTRACKER = "https://alioth.debian.org/tracker/?group_id=30580" |
4 | SECTION = "base utils" | 4 | SECTION = "base/utils" |
5 | LICENSE = "BSD | Artistic-1.0" | 5 | LICENSE = "BSD | Artistic-1.0" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ed80ff1c2b40843cf5768e5229cf16e5 \ |
7 | file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661" | 7 | file://src/passwd.c;beginline=8;endline=30;md5=d83888ea14ae61951982d77125947661" |
8 | 8 | ||
9 | DEPENDS = "shadow-native" | 9 | DEPENDS = "shadow-native" |
10 | DEPENDS_class-native = "" | 10 | DEPENDS_class-native = "" |
11 | DEPENDS_class-nativesdk = "" | 11 | DEPENDS_class-nativesdk = "" |
12 | 12 | ||
13 | SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \ | 13 | SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.xz \ |
14 | file://shadow.automake-1.11.patch \ | ||
15 | file://shadow_fix_for_automake-1.12.patch \ | ||
16 | file://shadow-4.1.3-dots-in-usernames.patch \ | 14 | file://shadow-4.1.3-dots-in-usernames.patch \ |
17 | file://shadow-4.1.4.2-env-reset-keep-locale.patch \ | 15 | file://usermod-fix-compilation-failure-with-subids-disabled.patch \ |
16 | file://fix-installation-failure-with-subids-disabled.patch \ | ||
18 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ | 17 | ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ |
19 | " | 18 | " |
20 | 19 | ||
21 | SRC_URI_append_class-target = " \ | 20 | SRC_URI_append_class-target = " \ |
22 | file://login_defs_pam.sed \ | 21 | file://login_defs_pam.sed \ |
23 | file://shadow-4.1.4.2-groupmod-pam-check.patch \ | ||
24 | file://shadow-4.1.4.2-su_no_sanitize_env.patch \ | ||
25 | file://shadow-update-pam-conf.patch \ | 22 | file://shadow-update-pam-conf.patch \ |
26 | file://slackware_fix_for_glib-2.17_crypt.patch \ | ||
27 | file://fix-etc-gshadow-reading.patch \ | ||
28 | " | 23 | " |
29 | 24 | ||
30 | SRC_URI_append_class-native = " \ | 25 | SRC_URI_append_class-native = " \ |
31 | file://add_root_cmd_options.patch \ | ||
32 | file://disable-syslog.patch \ | 26 | file://disable-syslog.patch \ |
33 | file://useradd.patch \ | ||
34 | file://add_root_cmd_groupmems.patch \ | ||
35 | file://allow-for-setting-password-in-clear-text.patch \ | 27 | file://allow-for-setting-password-in-clear-text.patch \ |
28 | file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \ | ||
29 | file://0001-useradd.c-create-parent-directories-when-necessary.patch \ | ||
36 | " | 30 | " |
37 | SRC_URI_append_class-nativesdk = " \ | 31 | SRC_URI_append_class-nativesdk = " \ |
38 | file://add_root_cmd_options.patch \ | ||
39 | file://disable-syslog.patch \ | 32 | file://disable-syslog.patch \ |
40 | file://useradd.patch \ | ||
41 | file://add_root_cmd_groupmems.patch \ | ||
42 | " | 33 | " |
43 | 34 | ||
44 | SRC_URI[md5sum] = "b8608d8294ac88974f27b20f991c0e79" | 35 | SRC_URI[md5sum] = "2bfafe7d4962682d31b5eba65dba4fc8" |
45 | SRC_URI[sha256sum] = "633f5bb4ea0c88c55f3642c97f9d25cbef74f82e0b4cf8d54e7ad6f9f9caa778" | 36 | SRC_URI[sha256sum] = "3b0893d1476766868cd88920f4f1231c4795652aa407569faff802bcda0f3d41" |
46 | |||
47 | PR = "r14" | ||
48 | 37 | ||
49 | # Additional Policy files for PAM | 38 | # Additional Policy files for PAM |
50 | PAM_SRC_URI = "file://pam.d/chfn \ | 39 | PAM_SRC_URI = "file://pam.d/chfn \ |
@@ -61,6 +50,7 @@ EXTRA_OECONF += "--without-audit \ | |||
61 | --without-libcrack \ | 50 | --without-libcrack \ |
62 | --without-selinux \ | 51 | --without-selinux \ |
63 | --with-group-name-max-length=24 \ | 52 | --with-group-name-max-length=24 \ |
53 | --enable-subordinate-ids=no \ | ||
64 | ${NSCDOPT}" | 54 | ${NSCDOPT}" |
65 | 55 | ||
66 | NSCDOPT = "" | 56 | NSCDOPT = "" |
@@ -166,11 +156,11 @@ ALTERNATIVE_LINK_NAME[su] = "${base_bindir}/su" | |||
166 | 156 | ||
167 | pkg_postinst_${PN} () { | 157 | pkg_postinst_${PN} () { |
168 | if [ "x$D" != "x" ]; then | 158 | if [ "x$D" != "x" ]; then |
169 | rootarg="--root=$D" | 159 | rootarg="--root $D" |
170 | else | 160 | else |
171 | rootarg="" | 161 | rootarg="" |
172 | fi | 162 | fi |
173 | 163 | ||
174 | pwconv $rootarg | 164 | pwconv $rootarg || exit 1 |
175 | grpconv $rootarg | 165 | grpconv $rootarg || exit 1 |
176 | } | 166 | } |