aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2011-05-19 10:45:47 +0800
committerlwhsu <lwhsu@FreeBSD.org>2011-05-19 10:45:47 +0800
commit81e3761b5a21155b09731c00875abf23c3e18ca3 (patch)
tree235d9c2d20ebbbaf0b919a57a4711d7616474fc7
parente254d28b8a0d3026d635c2fa1badcb9caaec862c (diff)
downloadfreebsd-ports-gnome-81e3761b5a21155b09731c00875abf23c3e18ca3.tar.gz
freebsd-ports-gnome-81e3761b5a21155b09731c00875abf23c3e18ca3.tar.zst
freebsd-ports-gnome-81e3761b5a21155b09731c00875abf23c3e18ca3.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>
-rw-r--r--security/Makefile1
-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
4 files changed, 36 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index a62111b6de3b..6090b9eb9502 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -562,6 +562,7 @@
SUBDIR += pam_authsrv
SUBDIR += pam_bsdbioapi
SUBDIR += pam_fprint
+ SUBDIR += pam_google_authenticator
SUBDIR += pam_helper
SUBDIR += pam_jail
SUBDIR += pam_krb5
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/