Skip to contentSkip to conversation

OpenVPN 2.2.0 released

Openvpn-devel Samuli Seppänen 5 participants 11 messages Apr 27, 2011 – May 31, 2011

lore
Share & tools
lore
#0 lore raw

The OpenVPN community project team is proud to release OpenVPN 2.2.0. It can be downloaded from here:

<http://openvpn.net/index.php/open-source/downloads.html>

Changes include:

- Several man-page updates
- Several buildsystem fixes
- Fixed a bug with GUI icon deletion on upgrade from 2.2-RC or earlier
- Change the default --tmp-dir path to a more suitable path
- Improve the mysprintf() issue in openvpnserv.c
- Fixed bug in port-share that could cause port share process to crash
- Fix the --client-cert-not-required feature

A more comprehensive list of changes is available here:

<http://openvpn.net/index.php/open-source/documentation/change-log/425-changelog-for-openvpn-22.html>

For generic help use these support channels:

- Official documentation:
<http://openvpn.net/index.php/open-source/documentation/howto.html>
- Wiki: <https://community.openvpn.net>
- Forums: <https://forums.openvpn.net>
- User mailing list: <http://sourceforge.net/mail/?group_id=48978>
- User IRC channel: #openvpn at irc.freenode.net

Please report bugs and ask development questions here:

- Bug tracker and Wiki: <https://community.openvpn.net>
- Developer mailing list: <http://sourceforge.net/mail/?group_id=48978>
- Developer IRC channel: #openvpn-devel at irc.freenode.net

Note that we've recently switched to using a different Git repository:

<git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git>

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27/04/11 20:48, Samuli Seppänen wrote:

|
| Note that we've recently switched to using a different Git repository:
|
| <git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git>

Just to follow up this one a little bit with more details.

For me personally, the 2.2 release is a remarkable release for the OpenVPN community. This is probably the release with the most visible patches from the community. If I've counted correctly, there are 23 different patch authors in addition to the work of James Yonan. Over 100 patches have been contributed and have been implemented. So I want to thank all of you who have contributed with fixes, new features, documentation and other improvements.

To mark that we now are officially using git as the official source repository, all releases and the approved patches will now go into the new openvpn.git tree, as announced. This tree will also have release branches, one for each major release, like 2.1, 2.2 and the coming 2.3. All major and minor releases (2.1.x, 2.2.x, etc) are in addition tagged.

For more information about the code repositories, please have a look at our wiki:
<https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation#Coderepositories>

We have for about a year used the openvpn-testing.git tree. The future of this tree will be discussed in the near future. Right now, this tree will be available. The master branch in this tree and in the openvpn.git tree will be kept in sync, and all approved feature branches will be merged into allmerged together with the master branch when they are considered stable enough. Right now, it is not much new things in the allmerged branch, as the last outstanding and approved feature branches was the IPv6 branches.

As you now understand, the OpenVPN 2.3 will have IPv6 as one of the more important features. Both feat_ipv6_transport (connecting/listening to IPv6 addresses between OpenVPN client and server) and feat_ipv6_payload (transporting IPv6 traffic inside the tunnel) have been available in the allmerged branch for about a year, so it is considered safe and stable enough to be merged into the master branch. So everyone who wants to begin to look at what OpenVPN 2.3 really will bring, grab the a master branch.

So to summarise it quickly: openvpn.git is the main git repository, where all that has been released and will be released in the coming OpenVPN releases can be found. The openvpn-testing.git repository contains now experimental code which needs a lot of testing and possibly much more development. And the master branch in both trees will stay in sync. What is in found the master branch will make it into a coming release.

Again thanks to all support and contributions. They are indeed very much appreciated!

kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk24gocACgkQDC186MBRfrpyjQCeLPDjeQIUhj1S2QU68lbGtVrh k9AAn3lEsLkrPIfhyOwjyd189vu+QzFU
=tA5S
-----END PGP SIGNATURE-----

#2 lore raw

Hi,

I just would like to thank dazo, mattock and all the other developers and contributors who have put so much time into creating this release - great job guys!

JJK

Quoted 55 lines · David Sommerseth

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 27/04/11 20:48, Samuli Seppänen wrote:

|
| Note that we've recently switched to using a different Git repository:
|
| <git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git>

Just to follow up this one a little bit with more details.

For me personally, the 2.2 release is a remarkable release for the OpenVPN community. This is probably the release with the most visible patches from the community. If I've counted correctly, there are 23 different patch authors in addition to the work of James Yonan. Over 100 patches have been contributed and have been implemented. So I want to thank all of you who have contributed with fixes, new features, documentation and other improvements.

