From b6fd0ba63091cbf88db399625838cb7feb92576e Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 27 Sep 2023 16:12:09 +0000 Subject: [PATCH] import openvpn-otp, requested & tested by henning, help & ok sthen This plug-in adds support for time-based OTP (totp) and HMAC-based OTP (hotp) tokens for OpenVPN. Compatible with Google Authenticator software tokens and other software- and hardware-based OTP tokens. --- net/openvpn-otp/Makefile | 27 +++++++++++++++++++++++++++ net/openvpn-otp/distinfo | 2 ++ net/openvpn-otp/pkg/DESCR | 3 +++ net/openvpn-otp/pkg/PLIST | 3 +++ 4 files changed, 35 insertions(+) create mode 100644 net/openvpn-otp/Makefile create mode 100644 net/openvpn-otp/distinfo create mode 100644 net/openvpn-otp/pkg/DESCR create mode 100644 net/openvpn-otp/pkg/PLIST diff --git a/net/openvpn-otp/Makefile b/net/openvpn-otp/Makefile new file mode 100644 index 00000000000..055bf2cd22d --- /dev/null +++ b/net/openvpn-otp/Makefile @@ -0,0 +1,27 @@ +COMMENT= OpenVPN OTP Authentication support + +GH_ACCOUNT= evgeny-gridasov +GH_PROJECT= openvpn-otp +GH_COMMIT= 47f8ccf50c0933742847e657c4be9f5ba796c1a4 +DISTNAME= openvpn-otp-1.0pl0 + +CATEGORIES= net + +# GPLv3, parts are Apache 2.0 +PERMIT_PACKAGE= Yes + +SEPARATE_BUILD= Yes + +WANTLIB= crypto +BUILD_DEPENDS= net/openvpn + +CONFIGURE_STYLE= autoreconf +AUTORECONF= ${WRKSRC}/autogen.sh +AUTOCONF_VERSION= 2.71 +AUTOMAKE_VERSION= 1.16 + +LIBTOOL_FLAGS= --tag=disable-static + +DEBUG_PACKAGES= ${BUILD_PACKAGES} + +.include diff --git a/net/openvpn-otp/distinfo b/net/openvpn-otp/distinfo new file mode 100644 index 00000000000..23bad0f923b --- /dev/null +++ b/net/openvpn-otp/distinfo @@ -0,0 +1,2 @@ +SHA256 (openvpn-otp-1.0pl0-47f8ccf5.tar.gz) = QqKQhJCJSuFZMjQqgM+s1oj27Xq4dteh0rmlfrTyzfk= +SIZE (openvpn-otp-1.0pl0-47f8ccf5.tar.gz) = 27703 diff --git a/net/openvpn-otp/pkg/DESCR b/net/openvpn-otp/pkg/DESCR new file mode 100644 index 00000000000..5abc2c77dcc --- /dev/null +++ b/net/openvpn-otp/pkg/DESCR @@ -0,0 +1,3 @@ +This plug-in adds support for time-based OTP (totp) and HMAC-based +OTP (hotp) tokens for OpenVPN. Compatible with Google Authenticator +software tokens and other software- and hardware-based OTP tokens. diff --git a/net/openvpn-otp/pkg/PLIST b/net/openvpn-otp/pkg/PLIST new file mode 100644 index 00000000000..f2975d0e0b3 --- /dev/null +++ b/net/openvpn-otp/pkg/PLIST @@ -0,0 +1,3 @@ +lib/openvpn/ +@comment lib/openvpn/openvpn-otp.la +@so lib/openvpn/openvpn-otp.so