diff --git a/security/duo_openvpn/Makefile b/security/duo_openvpn/Makefile index 1d49db9e57c8..c6cb01edce46 100644 --- a/security/duo_openvpn/Makefile +++ b/security/duo_openvpn/Makefile @@ -1,63 +1,62 @@ PORTNAME= duo_openvpn -PORTVERSION= 2.4 -PORTREVISION= 2 +PORTVERSION= 2.5 CATEGORIES= security net-vpn MAINTAINER= zi@FreeBSD.org COMMENT= Duo two-factor authentication for OpenVPN WWW= https://github.com/duosecurity/duo_openvpn LICENSE= GPLv2 RUN_DEPENDS= openvpn>0:security/openvpn USES= gmake shebangfix SHEBANG_FILES= duo_openvpn.pl USE_GITHUB= yes GH_ACCOUNT= duosecurity SUB_FILES= pkg-message OPTIONS_DEFINE= METHOD USERNAME OPTIONS_SINGLE= HELPER OPTIONS_SINGLE_HELPER= PERL PYTHON OPTIONS_DEFAULT=PERL OPTIONS_SUB= yes METHOD_DESC= Force an authentication method (defaults to push, via METHOD) USERNAME_DESC= Force duo to use username variable, instead of common_name METHOD?= push PERL_USES= perl5 PERL_VARS= USE_PERL5=run CFLAGS+=-DUSE_PERL PERL_RUN_DEPENDS= p5-JSON-XS>0:converters/p5-JSON-XS \ p5-libwww>0:www/p5-libwww \ p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \ p5-Digest-HMAC>0:security/p5-Digest-HMAC PYTHON_USES= python:run .include post-patch: ${REINPLACE_CMD} 's|%%SHEBANG%%|${PYTHON_CMD}|' ${WRKSRC}/duo_openvpn.py ${REINPLACE_CMD} 's|PREFIX "|"${DATADIR}|' ${WRKSRC}/duo_openvpn.c .if ${PORT_OPTIONS:MUSERNAME} ${REINPLACE_CMD} 's|common_name|username|' ${WRKSRC}/duo_openvpn.c .endif .if ${PORT_OPTIONS:MMETHOD} ${REINPLACE_CMD} 's|get_env("password", envp);|"${METHOD}";|' ${WRKSRC}/duo_openvpn.c .endif do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_LIB} ${WRKSRC}/duo_openvpn.so ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/ca_certs.pem ${STAGEDIR}${DATADIR} do-install-PERL-on: ${INSTALL_SCRIPT} ${WRKSRC}/duo_openvpn.pl ${STAGEDIR}${DATADIR} do-install-PYTHON-on: ${INSTALL_SCRIPT} ${WRKSRC}/duo_openvpn.py ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/https_wrapper.py ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/six.py ${STAGEDIR}${DATADIR} .include diff --git a/security/duo_openvpn/distinfo b/security/duo_openvpn/distinfo index 5338049be180..89d3e1902f13 100644 --- a/security/duo_openvpn/distinfo +++ b/security/duo_openvpn/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1620320015 -SHA256 (duosecurity-duo_openvpn-2.4_GH0.tar.gz) = a15c2534fb63f8a5b0130e59fc8c6189c2511a49f161fa9dbf415485aa21b962 -SIZE (duosecurity-duo_openvpn-2.4_GH0.tar.gz) = 35768 +TIMESTAMP = 1690906366 +SHA256 (duosecurity-duo_openvpn-2.5_GH0.tar.gz) = ddad07a3c07e5df83720f9ebebb1e478cd794d125959dfe25b1bfb5fc1a9d1d3 +SIZE (duosecurity-duo_openvpn-2.5_GH0.tar.gz) = 37731