mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Andreas Helmcke <ahelmcke@ela-soft.com>
To: Michael Olbrich <m.olbrich@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] openvpn: Version bump, 2.5.8 -> 2.6.6
Date: Thu, 2 Nov 2023 14:08:54 +0100	[thread overview]
Message-ID: <a8cfaa71-a4da-4887-a62f-d79da6f92c5d@ela-soft.com> (raw)
In-Reply-To: <ZUONsiaKnQ9e1SXX@pengutronix.de>



Am 02.11.23 um 12:53 schrieb Michael Olbrich:
> On Fri, Oct 20, 2023 at 01:26:20PM +0200, Andreas Helmcke wrote:
>> Upstream changes:
>> - lots of bugfixes
>> - OpenSSL V3 support
>> - stronger security defaults
>>
>> ptxdist changes:
>> - new dependency: libcap_ng added
>> - download url changed to gitub
>> - some changes in licenses
> 
> With all sub-options enabled, targetinstall fails with:
> 
> No suitable file '/usr/share/openvpn/sample-config-files/xinetd-client-config' could be found in any of these locations:
> .../build-target/openvpn-2.6.6/sample/sample-config-files/xinetd-client-config.arm-hf
> .../build-target/openvpn-2.6.6/sample/sample-config-files/xinetd-client-config
> 
> Error: install_file failed!

This is due to the removal of inetd support.
Fixed with PATCH v2 


