diff options
Diffstat (limited to 'meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb')
-rw-r--r-- | meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb b/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb new file mode 100644 index 0000000000..cbc886a2cb --- /dev/null +++ b/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb | |||
@@ -0,0 +1,86 @@ | |||
1 | SUMMARY = "An HTTP library implementation in C" | ||
2 | DESCRIPTION = "libsoup is an HTTP client/server library for GNOME. It uses GObjects \ | ||
3 | and the glib main loop, to integrate well with GNOME applications." | ||
4 | HOMEPAGE = "https://wiki.gnome.org/Projects/libsoup" | ||
5 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
6 | SECTION = "x11/gnome/libs" | ||
7 | LICENSE = "LGPL-2.0-only" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
9 | |||
10 | DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl" | ||
11 | |||
12 | SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" | ||
13 | |||
14 | SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ | ||
15 | file://0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch \ | ||
16 | file://0001-CVE-2025-32911.patch \ | ||
17 | file://0001-Fix-possibly-uninitialized-warnings.patch \ | ||
18 | file://0001-Remove-http-and-https-aliases-support-test.patch \ | ||
19 | file://CVE-2024-52532-1.patch \ | ||
20 | file://CVE-2024-52532-2.patch \ | ||
21 | file://CVE-2024-52532-3.patch \ | ||
22 | file://CVE-2025-32053.patch \ | ||
23 | file://CVE-2025-2784.patch \ | ||
24 | file://CVE-2024-52530.patch \ | ||
25 | file://CVE-2025-32906.patch \ | ||
26 | file://CVE-2025-32914.patch \ | ||
27 | file://CVE-2025-46420.patch \ | ||
28 | file://CVE-2025-46421.patch \ | ||
29 | file://CVE-2025-32050.patch \ | ||
30 | file://CVE-2025-32052.patch \ | ||
31 | file://CVE-2025-32909.patch \ | ||
32 | file://CVE-2025-32910-1.patch \ | ||
33 | file://CVE-2025-32910-2.patch \ | ||
34 | file://CVE-2025-32910-3.patch \ | ||
35 | file://CVE-2025-32912.patch \ | ||
36 | file://CVE-2024-52531-1.patch \ | ||
37 | file://CVE-2024-52531-2.patch \ | ||
38 | file://CVE-2025-4476.patch \ | ||
39 | file://CVE-2025-32907.patch \ | ||
40 | file://CVE-2025-4948.patch \ | ||
41 | file://CVE-2025-4969.patch \ | ||
42 | " | ||
43 | SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13" | ||
44 | |||
45 | CVE_PRODUCT = "libsoup" | ||
46 | |||
47 | S = "${UNPACKDIR}/libsoup-${PV}" | ||
48 | |||
49 | inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection gtk-doc | ||
50 | |||
51 | UPSTREAM_CHECK_REGEX = "libsoup-(?P<pver>2(\.(?!99)\d+)+)\.tar" | ||
52 | |||
53 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
54 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
55 | |||
56 | PACKAGECONFIG ??= "" | ||
57 | PACKAGECONFIG[brotli] = "-Dbrotli=enabled,-Dbrotli=disabled,brotli" | ||
58 | # libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards | ||
59 | PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false" | ||
60 | PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5" | ||
61 | PACKAGECONFIG[ntlm] = "-Dntlm=enabled,-Dntlm=disabled" | ||
62 | PACKAGECONFIG[sysprof] = "-Dsysprof=enabled,-Dsysprof=disabled,sysprof" | ||
63 | |||
64 | # Tell libsoup where the target ntlm_auth is installed | ||
65 | do_write_config:append:class-target() { | ||
66 | cat >${WORKDIR}/soup.cross <<EOF | ||
67 | [binaries] | ||
68 | ntlm_auth = '${bindir}/ntlm_auth' | ||
69 | EOF | ||
70 | } | ||
71 | EXTRA_OEMESON:append:class-target = " --cross-file ${WORKDIR}/soup.cross" | ||
72 | |||
73 | EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false" | ||
74 | |||
75 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
76 | |||
77 | # When built without gnome support, libsoup-2.4 will contain only one shared lib | ||
78 | # and will therefore become subject to renaming by debian.bbclass. Prevent | ||
79 | # renaming in order to keep the package name consistent regardless of whether | ||
80 | # gnome support is enabled or disabled. | ||
81 | DEBIAN_NOAUTONAME:${PN} = "1" | ||
82 | |||
83 | # glib-networking is needed for SSL, proxies, etc. | ||
84 | RRECOMMENDS:${PN} = "glib-networking" | ||
85 | |||
86 | BBCLASSEXTEND = "native nativesdk" | ||