Re: [Openvpn-users] 2.6.x pre-build packages for Ubuntu (mostly) without DCO

2023-03-10 Thread Gert Doering
Hi,

On Fri, Mar 10, 2023 at 04:32:37PM +0100, Ralf Hildebrandt via Openvpn-users 
wrote:
> Now we checked this on our different ubuntu machines and found that 
> openvpn (from the official build repos)
> 
> on focal: had no DCO
> on kinetic: had DCO built-in

I assume this is something in our build system.  If there is no library,
the new configure in 2.6.1 will not "just fall back to disable-dco" but
will error-out.

OTOH, there's no kernel DCO for focal (I think?) so building the 
userland binary without DCO is no loss.

[...]
> So maybe the build process for the packages on
> https://swupdate.openvpn.net/repos/ is lacking a few build dependencies?

More like "explicitly disabling DCO", because without the dependencies,
configure would error-out now.

Frank, can you enlighten us? :-)

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
 Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany g...@greenie.muc.de


signature.asc
Description: PGP signature
___
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users


[Openvpn-users] 2.6.x pre-build packages for Ubuntu (mostly) without DCO

2023-03-10 Thread Ralf Hildebrandt via Openvpn-users
The release notes say:

  configure now enables DCO build by default on FreeBSD and Linux. On
  Linux this brings in a new default dependency for libnl-genl (for
  Linux distributions that are too old to have a suitable version of the
  library, use "configure --disable-dco")

Now we checked this on our different ubuntu machines and found that 
openvpn (from the official build repos)

on focal: had no DCO
on kinetic: had DCO built-in

So I thought that libnl-genl and libnl-3 may not be available on focal
or may be a bit too old. So I checked that as well:

on kinetic:

# dpkg -l  | grep libnl
ii  libnl-3-200:amd64 3.7.0-0.2   amd64   library for 
dealing with netlink sockets
ii  libnl-genl-3-200:amd643.7.0-0.2   amd64   library for 
dealing with netlink sockets - generic netlink
(I omitted the -dev packages, since their version match)

on focal:

# dpkg -l |fgrep libnl
ii  libnl-3-200:amd64 3.4.0-1ubuntu0.1   amd64   library for 
dealing with netlink sockets
ii  libnl-genl-3-200:amd643.4.0-1ubuntu0.1   amd64   library for 
dealing with netlink sockets - generic netlink

Now I wondered if 3.4.0 is considered too old (aka "not suitable") or if
this is maybe an error in the build process?

configure.ac in 2.6.1 says:

PKG_CHECK_MODULES([LIBNL_GENL],
   [libnl-genl-3.0 >= 3.4.0],
  [have_libnl="yes"],
  [
   AC_MSG_ERROR([libnl-genl-3.0 package not found or too old. Is the 
development package and pkg-config installed? Must be version 3.4.0 or newer 
for DCO])
  ]
)

According to this, 3.4.0 should suffice!

So maybe the build process for the packages on
https://swupdate.openvpn.net/repos/ is lacking a few build dependencies?

-- 
Ralf Hildebrandt
Charité - Universitätsmedizin Berlin
Geschäftsbereich IT | Abteilung Netzwerk

Campus Benjamin Franklin (CBF)
Haus I | 1. OG | Raum 105
Hindenburgdamm 30 | D-12203 Berlin

Tel. +49 30 450 570 155
ralf.hildebra...@charite.de
https://www.charite.de


___
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users