aboutsummaryrefslogtreecommitdiff
path: root/security/pam_google_authenticator
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2011-05-19 02:45:47 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2011-05-19 02:45:47 +0000
commit10c51815da306802c512d3024e2b5ac2b8796e04 (patch)
tree0ff3b585d24df8d96687dfef029295b84ec036a9 /security/pam_google_authenticator
parent6f638bfcad309d1ffed2ab32a26dbebf0905ca11 (diff)
downloadports-10c51815da306802c512d3024e2b5ac2b8796e04.tar.gz
ports-10c51815da306802c512d3024e2b5ac2b8796e04.zip
Add pam_google_authenticator 20110519, PAM module for two-step
authentication from Google. PR: ports/157152 Submitted by: Jui-Nan Lin <jnlin at csie.nctu.edu.tw>
Notes
Notes: svn path=/head/; revision=274290
Diffstat (limited to 'security/pam_google_authenticator')
-rw-r--r--security/pam_google_authenticator/Makefile29
-rw-r--r--security/pam_google_authenticator/distinfo2
-rw-r--r--security/pam_google_authenticator/pkg-descr4
3 files changed, 35 insertions, 0 deletions
diff --git a/security/pam_google_authenticator/Makefile b/security/pam_google_authenticator/Makefile
new file mode 100644
index 000000000000..8107674f81a5
--- /dev/null
+++ b/security/pam_google_authenticator/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: pam_google_authenticator
+# Date created: 19 May 2011
+# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pam_google_authenticator
+PORTVERSION= 20110519
+CATEGORIES= security
+MASTER_SITES= http://www.cs.nctu.edu.tw/~jnlin/distfiles/
+DISTNAME= google-authenticator-${PORTVERSION}
+
+MAINTAINER= jnlin@csie.nctu.edu.tw
+COMMENT= PAM module for two-step authentication from Google
+
+LICENSE= ASL
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/libpam
+
+USE_GMAKE= yes
+
+PLIST_FILES= bin/google-authenticator lib/pam_google_authenticator.so
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/google-authenticator ${PREFIX}/bin/google-authenticator
+ ${INSTALL_LIB} ${WRKSRC}/pam_google_authenticator.so ${PREFIX}/lib/pam_google_authenticator.so
+
+.include <bsd.port.mk>
diff --git a/security/pam_google_authenticator/distinfo b/security/pam_google_authenticator/distinfo
new file mode 100644
index 000000000000..e52d085e723a
--- /dev/null
+++ b/security/pam_google_authenticator/distinfo
@@ -0,0 +1,2 @@
+SHA256 (google-authenticator-20110519.tar.gz) = ceae954d2d6533ded5abc100ec4b22ee5199b7484969b3ac113656e0da687f30
+SIZE (google-authenticator-20110519.tar.gz) = 402127
diff --git a/security/pam_google_authenticator/pkg-descr b/security/pam_google_authenticator/pkg-descr
new file mode 100644
index 000000000000..7b1e31d52cfa
--- /dev/null
+++ b/security/pam_google_authenticator/pkg-descr
@@ -0,0 +1,4 @@
+The PAM module can add a two-factor authentication
+step to any PAM-enabled application.
+
+WWW: http://code.google.com/p/google-authenticator/