mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 23:24:24 +00:00
Details: https://nvd.nist.gov/vuln/detail/CVE-2021-3982 The vulnerability is about a privilege escalation, in case the host distribution sets CAP_SYS_NICE capability on the gnome-shell binary. OE distros don't do that, and due to this this recipe is not affected by this issue. The CVE is ignored. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4d6e24106c78eed3b9d9a36115df8d2f057f5178) Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
89 lines
2.4 KiB
BlitzBasic
89 lines
2.4 KiB
BlitzBasic
SUMMARY = "GNOME Shell is the graphical shell of the GNOME desktop environment"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
|
|
DEPENDS = " \
|
|
libxml2-native \
|
|
gtk4 \
|
|
mutter \
|
|
evolution-data-server \
|
|
gcr \
|
|
geocode-glib \
|
|
gjs \
|
|
gnome-autoar \
|
|
gnome-desktop \
|
|
polkit \
|
|
pipewire \
|
|
libsoup-3.0 \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'startup-notification', d)} \
|
|
ibus \
|
|
gsettings-desktop-schemas \
|
|
"
|
|
|
|
inherit gnomebase gsettings gettext gobject-introspection gtk-icon-cache features_check bash-completion
|
|
|
|
REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
|
|
|
|
GTKIC_VERSION = "4"
|
|
GTKDOC_MESON_OPTION = "gtk_doc"
|
|
GIR_MESON_OPTION = ""
|
|
|
|
# gobject-introspection is mandatory and cannot be configured
|
|
REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
|
|
|
|
SRC_URI[archive.sha256sum] = "64f999844c101e63bf294d45b138de56319ad2f326282721aad0fa860653b369"
|
|
SRC_URI += "file://0001-Introduce-options-gjs_path-to-optionally-set-path-to.patch"
|
|
SRC_URI += "file://0002-screencast-Correct-expected-bus-name-for-streams.patch"
|
|
|
|
PACKAGECONFIG ??= "bluetooth nm ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
|
PACKAGECONFIG[bluetooth] = ",,gnome-bluetooth"
|
|
PACKAGECONFIG[nm] = "-Dnetworkmanager=true, -Dnetworkmanager=false,networkmanager libsecret,networkmanager"
|
|
PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false, systemd"
|
|
|
|
EXTRA_OEMESON = " \
|
|
-Dgjs_path=${bindir}/gjs \
|
|
-Dextensions-app:gjs_path=${bindir}/gjs \
|
|
-Dtests=false \
|
|
-Dman=false \
|
|
"
|
|
|
|
do_install:append() {
|
|
# fix shebangs
|
|
for tool in `find ${D}${bindir} -name '*-tool'`; do
|
|
sed -i 's:#!${PYTHON}:#!${bindir}/python3:' $tool
|
|
done
|
|
}
|
|
|
|
GSETTINGS_PACKAGE = "${PN}-gsettings"
|
|
|
|
FILES:${PN} += " \
|
|
${datadir}/metainfo \
|
|
${datadir}/dbus-1 \
|
|
${datadir}/gnome-control-center \
|
|
${datadir}/xdg-desktop-portal \
|
|
${systemd_user_unitdir} \
|
|
"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
accountsservice \
|
|
adwaita-icon-theme \
|
|
adwaita-icon-theme-cursors \
|
|
gdm-base \
|
|
gnome-control-center \
|
|
gnome-backgrounds \
|
|
gnome-bluetooth \
|
|
gnome-desktop \
|
|
gnome-session \
|
|
gnome-settings-daemon \
|
|
gnome-shell-gsettings \
|
|
gsettings-desktop-schemas \
|
|
librsvg-gtk \
|
|
"
|
|
|
|
PACKAGES =+ "${PN}-tools ${PN}-gsettings"
|
|
FILES:${PN}-tools = "${bindir}/*-tool"
|
|
RDEPENDS:${PN}-tools = "python3-core"
|
|
|
|
CVE_STATUS[CVE-2021-3982] = "not-applicable-config: OE doesn't set CAP_SYS_NICE capability"
|