]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Version 2.1_rc13 v2.1_rc13
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 8 Oct 2008 04:53:19 +0000 (04:53 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 8 Oct 2008 04:53:19 +0000 (04:53 +0000)
Minor fixes to Windows build scripts.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3417 e7ae566f-a301-0410-adde-c780ea21d3b5

ChangeLog
doclean
domake-win
install-win32/doclean
install-win32/getopenssl
install-win32/maketap
install-win32/maketapinstall
install-win32/openssl/README.txt
install-win32/settings.in
version.m4

index 6f630ff17ef7f80aa9b5eb842616f537d0434c0c..4d99ac7ae53e01c0627be4aca6461c07f83c1a87 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,21 @@ Copyright (C) 2002-2008 OpenVPN Technologies, Inc. <sales@openvpn.net>
 
 $Id$
 
+2008.10.07 -- Version 2.1_rc13
+
+* Bundled OpenSSL 0.9.8i with Windows installer.
+
+* Management interface can now listen on a unix
+  domain socket, for example:
+
+    management /tmp/openvpn unix
+
+  Also added management-client-user and management-client-group
+  directives to control which processes are allowed to connect
+  to the socket.
+
+* Copyright change to OpenVPN Technologies, Inc.
+
 2008.09.23 -- Version 2.1_rc12
 
 * Patched Makefile.am so that the new t_cltsrv-down.sh script becomes
@@ -11,7 +26,7 @@ $Id$
 * Fixed --lladdr bug introduced in 2.1-rc9 where input validation code
   was incorrectly expecting the lladdr parameter to be an IP address
   when it is actually a MAC address (HoverHell).
-       
+
 2008.09.14 -- Version 2.1_rc11
 
 * Fixed a bug that can cause SSL/TLS negotiations in UDP mode
diff --git a/doclean b/doclean
index 63bf5ae4b9cb5ca3a460ee349ff9404c086e7421..d4f815713249bd7662973ab12d3be86d15334830 100755 (executable)
--- a/doclean
+++ b/doclean
@@ -9,6 +9,10 @@
 #        make
 #        make install
 
+if ! [ "$KEEPAUTODEFS" = "yes" ]; then
+    rm -rf autodefs
+fi
+
 rm -f \
     *.o \
     service-win32/*.o \
@@ -49,7 +53,6 @@ rm -rf \
     .deps \
     */.deps \
     windest \
-    autodefs \
     gen \
     tapinstall \
     install-win32/tmp
index 55b02de6a7aa2f95d80027f4da310a79e9ab587e..cc4e982f0d6d7aa1149af88f5042981ef212b5bd 100644 (file)
@@ -28,7 +28,7 @@
 #
 # The following additional prerequisites may be omitted
 # when building in pre-built mode (see note below). 
-
+#
 # svn       -- for checking out source code (or TortoiseSVN)
 # Windows Driver Kit (6001_17121_HyperV_WDK.iso) -- for building
 #    TAP driver + tapinstall
@@ -49,9 +49,6 @@
 #                  Windows Driver Kit (formerly known as DDK).
 #                  Copy the 'devcon' source tree to ../tapinstall
 #                  Edit 'sources' and modify TARGETNAME=tapinstall
-#
-# ../svc-template -- This directory should contain service.[ch]
-#                    from the MS Platform SDK.
 
 # Note that all variables referenced here such as GENOUT,
 # GENOUT_PREBUILT, and CLEAN are defined in install-win32/settings.in
 #   this and use the pre-built version instead.  This would allow you, for
 #   example, to build an OpenVPN installer with custom edits to
 #   install-win32/settings.in, but then avoid needing to build all other
-#   components (such as OpenSSL, LZO, Pkcs11-helper, TAP driver windows
+#   components (such as OpenSSL, LZO, Pkcs11-helper, TAP driver, Windows
 #   service, etc.).  The procedure is as follows. First Download and expand
 #   the pre-built binaries from:
 #
-#     https://secure.openvpn.net/devel/ (choose the most recent -prebuilt .tbz file)
+#     http://openvpn.net/prebuilt/ (choose the most recent -prebuilt .tbz file)
 #
 #   After expanding the .tbz file, cd to the top level directory and
 #   expand an OpenVPN source distribution taken from either the subversion
 #
 #   gen-prebuilt     -> from prebuilt .tbz file
 #   lzo-2.02         -> from prebuilt .tbz file
-#   openssl-0.9.7m   -> from prebuilt .tbz file
+#   openssl-0.9.8i   -> from prebuilt .tbz file
 #   pkcs11-helper    -> from prebuilt .tbz file
-#   openvpn-2.1_rc7a.tar.gz  -> downloaded from openvpn.net
-#   openvpn-2.1_rc7a -> directory expanded from above file
+#   openvpn-2.1_rc13.tar.gz  -> downloaded from openvpn.net
+#   openvpn-2.1_rc13 -> directory expanded from above file
 #
-#   Now cd to your expanded source tree (openvpn-2.1_rc7a in the
+#   Now cd to your expanded source tree (openvpn-2.1_rc13 in the
 #   example above), make edits to install-win32/settings.in (or even
 #   patch the OpenVPN source code directly), and run this script:
 #
@@ -94,8 +91,6 @@
 #   If everything runs correctly, you should have a custom installer
 #   written to ./gen/install
 
-
-
 # First build the autodefs directory, containing C, sh, and NSIS versions
 # of global settings, using install-win32/settings.in as source.
 # These settings will then drive the rest of the build process. 
index c3a5c56e6eae702687e11ff24dd607dff25ea835..3f39543d587483a436d2e7b1e4a92be07a531b9c 100644 (file)
@@ -3,4 +3,4 @@
 # get version.nsi definitions
 . autodefs/defs.sh
 
-[ "$CLEAN" = "yes" ] && rm -rf $GENOUT
+[ "$CLEAN" = "yes" ] && rm -rf $GENOUT && KEEPAUTODEFS="yes" ./doclean
index 8c78f54a51d42de1fad5e2b02566bcabc108071f..b772741649a189f3b8c63cecda5e63ecf2ccf86b 100644 (file)
@@ -10,7 +10,7 @@ if [ -d "$OPENSSL_DIR" ] ; then
     for f in libeay32.dll libssl32.dll out/openssl.exe ; do
        cp $OPENSSL_DIR/$f $GENOUT/lib
         if [ -z "$NO_STRIP" ]; then
-           strip $GENOUT/lib/$f
+           strip $GENOUT/lib/`basename $f`
        fi
     done
     mv $GENOUT/lib/openssl.exe $GENOUT/bin
index 9263f680bd2759c9f1ecad9d21e90352e9771a3f..94ee4d50a4696216b6b5f5d87419c56a6d78a655 100644 (file)
@@ -6,7 +6,7 @@
 # get version.nsi definitions
 . autodefs/defs.sh
 
-if [ -d "/c/WINDDK/$DDKVER" ] ; then
+if [ -n "$DDKVER" ] && [ -d "/c/WINDDK/$DDKVER" ] ; then
 
 # common declarations for all DDK build targets
 . install-win32/ddk-common
index 11cb9153407286e2e4a664f94404d45c9e9d36ff..eae44712d2a0f2b0383fdba82e660179da6d82da 100644 (file)
@@ -8,7 +8,7 @@
 # get version.nsi definitions
 . autodefs/defs.sh
 
-if [ -d "/c/WINDDK/$DDKVER" ] ; then
+if [ -n "$DDKVER" ] && [ -d "/c/WINDDK/$DDKVER" ] ; then
 
 if ! [ -d "$TISRC" ] ; then
     echo "$TISRC" NOT INSTALLED
index cebd6ae9d0dbf1e21a4aa6d53b5c2fb626f9a782..3afb0d4b4d9422a70e54e6b4fdd554f2c6106f7c 100644 (file)
@@ -2,21 +2,20 @@ Rebuild OpenSSL tarball without symbolic links, so
 it can be extracted on Windows (run on Unix):
 
   [download tarball and .asc sig]
-  gpg --verify openssl-0.9.8h.tar.gz.asc
-  tar xfz openssl-0.9.8h.tar.gz
-  rm openssl-0.9.8h.tar.gz
-  tar cfzh openssl-0.9.8h.tar.gz openssl-0.9.8h
+  gpg --verify openssl-0.9.8i.tar.gz.asc
+  tar xfz openssl-0.9.8i.tar.gz
+  tar cfzh openssl-0.9.8i-nolinks.tar.gz openssl-0.9.8i
 
 To apply patch (in MSYS shell):
 
-  cd /c/src/openssl-0.9.8h
+  cd /c/src/openssl-0.9.8i
   patch -p1 <../21/install-win32/openssl/openssl098.patch
 
 To build OpenSSL, open a command prompt window, then:
 
-  cd \src\openssl-0.9.8h
+  cd \src\openssl-0.9.8i
   ms\mw
 
 To build a new patch (optional):
 
-  diff -urw openssl-0.9.8h.orig openssl-0.9.8h | grep -v '^Only in' >openssl098.patch
+  diff -urw openssl-0.9.8i.orig openssl-0.9.8i | grep -v '^Only in' >openssl098.patch
index 0e232267549f050ba2e0e4dc4265876de9b1210d..f946ba9cf09b3f179ab7d3187c56b8ddcf45d9b7 100644 (file)
 ;!define OPENVPN_XGUI_DIR "../ovpnxml"
 
 # Prebuilt libraries.  DMALLOC is optional.
-!define OPENSSL_DIR      "../openssl-0.9.8h"
+!define OPENSSL_DIR      "../openssl-0.9.8i"
 !define LZO_DIR                  "../lzo-2.02"
 !define PKCS11_HELPER_DIR "../pkcs11-helper"
-!define DMALLOC_DIR      "../dmalloc-5.4.2"
+;!define DMALLOC_DIR     "../dmalloc-5.4.2"
 
 # Optional directory of prebuilt OpenVPN binary components,
 # to be used as a source when build-from-scratch prerequisites
@@ -33,7 +33,8 @@
 !define GENOUT_PREBUILT  "../gen-prebuilt"
 
 # tapinstall.exe source code.
-# Not needed if DRVBINSRC is defined.
+# Not needed if DRVBINSRC is defined
+# (or if using pre-built mode).
 !define TISRC  "../tapinstall"
 
 # TAP Adapter parameters.  Note that PRODUCT_TAP_ID is
@@ -44,7 +45,7 @@
 !define PRODUCT_TAP_MINOR_VER           4
 !define PRODUCT_TAP_RELDATE             "01/22/2008"
 
-; visible=0x81  hidden=0x89
+# TAP adapter icon -- visible=0x81 or hidden=0x89
 !define PRODUCT_TAP_CHARACTERISTICS     0x81
 
 # Build debugging version of TAP driver
index 4aba952bb34af58d15dae15e73839f96274506b4..05f55d098e37fbe8309e04f86dff5df481c9d841 100644 (file)
@@ -1,5 +1,5 @@
 dnl define the OpenVPN version
-define(PRODUCT_VERSION,[2.1_rc12a])
+define(PRODUCT_VERSION,[2.1_rc13])
 dnl define the TAP version
 define(PRODUCT_TAP_ID,[tap0901])
 define(PRODUCT_TAP_WIN32_MIN_MAJOR,[9])