summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/shadow.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 75b0afcab1..5ab978ac51 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=08c553a87d4e51bbed50b20e0adcaede \
9 9
10DEPENDS = "shadow-native" 10DEPENDS = "shadow-native"
11DEPENDS_class-native = "" 11DEPENDS_class-native = ""
12DEPENDS_class-nativesdk = ""
12 13
13SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \ 14SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.bz2 \
14 file://shadow.automake-1.11.patch \ 15 file://shadow.automake-1.11.patch \
@@ -33,6 +34,12 @@ SRC_URI_append_class-native = " \
33 file://useradd.patch \ 34 file://useradd.patch \
34 file://add_root_cmd_groupmems.patch \ 35 file://add_root_cmd_groupmems.patch \
35 " 36 "
37SRC_URI_append_class-nativesdk = " \
38 file://add_root_cmd_options.patch \
39 file://disable-syslog.patch \
40 file://useradd.patch \
41 file://add_root_cmd_groupmems.patch \
42 "
36 43
37SRC_URI[md5sum] = "b8608d8294ac88974f27b20f991c0e79" 44SRC_URI[md5sum] = "b8608d8294ac88974f27b20f991c0e79"
38SRC_URI[sha256sum] = "633f5bb4ea0c88c55f3642c97f9d25cbef74f82e0b4cf8d54e7ad6f9f9caa778" 45SRC_URI[sha256sum] = "633f5bb4ea0c88c55f3642c97f9d25cbef74f82e0b4cf8d54e7ad6f9f9caa778"
@@ -57,6 +64,7 @@ EXTRA_OECONF += "--without-audit \
57 64
58NSCDOPT = "" 65NSCDOPT = ""
59NSCDOPT_class-native = "--without-nscd" 66NSCDOPT_class-native = "--without-nscd"
67NSCDOPT_class-nativesdk = "--without-nscd"
60NSCDOPT_libc-uclibc = " --without-nscd" 68NSCDOPT_libc-uclibc = " --without-nscd"
61 69
62PAM_PLUGINS = "libpam-runtime \ 70PAM_PLUGINS = "libpam-runtime \
@@ -74,11 +82,13 @@ PAM_PLUGINS = "libpam-runtime \
74 82
75PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" 83PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
76PACKAGECONFIG_class-native = "" 84PACKAGECONFIG_class-native = ""
85PACKAGECONFIG_class-nativesdk = ""
77PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}" 86PACKAGECONFIG[pam] = "--with-libpam,--without-libpam,libpam,${PAM_PLUGINS}"
78 87
79RDEPENDS_${PN} = "shadow-securetty \ 88RDEPENDS_${PN} = "shadow-securetty \
80 base-passwd" 89 base-passwd"
81RDEPENDS_${PN}_class-native = "" 90RDEPENDS_${PN}_class-native = ""
91RDEPENDS_${PN}_class-nativesdk = ""
82 92
83do_install() { 93do_install() {
84 oe_runmake DESTDIR="${D}" sbindir="${base_sbindir}" usbindir="${sbindir}" install 94 oe_runmake DESTDIR="${D}" sbindir="${base_sbindir}" usbindir="${sbindir}" install