[Openvpn-devel] [PATCH] Do some file/directory tests before really starting openvpn

2011-11-24 Thread David Sommerseth
OpenVPN can handle over 30 different files and directories, and it is easy to misconfigure some of them. In many situations OpenVPN will even start running, even with a wrong file path or without the proper permissions, and then it will complain much later on. In some cases the error being seen

[Openvpn-devel] [PATCH] RFC: Improve file checking during start-up

2011-11-24 Thread David Sommerseth
From: David Sommerseth The following patch has been laying in my repository for some time, unsure why it's been there for so long. I can't see nor recall if I posted it to this -devel list either. If there are things I should have fixed up before re-posting it (if

[Openvpn-devel] [PATCH] Fix bug after removing Linux 2.2 support

2011-11-24 Thread David Sommerseth
From: David Sommerseth In commit ce637abdafdc19547fc97192033a4d1703ecaf23 the Linux 2.2 support was removed. When this happened an extra error check was avoided which would normally kicked in if the tun/tap device would not be available. Instead the following line

Re: [Openvpn-devel] Snapshot openvpn-2.x-20110909-master-install.exe fails

2011-11-24 Thread Gert Doering
Hi, On Thu, Nov 24, 2011 at 08:51:28PM +0100, Gert Doering wrote: > So here's the patch - it compiles (MSVC on Win7), the resulting binary > works on WinXP, and it's not too ugly - actually it removes more #ifdef's > that it adds... > > Let me know your comments. So David found it confusing,

Re: [Openvpn-devel] Snapshot openvpn-2.x-20110909-master-install.exe fails

2011-11-24 Thread Gert Doering
Hi, On Wed, Nov 09, 2011 at 02:17:09PM +0200, Samuli Seppänen wrote: > Il 26/09/2011 15:37, Heiko Hund ha scritto: > > On Monday 26 September 2011 14:13:30 Samuli Seppänen wrote: > >> Ok, did as suggested for socket.c and win32.h and got the following > >> build failure using MSVC: > >> > >>

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Alon Bar-Lev
My build script is working as-is with cygwin, compiling native win32 binaries! 2011/11/24 Alon Bar-Lev : > I am *VERY* impressed from cygwin jump, I must admit I have not kept > track on this project for a long time! > But now it is up to date with fully operational native

Re: [Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-24 Thread Alon Bar-Lev
On Thu, Nov 24, 2011 at 1:42 PM, Heiko Hund wrote: > On Wednesday 23 November 2011 17:48:54 Alon Bar-Lev wrote: >> Yes, there are many none unicode environments, and I am not sure what >> this patch will behave in windows environment as it is SCS-2 not >> UTF-8. It is

Re: [Openvpn-devel] [PATCH] UTF-8 X.509 distinguished names

2011-11-24 Thread Heiko Hund
On Wednesday 23 November 2011 17:48:54 Alon Bar-Lev wrote: > Yes, there are many none unicode environments, and I am not sure what > this patch will behave in windows environment as it is SCS-2 not > UTF-8. I agree on the UCS-16 environment in Windows. Will post a patch for that soon, as I'm

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Gert Doering
Hi, On Thu, Nov 24, 2011 at 10:58:50AM +0100, Jan Just Keijser wrote: > +1 autoconf > -9 CMake +1 autoconf -450 anything that requires installation of additional tools on unix systems (I wouldn't mind if anyone were to create a cmake build environment for windows, documents that, and commits to

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Alon Bar-Lev
I am *VERY* impressed from cygwin jump, I must admit I have not kept track on this project for a long time! But now it is up to date with fully operational native windows tools. I've done some testing, and it looks like ./configure --host=x86_64-w64-mingw32 or i686-w64-mingw will actually work! I

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Jan Just Keijser
Alon Bar-Lev wrote: > I hate CMake, it is way too complex, these guys re-invented the wheel > with no decent reuse of any methodology / language that existed > before. > I agree with Alon here : +1 autoconf -9 CMake esp troubleshooting a non-working CMake setup is a nightmare. JJK > If we

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Alon Bar-Lev
I hate CMake, it is way too complex, these guys re-invented the wheel with no decent reuse of any methodology / language that existed before. If we take SCons as another example, it took python and used it to do build... So if you are python developer most probably you know how to SCons. Also,

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Alon Bar-Lev
Correction! cygwin provides mingw-w64 now!!! Also recent autoconf/automake/libtool. So we can also cross compile using mingw. 2011/11/24 Alon Bar-Lev : > Hello, > > I won't participate in sync meeting don't have the time. > Anyway, for windows build. > I already provide

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Adriaan de Jong
Just to put in my 2cents on the build options: there is a tool that supports all of those environments (gmake, cygwin, mingw, nmake, visual studio, eclipse, ), and that's CMake. It's widely used, and has a pretty good track record. It can also support automated test environments and

Re: [Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Alon Bar-Lev
Hello, I won't participate in sync meeting don't have the time. Anyway, for windows build. I already provide binaries for OpenVPN using mingw-w64 project, and it works fine! I use mingw-w64 for both win32 and win64 binaries, much better than old mingw project, as mingw-w64 is maintained! You

[Openvpn-devel] Topics for today's meeting

2011-11-24 Thread Samuli Seppänen
Hi, We're having an IRC meeting today, starting at 18:00 UTC on #openvpn-de...@irc.freenode.net. Current topic list is here: If you have any other things you'd like to bring up, respond to this mail, send me mail privately or add