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

2012-03-18 Thread Athanasios Douitsis
On Sat, Mar 17, 2012 at 10:43 PM, Alon Bar-Lev wrote: > On Sat, Mar 17, 2012 at 3:20 PM, Athanasios Douitsis > wrote: > > Indeed, now working for me too with those values. Thanks! > > > > Maybe add that command to the README file? > > I already did after you asked the question... :) > > > Also, t

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

2012-03-17 Thread Alon Bar-Lev
On Sat, Mar 17, 2012 at 3:20 PM, Athanasios Douitsis wrote: > Indeed, now working for me too with those values. Thanks! > > Maybe add that command to the README file? I already did after you asked the question... :) > Also, the gentoo-derived script should be yielding these values > automaticall

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

2012-03-17 Thread Athanasios Douitsis
Indeed, now working for me too with those values. Thanks! Maybe add that command to the README file? Also, the gentoo-derived script should be yielding these values automatically, right? Because when I issue a plain ./build I suspect that it does not. So the build breaks very early in the process

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

2012-03-16 Thread Alon Bar-Lev
Checked again, and working. On Fri, Mar 16, 2012 at 7:43 PM, Alon Bar-Lev wrote: > It should be: > > CHOST=i686-w64-mingw32 CBUILD=i686-pc-cygwin > > On Fri, Mar 16, 2012 at 7:25 PM, Athanasios Douitsis > wrote: >> I have installed cygwin just two days ago. And I issue: >> >> CHOST=i686-pc-ming

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

2012-03-16 Thread Alon Bar-Lev
It should be: CHOST=i686-w64-mingw32 CBUILD=i686-pc-cygwin On Fri, Mar 16, 2012 at 7:25 PM, Athanasios Douitsis wrote: > I have installed cygwin just two days ago. And I issue: > > CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu ./build > > > > > On Fri, Mar 16, 2012 at 7:05 PM, Alon Bar-Lev wro

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

2012-03-16 Thread Athanasios Douitsis
I have installed cygwin just two days ago. And I issue: CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu ./build On Fri, Mar 16, 2012 at 7:05 PM, Alon Bar-Lev wrote: > Which toolchain do you use? > It looks like you are trying to use an old toolchain... > > On Fri, Mar 16, 2012 at 6:51 PM, Atha

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

2012-03-16 Thread Alon Bar-Lev
Which toolchain do you use? It looks like you are trying to use an old toolchain... On Fri, Mar 16, 2012 at 6:51 PM, Athanasios Douitsis wrote: > Hi everyone, > > Just to give an update, compilation on Alon's generic/ fails when it tries > to compile openvpn with messages like: > > In file includ

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

2012-03-16 Thread Athanasios Douitsis
Hi everyone, Just to give an update, compilation on Alon's generic/ fails when it tries to compile openvpn with messages like: In file included from base64.c:40:0: syshead.h:345:22: fatal error: ntddndis.h: No such file or directory etc. ntddndis.h can be found in several places i.e. /usr/includ

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

2012-03-14 Thread Alon Bar-Lev
Next step is for you to create an installer :) Use the windows-nsis scripts. On Thu, Mar 15, 2012 at 1:37 AM, Athanasios Douitsis wrote: > > > On Thu, Mar 15, 2012 at 1:19 AM, Alon Bar-Lev wrote: >> >> On Thu, Mar 15, 2012 at 1:05 AM, Athanasios Douitsis >> wrote: >> > I was just thinking loudl

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

2012-03-14 Thread Athanasios Douitsis
On Thu, Mar 15, 2012 at 1:19 AM, Alon Bar-Lev wrote: > On Thu, Mar 15, 2012 at 1:05 AM, Athanasios Douitsis > wrote: > > I was just thinking loudly, definitely not asking for someone to write it > > and replace the existing build process(es). Having said that, I'd like to > > clarify that what I

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

2012-03-14 Thread Alon Bar-Lev
On Thu, Mar 15, 2012 at 1:05 AM, Athanasios Douitsis wrote: > I was just thinking loudly, definitely not asking for someone to write it > and replace the existing build process(es). Having said that, I'd like to > clarify that what I meant is this would not be an additional dependency on > top of

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

2012-03-14 Thread Athanasios Douitsis
On Thu, Mar 15, 2012 at 12:54 AM, Alon Bar-Lev wrote: > On Thu, Mar 15, 2012 at 12:47 AM, Athanasios Douitsis > wrote: > > For starters, in generic/ you may want to add a -L in the CURLOPTS to > make > > it follow the 302's from github. > > > > I'll continue in the following days and let you know

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

