Bug 175650 - New port: security/pam_yubico PAM module to auth with a YubiKey
New port: security/pam_yubico PAM module to auth with a YubiKey
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: jgh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-28 12:00 UTC by matt
Modified: 2013-01-30 01:00 UTC (History)
0 users

See Also:


Attachments
pam_yubico.shar (2.46 KB, text/plain)
2013-01-28 12:00 UTC, matt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2013-01-28 12:00:00 UTC
	This module allows the use of a Yubico Yubikey device to authenticate to the PAM system.

	WWW: http://yubico.com
Comment 1 jgh freebsd_committer 2013-01-28 16:14:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter freebsd_committer 2013-01-30 00:58:36 UTC
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@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@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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 jgh freebsd_committer 2013-01-30 00:58:57 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!