Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SUMMARY = "This pam module provides the authentication service using an own set of user/password pairs."
- DESCRIPTION = ""
- DEPENDS="openssl libpam"
- RDEPENDS_${PN}="libpam"
- PR = "r0"
- SRC_URI = "https://github.com/tiwe-de/libpam-pwdfile/archive/v1.0.zip"
- SRC_URI[md5sum] = "41fd8a1e7bff2025caaf124109deefd4"
- SRC_URI[sha256sum] = "2c7f4f355d7296a6ad0755e6bb4cc4bf69559d7881b3df8946a99265fe4a5af6"
- LICENSE = "GPL"
- LIC_FILES_CHKSUM = "file://pam_pwdfile.c;md5=004fcdd2eeca82ce83579ed3dbf06833"
- S = "${WORKDIR}/${PN}-1.0/"
- do_install(){
- install -m 0755 -d ${D}${base_libdir}/security
- install -m 0755 pam_pwdfile.so ${D}${base_libdir}/security/pam_pwdfile.so.1.0.0
- ln -s pam_pwdfile.so.1.0.0 ${D}${base_libdir}/security/pam_pwdfile.so.1
- ln -s pam_pwdfile.so.1.0.0 ${D}${base_libdir}/security/pam_pwdfile.so
- }
- FILES_${PN} += "/lib/security/pam_pwdfile.so.1.0.0"
- FILES_${PN}-dev += "/lib/security/pam_pwdfile.so \
- /lib/security/pam_pwdfile.so.1 "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement