aboutsummaryrefslogtreecommitdiff
path: root/security/pam_ssh_agent_auth/Makefile
blob: 43be893df0b0521dbc8f4b191b744cfb660ee4b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Martin Wilke <miwi@FreeBSD.org>

PORTNAME=	pam_ssh_agent_auth
PORTVERSION=	0.10.4
PORTREVISION=	1
CATEGORIES=	security

MAINTAINER=	matthew@FreeBSD.org
COMMENT=	PAM module which permits authentication via ssh-agent

USE_GITHUB=	yes
GH_ACCOUNT=	jbeverly
GH_TAGNAME=	7ff7858
GH_TUPLE=	floodyberry:ed25519-donna:8757bd4:floodyberry_ed25519_donna/ed25519-donna

BROKEN_mips64=		fails to compile: ed25519-donna-portable.h:85:4: Need a uint128_t implementation!
BROKEN_FreeBSD_11_powerpc64=	fails to compile on powerpc64 elfv1: ed25519-donna-portable.h: warning: ALIGN redefined
BROKEN_FreeBSD_12_powerpc64=	fails to compile on powerpc64 elfv1: ed25519-donna-portable.h: warning: ALIGN redefined

USES=		perl5 ssl tar:bzip2
USE_PERL5=	build

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	ac_cv_func_strnvis=no PERL=/usr/bin/false
CONFIGURE_ARGS=	--libexecdir=${LOCALBASE}/lib \
		--with-ssl-dir=${OPENSSLBASE} \
		--without-openssl-header-check

PLIST_FILES=	lib/pam_ssh_agent_auth.so \
		man/man8/pam_ssh_agent_auth.8.gz

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_ssh_agent_auth.so

.include <bsd.port.mk>