2012-03-14 Thread Alon Bar-Lev
On Thu, Mar 15, 2012 at 12:47 AM, Athanasios Douitsis wrote: > For starters, in generic/ you may want to add a -L in the CURLOPTS to make > it follow the 302's from github. > > I'll continue in the following days and let you know how it goes. > Thanks. But please try to use wget... it may solve t

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

2012-03-14 Thread Athanasios Douitsis
For starters, in generic/ you may want to add a -L in the CURLOPTS to make it follow the 302's from github. I'll continue in the following days and let you know how it goes. BTW, to do the MSVC build I installed Strawberry Perl, which I think is the best option when one wants Perl on windows. N

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

2012-03-14 Thread Alon Bar-Lev
But I am more interested to see you succeed mingw configuration. Under cygwin: $ git clone https://github.com/alonbl/openvpn-build.git $ cd openvpn-build/generic $ ./build Refer to README for packages required. Alon. On Wed, Mar 14, 2012 at 7:10 PM, Alon Bar-Lev wrote: > I converted it using

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

2012-03-14 Thread Alon Bar-Lev
I converted it using the VCExpress. On Wed, Mar 14, 2012 at 7:01 PM, Athanasios Douitsis wrote: > Right, works, at least for me. I managed to get an openvpn binary. > > May I ask, how did you convert the previous sln file with VC express 2010? > Or it was already compatible with VC2010? > > On We

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

2012-03-14 Thread Athanasios Douitsis
Right, works, at least for me. I managed to get an openvpn binary. May I ask, how did you convert the previous sln file with VC express 2010? Or it was already compatible with VC2010? On Wed, Mar 14, 2012 at 5:13 PM, Athanasios Douitsis wrote: > Alon, > > Thank you very much for the very quick r

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

2012-03-14 Thread Athanasios Douitsis
Alon, Thank you very much for the very quick response, sooner or later I'll let you know how it goes. Kind Regards, Athanasios On Wed, Mar 14, 2012 at 5:09 PM, Athanasios Douitsis wrote: > Oh crapI've just uninstalled VC2010 from my builder :) :) :) > > > 2012/3/14 Alon Bar-Lev > >> Thanks

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

2012-03-14 Thread Athanasios Douitsis
Oh crapI've just uninstalled VC2010 from my builder :) :) :) 2012/3/14 Alon Bar-Lev > Thanks. > > In the mean time I upgraded the VC support for 2010 (and above? hopefully). > > Athanasios, you may try again. > > Alon. > > 2012/3/14 Samuli Seppänen > > > > Il 14.03.2012 11:13, Alon Bar-Lev

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

2012-03-14 Thread Alon Bar-Lev
Thanks. In the mean time I upgraded the VC support for 2010 (and above? hopefully). Athanasios, you may try again. Alon. 2012/3/14 Samuli Seppänen > > Il 14.03.2012 11:13, Alon Bar-Lev ha scritto: > > On Wed, Mar 14, 2012 at 11:10 AM, David Sommerseth > > wrote: > >> -BEGIN PGP SIGNED MES

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

2012-03-14 Thread Samuli Seppänen
Il 14.03.2012 11:13, Alon Bar-Lev ha scritto: > On Wed, Mar 14, 2012 at 11:10 AM, David Sommerseth > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 14/03/12 09:33, Alon Bar-Lev wrote: >>> As the mingw build is the formal build, there is no reason to keep >>> supporting old vis

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

2012-03-14 Thread Alon Bar-Lev
On Wed, Mar 14, 2012 at 11:10 AM, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 14/03/12 09:33, Alon Bar-Lev wrote: >> As the mingw build is the formal build, there is no reason to keep >> supporting old visual studio configurations. > > That's debatable.  James

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

2012-03-14 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/03/12 09:33, Alon Bar-Lev wrote: > As the mingw build is the formal build, there is no reason to keep > supporting old visual studio configurations. That's debatable. James Yonan is using MSVC for the OpenVPN AS client, and has indicated that

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

2012-03-14 Thread Alon Bar-Lev
Hello, After recent discussion about the MSVC build, I found out that Microsoft had changed the project format [again]. So question: which visual studio to support 2008 or 2010. The advantage at 2010 is that the express version is available freely and that it is most recent. It also uses the ne

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

2012-03-06 Thread Alon Bar-Lev
Forgot to mention... I've updated the wiki page[1] Samuli started... [1] https://community.openvpn.net/openvpn/wiki/BuildingUsingGenericBuildsystem

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

2012-02-29 Thread Alon Bar-Lev
On Wed, Feb 29, 2012 at 7:38 PM, Alon Bar-Lev wrote: >> However, I'm not terrified of 52 patches to the mailing list.  That's >> definitely doable. > > OK. Well, I sent, not sure all is OK, as I don't see it in archive and some were rejected because of size. At the end of review, please pull fro

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

