Skip to contentSkip to conversation

libadwaita: upgrade 1.1.1 -> 1.1.7

PATCH New Gyorgy Sarvari 1 participant 5 messages Jan 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 libadwaita: upgrade 1.1.1 -> 1.1.7

Bugfix releases.

Changelog:

Version 1.1.7:
- AdwCarousel
- Fix allocation
- AdwFlap
- Add a missing setter annotation for :fold-policy
- Correctly measure separator
- Avoid notify emissions in dispose()
- AdwLeaflet
- Fix can-unfold=false
- AdwSpringAnimation
- Fix critical damping velocity
- AdwSwipeable
- Fix get_swipe_area() fallback
- AdwTabBar
- Fix clipped labels
- AdwToastOverlay
- Don't focus buttons on click
- Demo
- Open primary menu with F10
- Fix the switch on the avatar page
- Stylesheet
- Fix GtkLevelBar fill colors
- Fix dependency names in docs
- Memory leak fixes

Version 1.1.6:
- AdwAvatar
- Correctly redraw on custom image changes
- AdwFlap
- Fix natural width with fold-policy=never
- AdwSplitButton
- Don't make dropdown insensitive when the button is
- AdwTabBar
- Fix focus handling
- Fix autoscroll for non-local drags
- AdwToastOverlay
- Clarify documentation
- Stylesheet
- Fix GtkSpinButton inside toolbars

Version 1.1.5:
- AdwCarousel
- Fix a crash when removing a child while it's animating
- AdwSqueezer
- Sizing fixes
- AdwTabBar
- Fix long press handling
- Fix a crash when clicking empty space while a tab is animating
- AdwTabView
- Fix set_menu_model() input check

Version 1.1.4:
- AdwAvatar
- Fix draw_to_texture() with rectangular avatars
- AdwTabBar
- Fix squished or clipped text with gtk-hint-font-metrics=0
- AdwShadowHelper
- Fix warnings when drawing vertical shadow
- AdwSwipeTracker
- Fix swipe speed on GTK 4.7.x
- Fix criticals with GTK 4.7.x

Version 1.1.3:
- AdwLeaflet
- Fix a broken link in docs
- AdwPreferencesGroup
- Fix accessibility labels
- AdwToast
- Fix the example in docs
- Stylesheet
- Add missing borders in high contrast version

Version 1.1.2:
- AdwLeaflet
- Fix child sizing with fold-threshold-policy=natural
- AdwStyleManager
- Correctly handle removing a GdkDisplay
- AdwSwipeTracker
- Fix a memory leak
- Fix high contrast setting name when using a portal
- AdwTabBar
- Fix middle click when inside GtkWindowHandle
- Stylesheet
- Fix action row title and subtitle inside GtkHeaderBar
- Fix progressbar.osd overriding text color
- Ensure active states consistently work with touchscreens
- Fix GtkDropDown visual glitch when pressed on touchscreen
- Translation updates:

---
 .../libadwaita/{libadwaita_1.1.1.bb => libadwaita_1.1.7.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-gnome/recipes-gnome/libadwaita/{libadwaita_1.1.1.bb => libadwaita_1.1.7.bb} (86%)
meta-gnome/recipes-gnome/libadwaita/libadwaita_1.1.7.bb renamed from meta-gnome/recipes-gnome/libadwaita/libadwaita_1.1.1.bb +1 -1
similarity index 86%
rename from meta-gnome/recipes-gnome/libadwaita/libadwaita_1.1.1.bb
rename to meta-gnome/recipes-gnome/libadwaita/libadwaita_1.1.7.bb
index 8ca3be352e..2150b86813 100644
@@ -11,7 +11,7 @@ DEPENDS = " \
 
 inherit gnomebase gobject-introspection gtk-doc vala features_check
 
-SRC_URI[archive.sha256sum] = "491169d4f6a11765328996bc088272d05c7235453bc0ee73c20dfd4bd67b401c"
+SRC_URI[archive.sha256sum] = "f54481638e921b1e42a7edd16c4fadd5eb859f8ef1425285618821c844b38d92"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 REQUIRED_DISTRO_FEATURES = "opengl"
#1 lore raw

PATCH 2/5 nautilus: upgrade 42.1.1 -> 42.6

Bugfix releases. Note that there were no 42.3 and 42.4 releases.

42.6:
* Fix crash when pasting invalid clipboard data. CVE-2022-37290

42.5:
* Really fix the cropped compress format popover on X11
* Fix behavior inconsistencies with new tabs
* Fix memory leaks and missing signal disconnections
* Translation updates

42.2:
* Close broken link message dialog on response
* Fix crash when opening new window from pathbar
* Fix remote filesystem check
* Translation updates

---
 .../nautilus/{nautilus_42.1.1.bb => nautilus_42.6.bb}           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-gnome/recipes-gnome/nautilus/{nautilus_42.1.1.bb => nautilus_42.6.bb} (92%)
meta-gnome/recipes-gnome/nautilus/nautilus_42.6.bb renamed from meta-gnome/recipes-gnome/nautilus/nautilus_42.1.1.bb +1 -1
similarity index 92%
rename from meta-gnome/recipes-gnome/nautilus/nautilus_42.1.1.bb
rename to meta-gnome/recipes-gnome/nautilus/nautilus_42.6.bb
index a36ccec472..dcfcd77380 100644
@@ -21,7 +21,7 @@ inherit gnomebase gsettings gobject-introspection gtk-doc gettext features_check
 def gnome_verdir(v):
     return oe.utils.trim_version(v, 1)
 
-SRC_URI[archive.sha256sum] = "8519d4565e842aa3d31d0fe39b21d48ac54edc0f0658fe1d8ea2da4e704c1b66"
+SRC_URI[archive.sha256sum] = "9c771c09265538f24488d3034f7b69605f5c828104ebe0ad1963d1681bce69b6"
 
 REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
#2 lore raw

PATCH 3/5 catfish: upgrade 4.16.3 -> 4.16.4

In reply to Gyorgy Sarvari

Changelog:
- Add "Open with" right click item and dialog
- Add a command-line option for setting default sort method
- Add Ctrl+A accelerator for the treeview
- Add option to show file size in binary or decimal
- Cosmetic changes for search entry and delete dialog
- Fix Ctrl+H not always toggling hidden files
- Fix DE detection when launched from Electron apps
- Fix exo file manager lookup for non-existent keys
- Fix file manager lookup outside of Xfce
- Fix GNOME DE detection in Ubuntu
- Improve application menu appearance
- Improve default width for the sidebar
- Prepend the project root directory to sys.path
- Support running without Xfconf (no preference saving)
- Switch to using the super() method
- Use correct executable for elementary Files
- Translation Updates

---
 .../catfish/{catfish_4.16.3.bb => catfish_4.16.4.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-xfce/recipes-apps/catfish/{catfish_4.16.3.bb => catfish_4.16.4.bb} (90%)
meta-xfce/recipes-apps/catfish/catfish_4.16.4.bb renamed from meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb +1 -1
similarity index 90%
rename from meta-xfce/recipes-apps/catfish/catfish_4.16.3.bb
rename to meta-xfce/recipes-apps/catfish/catfish_4.16.4.bb
index 8fe879b816..1893802090 100644
@@ -7,7 +7,7 @@ inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg
 
 DEPENDS += "python3-distutils-extra-native"
 
-SRC_URI[sha256sum] = "e9a99a62d10981391508dd43f3cbfa2d50a69bd6b7d1eeef7d30ba4c673dcfda"
+SRC_URI[sha256sum] = "6e5c01c534de7a8ce911965c4cd298c5b5d2079e0bc29c91b1e310c9884bb5fc"
 
 FILES:${PN} += "${datadir}/metainfo"
 
#3 lore raw

PATCH 4/5 libvncserver: patch CVE-2020-29260

In reply to Gyorgy Sarvari

Details: https://nvd.nist.gov/vuln/detail/CVE-2020-29260

Pick the patch referenced by the NVD report.

---
 .../libvncserver/CVE-2020-29260.patch         | 28 +++++++++++++++++++
 .../libvncserver/libvncserver_0.9.13.bb       |  4 ++-
 2 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 meta-oe/recipes-graphics/libvncserver/libvncserver/CVE-2020-29260.patch
meta-oe/recipes-graphics/libvncserver/libvncserver/CVE-2020-29260.patch new file +28 -0
new file mode 100644
index 0000000000..c865b8e067
@@ -0,0 +1,28 @@
+From 060f7b71c2ae62c2253a387efe27b0593d04a1ae Mon Sep 17 00:00:00 2001
+From: Christian Beier <[email protected]>
+Date: Sat, 21 Nov 2020 12:52:31 +0100
+Subject: [PATCH] libvncclient: free vncRec memory in rfbClientCleanup()
+
+Otherwise we leak memory. Spotted by Ramin Farajpour Cami
+<[email protected]>, thanks!
+
+CVE: CVE-2020-29260
+Upstream-Status: Backport [https://github.com/LibVNC/libvncserver/commit/bef41f6ec4097a8ee094f90a1b34a708fbd757ec]
+Signed-off-by: Gyorgy Sarvari <[email protected]>
+---
+ libvncclient/vncviewer.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
+index d6b91f02..0a1bdcf6 100644
+--- a/libvncclient/vncviewer.c
++++ b/libvncclient/vncviewer.c
+@@ -534,6 +534,8 @@ void rfbClientCleanup(rfbClient* client) {
+     client->clientData = next;
+   }
+ 
++  free(client->vncRec);
++
+   if (client->sock != RFB_INVALID_SOCKET)
+     rfbCloseSocket(client->sock);
+   if (client->listenSock != RFB_INVALID_SOCKET)
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.13.bb +3 -1
index 93f6951739..96cf9591b1 100644
@@ -44,7 +44,9 @@ FILES:libvncclient = "${libdir}/libvncclient.*"
 
 inherit cmake
 
-SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https"
+SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https \
+           file://CVE-2020-29260.patch \
+           "
 SRCREV = "2aa20dad4c23c18948d3f63b33f9dfec1f837729"
 
 S = "${WORKDIR}/git"
#4 lore raw

PATCH 5/5 proftpd: ignore CVE-2021-47865

In reply to Gyorgy Sarvari

Details: https://nvd.nist.gov/vuln/detail/CVE-2021-47865

This CVE was opened based on a 5 years old Github issue[1], and has been made public recently. The CVE wasn't officially disputed (yet?), but based on the description and the given PoC the application is working as expected.

The vulnerability description and the PoC basically configures proftpd to accept maximum x connections, and then when the user tries to open x + 1 concurrent connections, it refuses new connections over the configured limit.

See also discussion in the Github issue.

I just put it on the ignore list.

[1]: https://github.com/proftpd/proftpd/issues/1298

---
 meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb +3 -0
index b8f2b50f79..7aee6d1281 100644
@@ -28,6 +28,9 @@ inherit autotools-brokensep useradd update-rc.d systemd multilib_script
 # fixed-version: version 1.2.0rc3 removed affected module
 CVE_CHECK_IGNORE += "CVE-2001-0027"
 
+# the issue is not a vulnerability, works as expected
+CVE_CHECK_IGNORE += "CVE-2021-47865"
+
 PACKAGECONFIG ??= "shadow \
                    ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \
                    static \