xref: /mports/security/duo/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	duo
2PORTVERSION=	2.2.3
3CATEGORIES=	security
4MASTER_SITES=	https://dl.duosecurity.com/ \
5		ZI
6DISTNAME=	${PORTNAME}_unix-${PORTVERSION}
7
8MAINTAINER=	ports@MidnightBSD.org
9COMMENT=	Duo unix integration package
10WWW=		https://duosecurity.com
11
12LICENSE=	gpl2
13
14CONFIGURE_ARGS=	--with-pam=${PREFIX}/lib/security --sysconfdir=${PREFIX}/etc \
15		--docdir=${DOCSDIR} --includedir=${PREFIX}/include/${PORTNAME}
16CONFIGURE_TARGET=	${ARCH}-portbld-freebsd12.4
17GNU_CONFIGURE=	yes
18USES=		libtool pathfix ssl
19USE_LDCONFIG=	yes
20
21SUB_FILES=	pkg-message
22
23SUID_DESC=	Install login_duo with suid bit set
24OPTIONS_DEFINE=	DOCS SUID
25OPTIONS_SUB=	yes
26
27post-patch:
28	${REINPLACE_CMD} -e 's| /etc| ${PREFIX}/etc|g' \
29		${WRKSRC}/pam_duo/pam_duo.8 \
30		${WRKSRC}/login_duo/login_duo.8
31
32post-install:
33	@${STRIP_CMD} ${PREFIX}/lib/security/pam_duo.so
34	${INSTALL_DATA} ${WRKSRC}/login_duo/login_duo.conf \
35		${PREFIX}/etc/login_duo.conf.sample
36	${INSTALL_DATA} ${WRKSRC}/pam_duo/pam_duo.conf \
37		${PREFIX}/etc/pam_duo.conf.sample
38
39.include <bsd.port.mk>
40

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026