Browse code

VERSION 2.1_rc5

Updated ChangeLog.

Cleaned up start menu shortcuts in the Windows
installer.

Make sure that the uninstaller deletes SAMPCONF
files.

Minor uninstaller fixes to prevent files from
being left behind after uninstall.

Updated Windows notes.


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

james authored on 2008/01/24 06:08:22
Showing 5 changed files
... ...
@@ -3,6 +3,79 @@ Copyright (C) 2002-2005 OpenVPN Solutions LLC <info@openvpn.net>
3 3
 
4 4
 $Id$
5 5
 
6
+2008.01.23 -- Version 2.1_rc5
7
+
8
+* Fixed Win2K TAP driver bug that was introduced by Vista fixes,
9
+  incremented driver version to 9.4.
10
+
11
+* Windows build system changes:
12
+
13
+  Incremented included OpenSSL version to openssl-0.9.7m.
14
+
15
+  Updated openssl.patch for openssl-0.9.7m and added some
16
+  brief usage comments to the head of the patch.
17
+
18
+  Added build-pkcs11-helper.sh for building the pkcs11-helper
19
+  library.
20
+
21
+  Integrated inclusion of pkcs11-helper into Windows build
22
+  system.
23
+
24
+  Upgraded TAP build scripts to use WDK 6001.17121
25
+  (Windows 2008 Server pre-RTM).
26
+
27
+* Windows installer changes:
28
+
29
+  Clean up the start menu folder.
30
+
31
+  Allow for a site-specific sample configuration file and keys
32
+  to be included in a custom installer (see SAMPCONF macros
33
+  in settings.in). 
34
+
35
+  New icon (temporary).
36
+
37
+* Added "forget-passwords" command to the management interface
38
+  (Alon Bar-Lev).
39
+
40
+* Added --management-signal option to signal SIGUSR1 when the
41
+  management interface disconnects (Alon Bar-Lev).
42
+
43
+* Modified command line and config file parser to allow
44
+  quoted strings using single quotes ('') (Alon Bar-Lev).
45
+
46
+* Use pkcs11-helper as external library, can be downloaded from
47
+  https://www.opensc-project.org/pkcs11-helper (Alon Bar-Lev).
48
+
49
+* Fixed interim memory growth issue in TCP connect loop where
50
+  "TCP: connect to %s failed, will try again in %d seconds: %s"
51
+  is output.
52
+
53
+* Fixed bug in epoll driver in event.c, where the lack of a
54
+  handler for EPOLLHUP could cause 99% CPU usage.
55
+
56
+* Defined ALLOW_NON_CBC_CIPHERS for people who don't
57
+  want to use a CBC cipher for OpenVPN's data channel.
58
+
59
+* Added PLUGIN_LIBDIR preprocessor string to prepend a default
60
+  plugin directory to the dlopen search list when the user
61
+  specifies the basename of the plugin only (Marius Tomaschewski).
62
+
63
+* Rewrote extract_x509_field and modified COMMON_NAME_CHAR_CLASS
64
+  to allow forward slash characters ("/") in the X509 common name
65
+  (Pavel Shramov).
66
+
67
+* Allow OpenVPN to run completely unprivileged under Linux
68
+  by allowing openvpn --mktun to be used with --user and --group
69
+  to set the UID/GID of the tun device node.  Also added --iproute
70
+  option to allow an alternative command to be executed in place
71
+  of the default iproute2 command (Alon Bar-Lev).
72
+
73
+* Fixed --disable-iproute2 in ./configure to actually disable
74
+  iproute2 usage (Alon Bar-Lev).
75
+
76
+* Added --management-forget-disconnect option -- forget
77
+  passwords when management session disconnects (Alon Bar-Lev).
78
+	
6 79
 2007.04.25 -- Version 2.1_rc4
7 80
 
8 81
 * Worked out remaining issues with TAP driver signing