To mark that we now are officially using git as the official source repository, all releases and the approved patches will now go into the new openvpn.git tree, as announced. This tree will also have release branches, one for each major release, like 2.1, 2.2 and the coming 2.3. All major and minor releases (2.1.x, 2.2.x, etc) are in addition tagged.

For more information about the code repositories, please have a look at our wiki:
<https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation#Coderepositories>

We have for about a year used the openvpn-testing.git tree. The future of this tree will be discussed in the near future. Right now, this tree will be available. The master branch in this tree and in the openvpn.git tree will be kept in sync, and all approved feature branches will be merged into allmerged together with the master branch when they are considered stable enough. Right now, it is not much new things in the allmerged branch, as the last outstanding and approved feature branches was the IPv6 branches.

As you now understand, the OpenVPN 2.3 will have IPv6 as one of the more important features. Both feat_ipv6_transport (connecting/listening to IPv6 addresses between OpenVPN client and server) and feat_ipv6_payload (transporting IPv6 traffic inside the tunnel) have been available in the allmerged branch for about a year, so it is considered safe and stable enough to be merged into the master branch. So everyone who wants to begin to look at what OpenVPN 2.3 really will bring, grab the a master branch.

So to summarise it quickly: openvpn.git is the main git repository, where all that has been released and will be released in the coming OpenVPN releases can be found. The openvpn-testing.git repository contains now experimental code which needs a lot of testing and possibly much more development. And the master branch in both trees will stay in sync. What is in found the master branch will make it into a coming release.

Again thanks to all support and contributions. They are indeed very much appreciated!

#3 lore raw
Quoted 4 lines · Jan Just Keijser

I just would like to thank dazo, mattock and all the other developers and contributors who have put so much time into creating this release -
great job guys!

Good job, thanks!

Signature · 1 line
                  Jean-Michel Pouré - Gooze - http://www.gooze.eu
#4 lore raw

[Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management"

In reply to Samuli Seppänen

configure \
--build=x86_64-redhat-linux-gnu \
--host=i686-redhat-linux-gnu \
--enable-password-save \
--enable-iproute2 \
--with-ifconfig-path=/sbin/ifconfig \
--with-iproute-path=/sbin/ip \
--with-route-path=/sbin/route \
--disable-port-share \
--disable-management

passes through, but then I get this during make:

gcc -DHAVE_CONFIG_H -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium2 -fasynchronous-unwind-tables -c pkcs11.c
pkcs11.c: In function '__mytime':
pkcs11.c:40: warning: implicit declaration of function 'openvpn_time' pkcs11.c: In function '_pkcs11_openvpn_token_prompt':
pkcs11.c:168: error: storage size of 'token_resp' isn't known
pkcs11.c:179: warning: implicit declaration of function 'openvpn_snprintf' pkcs11.c:187: warning: implicit declaration of function 'get_user_pass' pkcs11.c:191: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function) pkcs11.c:191: error: (Each undeclared identifier is reported only once pkcs11.c:191: error: for each function it appears in.)
pkcs11.c:191: error: 'GET_USER_PASS_NEED_OK' undeclared (first use in this function) pkcs11.c:191: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function) pkcs11.c:197: warning: left-hand operand of comma expression has no effect pkcs11.c:197: warning: value computed is not used
pkcs11.c:197: warning: left-hand operand of comma expression has no effect pkcs11.c:168: warning: unused variable 'token_resp'
pkcs11.c: In function '_pkcs11_openvpn_pin_prompt':
pkcs11.c:211: error: storage size of 'token_pass' isn't known
pkcs11.c:230: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function) pkcs11.c:230: error: 'GET_USER_PASS_PASSWORD_ONLY' undeclared (first use in this function) pkcs11.c:230: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function) pkcs11.c:236: warning: implicit declaration of function 'strncpynt' pkcs11.c:237: warning: implicit declaration of function 'purge_user_pass' pkcs11.c:211: warning: unused variable 'token_pass'
pkcs11.c: In function 'SSL_CTX_use_pkcs11':
pkcs11.c:632: error: storage size of 'id_resp' isn't known
pkcs11.c:649: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function) pkcs11.c:649: error: 'GET_USER_PASS_NEED_STR' undeclared (first use in this function) pkcs11.c:649: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function) pkcs11.c:632: warning: unused variable 'id_resp'
pkcs11.c: In function '_pkcs11_openvpn_show_pkcs11_ids_pin_prompt':
pkcs11.c:773: error: variable 'gc' has initializer but incomplete type pkcs11.c:773: warning: implicit declaration of function 'gc_new' pkcs11.c:773: error: storage size of 'gc' isn't known
pkcs11.c:774: error: variable 'pass_prompt' has initializer but incomplete type pkcs11.c:774: warning: implicit declaration of function 'alloc_buf_gc' pkcs11.c:774: error: storage size of 'pass_prompt' isn't known pkcs11.c:782: warning: implicit declaration of function 'buf_printf' pkcs11.c:784: warning: implicit declaration of function 'get_console_input' pkcs11.c:784: warning: implicit declaration of function 'BSTR' pkcs11.c:788: warning: implicit declaration of function 'gc_free' pkcs11.c:774: warning: unused variable 'pass_prompt'
pkcs11.c:773: warning: unused variable 'gc'
make[2]: *** [pkcs11.o] Error 1
make[2]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0'
make: *** [all] Error 2

