summaryrefslogtreecommitdiff
path: root/security/duo_openvpn/files/patch-duo__openvpn.py
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2021-05-06 19:12:22 -0400
committerRyan Steinmetz <zi@FreeBSD.org>2021-05-06 19:12:22 -0400
commit8db220ac1a80b30f99cecdfd222a6b1254c4b00e (patch)
tree41ba269fcd4bae89f70df9fd9cd0ea8d2659a84e /security/duo_openvpn/files/patch-duo__openvpn.py
parentNew port: net-im/tdlib: Library for building Telegram clients (diff)
New port: security/duo_openvpn:
Duo provides simple two-factor authentication as a service via: 1. Phone callback 2. SMS-delivered one-time passcodes 3. Duo mobile app to generate one-time passcodes 4. Duo mobile app for smartphone push authentication 5. Duo hardware token to generate one-time passcodes Duo two-factor authentication for OpenVPN WWW: https://github.com/duosecurity/duo_openvpn
Diffstat (limited to 'security/duo_openvpn/files/patch-duo__openvpn.py')
-rw-r--r--security/duo_openvpn/files/patch-duo__openvpn.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/duo_openvpn/files/patch-duo__openvpn.py b/security/duo_openvpn/files/patch-duo__openvpn.py
new file mode 100644
index 000000000000..f1872659cf27
--- /dev/null
+++ b/security/duo_openvpn/files/patch-duo__openvpn.py
@@ -0,0 +1,12 @@
+--- duo_openvpn.py.orig 2021-05-06 18:37:22 UTC
++++ duo_openvpn.py
+@@ -1,8 +1,4 @@
+-#!/bin/sh
+-''''which python3 >/dev/null 2>&1 && exec python3 "$0" "$@" # '''
+-''''which python >/dev/null 2>&1 && exec python "$0" "$@" # '''
+-''''which python2 >/dev/null 2>&1 && exec python2 "$0" "$@" # '''
+-''''exec echo "Error: No python module found in system"# '''
++#!%%SHEBANG%%
+ #
+ # duo_openvpn.py
+ # Duo OpenVPN