aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb')
-rw-r--r--recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb
new file mode 100644
index 0000000..2ba949e
--- /dev/null
+++ b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Google Authenticator PAM module"
+HOME_PAGE = "https://github.com/google/google-authenticator-libpam"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+LICENSE = "Apache-2.0"
+
+SRC_URI = "git://github.com/google/google-authenticator-libpam.git"
+SRCREV = "2c7415d950fb0b4a7f779f045910666447b100ef"
+
+DEPENDS = "libpam"
+
+S = "${WORKDIR}/git"
+
+inherit autotools features_check
+
+REQUIRED_DISTRO_FEATURES = "pam"
+
+PACKAGES += "pam-google-authenticator"
+FILES_pam-google-authenticator = "${libdir}/security/pam_google_authenticator.so"
+
+RDEPNEDS_pam-google-authenticator = "libpam"