Running configure without "--disable-management" and then executing "make" is OK - no errors. Doing the same as above when not cross-compiling (i.e. build = host = x86_64-redhat-linux-gnu) with "--disable-management" also produces the same error (it passes through when "--disable-management" is removed).

#5 lore raw

Re: [Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management"

Quoted 76 lines

configure \
--build=x86_64-redhat-linux-gnu \
--host=i686-redhat-linux-gnu \
--enable-password-save \
--enable-iproute2 \
--with-ifconfig-path=/sbin/ifconfig \
--with-iproute-path=/sbin/ip \
--with-route-path=/sbin/route \
--disable-port-share \
--disable-management

passes through, but then I get this during make:

gcc -DHAVE_CONFIG_H -I. -I. -O2 -g -pipe -Wall

(quoted diff) +0 -3
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium2 
-fasynchronous-unwind-tables -c pkcs11.c

pkcs11.c: In function '__mytime':
pkcs11.c:40: warning: implicit declaration of function 'openvpn_time' pkcs11.c: In function '_pkcs11_openvpn_token_prompt':
pkcs11.c:168: error: storage size of 'token_resp' isn't known pkcs11.c:179: warning: implicit declaration of function 'openvpn_snprintf' pkcs11.c:187: warning: implicit declaration of function 'get_user_pass' pkcs11.c:191: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function)
pkcs11.c:191: error: (Each undeclared identifier is reported only once pkcs11.c:191: error: for each function it appears in.) pkcs11.c:191: error: 'GET_USER_PASS_NEED_OK' undeclared (first use in this function)
pkcs11.c:191: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function)
pkcs11.c:197: warning: left-hand operand of comma expression has no effect pkcs11.c:197: warning: value computed is not used
pkcs11.c:197: warning: left-hand operand of comma expression has no effect pkcs11.c:168: warning: unused variable 'token_resp'
pkcs11.c: In function '_pkcs11_openvpn_pin_prompt':
pkcs11.c:211: error: storage size of 'token_pass' isn't known pkcs11.c:230: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function)
pkcs11.c:230: error: 'GET_USER_PASS_PASSWORD_ONLY' undeclared (first use in this function)
pkcs11.c:230: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function)
pkcs11.c:236: warning: implicit declaration of function 'strncpynt' pkcs11.c:237: warning: implicit declaration of function 'purge_user_pass' pkcs11.c:211: warning: unused variable 'token_pass'
pkcs11.c: In function 'SSL_CTX_use_pkcs11':
pkcs11.c:632: error: storage size of 'id_resp' isn't known pkcs11.c:649: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function)
pkcs11.c:649: error: 'GET_USER_PASS_NEED_STR' undeclared (first use in this function)
pkcs11.c:649: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function)
pkcs11.c:632: warning: unused variable 'id_resp'
pkcs11.c: In function '_pkcs11_openvpn_show_pkcs11_ids_pin_prompt':
pkcs11.c:773: error: variable 'gc' has initializer but incomplete type pkcs11.c:773: warning: implicit declaration of function 'gc_new' pkcs11.c:773: error: storage size of 'gc' isn't known pkcs11.c:774: error: variable 'pass_prompt' has initializer but incomplete type
pkcs11.c:774: warning: implicit declaration of function 'alloc_buf_gc' pkcs11.c:774: error: storage size of 'pass_prompt' isn't known pkcs11.c:782: warning: implicit declaration of function 'buf_printf' pkcs11.c:784: warning: implicit declaration of function 'get_console_input' pkcs11.c:784: warning: implicit declaration of function 'BSTR' pkcs11.c:788: warning: implicit declaration of function 'gc_free' pkcs11.c:774: warning: unused variable 'pass_prompt' pkcs11.c:773: warning: unused variable 'gc'
make[2]: *** [pkcs11.o] Error 1
make[2]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0'
make: *** [all] Error 2

