eeb98c4ce9
duo_unix-1.10.4: - Removed failmode decision from auth endpoint and moved it to only preauth according to standards in our other integrations - Updated Duo Unix to speak up to TLS 1.2 - Support for LibreSSL 2.7.0 and up - Minor memory leak fixes - Output message when user is locked out duo_unix-1.10.3: - Added support for http_proxy with SELinux enabled duo_unix-1.10.2: - Added default failmode values in config files
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2018/09/04 14:43:09 fhajny Exp $
|
|
#
|
|
|
|
DISTNAME= duo_unix-1.10.4
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://dl.duosecurity.com/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.duosecurity.com/
|
|
COMMENT= Duo two-factor authentication for Unix systems
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
GNU_CONFIGURE= yes
|
|
|
|
PKGCONFIG_OVERRIDE+= lib/libduo.pc.in
|
|
|
|
.include "options.mk"
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/duo-unix
|
|
|
|
INSTALLATION_DIRS= share/examples/duo-unix
|
|
|
|
CONF_FILES_PERMS+= share/examples/duo-unix/login_duo.conf \
|
|
${PKG_SYSCONFDIR}/login_duo.conf \
|
|
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0400
|
|
|
|
SPECIAL_PERMS+= sbin/login_duo ${SETUID_ROOT_PERMS}
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_MESSAGE.man= Fixing sysconfdir references
|
|
SUBST_FILES.man= login_duo/login_duo.8 pam_duo/pam_duo.8
|
|
SUBST_SED.man= -e 's,/etc/duo,${PKG_SYSCONFDIR},g'
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|