diff options
-rw-r--r-- | meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb new file mode 100644 index 0000000000..c59a259fc3 --- /dev/null +++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "PAM searchless LDAP authentication module" | ||
2 | HOMEPAGE = "https://github.com/rmbreak/pam_ldapdb" | ||
3 | BUGTRACKER = "https://github.com/rmbreak/pam_ldapdb/issues" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d" | ||
7 | |||
8 | DEPENDS = "libpam openldap" | ||
9 | |||
10 | inherit distro_features_check | ||
11 | REQUIRED_DISTRO_FEATURES = "pam" | ||
12 | |||
13 | SRC_URI = "https://github.com/rmbreak/pam_ldapdb/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz" | ||
14 | SRC_URI[md5sum] = "2dd4f1370fcfe995ee0ad09611109b87" | ||
15 | SRC_URI[sha256sum] = "8ed92b36523556bb5d9bf3eb33a1035e46041d4be767c8d62136930c0ca0e45b" | ||
16 | |||
17 | S = "${WORKDIR}/pam_ldapdb-${PV}" | ||
18 | |||
19 | do_install () { | ||
20 | oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security | ||
21 | } | ||
22 | |||
23 | FILES_${PN} += "${base_libdir}/security/pam_ldapdb.so" | ||