summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/flatpak/flatpak_1.15.10.bb
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2024-08-21 10:35:25 +0200
committerKhem Raj <raj.khem@gmail.com>2024-08-21 08:45:47 -0700
commit0edc4266acdd5d06e89c6f2491f511877910b455 (patch)
treea9b6ec27fd985d915527214dec244f2cab301642 /meta-oe/recipes-extended/flatpak/flatpak_1.15.10.bb
parent8d0b921fb6ec8e46bd1fc5c5f1f3fcb63a313915 (diff)
downloadmeta-openembedded-0edc4266acdd5d06e89c6f2491f511877910b455.tar.gz
flatpak: update 1.15.9 -> 1.15.10
Dependencies: In distributions that compile Flatpak to use a separate bubblewrap (bwrap) executable, version 0.10.0 is required. This version adds a new feature which is required by the security fix in this release. Security fixes: Don't follow symbolic links when mounting persistent directories (--persist option). This prevents a sandbox escape where a malicious or compromised app could edit the symlink to point to a directory that the app should not have been allowed to read or write. (CVE-2024-42472, GHSA-7hgv-f2j8-xw87) Documentation: Mark the 1.12.x and 1.10.x branches as end-of-life (#5352) Other bug fixes: Fix several memory leaks (#5883, #5884) Internal changes: Record a log file when running build-time tests with AddressSanitizer (#5884) Add initial suppressions file for AddressSanitizer (#5884) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/flatpak/flatpak_1.15.10.bb')
-rw-r--r--meta-oe/recipes-extended/flatpak/flatpak_1.15.10.bb87
1 files changed, 87 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.15.10.bb b/meta-oe/recipes-extended/flatpak/flatpak_1.15.10.bb
new file mode 100644
index 0000000000..cf512c7cc6
--- /dev/null
+++ b/meta-oe/recipes-extended/flatpak/flatpak_1.15.10.bb
@@ -0,0 +1,87 @@
1DESCRIPTION = "Desktop containment framework."
2HOMEPAGE = "http://flatpak.org"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5
6SRC_URI = " \
7 git://github.com/flatpak/flatpak;protocol=https;branch=main \
8 file://0001-flatpak-pc-add-pc_sysrootdir.patch \
9"
10
11SRCREV = "8b4f523c4f8287d57f1a84a3a8216efe200c5fbf"
12
13S = "${WORKDIR}/git"
14
15inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native useradd mime features_check
16
17REQUIRED_DISTRO_FEATURES = "polkit"
18
19DEPENDS = " \
20 appstream \
21 bison-native \
22 bubblewrap-native \
23 fuse3 \
24 gdk-pixbuf \
25 glib-2.0 \
26 gpgme \
27 json-glib \
28 libarchive \
29 libcap \
30 libxml2 \
31 ostree \
32 polkit \
33 python3-pyparsing-native \
34 xdg-dbus-proxy-native \
35 zstd \
36"
37
38RDEPENDS:${PN} = " \
39 ca-certificates \
40 flatpak-xdg-utils \
41 fuse3-utils \
42 bubblewrap \
43 xdg-dbus-proxy \
44"
45
46GIR_MESON_OPTION = "gir"
47GIR_MESON_ENABLE_FLAG = 'enabled'
48GIR_MESON_DISABLE_FLAG = 'disabled'
49GTKDOC_MESON_OPTION = 'gtkdoc'
50GTKDOC_MESON_ENABLE_FLAG = 'enabled'
51GTKDOC_MESON_DISABLE_FLAG = 'disabled'
52
53PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
54PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"
55PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native"
56PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native"
57PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4"
58PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native"
59PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth"
60PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
61PACKAGECONFIG[malcontent] = "-Dmalcontent=enabled,-Dmalcontent=disabled,malcontent"
62PACKAGECONFIG[selinux] = "-Dselinux_module=enabled,-Dselinux_module=disabled,libselinux"
63PACKAGECONFIG[wayland-security-context] = "-Dwayland_security_context=enabled,-Dwayland_security_context=disabled,wayland wayland-native wayland-protocols"
64
65PACKAGECONFIG ?= " \
66 curl \
67 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xauth', '', d)} \
68 ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \
69 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-security-context', '', d)} \
70"
71
72EXTRA_OEMESON = " \
73 -Dsystem_fusermount=fusermount3 \
74 -Dsystem_bubblewrap=bwrap \
75 -Dsystem_dbus_proxy=xdg-dbus-proxy \
76"
77
78FILES:${PN} += "${libdir} ${datadir}"
79
80USERADD_PACKAGES = "${PN}"
81USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd"
82
83do_install:append() {
84 chmod 0700 ${D}/${datadir}/polkit-1/rules.d
85 chown polkitd ${D}/${datadir}/polkit-1/rules.d
86 chgrp root ${D}/${datadir}/polkit-1/rules.d
87}