References: From: Matthias Andree Message-ID: <32453cb2-3c27-aae6-5ee6-6f0edd669d91@...68...> Date: Thu, 25 Aug 2016 00:18:04 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------35046A1214C8E5FD57226933" Subject: Re: [Openvpn-devel] OpenVPN 2.3.12 released List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net This is a multi-part message in MIME format. --------------35046A1214C8E5FD57226933 Content-Type: multipart/alternative; boundary="------------CEF65222FEF57DA274F499ED" --------------CEF65222FEF57DA274F499ED Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Am 23.08.2016 um 17:52 schrieb Samuli Sepp=E4nen: > The OpenVPN community project team is proud to release OpenVPN 2.3.12.=20 > It can be downloaded from here: > > > > This release includes many small improvements and fixes. This is the=20 > first release that actively discourages the use of 64-bit block ciphers=20 > for security reasons. A full list of changes is available here: > > Hi everyone, thanks for handling the release. The 2.3.12 tarball does not seem to pack the stuff needed for cmocka, and even if it did, there seem to be issues with: 1. out-of-source builds (aka: autoreconf -sivf && mkdir _build && cd _build && ../configure -C && make -j4 check) - for these, ${srcdir}/ needs to be prefixed to the cmocka check, see patch (note: this is against the _/master/_ branch but can be cherry-picked onto release/2.3 without a hitch - also note that the patch does not support dangerous characters in srcdir.) 2. cmocka.h needs to either be installed (not currently checked), or we need to add proper -I and -L options so that cmocka can be used locally, 3. the build needs to figure whether to use a local or system-wide cmocka. I am currently upgrading the FreeBSD port, chasing framework updates etc. so don't have time to look too much into that, beyond the attached patch that solves (1.) above partially. The FreeBSD port of OpenVPN will forego the unit tests, and I will patch the warning out so I don't get "but just add cmake as a requisite" spam - which, when rectified, would lead to (2.) above... Cheers, Matthias --------------CEF65222FEF57DA274F499ED Content-Type: text/html; charset="windows-1252" Content-Transfer-Encoding: quoted-printable
Am 23.08.2016 um 17:52 schrieb Samuli Sepp=E4nen:
The OpenVPN community project team is proud to release=
 OpenVPN 2.3.12.=20
It can be downloaded from here:

<http://openvpn.net/index.php/open-source/downl=
oads.html>

This release includes many small improvements and fixes. This is the=20
first release that actively discourages the use of 64-bit block ciphers=20
for security reasons. A full list of changes is available here:

<https://community.openvpn.net/openvpn/wi=
ki/ChangesInOpenvpn23>

Hi everyone,

thanks for handling the release.

The 2.3.12 tarball does not seem to pack the stuff needed for cmocka, and even if it did, there seem to be issues with:

  1. out-of-source builds (aka: autoreconf -sivf && mkdir _build && cd _build && ../configure -C && make -j4 check) - for these, ${srcdir}/ needs to be prefixed to the cmocka check, see patch (note: this is against the master branch but can be cherry-picked onto release/2.3 without a hitch -
    also note that the patch does not support dangerous characters in srcdir.)
  2. cmocka.h needs to either be installed (not currently checked), or we need to add proper -I and -L options so that cmocka can be used locally,
  3. the build needs to figure whether to use a local or system-wide cmocka.

I am currently upgrading the FreeBSD port, chasing framework updates etc. so don't have time to look too much into that, beyond the attached patch that solves (1.) above partially. The FreeBSD port of OpenVPN will forego the unit tests, and I will patch the warning out so I don't get "but just add cmake as a requisite" spam - which, when rectified, would lead to (2.) above...

Cheers,

Matthias

--------------CEF65222FEF57DA274F499ED-- --------------35046A1214C8E5FD57226933 Content-Type: text/x-patch; name="0001-Make-CMOCKA_INITIALIZED-check-work-on-VPATH-out-of-s.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename*0="0001-Make-CMOCKA_INITIALIZED-check-work-on-VPATH-out-of-s.pa"; filename*1="tch" =46rom 9595ff1b4d89b8f25b742f1c105533dc12a3e276 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 25 Aug 2016 00:13:58 +0200 Subject: [PATCH] Make CMOCKA_INITIALIZED check work on VPATH (out-of-sour= ce) builds. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4f14ebd..341105c 100644 --- a/configure.ac +++ b/configure.ac @@ -1215,7 +1215,7 @@ AC_SUBST([TEST_CFLAGS]) # needed for unit testing AC_CHECK_PROGS([CMAKE], [cmake]) if test -n "${CMAKE}"; then - if test -f vendor/cmocka/CMakeLists.txt; then + if test -f ${srcdir}/vendor/cmocka/CMakeLists.txt; then AM_CONDITIONAL([CMOCKA_INITIALIZED], [true]) else AM_CONDITIONAL([CMOCKA_INITIALIZED], [false]) --=20 2.7.4 --------------35046A1214C8E5FD57226933--