summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam/libpam_1.1.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/pam/libpam_1.1.6.bb')
-rw-r--r--meta/recipes-extended/pam/libpam_1.1.6.bb15
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index fae0467e01..93c98c0908 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -30,7 +30,7 @@ EXTRA_OECONF = "--with-db-uniquename=_pam \
30 30
31CFLAGS_append = " -fPIC " 31CFLAGS_append = " -fPIC "
32 32
33PR = "r1" 33PR = "r2"
34 34
35S = "${WORKDIR}/Linux-PAM-${PV}" 35S = "${WORKDIR}/Linux-PAM-${PV}"
36 36
@@ -66,12 +66,13 @@ python populate_packages_prepend () {
66 pam_filterdir = d.expand('${base_libdir}/security/pam_filter') 66 pam_filterdir = d.expand('${base_libdir}/security/pam_filter')
67 67
68 do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='') 68 do_split_packages(d, pam_libdir, '^pam(.*)\.so$', 'pam-plugin%s', 'PAM plugin for %s', extra_depends='')
69 pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_chkpwd') 69 mlprefix = d.getVar('MLPREFIX', True) or ''
70 pam_plugin_append_file('pam-plugin-unix', pam_sbindir, 'unix_update') 70 pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_chkpwd')
71 pam_plugin_append_file('pam-plugin-tally', pam_sbindir, 'pam_tally') 71 pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_update')
72 pam_plugin_append_file('pam-plugin-tally2', pam_sbindir, 'pam_tally2') 72 pam_plugin_append_file('%spam-plugin-tally' % mlprefix, pam_sbindir, 'pam_tally')
73 pam_plugin_append_file('pam-plugin-timestamp', pam_sbindir, 'pam_timestamp_check') 73 pam_plugin_append_file('%spam-plugin-tally2' % mlprefix, pam_sbindir, 'pam_tally2')
74 pam_plugin_append_file('pam-plugin-mkhomedir', pam_sbindir, 'mkhomedir_helper') 74 pam_plugin_append_file('%spam-plugin-timestamp' % mlprefix, pam_sbindir, 'pam_timestamp_check')
75 pam_plugin_append_file('%spam-plugin-mkhomedir' % mlprefix, pam_sbindir, 'mkhomedir_helper')
75 do_split_packages(d, pam_filterdir, '^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='') 76 do_split_packages(d, pam_filterdir, '^(.*)$', 'pam-filter-%s', 'PAM filter for %s', extra_depends='')
76} 77}
77 78