freebsd-ports/security/duo/Makefile

41 lines
1 KiB
Makefile
Raw Normal View History

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
PORTNAME= duo
2020-09-12 15:23:03 +02:00
PORTVERSION= 1.11.4
CATEGORIES= security
MASTER_SITES= https://dl.duosecurity.com/ \
2017-08-01 19:07:58 +02:00
ZI
DISTNAME= ${PORTNAME}_unix-${PORTVERSION}
MAINTAINER= zi@FreeBSD.org
COMMENT= Duo unix integration package
LICENSE= GPLv2
CONFIGURE_ARGS= --with-pam=${PREFIX}/lib/security --sysconfdir=${PREFIX}/etc \
2013-09-03 00:06:57 +02:00
--docdir=${DOCSDIR} --includedir=${PREFIX}/include/${PORTNAME}
GNU_CONFIGURE= yes
2016-08-19 01:27:12 +02:00
USES= libtool pathfix ssl
USE_LDCONFIG= yes
2015-01-15 10:05:37 +01:00
SUB_FILES= pkg-message
2019-10-29 23:15:11 +01:00
SUID_DESC= Install login_duo with suid bit set
OPTIONS_DEFINE= DOCS SUID
OPTIONS_SUB= yes
post-patch:
2017-05-04 01:05:56 +02:00
${REINPLACE_CMD} -e 's| /etc| ${PREFIX}/etc|g' \
${WRKSRC}/pam_duo/pam_duo.8 \
${WRKSRC}/login_duo/login_duo.8
post-install:
2014-04-28 13:45:45 +02:00
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/security/pam_duo.so
${INSTALL_DATA} ${WRKSRC}/login_duo/login_duo.conf \
2017-05-04 01:05:56 +02:00
${STAGEDIR}${PREFIX}/etc/login_duo.conf.sample
${INSTALL_DATA} ${WRKSRC}/pam_duo/pam_duo.conf \
2017-05-04 01:05:56 +02:00
${STAGEDIR}${PREFIX}/etc/pam_duo.conf.sample
.include <bsd.port.mk>