aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.bb')
-rw-r--r--recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.bb b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.bb
new file mode 100644
index 0000000..98f895c
--- /dev/null
+++ b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.07.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 = "c9280f43610ce896f91eafd0f740a4eb4dcecedd"
+
+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"