ports/security/duo_openvpn/files/patch-duo__openvpn.py
Ryan Steinmetz 8db220ac1a
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
2021-05-06 19:12:22 -04:00

12 lines
410 B
Python

--- 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