openbsd-ports/sysutils/login_duo/Makefile
jturner cd0d907121 Update login_duo to 1.9.12.
Changelog:
Include https_timeout configuration parameter
IPv6 support on systems that have getaddrinfo
2014-10-01 02:19:23 +00:00

41 lines
953 B
Makefile

# $OpenBSD: Makefile,v 1.3 2014/10/01 02:19:23 jturner Exp $
COMMENT = two-factor authentication for unix systems
V = 1.9.12
PKGNAME = login_duo-${V}
DISTNAME = duo_unix-${V}
CATEGORIES = sysutils
SHARED_LIBS = duo 0.0 # 3.0
MAINTAINER = James Turner <james@calminferno.net>
HOMEPAGE = https://www.duosecurity.com/docs/duounix
MASTER_SITES = https://dl.duosecurity.com/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
WANTLIB = c crypto ssl
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --without-pam
FAKE_FLAGS = docdir="${PREFIX}/share/doc/login_duo" \
sbindir="${PREFIX}/libexec/auth" \
sysconfdir="${PREFIX}/share/examples/login_duo"
# login_duo needs to be set up and running for tests to pass
TEST_IS_INTERACTIVE = Yes
TEST_DEPENDS = ${MODPY_RUN_DEPENDS}
pre-configure:
${SUBST_CMD} ${WRKSRC}/login_duo/login_duo.8
perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' ${WRKSRC}/tests/*.py
.include <bsd.port.mk>