2012-02-29 Thread Alon Bar-Lev
On Wed, Feb 29, 2012 at 7:31 PM, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 28/02/12 22:31, Alon Bar-Lev wrote: >> Hello, >> >> I think I finished. David, tell me if you want me to send the patches >> to the list. I think these are way too long. > > Great!  Th

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

2012-02-29 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/02/12 22:31, Alon Bar-Lev wrote: > Hello, > > I think I finished. David, tell me if you want me to send the patches > to the list. I think these are way too long. Great! Thank you very much for digging deep into this. I must admit, I didn't e

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

2012-02-28 Thread Alon Bar-Lev
Hello, I think I finished. David, tell me if you want me to send the patches to the list. I think these are way too long. I will be happy if people can test this. Modified OpenVPN repository[1], build system re-write + cleanups. Build automation repository[2], provides cross compile, msvc and co

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

2012-02-27 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/02/12 09:57, Samuli Seppänen wrote: > >> On Fri, Feb 24, 2012 at 9:33 AM, Adriaan de Jong >> wrote: I did not add the UI stuff, I think there should be a discussion why these are embedded. >>> One of the few pieces criticism we

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

2012-02-27 Thread Samuli Seppänen
> On Fri, Feb 24, 2012 at 9:33 AM, Adriaan de Jong wrote: >>> I did not add the UI stuff, I think there should be a discussion why >>> these are embedded. >>> >> One of the few pieces criticism we got about the OpenVPN-NL release was the >> fact that we didn't bundle the GUI. End-users expect an

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

2012-02-25 Thread Alon Bar-Lev
On Fri, Feb 24, 2012 at 9:33 AM, Adriaan de Jong wrote: >> I did not add the UI stuff, I think there should be a discussion why >> these are embedded. >> > > One of the few pieces criticism we got about the OpenVPN-NL release was the > fact that we didn't bundle the GUI. End-users expect an all-i

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

2012-02-24 Thread Adriaan de Jong
> -Original Message- > From: Alon Bar-Lev [mailto:alon.bar...@gmail.com] > Sent: donderdag 23 februari 2012 21:20 > > Hello Again, > > Now the openvpn-build supports creating nsis installation package, > including singing. Output package is at[1]. > > Notice that all process is done on L

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

2012-02-23 Thread Alon Bar-Lev
Hello Again, Now the openvpn-build supports creating nsis installation package, including singing. Output package is at[1]. Notice that all process is done on Linux, Windows is not need to create the package! The process: 1. Create binaries using openvpn-build/generic. 2. Create tarball for easy

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

2012-02-23 Thread Samuli Seppänen
> Hello All, > > I've reached 2nd milestone in rewrite the build system. > > So far: > 1. autotools cleaned up >=autoconf-2.59, >=automake-1.9, >=libtool-1.5 > (not for cross compile) > 2. build working for gcc/mingw. > 3. build is working for MSVC using msbuild. > 4. build script for cross compil

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

2012-02-23 Thread Alon Bar-Lev
Hello All, I've reached 2nd milestone in rewrite the build system. So far: 1. autotools cleaned up >=autoconf-2.59, >=automake-1.9, >=libtool-1.5 (not for cross compile) 2. build working for gcc/mingw. 3. build is working for MSVC using msbuild. 4. build script for cross compilers. 5. build scrip

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 executed by build system as bui

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) Receiving

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

2012-02-21 Thread Alon Bar-Lev
Hello Frank, Can you please try the recent branch head? It should solve this issue as it turns out that for some strange reason your environment autoreconf using wrote: > Hello Frank, > > Thank you for testing. > > Can you please try to download my tarball[1] and not autoreconf at your > machine

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

2012-02-21 Thread Alon Bar-Lev
On Tue, Feb 21, 2012 at 1:52 PM, Frank de Brabander wrote: > The pkg-config website says it runs on OS X, so that shouldn't be the issue. > > But if pkg-config is required for the new build process, shouldn't > configure test for a valid version of pkg-config early on? Now it > either fails at the

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

2012-02-21 Thread Samuli Seppänen
Il 21.02.2012 13:46, Alon Bar-Lev ha scritto: > On Tue, Feb 21, 2012 at 1:39 PM, Adriaan de Jong wrote: >> Does pkgconfig work/exist across many platforms, or is it a dependency that >> might hurt us on for example Mac OS, Windows or *BSD? The reason why I ask >> is that an argument against othe

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

