diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-05-12 20:31:43 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-05-12 20:31:43 +0000 |
commit | 1bda73a7b0f45a2502ae93e33e30b98152d893f3 (patch) | |
tree | 7bdf8f59ec2c6443a071a0217f78f8a999596030 /install-win32/makeservice | |
parent | Misc XGUI fixes. (diff) | |
download | openvpn-1bda73a7b0f45a2502ae93e33e30b98152d893f3.tar.xz |
Moved branch into official BETA21 position.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2959 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/makeservice')
-rw-r--r-- | install-win32/makeservice | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/install-win32/makeservice b/install-win32/makeservice deleted file mode 100644 index 647e178..0000000 --- a/install-win32/makeservice +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -# get version.nsi definitions -. autodefs/defs.sh - -# build OpenVPN service (openvpnserv.exe) -if [ -d "$SVC_TEMPLATE" ] ; then - # silly vista security theatre - PATCH="/tmp/p.exe" - cp `which patch` $PATCH - - # build service sources - cp $SVC_TEMPLATE/service.[ch] service-win32 - cd service-win32 - cp service.c service.c.orig - cp service.h service.h.orig - $PATCH <service.patch - - # compile/link - [ "$CLEAN" = "yes" ] && make clean - make -j $MAKE_JOBS - cd .. - - # copy service to GENOUT/bin - mkdir $GENOUT/bin &>/dev/null - cp service-win32/${PRODUCT_UNIX_NAME}serv.exe $GENOUT/bin - if [ -z "$NO_STRIP" ]; then - strip $GENOUT/bin/${PRODUCT_UNIX_NAME}serv.exe - fi -else - echo OpenVPN service not built -- template directory $SVC_TEMPLATE NOT FOUND -fi |