]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
misc Windows build system changes
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 25 Apr 2007 22:58:21 +0000 (22:58 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 25 Apr 2007 22:58:21 +0000 (22:58 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1875 e7ae566f-a301-0410-adde-c780ea21d3b5

INSTALL
domake-win
install-win32/dosname.pl
install-win32/maketapinstall
install-win32/openvpn.nsi
install-win32/settings.in

diff --git a/INSTALL b/INSTALL
index fa2e066903ab3b5a619d1167a458cc6b3ef353ff..c269ac55277ff4b415535b3d776e34de65b0f1bd 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -267,9 +267,10 @@ TUN/TAP Driver Configuration:
   needs to be manually copied to /kernel/drv/sparcv9/ and then a 
   reconfiguration reboot. (boot -r).
 
-* Windows 2000 and XP
+* Windows 2000/XP/2003/Vista
 
-  See INSTALL-win32.txt for more info
+  See domake-win for building instructions.
+  See INSTALL-win32.txt for usage info.
 
  See the man page for more information, usage examples, and
  information on firewall configuration.
index aa0b9e1eb7509a44ead17a05e30889e9b6442451..ebabac0676f0f085111b720dabd0469436f4f35e 100644 (file)
@@ -2,9 +2,10 @@
 
 # This is the master OpenVPN build script for Windows.
 # This script will build OpenVPN, the TAP driver, and
-# the installer from source.
+# the installer from source, targeting x86 on Windows
+# 2000 and higher, and x64 on Windows 2003 and higher.
 #
-# See top-devel build configuration in install-win32/version.nsi
+# See top-level build configuration in install-win32/settings.in
 #
 # Prerequisite installs:
 #
 # msysDTK   -- for perl
 # NSIS      -- for building installer
 # svn       -- for checking out source code (or TortoiseSVN)
-# Windows Driver Kit Vista RC1 (5600) -- for building TAP driver + tapinstall
+# Windows Driver Kit, Vista RC1 (5600) -- for building TAP driver + tapinstall
+#
+# Required libraries (must be prebuilt)
+#
+# OpenSSL   -- define OPENSSL_DIR in settings.in
+# LZO       -- define LZO_DIR in settings.in
 #
 # Required source code not included in OpenVPN SVN repository
 # because of MS licensing restrictions:
index 5bfa6b92d6c3b8a3c37e7a7725528f83d9636c99..a678e667582244282a488e72f4cefd5e200eb067 100644 (file)
@@ -1,5 +1,7 @@
 #!/usr/bin/perl
 
+# convert a unix filename to a DOS filename
+
 while ($unixname = shift(@ARGV)) {
   $unixname =~ s#^/([a-zA-Z])(/|$)#$1:\\#g;
   $unixname =~ s#/#\\#g;
index 1ebc220f49ffcb6f9d719e0890bbc3a7d3cc1c50..781380ed87ea26109044bfe3d329a2a1fb9aa649 100644 (file)
@@ -22,6 +22,10 @@ if [ -z "$DRVBINSRC" ] ; then
     rm -rf tapinstall
     cp -a "$TISRC" tapinstall
 
+    if [ -e tapinstall/sources.in ]; then
+       perl install-win32/ifdef.pl autodefs/defs.in <tapinstall/sources.in >tapinstall/sources
+    fi
+
     cd tapinstall
     t=`pwd`
     cd ..
index 275cb1969315253d442185849e7f4cfc151eddf9..5cbef9b2e4fd2335bce02f40c6bcfa0b669ff5d6 100755 (executable)
@@ -606,10 +606,12 @@ Section "Uninstall"
 
   RMDir /r $SMPROGRAMS\${PRODUCT_NAME}
 
-  Delete "$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe"
   !ifdef OPENVPN_GUI_DEFINED
     Delete "$INSTDIR\bin\${OPENVPN_GUI}"
+    Delete "$DESKTOP\${PRODUCT_NAME} GUI.lnk"
   !endif
+
+  Delete "$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe"
   Delete "$INSTDIR\bin\${PRODUCT_UNIX_NAME}serv.exe"
   Delete "$INSTDIR\bin\libeay32.dll"
   Delete "$INSTDIR\bin\libssl32.dll"
index f65a756ffa154900d0ce2befc88512aa86d9646a..0840a56873e811cdfb75000975cea5bd34b57daf 100644 (file)
@@ -47,6 +47,9 @@
 ; visible=0x81  hidden=0x89
 !define PRODUCT_TAP_CHARACTERISTICS     0x81
 
+# hide tap warning
+;!define PRODUCT_TAP_HIDE_WARN
+
 # Build debugging version of TAP driver
 ;!define PRODUCT_TAP_DEBUG