Files
Josef Schlehofer fedafef050 curl: add libcurl-gnutls as a build variant
libcurl-gnutls was a separate package built from the curl tarball, so
every curl update had to be repeated there, and often it was not. In
openwrt-24.10 it stayed at 8.9.1 while curl went up to 8.22.0. Its
consumers also compile against the headers of the curl package, pulled
in through PKG_BUILD_DEPENDS, so headers and library could come from
different curl releases.

Build it as the gnutls variant of net/curl instead. curl and libcurl
get the variant "default". The gnutls variant keeps the fixed configure
arguments and the binutils strip of the old package and ignores the
LIBCURL_* options. It stages the headers and libcurl-gnutls.so only, so
nothing that links with -lcurl picks it up, and consumers get headers
from the same build.

Package name, ABI version, dependencies and installed files stay the
same. libcurl-gnutls now also gets the patch of net/curl and is linked
with --gc-sections like libcurl. It has no maintainer, like curl and
libcurl, and its title is the libcurl title with "(GnuTLS)".

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-11-18 08:20:04 +01:00
..
2026-09-22 15:19:09 +02:00
2026-10-17 22:31:51 +02:00