Re: [Openvpn-devel] [PATCH] mask out X_OK when calling WIN32 API _waccess()

2012-02-21 Thread Gert Doering
Hi, On Tue, Feb 21, 2012 at 05:44:13PM +, Heiko Hund wrote: > This reverts commit 4ebc587e. Instead of defining X_OK 0 for MSVC, > this undefined mode value is now simply masked out close to where > it causes the trouble; in the call to _waccess() as suggested > during the discussion on the de

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

2012-02-21 Thread Gert Doering
Hi, On Tue, Feb 21, 2012 at 09:20:50PM +0200, Samuli Seppänen wrote: > Also, ecrist publishes source tarballs every couple of weeks already... > couldn't these old autotools users use those and still get failrly > recent OpenVPN versions on their boxes? Exactly. You need autotools if you want to

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] [RFC] openssl minimum supported version

2012-02-21 Thread Gert Doering
Hi, On Tue, Feb 21, 2012 at 04:56:37PM +0100, David Sommerseth wrote: > There might be similar restrictions related to autoconf/automake tools > too. As James has some automation for the Access Server builds for those > supported platforms, we must be sure we don't break that for him. From > wha

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

2012-02-21 Thread Gert Doering
Hi, On Tue, Feb 21, 2012 at 05:15:22PM +0200, Alon Bar-Lev wrote: > OpenVPN supports minimum openssl version of 0.9.6, while this version > is unsupported by upstream and probably a security risk. > > What would be a suitable minimum version to support? > > I think that 0.9.8 is the one. FreeBS

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

2012-02-21 Thread Alon Bar-Lev
2012/2/21 Samuli Seppänen : > I would be inclined to focus on cutting down complexity as much as > possible. I think the best way to gauge real need for old autotools is > to scrap support for it. We can always fix things afterwards, if > necessary. I can ask James' opinion if he does not step in s

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

2012-02-21 Thread Samuli Seppänen
> On Tue, Feb 21, 2012 at 7:51 PM, David Sommerseth > wrote: >>> No there is none. Unlike other dependencies autotools dependencies are >>> of development machine. You should create tarball on newer machine >>> then compile it on the target platform. Target platform may not have >>> autotools ins

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

2012-02-21 Thread Alon Bar-Lev
On Tue, Feb 21, 2012 at 7:51 PM, David Sommerseth wrote: >> No there is none. Unlike other dependencies autotools dependencies are >> of development machine. You should create tarball on newer machine >> then compile it on the target platform. Target platform may not have >> autotools installed at

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

2012-02-21 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/02/12 17:12, Alon Bar-Lev wrote: > On Tue, Feb 21, 2012 at 5:56 PM, David Sommerseth > wrote: >> There might be similar restrictions related to autoconf/automake >> tools too. As James has some automation for the Access Server >> builds for th

[Openvpn-devel] [PATCH] mask out X_OK when calling WIN32 API _waccess()

2012-02-21 Thread Heiko Hund
This reverts commit 4ebc587e. Instead of defining X_OK 0 for MSVC, this undefined mode value is now simply masked out close to where it causes the trouble; in the call to _waccess() as suggested during the discussion on the development mailing list: http://thread.gmane.org/gmane.network.openvpn.dev

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

2012-02-21 Thread Alon Bar-Lev
On Tue, Feb 21, 2012 at 5:56 PM, David Sommerseth wrote: > There might be similar restrictions related to autoconf/automake tools > too.  As James has some automation for the Access Server builds for those > supported platforms, we must be sure we don't break that for him.  From > what I see, on a

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

2012-02-21 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/02/12 16:15, Alon Bar-Lev wrote: > Hello, > > OpenVPN supports minimum openssl version of 0.9.6, while this version > is unsupported by upstream and probably a security risk. > > What would be a suitable minimum version to support? > > I thin

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

2012-02-21 Thread g . esp
- Mail original - > De: "Alon Bar-Lev" > À: "openvpn-devel@lists.sourceforge.net" > Envoyé: Mardi 21 Février 2012 16:15:22 > Objet: [Openvpn-devel] [RFC] openssl minimum supported version > > Hello, > > OpenVPN supports minimum openssl version of 0.9.6, while this version > is unsupport

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