... ...
@@ -1,17 +1,19 @@
1
-OpenVPN 2.1 Client Quickstart for Windows
1
+IMPORTANT NOTE FOR VISTA USERS
2
+
3
+Note that on Windows Vista, you will need to run the OpenVPN
4
+GUI with administrator privileges, so that it can add routes
5
+to the routing table that are pulled from the OpenVPN server.
6
+You can do this by right-clicking on the OpenVPN GUI
7
+desktop icon, and selecting "Run as administrator".
8
+
9
+GENERAL QUICKSTART FOR WINDOWS
2 10
 
3 11
 The OpenVPN Client requires a configuration file
4 12
 and key/certificate files.  You should obtain
5 13
 these and save them to \Program Files\OpenVPN\config.
6 14
 
7 15
 To start OpenVPN, first run the OpenVPN GUI by double
8
-clicking the desktop icon.  Note that on Windows Vista,
9
-you will probably need to run the OpenVPN GUI with
10
-administrator privileges, so that it can add routes to
11
-the routing table that are pulled from the OpenVPN server.
12
-You can do this by right clicking on the OpenVPN GUI
13
-desktop icon, and selecting "Run as administrator".
16
+clicking on the desktop icon or start menu icon.
14 17
 
15 18
 The OpenVPN GUI is a system-tray applet, so an icon for the
16 19
 GUI will appear in the lower-right corner of the screen.
... ...
@@ -189,6 +189,10 @@ Function .onInit
189 189
     Abort
190 190
   ok:
191 191
 
192
+# Delete previous start menu
193
+  RMDir /r $SMPROGRAMS\${PRODUCT_NAME}
194
+
195
+# Check windows version
192 196
   Call GetWindowsVersion
193 197
   Pop $1
194 198
   StrCmp $1 "2000" goodwinver
... ...
@@ -392,10 +396,11 @@ Section "Add Shortcuts to Start Menu" SecAddShortcuts
392 392
 
393 393
   SetOverwrite on
394 394
   CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}"
395
-  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} Windows Notes.url" "InternetShortcut" "URL" "http://openvpn.net/INSTALL-win32.html"
396
-  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} Manual Page.url" "InternetShortcut" "URL" "http://openvpn.net/man.html"
397
-  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} HOWTO.url" "InternetShortcut" "URL" "http://openvpn.net/howto.html"
398
-  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} Web Site.url" "InternetShortcut" "URL" "http://openvpn.net/"
395
+  CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}\Documentation"
396
+  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\Documentation\${PRODUCT_NAME} Windows Notes.url" "InternetShortcut" "URL" "http://openvpn.net/INSTALL-win32.html"
397
+  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\Documentation\${PRODUCT_NAME} Manual Page.url" "InternetShortcut" "URL" "http://openvpn.net/man.html"
398
+  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\Documentation\${PRODUCT_NAME} HOWTO.url" "InternetShortcut" "URL" "http://openvpn.net/howto.html"
399
+  WriteINIStr "$SMPROGRAMS\${PRODUCT_NAME}\Documentation\${PRODUCT_NAME} Web Site.url" "InternetShortcut" "URL" "http://openvpn.net/"
399 400
   CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall ${PRODUCT_NAME}.lnk" "$INSTDIR\Uninstall.exe"
400 401
 
401 402
 SectionEnd
... ...
@@ -497,19 +502,19 @@ Section -post
497 497
   File "${HOME}\images\${PRODUCT_ICON}"
498 498
 
499 499
   ; store sample config files
