Browse code

Added cross-compilation information INSTALL-win32.txt

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: 1359101540-976-3-git-send-email-samuli@openvpn.net
URL: http://article.gmane.org/gmane.network.openvpn.devel/7295
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 168780d0df95a37b652e133483c722aefa40cb80)

Samuli Seppänen authored on 2013/01/25 17:12:18
Showing 1 changed files
... ...
@@ -46,3 +46,32 @@ the lower-right corner of the screen. Right click on the
46 46
 system tray icon, and a menu should appear showing the names
47 47
 of your OpenVPN configuration files, and giving you the
48 48
 option to connect.
49
+
50
+BUILDING OPENVPN FOR WINDOWS
51
+
52
+Official OpenVPN Windows releases are cross-compiled on Linux using the
53
+openvpn-build buildsystem:
54
+
55
+    https://community.openvpn.net/openvpn/wiki/BuildingUsingGenericBuildsystem
56
+
57
+First setup the build environment as shown in the above article. Then fetch the
58
+openvpn-build repository:
59
+
60
+    git clone https://github.com/OpenVPN/openvpn-build.git
61
+
62
+Review the build configuration:
63
+
64
+    openvpn-build/generic/build.vars
65
+    openvpn-build/windows-nsis/build-complete.vars
66
+
67
+Build (unsigned):
68
+
69
+    cd openvpn-build/windows-nsis
70
+    ./build-complete
71
+
72
+Build (signed):
73
+
74
+    cd openvpn-build/windows-nsis
75
+    ./build-complete --sign --sign-pkcs12=<pkcs12-file>\
76
+    --sign-pkcs12-pass=<pkcs12-file-password> \
77
+    --sign-timestamp="<timestamp-url>"