freebsd-ports/security/pam_p11/Makefile
Alex Dupre acf7714db0 Pam_p11 is a plugable authentication module (pam) package
for using crpytographic tokens such as smart cards and
usb crypto tokens for authentication.

Pam_p11 uses libp11 to access any PKCS#11 module.
It should be compatible with any implementation, but it
is primarely developed using OpenSC.

Pam_p11 implements two authentication modules:
 * pam_p11_openssh authenticates the user using his
   openssh ~/.ssh/authorized_keys file.
 * pam_p11_opensc authenticates the user using
   certificates found in ~/.eid/authorized_certificates.

Pam_p11 is very simple, it has no config file, no options
other than the PKCS#11 module file, does not know about
certificate chains, certificate authorities, revocation
lists or OCSP. Perfect for the small installation with no
frills.

WWW:	http://www.opensc-project.org/pam_p11/
2006-06-12 17:00:25 +00:00

35 lines
729 B
Makefile

# New ports collection makefile for: pam_p11
# Date created: 1 Jun 2006
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pam_p11
PORTVERSION= 0.1.2
CATEGORIES= security
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/
MAINTAINER= ale@FreeBSD.org
COMMENT= A PAM module using crypto tokens for auth
LIB_DEPENDS= p11.1:${PORTSDIR}/security/libp11
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_GNOME= pkgconfig
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl"
DOC_FILES= README *.sh *.xsl *.css *.html
PORTDOCS= *
.ifndef(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/doc && ${CP} -R ${DOC_FILES} ${DOCSDIR})
.endif
.include <bsd.port.mk>