]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
wget: enable libpsl in target builds
authorRoss Burton <ross.burton@arm.com>
Thu, 23 Jul 2026 13:55:14 +0000 (14:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jul 2026 16:32:12 +0000 (17:32 +0100)
The Public Suffix List[1] is a list of domains that people can register
domains under, for example ".com" or ".co.uk".  This is useful because
it means browsers and other HTTP using tools can prevent malicious
web sites from setting privacy-damaging "supercookies".

In the interest of being more secure out of the box, enable libpsl in
builds of wget (note that we never build wget-native, as it is provided
by the host).

[1] https://publicsuffix.org

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/wget/wget_1.25.0.bb

index 10b2bc19a5d7ddda1186cf339ce9adc56e0a6ab1..1d202df9f42109f92652ecc475f33042da6d5129 100644 (file)
@@ -25,7 +25,7 @@ EXTRA_OECONF = "--without-libgnutls-prefix --without-libssl-prefix \
 EXTRA_OEMAKE += 'TOOLCHAIN_OPTIONS="${TOOLCHAIN_OPTIONS}" \
                  DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}"'
 
-PACKAGECONFIG ??= "gnutls pcre2 zlib \
+PACKAGECONFIG ??= "gnutls pcre2 zlib libpsl \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
 PACKAGECONFIG[ares] = "--with-cares,--without-cares,c-ares"
 PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"