]> git.ipfire.org Git - thirdparty/openvpn.git/commit
build: Remove --disable-server from ./configure
authorDavid Sommerseth <davids@openvpn.net>
Thu, 27 Feb 2020 20:54:43 +0000 (21:54 +0100)
committerGert Doering <gert@greenie.muc.de>
Thu, 7 May 2020 19:53:22 +0000 (21:53 +0200)
commit042429d3454ca57564e932a727a27c7d6bfeb2d6
treea230f14a76ddf4b2b387c56fde82dddfbad78386
parentcb2e9218f2bc73fa22da1f6e850e5fe97f689730
build: Remove --disable-server from ./configure

After some discussion among the core community developers [1,2], it was
decided to remove the possibility to build openvpn as a pure client.
This was alterted on the mailing list [3] that it was scheduled for
removal unless anyone had strong arguments why it was needed.

The general consensus was that we had not received any strong arguments
to keep this possibility after approximately 5 months, so it was fine to
remove this ./configure option.

By removing this, we remove quite some entangled sections of #ifdef
scattered all over the code base, making it more readable.

One note:
Inside the  options_postprocess_mutate_invariant() function,
the #ifdef P2MP_SERVER and #ifdef _WIN32 blocks where slightly
reworked to make the _WIN32 block more continous and avoiding having an
empty if(options->mode == MODE_SERVER) block.

Signed-off-by: David Sommerseth <davids@openvpn.net>
[1]
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18830.h
tml
[2]
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19505.h
tml
[3]
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18829.h
tml
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <20200227205443.27562-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19506.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
35 files changed:
configure.ac
doc/doxygen/openvpn.doxyfile.in
src/openvpn/forward.c
src/openvpn/helper.c
src/openvpn/init.c
src/openvpn/list.c
src/openvpn/list.h
src/openvpn/misc.c
src/openvpn/misc.h
src/openvpn/mroute.c
src/openvpn/mroute.h
src/openvpn/mtcp.c
src/openvpn/mtcp.h
src/openvpn/mudp.c
src/openvpn/mudp.h
src/openvpn/multi.c
src/openvpn/multi.h
src/openvpn/openvpn.c
src/openvpn/openvpn.h
src/openvpn/options.c
src/openvpn/options.h
src/openvpn/push.c
src/openvpn/push.h
src/openvpn/pushlist.h
src/openvpn/schedule.c
src/openvpn/schedule.h
src/openvpn/ssl.c
src/openvpn/ssl_common.h
src/openvpn/ssl_mbedtls.c
src/openvpn/ssl_openssl.c
src/openvpn/ssl_verify.c
src/openvpn/ssl_verify.h
src/openvpn/syshead.h
src/openvpn/vlan.c
src/openvpn/vlan.h