Quoted 7 lines

Running configure without "--disable-management" and then executing "make" is OK - no errors. Doing the same as above when not cross-compiling (i.e. build = host = x86_64-redhat-linux-gnu) with "--disable-management" also produces the same error (it passes through when "--disable-management" is removed).

Hi,

Our buildslave farm reported this problem, too. It should get fixed shortly in "master" branch and in 2.2 release branch:

<https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation#Maindevelopmentrepositorygit>

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#6 lore raw

Re: [Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management"

Quoted 6 lines

Our buildslave farm reported this problem, too. It should get fixed shortly in "master" branch and in 2.2 release branch:

<https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation#Maindevelopmentrepositorygit>

Thanks for the swift response. I'll wait until this is fixed so that I could grab a patch and apply it to my source tree as I am building rpm to be installed on a different system (hence the cross-compilation).

#7 lore raw

Re: [Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management"

In reply to Mr Dash Four
Quoted 75 lines · Mr Dash Four

configure \
--build=x86_64-redhat-linux-gnu \
--host=i686-redhat-linux-gnu \
--enable-password-save \
--enable-iproute2 \
--with-ifconfig-path=/sbin/ifconfig \
--with-iproute-path=/sbin/ip \
--with-route-path=/sbin/route \
--disable-port-share \
--disable-management

passes through, but then I get this during make:

gcc -DHAVE_CONFIG_H -I. -I. -O2 -g -pipe -Wall

(quoted diff) +0 -3
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium2 
-fasynchronous-unwind-tables -c pkcs11.c

pkcs11.c: In function '__mytime':
pkcs11.c:40: warning: implicit declaration of function 'openvpn_time' pkcs11.c: In function '_pkcs11_openvpn_token_prompt':
pkcs11.c:168: error: storage size of 'token_resp' isn't known pkcs11.c:179: warning: implicit declaration of function 'openvpn_snprintf' pkcs11.c:187: warning: implicit declaration of function 'get_user_pass' pkcs11.c:191: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function)
pkcs11.c:191: error: (Each undeclared identifier is reported only once pkcs11.c:191: error: for each function it appears in.) pkcs11.c:191: error: 'GET_USER_PASS_NEED_OK' undeclared (first use in this function)
pkcs11.c:191: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function)
pkcs11.c:197: warning: left-hand operand of comma expression has no effect pkcs11.c:197: warning: value computed is not used
pkcs11.c:197: warning: left-hand operand of comma expression has no effect pkcs11.c:168: warning: unused variable 'token_resp'
pkcs11.c: In function '_pkcs11_openvpn_pin_prompt':
pkcs11.c:211: error: storage size of 'token_pass' isn't known pkcs11.c:230: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function)
pkcs11.c:230: error: 'GET_USER_PASS_PASSWORD_ONLY' undeclared (first use in this function)
pkcs11.c:230: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function)
pkcs11.c:236: warning: implicit declaration of function 'strncpynt' pkcs11.c:237: warning: implicit declaration of function 'purge_user_pass' pkcs11.c:211: warning: unused variable 'token_pass'
pkcs11.c: In function 'SSL_CTX_use_pkcs11':
pkcs11.c:632: error: storage size of 'id_resp' isn't known pkcs11.c:649: error: 'GET_USER_PASS_MANAGEMENT' undeclared (first use in this function)
pkcs11.c:649: error: 'GET_USER_PASS_NEED_STR' undeclared (first use in this function)
pkcs11.c:649: error: 'GET_USER_PASS_NOFATAL' undeclared (first use in this function)
pkcs11.c:632: warning: unused variable 'id_resp'
pkcs11.c: In function '_pkcs11_openvpn_show_pkcs11_ids_pin_prompt':
pkcs11.c:773: error: variable 'gc' has initializer but incomplete type pkcs11.c:773: warning: implicit declaration of function 'gc_new' pkcs11.c:773: error: storage size of 'gc' isn't known pkcs11.c:774: error: variable 'pass_prompt' has initializer but incomplete type
pkcs11.c:774: warning: implicit declaration of function 'alloc_buf_gc' pkcs11.c:774: error: storage size of 'pass_prompt' isn't known pkcs11.c:782: warning: implicit declaration of function 'buf_printf' pkcs11.c:784: warning: implicit declaration of function 'get_console_input' pkcs11.c:784: warning: implicit declaration of function 'BSTR' pkcs11.c:788: warning: implicit declaration of function 'gc_free' pkcs11.c:774: warning: unused variable 'pass_prompt' pkcs11.c:773: warning: unused variable 'gc'
make[2]: *** [pkcs11.o] Error 1
make[2]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0'
make: *** [all] Error 2

