svn commit: r311194 - in head/security: . pam_yubico pam_yubico/files
Jason Helfman
jgh at FreeBSD.org
Wed Jan 30 00:58:23 UTC 2013
Author: jgh
Date: Wed Jan 30 00:58:22 2013
New Revision: 311194
URL: http://svnweb.freebsd.org/changeset/ports/311194
Log:
- add new port: security/pam_yubico
The Yubico authentication device Yubikey generates one-time passwords that can
be used for authentication. This module allows you to use the Yubikey device to
authenticate to the PAM system.
WWW: https://code.google.com/p/yubico-pam/
PR: 175650
Submitted by: matt at mjslabs.com
Added:
head/security/pam_yubico/
head/security/pam_yubico/Makefile (contents, props changed)
head/security/pam_yubico/distinfo (contents, props changed)
head/security/pam_yubico/files/
head/security/pam_yubico/files/pkg-message.in (contents, props changed)
head/security/pam_yubico/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Wed Jan 30 00:42:38 2013 (r311193)
+++ head/security/Makefile Wed Jan 30 00:58:22 2013 (r311194)
@@ -618,6 +618,7 @@
SUBDIR += pam_search_list
SUBDIR += pam_smb
SUBDIR += pam_ssh_agent_auth
+ SUBDIR += pam_yubico
SUBDIR += pamtester
SUBDIR += paperkey
SUBDIR += parano
Added: head/security/pam_yubico/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pam_yubico/Makefile Wed Jan 30 00:58:22 2013 (r311194)
@@ -0,0 +1,60 @@
+# $FreeBSD$
+
+PORTNAME= pam_yubico
+PORTVERSION= 2.12
+CATEGORIES= security
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= matt at mjslabs.com
+COMMENT= PAM module for authenticating with a Yubico YubiKey
+
+LICENSE= BSD
+
+LIB_DEPENDS= ykclient:${PORTSDIR}/security/ykclient \
+ ykpers-1:${PORTSDIR}/security/ykpers \
+ yubikey:${PORTSDIR}/security/libyubikey
+
+GNU_CONFIGURE= yes
+USE_PKGCONFIG= build
+
+PLIST_FILES= include/drop_privs.h \
+ include/util.h \
+ lib/security/pam_yubico.la \
+ lib/security/pam_yubico.so
+PLIST_DIRS= lib/security
+SUB_FILES= pkg-message
+PORTDOCS= *
+
+PROJECTHOST= yubico-pam
+
+OPTIONS_DEFINE= CR LDAP DOCS
+CR_DESC= Include Challenge/response support
+OPTIONS_DEFAULT= CR LDAP
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCR}
+CONFIGURE_ARGS+= --with-cr
+MAN1= ykpamcfg.1
+PLIST_FILES+= bin/ykpamcfg
+.else
+CONFIGURE_ARGS+= --without-cr
+.endif
+
+.if ${PORT_OPTIONS:MLDAP}
+CONFIGURE_ARGS+= --with-ldap
+.else
+CONFIGURE_ARGS+= --without-ldap
+.endif
+
+regression-test: build
+ @(cd ${WRKSRC}; ${MAKE} check)
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
Added: head/security/pam_yubico/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pam_yubico/distinfo Wed Jan 30 00:58:22 2013 (r311194)
@@ -0,0 +1,2 @@
+SHA256 (pam_yubico-2.12.tar.gz) = b3efb41b72191b2ccb0b9cde691bd4ee6df5d8245254dd4f4c4e4bb8886c25c3
+SIZE (pam_yubico-2.12.tar.gz) = 367164
Added: head/security/pam_yubico/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pam_yubico/files/pkg-message.in Wed Jan 30 00:58:22 2013 (r311194)
@@ -0,0 +1,6 @@
+
+For setup instructions on authenticating with your YubiKey, see:
+%%DOCSDIR%%/README
+or
+https://github.com/Yubico/yubico-pam/blob/master/README
+
Added: head/security/pam_yubico/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pam_yubico/pkg-descr Wed Jan 30 00:58:22 2013 (r311194)
@@ -0,0 +1,5 @@
+The Yubico authentication device Yubikey generates one-time passwords that can
+be used for authentication. This module allows you to use the Yubikey device to
+authenticate to the PAM system.
+
+WWW: https://code.google.com/p/yubico-pam/
More information about the svn-ports-all
mailing list