> Michael
> 
>> Link: https://github.com/OpenVPN/openvpn/blob/v2.6.6/Changes.rst
>> Signed-off-by: Andreas Helmcke <ahelmcke@ela-soft.com>
>> ---
>>  rules/openvpn.in   |  1 +
>>  rules/openvpn.make | 20 ++++++++++----------
>>  2 files changed, 11 insertions(+), 10 deletions(-)
>>
>> diff --git a/rules/openvpn.in b/rules/openvpn.in
>> index 568c8a9d2..0ef6af5af 100644
>> --- a/rules/openvpn.in
>> +++ b/rules/openvpn.in
>> @@ -4,6 +4,7 @@ menuconfig OPENVPN
>>  	tristate
>>  	prompt "openvpn                       "
>>  	select OPENSSL
>> +	select LIBCAP_NG
>>  	select LIBLZO			if OPENVPN_LZO
>>  	select SYSTEMD			if OPENVPN_SYSTEMD
>>  	select IPTABLES			if OPENVPN_INSTALL_SAMPLE_CONFIGS && RUNTIME
>> diff --git a/rules/openvpn.make b/rules/openvpn.make
>> index b71786d4f..17dbd08a3 100644
>> --- a/rules/openvpn.make
>> +++ b/rules/openvpn.make
>> @@ -14,20 +14,21 @@ PACKAGES-$(PTXCONF_OPENVPN) += openvpn
>>  #
>>  # Paths and names
>>  #
>> -OPENVPN_VERSION		:= 2.5.8
>> -OPENVPN_MD5		:= 8c1181a2baaa25b36e4aa67161c2829e
>> +OPENVPN_VERSION		:= 2.6.6
>> +OPENVPN_MD5		:= 660e71db3ed3161e33b4b649855c2477
>>  OPENVPN			:= openvpn-$(OPENVPN_VERSION)
>>  OPENVPN_SUFFIX		:= tar.gz
>> -OPENVPN_URL		:= https://swupdate.openvpn.org/community/releases/$(OPENVPN).$(OPENVPN_SUFFIX)
>> +OPENVPN_URL		:= https://github.com/OpenVPN/openvpn/releases/download/v$(OPENVPN_VERSION)/$(OPENVPN).$(OPENVPN_SUFFIX)
>>  OPENVPN_SOURCE		:= $(SRCDIR)/$(OPENVPN).$(OPENVPN_SUFFIX)
>>  OPENVPN_DIR		:= $(BUILDDIR)/$(OPENVPN)
>> -OPENVPN_LICENSE		:= GPL-2.0-only WITH openvpn-openssl-exception AND BSD-2-Clause AND BSD-3-Clause
>> +OPENVPN_LICENSE		:= GPL-2.0-only WITH (openvpn-openssl-exception AND custom-exception) AND BSD-2-Clause AND BSD-3-Clause AND ((GPL-2.0-only WITH Linux-syscall-note) OR MIT)
>>  OPENVPN_LICENSE_FILES := \
>> -	file://COPYING;md5=b76abd82c14ee01cc34c4ff5e3627b89 \
>> +	file://COPYING;md5=d8d34ce6390552676e4ce8279f13c48a \
>>  	file://COPYRIGHT.GPL;md5=52cadf4008002e3c314a47a54fa7306c \
>> -	file://src/openvpn/openvpn.c;startline=2;endline=21;md5=82f794c2390084d34cb32d871c17b4be \
>> +	file://src/openvpn/openvpn.c;startline=2;endline=21;md5=b9fb1976bc6d8ad5e02a251351dc58f2 \
>>  	file://src/openvpn/base64.c;startline=2;endline=31;md5=f4debd767645b13107fc5912faf2ad8f \
>> -	file://src/compat/compat-lz4.c;startline=13;endline=38;md5=5163f975ae122fe0c260002537edab22
>> +	file://src/openvpn/ovpn_dco_linux.h;startline=1;endline=1;md5=b317f96dbe63f35baef28266acb68512 \
>> +	file://src/openvpn/ovpn_dco_freebsd.h;startline=1;endline=1;md5=a7ba62aad20f9685c53b0565a263af30
>>  
>>  # ----------------------------------------------------------------------------
>>  # Prepare
>> @@ -64,13 +65,11 @@ OPENVPN_CONF_OPT	:= \
>>  	--enable-management \
>>  	--disable-pkcs11 \
>>  	--enable-fragment \
>> -	--enable-multihome \
>>  	--enable-port-share \
>>  	--disable-debug \
>>  	--$(call ptx/endis, PTXCONF_OPENVPN_SMALL)-small \
>> +	--disable-dco \
>>  	--enable-iproute2 \
>> -	--enable-def-auth \
>> -	--enable-pf \
>>  	--disable-plugin-auth-pam \
>>  	--enable-plugin-down-root \
>>  	--disable-pam-dlopen \
>> @@ -81,6 +80,7 @@ OPENVPN_CONF_OPT	:= \
>>  	--disable-selinux \
>>  	--$(call ptx/endis, PTXCONF_OPENVPN_SYSTEMD)-systemd \
>>  	--disable-async-push \
>> +	--disable-wolfssl-options-h \
>>  	--disable-unit-tests \
>>  	--with-crypto-library=openssl \
>>  	--with-openssl-engine
>> -- 
>> 2.40.1
>>
>>
>>
> 

-- 
Mit freundlichen Grüßen / Best regards

i. A. Andreas Helmcke
Hard- und Softwareentwickler / Hard- and Software Developer

ela-soft GmbH
Entwicklung|GEMOS access / Development|GEMOS access

Breitenbachstraße 10
13509 Berlin
Germany
Phone  +49 30 891003-0
Fax      +49 30 891003-22
ahelmcke@ela-soft.com <mailto:ahelmcke@ela-soft.com>
http://www.ela-soft.com <http://www.ela-soft.com>

ela-soft GmbH / Company of limited liability
Sitz der Gesellschaft: Berlin / Place of residence: Berlin
Handelsregistereintrag / Commercial Register entry:
Amtsgericht Bln Charlottenburg, HRB 114128 B
GF: Julius von Resch / Board of directors: Julius von Resch




      reply	other threads:[~2023-11-02 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20 11:26 Andreas Helmcke
2023-11-02 11:53 ` Michael Olbrich
2023-11-02 13:08   ` Andreas Helmcke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8cfaa71-a4da-4887-a62f-d79da6f92c5d@ela-soft.com \
    --to=ahelmcke@ela-soft.com \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox