2012-10-12 04:08:58 +02:00
|
|
|
# Created by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
|
2011-05-19 04:45:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pam_google_authenticator
|
2014-10-18 10:51:46 +02:00
|
|
|
PORTVERSION= 20140826
|
2014-11-22 19:30:17 +01:00
|
|
|
PORTREVISION= 1
|
2011-05-19 04:45:47 +02:00
|
|
|
CATEGORIES= security
|
2014-10-18 10:51:46 +02:00
|
|
|
MASTER_SITES= LOCAL/riggs/google-authenticator
|
2011-05-19 04:45:47 +02:00
|
|
|
DISTNAME= google-authenticator-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= jnlin@csie.nctu.edu.tw
|
|
|
|
COMMENT= PAM module for two-step authentication from Google
|
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20
|
2011-05-19 04:45:47 +02:00
|
|
|
|
2014-11-22 19:30:17 +01:00
|
|
|
OPTIONS_DEFINE= STEPSIZE
|
|
|
|
STEPSIZE_DESC= Allow time steps other than the default of 30 seconds
|
|
|
|
STEPSIZE_CFLAGS= -DSTEPSIZE
|
|
|
|
|
2014-02-28 14:18:23 +01:00
|
|
|
USES= gmake
|
2011-05-19 04:45:47 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/google-authenticator lib/pam_google_authenticator.so
|
|
|
|
|
2014-11-22 19:30:17 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2011-05-19 04:45:47 +02:00
|
|
|
do-install:
|
2014-02-28 14:18:23 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/google-authenticator \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/google-authenticator
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/pam_google_authenticator.so \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/pam_google_authenticator.so
|
2011-05-19 04:45:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|