import ports/sysutils/login_oath; ok jasper@

The login_oath package contains bsdauth providers to validate OATH one-
time passwords via oath-toolkit (liboath). Currently only TOTP (time-based)
passwords are supported. Two separate modules allow for either OTP-only
or a combination of OTP+password.
This commit is contained in:
sthen 2011-03-16 10:11:37 +00:00
parent 99b44d4f4d
commit 0ed87a8a5c
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/03/16 10:11:37 sthen Exp $
COMMENT= authentication provider for OATH one-time passwords
DISTNAME= login_oath-0.6
CATEGORIES= sysutils
MASTER_SITES= http://spacehopper.org/mirrors/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c oath util
NO_REGRESS= Yes
LIB_DEPENDS= security/oath-toolkit
post-install:
${INSTALL_DATA} ${WRKSRC}/README \
${PREFIX}/share/doc/pkg-readmes/${FULLPKGNAME}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (login_oath-0.6.tar.gz) = H0RpiNNdu6lUsmmF4Q+Vgw==
RMD160 (login_oath-0.6.tar.gz) = yk7FmfZtzQpfl2FpJFeSaqx8fp4=
SHA1 (login_oath-0.6.tar.gz) = TeB183aUlUEatgry7VHOxHEYfFk=
SHA256 (login_oath-0.6.tar.gz) = WlyUFC6uno59VLzc1i7V3/F1ALYJEWZWtiJU8rUZAlY=
SIZE (login_oath-0.6.tar.gz) = 18427

View File

@ -0,0 +1,4 @@
The login_oath package contains bsdauth providers to validate OATH one-
time passwords via oath-toolkit (liboath). Currently only TOTP (time-based)
passwords are supported. Two separate modules allow for either OTP-only
or a combination of OTP+password.

View File

@ -0,0 +1,19 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/03/16 10:11:37 sthen Exp $
@group auth
libexec/auth/
@bin libexec/auth/login_totp
@mode 4555
@owner root
@sample /usr/libexec/auth/login_-totp
@mode
@owner
@bin libexec/auth/login_totp-and-pwd
@mode 4555
@owner root
@sample /usr/libexec/auth/login_-totp-and-pwd
@mode
@owner
@group
@man man/cat8/login_totp-and-pwd.0
@man man/cat8/login_totp.0
share/doc/pkg-readmes/${FULLPKGNAME}