2012-02-21 Thread Jan Just Keijser
Alon Bar-Lev wrote: > Hello, > > OpenVPN supports minimum openssl version of 0.9.6, while this version > is unsupported by upstream and probably a security risk. > > What would be a suitable minimum version to support? > > I think that 0.9.8 is the one. > EL5 and most SuSE distro's still use 0.

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

2012-02-21 Thread Alon Bar-Lev
Hello, OpenVPN supports minimum openssl version of 0.9.6, while this version is unsupported by upstream and probably a security risk. What would be a suitable minimum version to support? I think that 0.9.8 is the one. Regards, Alon.

Re: [Openvpn-devel] [PATCH] remove wrapper code for Windows CryptoAPI function

2012-02-21 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/08/11 17:53, Heiko Hund wrote: > The CryptoAPI function CryptAcquireCertificatePrivateKey() was > previously unsupported in MinGW. With recent w32api headers it's now > defined, mostly. Since the code used to load the CryptoAPI DLL is > prone to

Re: [Openvpn-devel] [PATCH] fix warnings in event.c when building for win32-64

2012-02-21 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/08/11 14:12, Heiko Hund wrote: > When compiling for 64-bit Windows gcc warns about > > "cast from pointer to integer of different size" > > on two occasions in file event.c, due to invalid casting. This patch > removes the type casts and uses t

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

2012-02-21 Thread Samuli Seppänen
Hi all, A preview of OpenVPN 2.3-alpha1 installer for Windows is now available here: It's essentially the same as the to-be 2.3-alpha1, except that - the installer is not signed - the new OpenVPN-GUI is not s

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] windows: do not use X_OK as it is unsupported

2012-02-21 Thread Samuli Seppänen
> On Tue, Feb 21, 2012 at 12:39 AM, David Sommerseth > wrote: >> But remember that all your patches *will* go through review as for >> everyone else in the community. That means either *1)* patch reviews on >> the mailing list, or *2)* reviewed through a sprint review in a >> developers meeting

Re: [Openvpn-devel] [DEVELOPER REQUESTED] Repackage TAP-Win32

2012-02-21 Thread Samuli Seppänen
> 2012/2/20 Samuli Seppänen >>> Here are the tasks to perform: >>> 1. Create a GIT repository of the master TAP-Win32 sources with all >>> history, to ease our work, please use github. >> Any thoughts of this anyone? Personally, I don't care where the source >> code lives. It seems[1] that GitHub

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 33/35] build: proper crypto detection and usage

2012-02-21 Thread Adriaan de Jong
I need to delve into this one a little further once I have time. At first glance, a minor nack: OpenSSL 0.9.6 isn't supported anymore, so the autoconf statement and any >= 0.9.7 statements can go. Adriaan > -Original Message- > From: Alon Bar-Lev [mailto:alon.bar...@gmail.com] > Sent: d

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 `.

Re: [Openvpn-devel] [PATCH 02/35] cleanup: crypto_openssl.c: remove support for pre-openssl-0.9.6

2012-02-21 Thread Adriaan de Jong
Ack, I'll be glad to be rid of some of this cruft. Adriaan > -Original Message- > From: Alon Bar-Lev [mailto:alon.bar...@gmail.com] > Sent: dinsdag 21 februari 2012 2:22 > To: openvpn-devel@lists.sourceforge.net > Cc: Alon Bar-Lev > Subject: [Openvpn-devel] [PATCH 02/35] cleanup: crypto_o

[Openvpn-devel] [PATCH 23/35] build: standard directory layout

2012-02-21 Thread Alon Bar-Lev
Too big for mailing list... Suitable for mature project. root - administrative stuff doc- documents src- sources tests - tests distro - distro specific files sample - samples Signed-off-by: Alon Bar-Lev On Tue, Feb 21, 2012 at 3:25 AM, wrote: > Your mail to 'Openvpn-devel' with th

[Openvpn-devel] [PATCH 35/35] build: move out config.h include from syshead

2012-02-21 Thread Alon Bar-Lev
Yet another step in reducing the syshead.h content. Conditional compilation of sources needs to be based on a minimum program prefix (config.h only). Signed-off-by: Alon Bar-Lev --- src/openvpn/base64.c |6 ++ src/openvpn/buffer.c |6 ++ src/openvpn/cli

[Openvpn-devel] [PATCH 34/35] build: win-msvc: msbuild format

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- .gitignore| 10 +- Makefile.am | 10 +- build/Makefile.am |2 + build/msvc/Makefile.am| 15 + build/msvc/msvc-generate/Makefile.am

[Openvpn-devel] [PATCH 33/35] build: proper crypto detection and usage

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac | 224 ++--- doc/doxygen/doc_data_crypto.h |2 +- include/openvpn-plugin.h | 31 -- src/openvpn/Makefile.am |2 + src/openvpn/crypto.c | 10 +- s

[Openvpn-devel] [PATCH 32/35] build: proper lzo detection and usage

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac | 101 - doc/doxygen/doc_compression.h |2 +- src/openvpn/Makefile.am |2 + src/openvpn/forward.c |4 +- src/openvpn/init.c| 14 +++--- src/openvpn/lzo.c

[Openvpn-devel] [PATCH 31/35] build: properly process lzo-stub

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac | 12 +++- src/openvpn/lzo.c | 20 ++-- src/openvpn/lzo.h | 20 ++-- src/openvpn/ssl.c |2 +- src/openvpn/syshead.h | 12 5 files changed, 28 insertions(+), 38 delet

[Openvpn-devel] [PATCH 30/35] build: proper pkcs11-helper detection and usage

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac| 48 -- src/openvpn/Makefile.am |4 +++ src/openvpn/ssl.c |2 +- src/openvpn/syshead.h |7 -- 4 files changed, 22 insertions(+), 39 deletions(-) diff --git a/configure.

[Openvpn-devel] [PATCH 28/35] build: autoconf: minor cleanups

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac | 145 +- 1 files changed, 72 insertions(+), 73 deletions(-) diff --git a/configure.ac b/configure.ac index d18e2b0..8bc23cc 100644 --- a/configure.ac +++ b/configure.ac @@ -386,6 +386,16 @@ AC

[Openvpn-devel] [PATCH 27/35] build: properly detect and use socket libs

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac| 27 +-- src/openvpn/Makefile.am |3 ++- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index e893d8d..d18e2b0 100644 --- a/configure.ac +++ b/configure.ac @@ -428

[Openvpn-devel] [PATCH 29/35] build: proper selinux detection and usage

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac| 35 +++ src/openvpn/Makefile.am |1 + src/openvpn/init.c |4 ++-- src/openvpn/options.c |6 +++--- src/openvpn/options.h |2 +- src/openvpn/syshead.h |2 +- 6 files changed,

[Openvpn-devel] [PATCH 26/35] build: libdl usage

2012-02-21 Thread Alon Bar-Lev
1. properly detect. 2. Link only required components. 3. No way we don't have LoadLibrary on Windows. 4. ENABLE_PLUGIN should be controlled in autoconf. Signed-off-by: Alon Bar-Lev --- configure.ac| 50 --- src/openvpn/Makefile.am |2

[Openvpn-devel] [PATCH 25/35] build: autoconf: commands as environment

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac | 66 - 1 files changed, 28 insertions(+), 38 deletions(-) diff --git a/configure.ac b/configure.ac index 5afcacc..c34e8c4 100644 --- a/configure.ac +++ b/configure.ac @@ -266,37 +266,6 @@ AC_

[Openvpn-devel] [PATCH 24/35] build: add libtool + windows resources for executables

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- .gitignore |6 Makefile.am |2 +- build/Makefile.am| 15 +++ build/ltrc.inc | 23 configure.ac

[Openvpn-devel] [PATCH 22/35] build: remove awk and non-standard autoconf output processing

2012-02-21 Thread Alon Bar-Lev
Replace with simpler environment solution. Signed-off-by: Alon Bar-Lev --- Makefile.am | 12 ++-- configure.ac |3 +++ configure_h.awk | 39 --- configure_log.awk | 33 - options.c |4 -

[Openvpn-devel] [PATCH 21/35] build: autoconf: remove OPENVPN_ADD_LIBS useless macro

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac | 26 ++ m4/ax_openvpn_lib.m4 |4 2 files changed, 10 insertions(+), 20 deletions(-) delete mode 100644 m4/ax_openvpn_lib.m4 diff --git a/configure.ac b/configure.ac index 3dcc23c..2dae0f3 100644 --- a/conf

[Openvpn-devel] [PATCH 19/35] build: m4/ax_socklen_t.m4: cleanup

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac |2 +- m4/ax_socklen_t.m4 | 95 +-- 2 files changed, 55 insertions(+), 42 deletions(-) diff --git a/configure.ac b/configure.ac index fbed6bf..69a3736 100644 --- a/configure.ac +++ b/configu

[Openvpn-devel] [PATCH 20/35] build: autotools: first pass of trivial autotools changes

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- Makefile.am | 12 +- configure.ac | 1227 +++--- lladdr.c |2 +- misc.c |2 +- misc.h |2 +- options.c| 12 +- route.c | 18 +- socket.c |2 +- syshead.h|

[Openvpn-devel] [PATCH 17/35] build: m4/ax_varargs.m4: cleanup

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- m4/ax_varargs.m4 | 78 ++ 1 files changed, 55 insertions(+), 23 deletions(-) diff --git a/m4/ax_varargs.m4 b/m4/ax_varargs.m4 index fd5e8b0..37cdebe 100644 --- a/m4/ax_varargs.m4 +++ b/m4/ax_varargs.m4 @@ -6,1

[Openvpn-devel] [PATCH 18/35] build: m4/ax_emptyarray.m4: cleanup

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- m4/ax_emptyarray.m4 | 49 +++-- 1 files changed, 31 insertions(+), 18 deletions(-) diff --git a/m4/ax_emptyarray.m4 b/m4/ax_emptyarray.m4 index 0a8755c..c6781c1 100644 --- a/m4/ax_emptyarray.m4 +++ b/m4/ax_emptyarray.

[Openvpn-devel] [PATCH 15/35] build: remove windows specific build system

2012-02-21 Thread Alon Bar-Lev
It will be completely re-written in future Signed-off-by: Alon Bar-Lev --- Makefile.am|8 +- doclean| 73 - domake-win | 138 msvc/autodefs.h.in | 20 -- msvc/config.py | 93 -- msvc/msvc.mak | 52 --- ser

[Openvpn-devel] [PATCH 16/35] build: split acinclude.m4 into m4/*

2012-02-21 Thread Alon Bar-Lev
ax_emptyarray.m4 ax_openvpn_lib.m4 ax_socklen_t.m4 ax_varargs.m4 Signed-off-by: Alon Bar-Lev --- Makefile.am |1 + acinclude.m4 | 131 -- configure.ac |1 + m4/ax_emptyarray.m4 | 27 ++ m4/ax_openvpn_

[Openvpn-devel] [PATCH 13/35] Remove tap-win32

2012-02-21 Thread Alon Bar-Lev
Introduce tap-win32.h which is modified tap-win32/common.h. Except of function rename, it is the same without the tap_id. This file should be provided as part of tap-win32 MSI. For now we hold a copy. Signed-off-by: Alon Bar-Lev --- Makefile.am|3 +- configure.ac

[Openvpn-devel] [PATCH 14/35] cleanup: rename tap-windows function from win32 to win

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac| 18 +++--- errlevel.h |2 +- error.c |6 +- forward.c |2 +- options.c |8 +- service-win32/service.h |2 +- sig.c |2 +- tap-windows.h

[Openvpn-devel] [PATCH 12/35] Remove easy-rsa

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- Makefile.am|1 - easy-rsa/1.0/README| 161 easy-rsa/1.0/build-ca | 13 - easy-rsa/1.0/build-dh | 12 - easy-rsa/1.0/build-inter

[Openvpn-devel] [PATCH 11/35] Remove install-win32

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- Makefile.am|5 +- configure.ac |3 - images/.svnignore |2 - images/Makefile.am | 41 -- images/icon.ico| Bin 22486 -> 0 bytes im

[Openvpn-devel] [PATCH 09/35] build: rename plugin directory to plugins

2012-02-21 Thread Alon Bar-Lev
This to avoid conflit with plugin.c rules Signed-off-by: Alon Bar-Lev --- Makefile.am |3 +- plugin/README | 47 --- plugin/auth-pam/.svnignore|1 - plugin/auth-pam/Makefile | 30 -- plugin/auth-pam/README| 74 plugin/auth-pam

[Openvpn-devel] [PATCH 10/35] build: plugins: properly use CFLAGS and LDFLAGS

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- plugins/auth-pam/Makefile |9 + plugins/defer/build|6 +++--- plugins/down-root/Makefile |6 +++--- plugins/examples/build |6 +++--- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/plugins/auth-pam/Makefile b/

[Openvpn-devel] [PATCH 08/35] build: handle printf style format in mingw

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- buffer.h | 12 ++-- error.h |6 +- misc.h | 12 ++-- status.h |6 +- 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/buffer.h b/buffer.h index 6c79007..9bc33db 100644 --- a/buffer.h +++ b/buffer.h @@ -312,7 +3

[Openvpn-devel] [PATCH 07/35] build: tests do not work disable

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- Makefile.am |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 26b80f3..f96eb45 100644 --- a/Makefile.am +++ b/Makefile.am @@ -57,16 +57,17 @@ SUBDIRS = \ service-win32 \ install-win32 -TES

[Openvpn-devel] [PATCH 04/35] cleanup: memcmp.c: remove unused source

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac |3 --- memcmp.c | 43 --- 2 files changed, 0 insertions(+), 46 deletions(-) delete mode 100644 memcmp.c diff --git a/configure.ac b/configure.ac index 25dcc37..1c4d66c 100644 --- a/configure.ac +++

[Openvpn-devel] [PATCH 06/35] Update .gitignore

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 3d12f5d..8cc07de 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.obj *.pyc *.so +*~ .deps Makefile Makefile.in -- 1.7.3.4

[Openvpn-devel] [PATCH 03/35] cleanup: tun.c: fix incorrect option in message (ip-win32)

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- tun.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tun.c b/tun.c index c92c0d7..81b66fb 100644 --- a/tun.c +++ b/tun.c @@ -4492,7 +4492,7 @@ dhcp_masq_addr (const in_addr_t local, const in_addr_t netmask, const int offset msg (M_

[Openvpn-devel] [PATCH 05/35] build: correct place to alter WINVER is at build system

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- configure.ac|2 +- syshead.h |4 win/msvc.mak.in |2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 1c4d66c..aa1d509 100644 --- a/configure.ac +++ b/configure.ac @@ -342,7 +342,7 @@ ca

[Openvpn-devel] [PATCH 02/35] cleanup: crypto_openssl.c: remove support for pre-openssl-0.9.6

2012-02-21 Thread Alon Bar-Lev
autoconf rejecting this anyway: --- AC_MSG_CHECKING([that OpenSSL Library is at least version 0.9.6]) AC_MSG_ERROR([OpenSSL crypto Library is too old.]) --- Signed-off-by: Alon Bar-Lev --- crypto_openssl.c | 49 - 1 files changed, 0 insertions(+

[Openvpn-devel] [PATCH 01/35] cleanup: options.c: remove redundant include

2012-02-21 Thread Alon Bar-Lev
Signed-off-by: Alon Bar-Lev --- options.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/options.c b/options.c index a596ffe..3d8085c 100644 --- a/options.c +++ b/options.c @@ -50,7 +50,6 @@ #include "manage.h" #include "forward.h" #include "configure.h" -#include "f

[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

Re: [Openvpn-devel] configure patch for MacOS 10.7

2012-02-21 Thread Matthias Andree
Am 07.02.2012 11:24, schrieb Gert Doering: > Hi, > > I'm forwarding this "as-is", as I do not have enough understanding of > autoconf to say whether this is necessary, or "the right fix" - but > anyway, I've been told that this is needed to make our configure > behave on MacOS 10.7. Looks useful