500
-!ifdef SAMPCONF_DIR
501
-  SetOverwrite on
502
-  SetOutPath "$INSTDIR\config"
503
-!ifdef SAMPCONF_CONF
504
-  File "${HOME}\..\${SAMPCONF_DIR}\${SAMPCONF_CONF}"
505
-!endif
506
-!ifdef SAMPCONF_P12
507
-  File "${HOME}\..\${SAMPCONF_DIR}\${SAMPCONF_P12}"
508
-!endif
509
-!ifdef SAMPCONF_TA
510
-  File "${HOME}\..\${SAMPCONF_DIR}\${SAMPCONF_TA}"
511
-!endif
512
-!endif
500
+  !ifdef SAMPCONF_DIR
501
+    SetOverwrite on
502
+    SetOutPath "$INSTDIR\config"
503
+  !ifdef SAMPCONF_CONF
504
+    File "${HOME}\..\${SAMPCONF_DIR}\${SAMPCONF_CONF}"
505
+  !endif
506
+  !ifdef SAMPCONF_P12
507
+    File "${HOME}\..\${SAMPCONF_DIR}\${SAMPCONF_P12}"
508
+  !endif
509
+  !ifdef SAMPCONF_TA
510
+    File "${HOME}\..\${SAMPCONF_DIR}\${SAMPCONF_TA}"
511
+  !endif
512
+  !endif
513 513
 
514 514
   ; Create file association if requested
515 515
   SectionGetFlags ${SecFileAssociation} $R0
... ...
@@ -523,8 +528,12 @@ Section -post
523 523
     WriteRegStr HKCR "${PRODUCT_NAME}File\shell\run" "" "Start ${PRODUCT_NAME} on this config file"
524 524
     WriteRegStr HKCR "${PRODUCT_NAME}File\shell\run\command" "" '"$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe" --pause-exit --config "%1"'
525 525
 
526
-    ; Create start menu and desktop shortcuts to OpenVPN GUI
526
+  ; Create start menu folders
527 527
  noass:
528
+  CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}\Utilities"
529
+  CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}\Shortcuts"
530
+
531
+    ; Create start menu and desktop shortcuts to OpenVPN GUI
528 532
   !ifdef OPENVPN_GUI_DEFINED
529 533
     IfFileExists "$INSTDIR\bin\${OPENVPN_GUI}" "" tryaddtap
530 534
       CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} GUI.lnk" "$INSTDIR\bin\${OPENVPN_GUI}" ""
... ...
@@ -534,29 +543,29 @@ Section -post
534 534
     ; Create start menu shortcuts to addtap.bat and deltapall.bat
535 535
  tryaddtap:
536 536
     IfFileExists "$INSTDIR\bin\addtap.bat" "" trydeltap
537
-      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Add a new TAP-Win32 virtual ethernet adapter.lnk" "$INSTDIR\bin\addtap.bat" ""
537
+      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Utilities\Add a new TAP-Win32 virtual ethernet adapter.lnk" "$INSTDIR\bin\addtap.bat" ""
538 538
 
539 539
  trydeltap:
540 540
     IfFileExists "$INSTDIR\bin\deltapall.bat" "" config_shortcut
541
-      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Delete ALL TAP-Win32 virtual ethernet adapters.lnk" "$INSTDIR\bin\deltapall.bat" ""
541
+      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Utilities\Delete ALL TAP-Win32 virtual ethernet adapters.lnk" "$INSTDIR\bin\deltapall.bat" ""
542 542
 
543 543
     ; Create start menu shortcuts for config and log directories
544 544
  config_shortcut:
545 545
     IfFileExists "$INSTDIR\config" "" log_shortcut
546
-      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} configuration file directory.lnk" "$INSTDIR\config" ""
546
+      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Shortcuts\${PRODUCT_NAME} configuration file directory.lnk" "$INSTDIR\config" ""
547 547
 
548 548
  log_shortcut:
549 549
     IfFileExists "$INSTDIR\log" "" samp_shortcut
550
-      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} log file directory.lnk" "$INSTDIR\log" ""
550
+      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Shortcuts\${PRODUCT_NAME} log file directory.lnk" "$INSTDIR\log" ""
551 551
 
552 552
  samp_shortcut:
553 553
     IfFileExists "$INSTDIR\sample-config" "" genkey_shortcut
554
-      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} Sample Configuration Files.lnk" "$INSTDIR\sample-config" ""
554
+      CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Shortcuts\${PRODUCT_NAME} Sample Configuration Files.lnk" "$INSTDIR\sample-config" ""
555 555
 
