1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/security/pam_u2f/Makefile
2023-03-19 17:49:52 -10:00

33 lines
793 B
Makefile

PORTNAME= pam_u2f
DISTVERSIONPREFIX=${PORTNAME}-
DISTVERSION= 1.3.0
CATEGORIES= security
MAINTAINER= romain@FreeBSD.org
COMMENT= Pluggable Authentication Module for U2F and FIDO2
WWW= https://developers.yubico.com/pam-u2f/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= a2x:textproc/asciidoc
LIB_DEPENDS= libfido2.so:security/libfido2
USES= autoreconf libtool pkgconfig ssl
USE_GITHUB= yes
GH_ACCOUNT= Yubico
GH_PROJECT= pam-u2f
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pam-dir=${PREFIX}/lib
PLIST_FILES= bin/pamu2fcfg \
lib/pam_u2f.so \
man/man1/pamu2fcfg.1.gz \
man/man8/pam_u2f.8.gz
.if !exists(/usr/libdata/pkgconfig/libcrypto.pc)
CONFIGURE_ENV= LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
.endif
.include <bsd.port.mk>