0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 12:02:28 +02:00
openvpn/install-win32/getxgui
James Yonan 5f866d914c Attempt to fix issue where domake-win build system was not properly
signing drivers and .exe files.

Added win/tap_span.py for building multiple versions of the TAP driver
and tapinstall binaries using different DDK versions to span from Win2K
to Win7 and beyond.

Version 2.1.3


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6404 e7ae566f-a301-0410-adde-c780ea21d3b5
2010-08-20 20:24:42 +00:00

29 lines
658 B
Bash

#!/bin/sh
# Get and sign the OpenVPN XML-based GUI
# load version.nsi definitions
. autodefs/defs.sh
if [ -d "$OPENVPN_XGUI_DIR" ]; then
SIGNED_EXES="gui/ovpn-xgui-en.exe sta/ovpn-tray.exe"
UNSIGNED_EXES="xmlserv/ovpn-xmlserv.exe"
EXES="$SIGNED_EXES $UNSIGNED_EXES"
mkdir -p $GENOUT/bin &>/dev/null
if [ -z "$NO_STRIP" ]; then
for f in $EXES; do
cp $OPENVPN_XGUI_DIR/$f $GENOUT/bin
strip $GENOUT/bin/`basename $f`
done
fi
rm -rf $GENOUT/htdocs
cp -a $OPENVPN_XGUI_DIR/ajax/htdocs $GENOUT/htdocs
echo '!define OPENVPN_XGUI_DEFINED' >autodefs/xguidefs.nsi
else
cat /dev/null >autodefs/xguidefs.nsi
fi