556 556
  genkey_shortcut:
557 557
     IfFileExists "$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe" "" noshortcuts
558 558
       IfFileExists "$INSTDIR\config" "" noshortcuts
559
-        CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Generate a static ${PRODUCT_NAME} key.lnk" "$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe" '--pause-exit --verb 3 --genkey --secret "$INSTDIR\config\key.txt"' "$INSTDIR\${PRODUCT_ICON}" 0
559
+        CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Utilities\Generate a static ${PRODUCT_NAME} key.lnk" "$INSTDIR\bin\${PRODUCT_UNIX_NAME}.exe" '--pause-exit --verb 3 --genkey --secret "$INSTDIR\config\key.txt"' "$INSTDIR\${PRODUCT_ICON}" 0
560 560
 
561 561
  noshortcuts:
562 562
   ; Create uninstaller
... ...
@@ -626,6 +635,19 @@ Section "Uninstall"
626 626
 
627 627
   RMDir /r $SMPROGRAMS\${PRODUCT_NAME}
628 628
 
629
+  ; delete sample config files
630
+  !ifdef SAMPCONF_DIR
631
+  !ifdef SAMPCONF_CONF
632
+    Delete "$INSTDIR\config\${SAMPCONF_CONF}"
633
+  !endif
634
+  !ifdef SAMPCONF_P12
635
+    Delete "$INSTDIR\config\${SAMPCONF_P12}"
636
+  !endif
637
+  !ifdef SAMPCONF_TA
638
+    Delete "$INSTDIR\config\${SAMPCONF_TA}"
639
+  !endif
640
+  !endif
641
+
629 642
   !ifdef OPENVPN_GUI_DEFINED
630 643
     Delete "$INSTDIR\bin\${OPENVPN_GUI}"
631 644
     Delete "$DESKTOP\${PRODUCT_NAME} GUI.lnk"
... ...
@@ -674,9 +696,11 @@ Section "Uninstall"
674 674
   Delete "$INSTDIR\sample-config\*.${PRODUCT_FILE_EXT}"
675 675
 
676 676
   RMDir "$INSTDIR\bin"
677
+  RMDir "$INSTDIR\config"
677 678
   RMDir "$INSTDIR\driver"
678 679
   RMDir "$INSTDIR\easy-rsa"
679 680
   RMDir "$INSTDIR\sample-config"
681
+  RMDir /r "$INSTDIR\log"
680 682
   RMDir "$INSTDIR"
681 683
 
682 684
   !insertmacro DelRegKeyIfUnchanged HKCR ".${SERV_CONFIG_EXT}" "${PRODUCT_NAME}File"
... ...
@@ -75,13 +75,13 @@
75 75
 !define MAKE_CLEAN "yes"
76 76
 
77 77
 ; DEBUGGING -- set to something like "-DBG2"
78
-!define OUTFILE_LABEL "-T4"
78
+!define OUTFILE_LABEL ""
79 79
 
80 80
 ; DEBUGGING -- set to something like "DEBUG2"
81
-!define TITLE_LABEL "TEST4"
81
+!define TITLE_LABEL ""
82 82
 
83 83
 # include a sample configuration file and key
84
-!define SAMPCONF_DIR   "test-key"
85
-!define SAMPCONF_CONF  "test.ovpn"
86
-!define SAMPCONF_P12   "test.p12"
87
-!define SAMPCONF_TA    "ta.key"
84
+;!define SAMPCONF_DIR   "test-key"
85
+;!define SAMPCONF_CONF  "test.ovpn"
86
+;!define SAMPCONF_P12   "test.p12"
87
+;!define SAMPCONF_TA    "ta.key"
... ...
@@ -1,2 +1,2 @@
1 1
 dnl define the OpenVPN version
2
-define(PRODUCT_VERSION,[2.1_rc4a])
2
+define(PRODUCT_VERSION,[2.1_rc5])