Lev Stipakov
92a62169d4
build win: read certain params from env
...
Required for Jenkins multibrach pipeline build.
OVPN3-99
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2017-12-22 17:59:38 +08:00
Lev Stipakov
8ae2a3f7cf
Integrate Google Test framework
...
Implemented sample test for LogInfo class.
OVPN3-27
2017-09-27 16:16:18 +08:00
Lev Stipakov
67c49897a1
Visual Studio 2015 solution and project files
...
This requires following environment variables defined:
OVPN3_BUILD - path where dependencies are build (BUILD in parms.py)
OVPN3_CORE - path where ovpn3-core was checked out (OVPN3 in parms.py)
OVPN3_TAP_WINDOWS - path where tap-windows was checked out (TAP in parms.py)
OVPN3-18
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2017-08-02 17:00:31 +03:00
Lev Stipakov
3213c48e77
Support for local build settings
...
Local settings are added to parms_local.py.
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2017-08-01 17:16:06 +03:00
Lev Stipakov
b3ec01bb65
Support for gpl version of mbedtls
...
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2017-08-01 17:15:58 +03:00
Lev Stipakov
903abc868e
Support for zipballs
...
Since GitHub offers to download repo as zipball, it makes sense to support it along with tarball.
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2017-08-01 12:58:26 +03:00
James Yonan
da99df6949
Windows: added /DUSE_ASIO to build script.
...
Because Asio use is now optional, USE_ASIO must be
explicitly defined by Windows build script.
2017-04-03 15:21:23 -06:00
James Yonan
0b1be12135
windows : updated build system to latest dependencies,
...
including mbedTLS 2.4.
2017-03-18 12:24:54 -06:00
James Yonan
c2131bc009
Windows : updated vcvarsall.patch for Visual Studio 2015.
...
vcvarsall.patch updates the Visual Studio vcvarsall.bat
file to understand new x86_xp target.
2016-04-05 12:57:15 -06:00
James Yonan
ac4b5734ba
ovpn3 windows : updated PolarSSL to mbedtls-1.3.16
2016-03-28 14:06:15 -06:00
James Yonan
df4c095ebe
Minor changes to Windows build scripts due to reorganization
...
of asio and lz4 dependencies which are now based on github
snapshots.
2015-12-29 00:07:22 -07:00
James Yonan
eca7f36565
In Windows build scripts, updated dependency versions:
...
asio-20151228
mbedtls-1.3.15
lz4-20150629
2015-12-29 00:05:20 -07:00
James Yonan
c1a86d4e35
Show full wiped base path in expand() method in
...
win/utils.py.
2015-12-29 00:03:36 -07:00
James Yonan
18d01a1f55
In Windows build script (win/build.py), added a flag for
...
building OpenVPN Connect.
2015-11-10 23:10:00 -07:00
James Yonan
2a3a73bfe1
Windows build system changes:
...
* Support static linking via "STATIC" parm.
* New methods in utils.py: rm, rm_obj, vc_parms, zipdir.
2015-11-03 13:11:16 -07:00
James Yonan
f162a5b491
Windows: added WFP-based packet filter to prevent DNS leaks
...
when tunnel is active.
Based on ValdikSS's C patch for OpenVPN 2.x:
3bd4d503d2
2015-11-02 20:19:04 -07:00
James Yonan
64087b88e5
In win/utils.py, changed wipetree() signature to:
...
wipetree(dir, wipe=True)
where wipetree always recreates the directory
but the actual wiping is optional.
2015-11-01 15:05:53 -07:00
James Yonan
8cacebfd7a
Modularize Windows build system to make it easier for external
...
scripts to drive it.
2015-11-01 00:46:55 -06:00
James Yonan
5c76a94bf2
Moved deps/win to win for ease of reference.
2015-10-30 20:06:49 -06:00
James Yonan
9373f515ee
Cleaned up top-level directory by moving vars-* and dependency
...
build scripts to vars and deps.
2014-08-27 16:40:34 -06:00
James Yonan
46035eff57
Windows build system config changes:
...
* Update TAP driver source path to point to NDIS 6 version.
* By default, build community version that binds to "tap0901"
instance of TAP driver.
2014-04-04 10:02:33 -06:00
James Yonan
3c28461021
Windows build script changes:
...
* Raised minimum deployment target to Vista (from XP).
* Added shell32.lib and ole32.lib to link path to
accommodate calls to SHGetKnownFolderPath.
2014-02-20 17:27:55 -07:00
James Yonan
b84b48fb75
Ported to Windows.
...
Implemented full TunClient class for Windows with TAP driver
support. For now, we use netsh (rather than TAP driver DHCP)
to set all tunnel adapter properties, as this appears to work
great on Windows 7.
IPv6 is fully supported.
Known isues:
* netsh doesn't have a command for adding DNS search domains, so
we don't support them yet.
* While we always try to remove routes and added properties from
TAP adapter instance when we close out the session, for robustness,
when we bring up TAP adapter, we should try to delete any stale
routes on interface left over from previous session.
* Right now we call netsh with system(). For security and
compatibility with Windows apps (not only console apps),
we should use CreateProcess instead.
2014-02-16 01:13:26 -07:00
James Yonan
11be089e3c
Updated build system:
...
* Support VS 2013
To build cli.exe:
1. Edit parms.py
2. Build dependencies (OpenSSL, Boost):
$ python $O3/win/buildep.py
3. Build cli:
$ cd $O3/dist
$ python $O3/win/build.py
2014-02-08 00:13:24 -07:00
James Yonan
3c99b8976b
C++ core fixes for Windows.
2012-04-21 04:47:30 +00:00
James Yonan
98b159a35a
Added Windows build script
2012-01-27 08:06:44 +00:00
James Yonan
d9e8a028c8
Ported core to Windows except for TAP driver support.
2012-01-25 08:32:27 +00:00
James Yonan
b457ec9d18
Windows build system now builds OpenSSL and Boost.
2012-01-24 23:05:44 +00:00