Quoted 5 lines

Running configure without "--disable-management" and then executing "make" is OK - no errors. Doing the same as above when not cross-compiling (i.e. build = host = x86_64-redhat-linux-gnu) with "--disable-management" also produces the same error (it passes through when "--disable-management" is removed).

Quick fix: add --disable-pkcs11 in addition to --disable-management

Can you try to apply the attached patch? I believe that might solve your compile issues.

kind regards,

David Sommerseth

From 8b08d181ce119947e765b9bbc724e4441559bc13 Mon Sep 17 00:00:00 2001
From: David Sommerseth <[email protected]...>
Date: Tue, 31 May 2011 16:59:30 +0200
Subject: [PATCH] Fix compiling issues with pkcs11 when --disable-management
is configured

pkcs11.c seems to miss some header files which gets implicitly added when the management interface is enabled.

---
 pkcs11.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
pkcs11.c +2 -0
index af781e0..9cf18e5 100644
@@ -33,6 +33,8 @@
 #include "manage.h"
 #include "base64.h"
 #include "pkcs11.h"
+#include "misc.h"
+#include "otime.h"
 
 static
 time_t
Signature · 1 line
1.7.4.4
#8 lore raw

Re: [Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management"

Quoted 6 lines

Quick fix: add --disable-pkcs11 in addition to --disable-management

Can you try to apply the attached patch? I believe that might solve your compile issues.

Many thanks - I think applying the patch would be easier (I'll just list it in the .spec file and include it during the rpm build) - I take it that would solve the above. I'll let you know when I try this later tonight.

#9 lore raw

Re: [Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management"

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Mr Dash Four
Quoted 6 lines

Quick fix: add --disable-pkcs11 in addition to --disable-management

Can you try to apply the attached patch? I believe that might solve your compile issues.

Many thanks - I think applying the patch would be easier (I'll just list it in the .spec file and include it during the rpm build) - I take it that would solve the above. I'll let you know when I try this later tonight.

Yes, this patch should hopefully solve it.

It seems like pkcs11.c was missing some header files which the management interface includes. When you disable the management API, these include files is missing and it collapses.

If this works for you, I'll take this as an ACK from you, then this patch will get into the queue for a 2.2.1 release.

Kind regards,

David Sommerseth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk3lDlIACgkQDC186MBRfrqU/wCfRHrJreXpOeAcMS5ZbHrpUg5Q dlsAnj7iXiiMWYIa2CmyH7gm07X/EnnK
=I/lp
-----END PGP SIGNATURE-----

#10 lore raw

Re: [Openvpn-devel] OpenVPN 2.2.0 build failure with "--disable-management"

Quoted 4 lines

If this works for you, I'll take this as an ACK from you, then this patch will get into the queue for a 2.2.1 release.

Yep, the patch works without a hitch, but when I now have this:

configure \
--build=x86_64-redhat-linux-gnu \
--host=i686-redhat-linux-gnu \
--enable-password-save \
--enable-iproute2 \
--with-ifconfig-path=/sbin/ifconfig \
--with-iproute-path=/sbin/ip \
--with-route-path=/sbin/route \
--disable-port-share \
--disable-multi \
--disable-server \
--disable-eurephia \
--disable-socks \
--disable-http \
--disable-management

I get the following error during make:

gcc -DHAVE_CONFIG_H -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=pentium2 -fasynchronous-unwind-tables -c options.c
options.c: In function 'init_options':
options.c:781: error: 'struct options' has no member named 'tmp_dir' options.c:782: error: 'struct options' has no member named 'tmp_dir' options.c:783: error: 'struct options' has no member named 'tmp_dir' make[2]: *** [options.o] Error 1
make[2]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/rpmbuild/BUILD/openvpn-2.2.0'
make: *** [all] Error 2

I hope there is equally effective patch ready to squash this bug as well! :-)