Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
The Google Authenticator includes implementations of one-time passcode
generators for several mobile platforms as well as a pluggable
authentication module (PAM). One-time passcodes are generated using
open standards developed by the Initiative for Open Authentication
(OATH) (which is unrelated to OAuth).
These implementations support the HMAC-Based One-time Password (HOTP)
algorithm specified in RFC 4226 and the Time-based One-time Password
(TOTP) algorithm specified in RFC 6238.

View File

@@ -0,0 +1,21 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2012/05/07 00:01:48 jmmv Exp $
Quick start to get OTPs for incoming SSH connections:
1) Run google-authenticator to set up OTPs for your user.
2) Install "Google Authenticator" on your phone.
3) Set up a new account on your phone using the data printed on your screen
during step 1. To make things easier, copy/paste the printed URL in
your browser.
4) Add the following line to /etc/pam.d/sshd:
auth required ${PREFIX}/lib/security/pam_google_authenticator.so
Please read ${PREFIX}/share/doc/google-authenticator/README for more
details.
===========================================================================

View File

@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.3 2012/10/23 18:16:29 asau Exp $
DISTNAME= libpam-google-authenticator-1.0-source
PKGNAME= ${DISTNAME:S/libpam-//:S/-source//}
CATEGORIES= security
MASTER_SITES= http://google-authenticator.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= http://code.google.com/p/google-authenticator/
MAINTAINER= jmmv@NetBSD.org
COMMENT= One-time password generator and PAM module from Google
LICENSE= apache-2.0
USE_TOOLS= gmake
CFLAGS+= -DNO_STATIC_MODULES
WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
INSTALLATION_DIRS= bin lib/security share/doc/google-authenticator
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} google-authenticator \
${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && ${INSTALL_LIB} pam_google_authenticator.so \
${DESTDIR}${PREFIX}/lib/security
cd ${WRKSRC} && ${INSTALL_DATA} README \
${DESTDIR}${PREFIX}/share/doc/google-authenticator
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/07 00:01:48 jmmv Exp $
bin/google-authenticator
lib/security/pam_google_authenticator.so
share/doc/google-authenticator/README

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.2 2012/08/11 17:09:43 jmmv Exp $
SHA1 (libpam-google-authenticator-1.0-source.tar.bz2) = 017b7d89989f1624e360abe02d6b27a6298d285d
RMD160 (libpam-google-authenticator-1.0-source.tar.bz2) = ce26a2f805f36a82a7ab3d930116a73fb444e037
Size (libpam-google-authenticator-1.0-source.tar.bz2) = 32708 bytes