2012-02-21 Thread Frank de Brabander
The pkg-config website says it runs on OS X, so that shouldn't be the issue. But if pkg-config is required for the new build process, shouldn't configure test for a valid version of pkg-config early on? Now it either fails at the pkcs11 part of ./configure or with linking errors with openssl (if P

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

2012-02-21 Thread Alon Bar-Lev
On Tue, Feb 21, 2012 at 1:39 PM, Adriaan de Jong wrote: > Does pkgconfig work/exist across many platforms, or is it a dependency that > might hurt us on for example Mac OS, Windows or *BSD? The reason why I ask is > that an argument against other systems such as scons and cmake was that they >

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

2012-02-21 Thread Alon Bar-Lev
On Tue, Feb 21, 2012 at 1:32 PM, Frank de Brabander wrote: > When I try to build like this, it seems to fail at linking to openssl > (OS X Lion). > > ./configure PKG_CONFIG=true > make > mekboek:openvpn-2.x-master brabander$ ls /usr/lib/libcrypto.* > /usr/lib/libssl.* > /usr/lib/libcrypto.0.9.7.d

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

2012-02-21 Thread Adriaan de Jong
> -Original Message- > From: Alon Bar-Lev [mailto:alon.bar...@gmail.com] > Sent: dinsdag 21 februari 2012 11:53 > > Well, most cases a package management system builds the package. > It explicitly enables/disable features, so we are fine with package > management systems. > Now for manual

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

2012-02-21 Thread Alon Bar-Lev
Hello, On Tue, Feb 21, 2012 at 12:30 PM, Adriaan de Jong wrote: > Hi Alon, > > It's great to see a lot of work on the build system. Working with the old > system was often a pain, I hope the new system gives some more control and > especially flexibility to packagers. Still, I have a few commen

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

2012-02-21 Thread Adriaan de Jong
> -Original Message- > From: Alon Bar-Lev [mailto:alon.bar...@gmail.com] > Sent: dinsdag 21 februari 2012 10:02 > > Oh, and I forgot. > Most optional dependencies are now disabled by default. > You should explicitly enable lzo with --enable-lzo > Hi Alon, It's great to see a lot of work

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

2012-02-21 Thread Alon Bar-Lev
This stage is complete working (linux) build system. It would be great if you test it. There may be some incompatibilities, as I removed a lot of unneeded lines. Please note the configure parameter changes. 2012/2/21 Samuli Seppänen : > Alon: how complete is the new buildsystem? I could put it to

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

2012-02-21 Thread Samuli Seppänen
Alon: how complete is the new buildsystem? I could put it to test using our buildbot farm and see if/how it breaks. Samuli > Oh, and I forgot. > Most optional dependencies are now disabled by default. > You should explicitly enable lzo with --enable-lzo > > > On Tue, Feb 21, 2012 at 11:01 AM, Alo

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

2012-02-21 Thread Alon Bar-Lev
Oh, and I forgot. Most optional dependencies are now disabled by default. You should explicitly enable lzo with --enable-lzo On Tue, Feb 21, 2012 at 11:01 AM, Alon Bar-Lev wrote: > Hi! > > Will there are no more --with-*-headers configure options, as they are > none standard. > This tarball uses

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

2012-02-21 Thread Alon Bar-Lev
Hi! Will there are no more --with-*-headers configure options, as they are none standard. This tarball uses pkgconfig (if possible) to detect dependencies. Don't you have pkg-config package on your system? Can you please send me config.log? In order to bypass pkgconfig you may add the following t

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

2012-02-21 Thread Frank de Brabander
Ok, this tarball works! But now I get the following ( with ./configure --with-lzo-headers=/opt/local/include --with-lzo-lib=/opt/local/lib ): checking for lzo1x_1_15_compress in -llzo... no checking for PKCS11_HELPER... no configure: error: in `/Users/brabander/Documents/Fox/openvpn_src/openvpn

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

2012-02-21 Thread Alon Bar-Lev
Hello Frank, Thank you for testing. Can you please try to download my tarball[1] and not autoreconf at your machine? I think your autotools are waaay to old. And... can you please send me: # autoconf --version # aclocal --version # automake --version # libtool --version Alon [1] https://github

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

2012-02-21 Thread Frank de Brabander
I did a quick test on OS X (Lion) and the build fails. mekboek:openvpn_src brabander$ git clone --branch build https://github.com/alonbl/openvpn.git openvpn_alonbl mekboek:openvpn_src brabander$ cd openvpn_alonbl/ mekboek:openvpn_alonbl brabander$ autoreconf -i -v autoreconf: Entering directory `.

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

2012-02-21 Thread Alon Bar-Lev
As asked by David Sommerseth, I am sending the series to the list for review. This is a lot to review, please don't ACK just for the sake of ACK. The mission, as I understood, is to cleanup the project build system and reduce source complexity. This process touches all sources and reached only to