diff options
Diffstat (limited to 'security/openvpn-auth-oauth2/Makefile')
-rw-r--r-- | security/openvpn-auth-oauth2/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/security/openvpn-auth-oauth2/Makefile b/security/openvpn-auth-oauth2/Makefile new file mode 100644 index 000000000000..c342db717442 --- /dev/null +++ b/security/openvpn-auth-oauth2/Makefile @@ -0,0 +1,27 @@ +PORTNAME= openvpn-auth-oauth2 +DISTVERSIONPREFIX= v +DISTVERSION= 1.23.0 +CATEGORIES= security net net-vpn + +MAINTAINER= otis@FreeBSD.org +COMMENT= Management client for OpenVPN that handles SSO authentication +WWW= https://github.com/jkroepke/openvpn-auth-oauth2 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +EXTRACT_DEPENDS= ${BUILD_DEPENDS} + +USES= go:1.24,modules + +GO_MODULE= github.com/jkroepke/openvpn-auth-oauth2 + +SUB_FILES= openvpn_auth_oauth2 + +do-install: + ${INSTALL_PROGRAM} ${WRKDIR}/bin/openvpn-auth-oauth2 ${STAGEDIR}${PREFIX}/sbin + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/config.example.yaml ${STAGEDIR}${ETCDIR}/openvpn-auth-oauth2.yml.sample + ${INSTALL_SCRIPT} ${WRKDIR}/openvpn_auth_oauth2 ${STAGEDIR}${PREFIX}/etc/rc.d + +.include <bsd.port.mk> |