Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
For all who cannot build and have access to Windows machine. Please run binary[1] and send output. [1] https://github.com/downloads/alonbl/openvpn/timebench.exe On Wed, Feb 22, 2012 at 6:12 PM, Alon Bar-Lev wrote: > Hello all, > > There is an abnormality in the openvpn

Re: [Openvpn-devel] [RFC] openssl minimum supported version

2012-02-22 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/12 17:46, David Sommerseth wrote: > On 22/02/12 17:13, Alon Bar-Lev wrote: >> Dear project managers. I need a decision regarding the minimum >> supported openssl. > > I'd say we support these libraries and tools as the oldest supported: >

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/12 17:40, Alon Bar-Lev wrote: > On Wed, Feb 22, 2012 at 6:37 PM, David Sommerseth > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 22/02/12 17:27, Heiko Hund wrote: >>> On Wednesday 22

Re: [Openvpn-devel] [RFC] openssl minimum supported version

2012-02-22 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/12 17:13, Alon Bar-Lev wrote: > Dear project managers. I need a decision regarding the minimum > supported openssl. I'd say we support these libraries and tools as the oldest supported: > =autoconf-2.59 =automake-1.9 =libtool-1.5.22

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
On Wed, Feb 22, 2012 at 6:37 PM, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 22/02/12 17:27, Heiko Hund wrote: >> On Wednesday 22 February 2012 16:12:24 Alon Bar-Lev wrote: >>> In windows there is own implementation of

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/12 17:27, Heiko Hund wrote: > On Wednesday 22 February 2012 16:12:24 Alon Bar-Lev wrote: >> In windows there is own implementation of gettimeofday(). In the >> past there was no gettimeofday(), so we used performance counters, >> then James

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
On Wed, Feb 22, 2012 at 6:27 PM, Heiko Hund wrote: > Since there's no gettimeofday() in MSVC this will break building with the > python build system. Not sure if we're in the process of getting rid of it, > which I would welcome, so this is just for additional information.

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Heiko Hund
On Wednesday 22 February 2012 16:12:24 Alon Bar-Lev wrote: > In windows there is own implementation of gettimeofday(). > In the past there was no gettimeofday(), so we used performance counters, > then James optimize it to reduce CPU consumption. > > Unlike in the past, mingw does provide this

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Jan Just Keijser
Hi Alon, Alon Bar-Lev wrote: Hello all, There is an abnormality in the openvpn sources I want to resolve. In windows there is own implementation of gettimeofday(). In the past there was no gettimeofday(), so we used performance counters, then James optimize it to reduce CPU consumption.

Re: [Openvpn-devel] [RFC] openssl minimum supported version

2012-02-22 Thread Alon Bar-Lev
Dear project managers. I need a decision regarding the minimum supported openssl.

[Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
Hello all, There is an abnormality in the openvpn sources I want to resolve. In windows there is own implementation of gettimeofday(). In the past there was no gettimeofday(), so we used performance counters, then James optimize it to reduce CPU consumption. Unlike in the past, mingw does

Re: [Openvpn-devel] OpenVPN 2.3-alpha1 preview 1 installer now available

2012-02-22 Thread Samuli Seppänen
Hi Jonathan, This does not really address the issue you're having, but could you try if using Alon's new buildsystem helps: You need to copy the "generic" directory to OpenVPN source directory, cd to it and do a ./build. There's some additional info

Re: [Openvpn-devel] OpenVPN 2.3-alpha1 preview 1 installer now available

2012-02-22 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/12 14:47, Jonathan K. Bullard wrote: > 2012/2/21 Samuli Seppänen >> A preview of OpenVPN 2.3-alpha1 installer for Windows is now >> available here: >> >>

Re: [Openvpn-devel] OpenVPN 2.3-alpha1 preview 1 installer now available

2012-02-22 Thread Jonathan K. Bullard
2012/2/21 Samuli Seppänen > A preview of OpenVPN 2.3-alpha1 installer for Windows is now available > here: > > I realize that this post was aimed at Windows, but building on OS X 10.6.8

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Alon Bar-Lev
On Wed, Feb 22, 2012 at 12:36 PM, Heiko Hund wrote: > On Wednesday 22 February 2012 10:32:23 Alon Bar-Lev wrote: >> On Wed, Feb 22, 2012 at 12:27 PM, Heiko Hund wrote: >> > I was cross compiling for Windows previously doing something very >> >

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Heiko Hund
On Wednesday 22 February 2012 10:32:23 Alon Bar-Lev wrote: > On Wed, Feb 22, 2012 at 12:27 PM, Heiko Hund wrote: > > I was cross compiling for Windows previously doing something very > > standard > > like `./configure --host=i686-w64-mingw32 ...` followed by `make`. What >

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Alon Bar-Lev
BTW: cross compile support was added by me to OpenVPN long time ago. It is just that I've done the minimum required changes back-then. I needed this for OpenSC users, to be able to compile OpenSC and OpenVPN with the same version of OpenSSL. On Wed, Feb 22, 2012 at 12:32 PM, Alon Bar-Lev

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Alon Bar-Lev
On Wed, Feb 22, 2012 at 12:27 PM, Heiko Hund wrote: > I was cross compiling for Windows previously doing something very standard > like `./configure --host=i686-w64-mingw32 ...` followed by `make`. What the > rationale behind moving away from this way? This is exactly what

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Heiko Hund
On Wednesday 22 February 2012 00:12:25 Alon Bar-Lev wrote: > BEST METHOD - Compile on Linux > > This is a generic method, it can cross compile OpenVPN using any > toolchain to any environment. > For Windows, make sure you have mingw-w64 toolchain. > We are using nsis so we can also package files

[Openvpn-devel] Cross-compiled Windows binaries (32/64bit) available for testing

2012-02-22 Thread Samuli Seppänen
Hi all, Thanks to Alon Bar-Lev we now have a buildsystem that also allows, among other things, cross-compiling Windows binaries on *NIX platforms. I built two sets of binaries for testing purposes and they seemed to work just fine on both Windows XP (32-bit) and Windows 7 (64-bit). However, more

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Alon Bar-Lev
2012/2/22 Samuli Seppänen : > I used this method to cross-compile for Windows (32-bit and 64-bit) on > Ubuntu 11.10 amd64. I replaced the "bin" directory of an existing > openvpn-2.3-alpha1 installation with the results on a 32-bit WinXP box > and it seemed work ok. Thank you

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Gert Doering
Hi, On Wed, Feb 22, 2012 at 10:57:43AM +0200, Alon Bar-Lev wrote: > > On Wed, Feb 22, 2012 at 10:04:51AM +0200, Samuli Seppänen wrote: > >> > While you at it, please try to explain me why we need Visual Studio > >> > build... :) [..] > > We have Visual Studio because James was afraid that mingw

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Samuli Seppänen
>> . >> Build is here[1] >> >> BEST METHOD - Compile on Linux >> >> This is a generic method, it can cross compile OpenVPN using any >> toolchain to any environment. >> For Windows, make sure you have mingw-w64 toolchain. >> We are using nsis so we can also package files at Linux. >> >> $ cd

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Alon Bar-Lev
2012/2/22 Gert Doering : > Hi, > > On Wed, Feb 22, 2012 at 10:04:51AM +0200, Samuli Seppänen wrote: >> > While you at it, please try to explain me why we need Visual Studio >> > build... :) >> I guess for building the TAP-driver. > > No, that one builds fine with the msys

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Gert Doering
Hi, On Wed, Feb 22, 2012 at 10:04:51AM +0200, Samuli Seppänen wrote: > > While you at it, please try to explain me why we need Visual Studio > > build... :) > I guess for building the TAP-driver. No, that one builds fine with the msys build environment and the windows ddk. We have Visual

Re: [Openvpn-devel] [build] Windows build test

2012-02-22 Thread Samuli Seppänen
Hi Alon, > Hello people who actually use Windows! > > I will appreciate if you test my new windows build environment for OpenVPN. I'll test this today. > You have many options, I guess all are needed. > > While you at it, please try to explain me why we need Visual Studio build... > :) I guess

Re: [Openvpn-devel] [PATCH 00/35] build revolution

2012-02-22 Thread Alon Bar-Lev
On Wed, Feb 22, 2012 at 9:16 AM, Frank de Brabander wrote: > make & make check both run OK, but is it normal that make check > doesn't do anything anymore? Is make check worked for you? OpenVPN tests need manual configuration and run as root. Manual tests cannot be

Re: [Openvpn-devel] [PATCH 00/35] build revolution

2012-02-22 Thread Frank de Brabander
dhcp-091:openvpn_src brabander$ git clone --branch build https://github.com/alonbl/openvpn.git openvpn_alonbl Cloning into openvpn_alonbl... remote: Counting objects: 7257, done. remote: Compressing objects: 100% (1499/1499), done. remote: Total 7257 (delta 5860), reused 7106 (delta 5709)