mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-09-20 12:02:28 +02:00
b27dc04c36
Improved the ability of http-auth "auto" flag to dynamically detect the auth method required by the proxy. Added http-auth "auto-nct" flag to reject weak proxy auth methods. Added HTTP proxy digest authentication method. Removed extraneous openvpn_sleep calls from proxy.c. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5628 e7ae566f-a301-0410-adde-c780ea21d3b5
23 lines
575 B
Python
23 lines
575 B
Python
import os, sys
|
|
from wb import system, config, home_fn, cd_home
|
|
|
|
os.environ['PATH'] += ";%s\\VC" % (os.path.normpath(config['MSVC']),)
|
|
|
|
def build_vc(cmd):
|
|
system('cmd /c "vcvarsall.bat x86 && %s"' % (cmd,))
|
|
|
|
def main():
|
|
cd_home()
|
|
build_vc("nmake /f %s" % (home_fn('msvc.mak'),))
|
|
|
|
def clean():
|
|
cd_home()
|
|
build_vc("nmake /f %s clean" % (home_fn('msvc.mak'),))
|
|
|
|
# if we are run directly, and not loaded as a module
|
|
if __name__ == "__main__":
|
|
if len(sys.argv) == 2 and sys.argv[1] == 'clean':
|
|
clean()
|
|
else:
|
|
main()
|