aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2018-05-23 10:41:40 +0200
committerKhem Raj <raj.khem@gmail.com>2018-05-26 21:10:55 -0700
commitef537dcfef67dd397a82de1c881b76097b5a5554 (patch)
tree26192ff5b3761323c57976fd0922a49e2bd87a09
parenta2abbc840755cd563568537a0908c7c7e3ae7e67 (diff)
downloadmeta-openembedded-contrib-ef537dcfef67dd397a82de1c881b76097b5a5554.tar.gz
meta-openembedded-contrib-ef537dcfef67dd397a82de1c881b76097b5a5554.tar.bz2
meta-openembedded-contrib-ef537dcfef67dd397a82de1c881b76097b5a5554.zip
pam-plugin-ldapdb: add recipe
Add recipe for version 1.3 of pam-plugin-ldapdb, a PAM module for directly binding a user DN to an LDAP server. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.bb23
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 @@
+SUMMARY = "PAM searchless LDAP authentication module"
+HOMEPAGE = "https://github.com/rmbreak/pam_ldapdb"
+BUGTRACKER = "https://github.com/rmbreak/pam_ldapdb/issues"
+SECTION = "libs"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d"
+
+DEPENDS = "libpam openldap"
+
+inherit distro_features_check
+REQUIRED_DISTRO_FEATURES = "pam"
+
+SRC_URI = "https://github.com/rmbreak/pam_ldapdb/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz"
+SRC_URI[md5sum] = "2dd4f1370fcfe995ee0ad09611109b87"
+SRC_URI[sha256sum] = "8ed92b36523556bb5d9bf3eb33a1035e46041d4be767c8d62136930c0ca0e45b"
+
+S = "${WORKDIR}/pam_ldapdb-${PV}"
+
+do_install () {
+ oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security
+}
+
+FILES_${PN} += "${base_libdir}/security/pam_ldapdb.so"