diff options
| -rw-r--r-- | meta/recipes-extended/pam/libpam_1.1.4.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.4.bb b/meta/recipes-extended/pam/libpam_1.1.4.bb index ae20a9783a..d6f95b198f 100644 --- a/meta/recipes-extended/pam/libpam_1.1.4.bb +++ b/meta/recipes-extended/pam/libpam_1.1.4.bb | |||
| @@ -9,7 +9,7 @@ SECTION = "base" | |||
| 9 | LICENSE = "GPLv2+ | BSD" | 9 | LICENSE = "GPLv2+ | BSD" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca0395de9a86191a078b8b79302e3083" |
| 11 | 11 | ||
| 12 | PR = "r1" | 12 | PR = "r2" |
| 13 | 13 | ||
| 14 | DEPENDS = "bison flex cracklib" | 14 | DEPENDS = "bison flex cracklib" |
| 15 | RDEPENDS_${PN}-runtime = "libpam pam-plugin-deny pam-plugin-permit pam-plugin-warn pam-plugin-unix" | 15 | RDEPENDS_${PN}-runtime = "libpam pam-plugin-deny pam-plugin-permit pam-plugin-warn pam-plugin-unix" |
| @@ -85,3 +85,9 @@ do_install() { | |||
| 85 | install -d ${D}${sysconfdir}/pam.d/ | 85 | install -d ${D}${sysconfdir}/pam.d/ |
| 86 | install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ | 86 | install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ |
| 87 | } | 87 | } |
| 88 | |||
| 89 | pkg_postinst_pam-plugin-unix () { | ||
| 90 | # below is necessary to allow unix_chkpwd get user info from shadow file | ||
| 91 | # on lsb images | ||
| 92 | chmod 4755 ${sbindir}/unix_chkpwd | ||
| 93 | } | ||
