openSUSE Commits
Threads by month
- ----- 2024 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2024
- 1 participants
- 1521 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package qrtool for openSUSE:Factory checked in at 2024-07-12 17:05:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qrtool (Old)
and /work/SRC/openSUSE:Factory/.qrtool.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qrtool"
Fri Jul 12 17:05:48 2024 rev:5 rq:1187061 version:0.11.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/qrtool/qrtool.changes 2024-07-04 16:27:41.233178900 +0200
+++ /work/SRC/openSUSE:Factory/.qrtool.new.17339/qrtool.changes 2024-07-12 17:06:02.927217367 +0200
@@ -1,0 +2,12 @@
+Fri Jul 12 05:20:35 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay(a)pm.me>
+
+- Update to version 0.11.2
+ * Add support for PIC output format
+ * Add ASCII string and ANSI escape sequences to the output
+ format
+ * Add values for inverting foreground and background colors
+ when the output format is a string
+ * Rename terminal to unicode, and making terminal an alias for
+ unicode
+
+-------------------------------------------------------------------
Old:
----
qrtool-0.11.0.tar.gz
New:
----
qrtool-0.11.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ qrtool.spec ++++++
--- /var/tmp/diff_new_pack.zOVUh3/_old 2024-07-12 17:06:04.019257490 +0200
+++ /var/tmp/diff_new_pack.zOVUh3/_new 2024-07-12 17:06:04.023257636 +0200
@@ -22,7 +22,7 @@
%bcond_without test
%endif
Name: qrtool
-Version: 0.11.0
+Version: 0.11.2
Release: 0
Summary: An utility for encoding or decoding QR code
License: MIT AND CC-BY-4.0 AND Apache-2.0
++++++ qrtool-0.11.0.tar.gz -> qrtool-0.11.2.tar.gz ++++++
++++ 4482 lines of diff (skipped)
++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/qrtool/vendor.tar.zst /work/SRC/openSUSE:Factory/.qrtool.new.17339/vendor.tar.zst differ: char 251038, line 1039
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package filezilla for openSUSE:Factory checked in at 2024-07-12 17:05:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/filezilla (Old)
and /work/SRC/openSUSE:Factory/.filezilla.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "filezilla"
Fri Jul 12 17:05:46 2024 rev:116 rq:1187082 version:3.67.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/filezilla/filezilla.changes 2024-04-19 19:26:43.139052736 +0200
+++ /work/SRC/openSUSE:Factory/.filezilla.new.17339/filezilla.changes 2024-07-12 17:06:01.307157843 +0200
@@ -1,0 +2,17 @@
+Fri Jul 12 09:37:57 UTC 2024 - ecsos <ecsos(a)opensuse.org>
+
+- Update to 3.57.1
+ * Bugfixes and minor changes:
+ - MSW: Fixed an issue with confirmation dialogs for file
+ deletion not being modal
+ - Updated to libfilezilla 0.48.1
+- Changes from 3.67.1-rc1
+ * Bugfixes and minor changes:
+ - Fixed an issue migrating old queue files if several older
+ versions have been skipped
+ - Updated to libfilezilla 0.48.0
+- Drop filezilla-verifyhostkeydialog.patch because now in upstream.
+- Download over osc no more possible. Source must be download over
+ website link.
+
+-------------------------------------------------------------------
Old:
----
FileZilla_3.67.0_src.tar.xz
filezilla-verifyhostkeydialog.patch
New:
----
FileZilla_3.67.1_src.tar.xz
BETA DEBUG BEGIN:
Old: - Updated to libfilezilla 0.48.0
- Drop filezilla-verifyhostkeydialog.patch because now in upstream.
- Download over osc no more possible. Source must be download over
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ filezilla.spec ++++++
--- /var/tmp/diff_new_pack.49HmTq/_old 2024-07-12 17:06:01.987182828 +0200
+++ /var/tmp/diff_new_pack.49HmTq/_new 2024-07-12 17:06:01.987182828 +0200
@@ -16,20 +16,20 @@
#
-%define libversion 3.67.0
-%define libfilezillaversion 0.47.0
+%define libversion 3.67.1
+%define libfilezillaversion 0.48.1
Name: filezilla
-Version: 3.67.0
+Version: 3.67.1
Release: 0
Summary: A GUI FTP and SFTP Client
License: GPL-2.0-or-later
Group: Productivity/Networking/Ftp/Clients
URL: https://filezilla-project.org/
-Source0: https://download.filezilla-project.org/client/FileZilla_%{version}_src.tar.…
+#Source0: https://download.filezilla-project.org/client/FileZilla_%%{version}_src.tar…
+Source0: FileZilla_%{version}_src.tar.xz
Patch0: %{name}-welcome_dialog.patch
Patch1: disable-avx-on-i586.patch
-Patch2: %{name}-verifyhostkeydialog.patch
Patch3: %{name}-sftp_crypt_info_dlg.patch
BuildRequires: autoconf
BuildRequires: automake
++++++ FileZilla_3.67.0_src.tar.xz -> FileZilla_3.67.1_src.tar.xz ++++++
++++ 36127 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package newsflash for openSUSE:Factory checked in at 2024-07-12 17:05:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/newsflash (Old)
and /work/SRC/openSUSE:Factory/.newsflash.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "newsflash"
Fri Jul 12 17:05:42 2024 rev:7 rq:1187030 version:3.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/newsflash/newsflash.changes 2024-05-11 18:24:41.321840944 +0200
+++ /work/SRC/openSUSE:Factory/.newsflash.new.17339/newsflash.changes 2024-07-12 17:05:57.903032770 +0200
@@ -1,0 +2,28 @@
+Fri Jul 12 06:17:13 UTC 2024 - Richard Rahl <rrahl0(a)opensuse.org>
+
+- update to 3.3.1:
+ * video player: mpris support
+ * zoom controls in article menu
+ * properly escape markup of empty feed list status
+ * fix keyboard navigation article list with collapsed article view
+ * favicon cache: cache and reuse gdk Textures to reduce memory consumption
+ * local RSS: keep order of articles when no date is specified
+ * article scraper: apply suggestions regarding libxml2 thread safety
+ * article scraper: update full-text-rss config files
+ * article scraper: replace images with single emoji in alt-text with unicode emoji
+ * database: store timestamps with UTC timezone
+ * database: reduce connection-pool size
+- update to 3.3.0:
+ * Video player based on libclapper
+ * Performance: parallelize requests to services during sync as much as possible
+ * miniflux: fix fetching a single feed after adding it
+ * feed parsing: improve selecting the correct website link
+ * Properly disconnect signals of listview rows
+ * Ping: timeout faster than the 3s delay for network changes
+ * Only show error badges if error count is greater than 0
+ * Use gtk4 uri launcher instead of ashpd
+ * Context menu to mark all articles as read
+ * Add dialogs: fit long translated string into mobile form factor
+- switch to changing version in spec file, removing show-actual-version.patch
+
+-------------------------------------------------------------------
Old:
----
news_flash_gtk-3.2.0.obscpio
news_flash_gtk.obsinfo
show-actual-version.patch
New:
----
newsflash-3.3.1.obscpio
newsflash.obsinfo
BETA DEBUG BEGIN:
Old: * Add dialogs: fit long translated string into mobile form factor
- switch to changing version in spec file, removing show-actual-version.patch
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ newsflash.spec ++++++
--- /var/tmp/diff_new_pack.AhorFi/_old 2024-07-12 17:05:59.747100524 +0200
+++ /var/tmp/diff_new_pack.AhorFi/_new 2024-07-12 17:05:59.751100671 +0200
@@ -19,16 +19,14 @@
%define _lto_cflags %{nil}
%define appname io.gitlab.news_flash.NewsFlash
Name: newsflash
-Version: 3.2.0
+Version: 3.3.1
Release: 0
Summary: The spiritual successor to FeedReader
License: GPL-3.0-only
URL: https://gitlab.com/news-flash/news_flash_gtk
-Source0: news_flash_gtk-%{version}.tar.zst
+Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
-Patch0: show-actual-version.patch
BuildRequires: appstream-glib
-BuildRequires: blueprint-compiler
BuildRequires: cargo-packaging
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
@@ -40,15 +38,19 @@
BuildRequires: python3-gobject
BuildRequires: update-desktop-files
BuildRequires: xdg-utils
+BuildRequires: pkgconfig(blueprint-compiler)
+BuildRequires: pkgconfig(clapper-gtk-0.0)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(glib-2.0)
+BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(webkitgtk-6.0)
+BuildRequires: typelib(ClapperGtk)
%description
NewsFlash is a program designed to complement an already existing web-based RSS reader account.
@@ -59,7 +61,10 @@
%lang_package
%prep
-%autosetup -p1 -a1 -n news_flash_gtk-%{version}
+%autosetup -a1
+
+# show the actual version in the about page
+sed -i "s|version: '0.0.0'|version: '%{version}'|g" meson.build
%build
%meson
@@ -74,7 +79,7 @@
%files
%license LICENSE
%doc README.md
-%{_bindir}/io.gitlab.news_flash.NewsFlash
+%{_bindir}/%{appname}
%{_datadir}/applications/%{appname}.desktop
%{_iconsdir}/hicolor/scalable/apps/%{appname}.svg
%{_iconsdir}/hicolor/symbolic/apps/%{appname}-symbolic.svg
++++++ _service ++++++
--- /var/tmp/diff_new_pack.AhorFi/_old 2024-07-12 17:05:59.779101700 +0200
+++ /var/tmp/diff_new_pack.AhorFi/_new 2024-07-12 17:05:59.783101847 +0200
@@ -3,10 +3,11 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.com/news-flash/news_flash_gtk.git</param>
- <param name="revision">refs/tags/v.3.2.0</param>
+ <param name="revision">refs/tags/v.3.3.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v.(.*)</param>
<param name="changesgenerate">disable</param>
+ <param name="filename">newsflash</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
@@ -18,7 +19,6 @@
<param name="compression">zst</param>
<param name="update">false</param>
</service>
- <service name="tar" mode="manual" />
<service name="set_version" mode="manual" />
</services>
++++++ newsflash.obsinfo ++++++
name: newsflash
version: 3.3.1
mtime: 1720738542
commit: 82863f7ffe58bbbb3f77b752d4b986554d50bc30
++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/newsflash/vendor.tar.zst /work/SRC/openSUSE:Factory/.newsflash.new.17339/vendor.tar.zst differ: char 7, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cma for openSUSE:Factory checked in at 2024-07-12 17:05:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cma (Old)
and /work/SRC/openSUSE:Factory/.python-cma.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cma"
Fri Jul 12 17:05:41 2024 rev:5 rq:1187018 version:3.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cma/python-cma.changes 2023-01-28 19:00:56.119925950 +0100
+++ /work/SRC/openSUSE:Factory/.python-cma.new.17339/python-cma.changes 2024-07-12 17:05:56.982998966 +0200
@@ -1,0 +2,7 @@
+Fri Jul 12 07:13:44 UTC 2024 - Steve Kowalik <steven.kowalik(a)suse.com>
+
+- Restrict numpy to < 2.
+- Switch to pyproject macros.
+- No more globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cma.spec ++++++
--- /var/tmp/diff_new_pack.YczMMn/_old 2024-07-12 17:05:57.667024098 +0200
+++ /var/tmp/diff_new_pack.YczMMn/_new 2024-07-12 17:05:57.671024246 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-cma
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2020 Christoph Junghans
#
# All modifications and additions to the file contributed by third parties
@@ -17,9 +17,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# No numpy on 3.6
-%define skip_python36 1
Name: python-cma
Version: 3.3.0
Release: 0
@@ -28,11 +25,13 @@
URL: https://cma.gforge.inria.fr/cmaes_sourcecode_page.html
Source0: https://github.com/CMA-ES/pycma/archive/r%{version}.tar.gz#/cma-%{version}.…
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module numpy-devel}
+BuildRequires: %{python_module numpy-devel < 2}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-numpy
+Requires: python-numpy < 2
Recommends: python-matplotlib
BuildArch: noarch
%python_subpackages
@@ -48,10 +47,10 @@
sed -i '1d' cma/{bbobbenchmarks.py,purecma.py,test.py}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,5 +59,6 @@
%files %{python_files}
%license LICENSE
%doc README.md
-%{python_sitelib}/cma*
+%{python_sitelib}/cma
+%{python_sitelib}/cma-%{version}.dist-info
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Image-ExifTool for openSUSE:Factory checked in at 2024-07-12 17:05:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Image-ExifTool (Old)
and /work/SRC/openSUSE:Factory/.perl-Image-ExifTool.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Image-ExifTool"
Fri Jul 12 17:05:34 2024 rev:75 rq:1186998 version:12.88
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Image-ExifTool/perl-Image-ExifTool.changes 2024-06-14 19:07:43.915802379 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Image-ExifTool.new.17339/perl-Image-ExifTool.changes 2024-07-12 17:05:53.990889031 +0200
@@ -1,0 +2,24 @@
+Fri Jul 12 02:47:43 UTC 2024 - Michael Vetter <mvetter(a)suse.com>
+
+- Update to 12.88:
+ * Added ability to read/write deflate-compressed XMP in HEIC files
+ * Added a new Canon LensType
+ * Added a new XMP-GCamera tag
+ * Added a new Nikon LensID
+ * Added a few new Canon AFAreaMode values
+ * Added config_files/onone.config to the distribution
+ * Decode timed accelerometer readings from NextBase 622GW videos
+ * Decode Pentax K-3III CameraOrentation
+ * Improved German translation for LensModel
+ * Enhanced the API StructFormat JSONQ setting to quote all JSON
+ values, even if they aren't in a structure
+ * Changed -geolocate option so specifying the Keys group writes
+ Keys:GPSPosition only if an input city is specified, and
+ Keys:LocationName only for input GPS coordinates
+ * Tweaked API Geolocation option recognized space-separated lat/lon
+ even when there is no decimal point in the numbers
+ * API Changes:
+ * Changed LargeFileSupport default to 2 and added a warning
+ if a large chunk is encountered. Set to 1 to avoid the warning.
+
+-------------------------------------------------------------------
Old:
----
Image-ExifTool-12.87.tar.gz
New:
----
Image-ExifTool-12.88.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Image-ExifTool.spec ++++++
--- /var/tmp/diff_new_pack.p7XzVn/_old 2024-07-12 17:05:54.786918278 +0200
+++ /var/tmp/diff_new_pack.p7XzVn/_new 2024-07-12 17:05:54.790918426 +0200
@@ -18,7 +18,7 @@
%define cpan_name Image-ExifTool
Name: perl-Image-ExifTool
-Version: 12.87
+Version: 12.88
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Read and write meta information
++++++ Image-ExifTool-12.87.tar.gz -> Image-ExifTool-12.88.tar.gz ++++++
/work/SRC/openSUSE:Factory/perl-Image-ExifTool/Image-ExifTool-12.87.tar.gz /work/SRC/openSUSE:Factory/.perl-Image-ExifTool.new.17339/Image-ExifTool-12.88.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package boinc-client for openSUSE:Factory checked in at 2024-07-12 17:05:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/boinc-client (Old)
and /work/SRC/openSUSE:Factory/.boinc-client.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boinc-client"
Fri Jul 12 17:05:30 2024 rev:64 rq:1186996 version:8.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/boinc-client/boinc-client.changes 2024-07-02 18:17:49.750447806 +0200
+++ /work/SRC/openSUSE:Factory/.boinc-client.new.17339/boinc-client.changes 2024-07-12 17:05:44.934556287 +0200
@@ -1,0 +2,8 @@
+Fri Jul 12 04:58:08 UTC 2024 - Jan Engelhardt <jengelh(a)inai.de>
+
+- Revert to state of 2024-05-26 due to regressions,
+ https://build.opensuse.org/request/show/1183568#comment-1957214
+ https://build.opensuse.org/request/show/1184357#comment-1959404
+ [boo#1227092]
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ boinc-client.spec ++++++
--- /var/tmp/diff_new_pack.VkhvNA/_old 2024-07-12 17:05:45.810588474 +0200
+++ /var/tmp/diff_new_pack.VkhvNA/_new 2024-07-12 17:05:45.814588621 +0200
@@ -138,7 +138,7 @@
%prep
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
-%autosetup -p0 -n %{name}_release-%{minor_version}-%{version} -D
+%autosetup -p1 -n %{name}_release-%{minor_version}-%{version} -D
%build
# Fix default path for boincscr
++++++ boinc-client.service ++++++
--- /var/tmp/diff_new_pack.VkhvNA/_old 2024-07-12 17:05:45.882591120 +0200
+++ /var/tmp/diff_new_pack.VkhvNA/_new 2024-07-12 17:05:45.886591267 +0200
@@ -9,10 +9,6 @@
Nice=10
User=boinc
ProtectHome=true
-ProtectSystem=full
-ProtectControlGroups=true
-ReadWritePaths=-$BOINC_BOINC_DIR
-WorkingDirectory=$BOINC_BOINC_DIR
CPUSchedulingPolicy=batch
Slice=background.slice
### boinc logs (with --redirectio) to stdoutdae.txt and stderrdae.txt
++++++ boinc-docbook2x.patch ++++++
--- /var/tmp/diff_new_pack.VkhvNA/_old 2024-07-12 17:05:45.898591708 +0200
+++ /var/tmp/diff_new_pack.VkhvNA/_new 2024-07-12 17:05:45.902591855 +0200
@@ -8,11 +8,11 @@
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-Index: configure.ac
+Index: boinc-client_release-7.22-7.22.0/configure.ac
===================================================================
---- configure.ac.orig
-+++ configure.ac
-@@ -378,7 +378,7 @@ AC_SUBST([TOP_BUILD_DIR], [`pwd`])
+--- boinc-client_release-7.22-7.22.0.orig/configure.ac
++++ boinc-client_release-7.22-7.22.0/configure.ac
+@@ -375,7 +375,7 @@ AC_SUBST([TOP_BUILD_DIR], [`pwd`])
dnl Check for docbook2x-man, which we use to create the manpages in
dnl doc/manpages, and set the conditional HAVE_DOCBOOK2X_MAN to build
dnl the manpages only if docbook2x-man is available.
++++++ build-client-scripts.patch ++++++
--- /var/tmp/diff_new_pack.VkhvNA/_old 2024-07-12 17:05:45.930592883 +0200
+++ /var/tmp/diff_new_pack.VkhvNA/_new 2024-07-12 17:05:45.934593030 +0200
@@ -1,7 +1,5 @@
-Index: client/scripts/Makefile.am
-===================================================================
---- client/scripts/Makefile.am.orig
-+++ client/scripts/Makefile.am
+--- a/client/scripts/Makefile.am
++++ b/client/scripts/Makefile.am
@@ -1,5 +1,7 @@
## -*- mode: makefile; tab-width: 4 -*-
++++++ libboinc-shared.patch ++++++
--- /var/tmp/diff_new_pack.VkhvNA/_old 2024-07-12 17:05:45.946593471 +0200
+++ /var/tmp/diff_new_pack.VkhvNA/_new 2024-07-12 17:05:45.950593618 +0200
@@ -18,10 +18,10 @@
vda/Makefile.am | 1 -
9 files changed, 8 insertions(+), 14 deletions(-)
-Index: api/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/api/Makefile.am
===================================================================
---- api/Makefile.am.orig
-+++ api/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/api/Makefile.am
++++ boinc-client_release-8.0-8.0.2/api/Makefile.am
@@ -44,20 +44,20 @@ endif
lib_LTLIBRARIES = libboinc_api.la
pkgconfig_DATA = libboinc_api.pc
@@ -46,10 +46,10 @@
if INSTALL_HEADERS
## install only headers that are meant for exporting the API !!
-Index: apps/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/apps/Makefile.am
===================================================================
---- apps/Makefile.am.orig
-+++ apps/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/apps/Makefile.am
++++ boinc-client_release-8.0-8.0.2/apps/Makefile.am
@@ -8,15 +8,15 @@ example_PROGRAMS = uppercase concat 1sec
uppercase_SOURCES = uppercase.cpp
@@ -69,10 +69,10 @@
-1sec_LDFLAGS = -static-libtool-libs $(PTHREAD_CFLAGS)
+1sec_LDFLAGS = $(PTHREAD_CFLAGS)
1sec_LDADD = $(APPLIBS)
-Index: client/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/client/Makefile.am
===================================================================
---- client/Makefile.am.orig
-+++ client/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/client/Makefile.am
++++ boinc-client_release-8.0-8.0.2/client/Makefile.am
@@ -6,7 +6,6 @@ CXXFLAGS := $(filter-out -mfpu=vfpv3-d16
include $(top_srcdir)/Makefile.incl
@@ -81,10 +81,10 @@
## for an entirely statically linked library, you may want to try
## -all-static instead. There's a good chance it won't work properly,
## so we'll use the safer "-static-libtool-libs" by default.
-Index: clientgui/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/clientgui/Makefile.am
===================================================================
---- clientgui/Makefile.am.orig
-+++ clientgui/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/clientgui/Makefile.am
++++ boinc-client_release-8.0-8.0.2/clientgui/Makefile.am
@@ -7,7 +7,6 @@
include $(top_srcdir)/Makefile.incl
@@ -93,10 +93,10 @@
## for an entirely statically linked library, you may want to try
## -all-static instead. There's a good chance it won't work properly,
## so we'll use the safer "-static-libtool-libs" by default.
-Index: clientscr/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/clientscr/Makefile.am
===================================================================
---- clientscr/Makefile.am.orig
-+++ clientscr/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/clientscr/Makefile.am
++++ boinc-client_release-8.0-8.0.2/clientscr/Makefile.am
@@ -5,7 +5,6 @@ include $(top_srcdir)/Makefile.incl
AM_LDFLAGS += -lpthread
@@ -105,10 +105,10 @@
## for an entirely statically linked library, you may want to try
## -all-static instead. There's a good chance it won't work properly,
## so we'll use the safer "-static-libtool-libs" by default.
-Index: lib/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/lib/Makefile.am
===================================================================
---- lib/Makefile.am.orig
-+++ lib/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/lib/Makefile.am
++++ boinc-client_release-8.0-8.0.2/lib/Makefile.am
@@ -184,7 +184,7 @@ pkgconfig_DATA = libboinc.pc
libboinc_la_SOURCES = $(generic_sources) $(mac_sources) $(win_sources)
libboinc_la_CFLAGS = $(AM_CFLAGS) $(PICFLAGS) $(PTHREAD_CFLAGS)
@@ -127,10 +127,10 @@
libboinc_crypt_la_LIBADD =
endif
-Index: sched/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/sched/Makefile.am
===================================================================
---- sched/Makefile.am.orig
-+++ sched/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/sched/Makefile.am
++++ boinc-client_release-8.0-8.0.2/sched/Makefile.am
@@ -4,7 +4,6 @@
include $(top_srcdir)/Makefile.incl
@@ -139,10 +139,10 @@
if ENABLE_LIBRARIES
-Index: tools/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/tools/Makefile.am
===================================================================
---- tools/Makefile.am.orig
-+++ tools/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/tools/Makefile.am
++++ boinc-client_release-8.0-8.0.2/tools/Makefile.am
@@ -43,7 +43,6 @@ dist_tools_DATA = \
gui_urls.xml
@@ -151,10 +151,10 @@
cancel_jobs_SOURCES = cancel_jobs.cpp
cancel_jobs_LDADD = $(SERVERLIBS)
-Index: vda/Makefile.am
+Index: boinc-client_release-8.0-8.0.2/vda/Makefile.am
===================================================================
---- vda/Makefile.am.orig
-+++ vda/Makefile.am
+--- boinc-client_release-8.0-8.0.2.orig/vda/Makefile.am
++++ boinc-client_release-8.0-8.0.2/vda/Makefile.am
@@ -4,7 +4,6 @@ vdadir=$(libexecdir)/boinc-server-maker/
vda_PROGRAMS = vda vdad ssim
++++++ xlocale.patch ++++++
--- /var/tmp/diff_new_pack.VkhvNA/_old 2024-07-12 17:05:45.978594647 +0200
+++ /var/tmp/diff_new_pack.VkhvNA/_new 2024-07-12 17:05:45.982594793 +0200
@@ -8,10 +8,8 @@
clientgui/AsyncRPC.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
-Index: clientgui/AsyncRPC.cpp
-===================================================================
---- clientgui/AsyncRPC.cpp.orig
-+++ clientgui/AsyncRPC.cpp
+--- a/clientgui/AsyncRPC.cpp
++++ b/clientgui/AsyncRPC.cpp
@@ -24,9 +24,7 @@
#endif
#include "config.h"
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package iwd for openSUSE:Factory checked in at 2024-07-12 17:05:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iwd (Old)
and /work/SRC/openSUSE:Factory/.iwd.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iwd"
Fri Jul 12 17:05:29 2024 rev:49 rq:1186995 version:2.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/iwd/iwd.changes 2024-06-09 20:24:52.919586655 +0200
+++ /work/SRC/openSUSE:Factory/.iwd.new.17339/iwd.changes 2024-07-12 17:05:43.762513225 +0200
@@ -1,0 +2,7 @@
+Tue Jul 9 12:37:37 UTC 2024 - Dirk Müller <dmueller(a)suse.com>
+
+- update to 2.19:
+ * Fix issue with handling flush flag for external scans.
+ * Fix issue with handling SNR calculation in ranking.
+
+-------------------------------------------------------------------
@@ -21 +28 @@
-- Update to version 2.16
+- Update to version 2.16 (bsc#1221018, CVE-2024-28084):
Old:
----
iwd-2.18.tar.sign
iwd-2.18.tar.xz
New:
----
iwd-2.19.tar.sign
iwd-2.19.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ iwd.spec ++++++
--- /var/tmp/diff_new_pack.cz7TCW/_old 2024-07-12 17:05:44.454538650 +0200
+++ /var/tmp/diff_new_pack.cz7TCW/_new 2024-07-12 17:05:44.454538650 +0200
@@ -17,7 +17,7 @@
Name: iwd
-Version: 2.18
+Version: 2.19
Release: 0
Summary: Wireless daemon for Linux
License: LGPL-2.1-or-later
@@ -31,7 +31,7 @@
BuildRequires: pkg-config
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(dbus-1)
-BuildRequires: pkgconfig(ell) >= 0.66
+BuildRequires: pkgconfig(ell) >= 0.67
BuildRequires: pkgconfig(readline)
BuildRequires: pkgconfig(systemd)
%{?systemd_ordering}
++++++ iwd-2.18.tar.xz -> iwd-2.19.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/ChangeLog new/iwd-2.19/ChangeLog
--- old/iwd-2.18/ChangeLog 2024-06-04 15:38:25.000000000 +0200
+++ new/iwd-2.19/ChangeLog 2024-07-08 22:13:39.000000000 +0200
@@ -1,3 +1,7 @@
+ver 2.19:
+ Fix issue with handling flush flag for external scans.
+ Fix issue with handling SNR calculation in ranking.
+
ver 2.18:
Fix issue with handling BSS with invalid HE capabilities.
Fix issue with neighbor reports with invalid country codes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/Makefile.am new/iwd-2.19/Makefile.am
--- old/iwd-2.18/Makefile.am 2024-06-04 15:38:25.000000000 +0200
+++ new/iwd-2.19/Makefile.am 2024-07-08 22:13:39.000000000 +0200
@@ -433,7 +433,7 @@
unit/test-ie unit/test-util unit/test-ssid-security \
unit/test-arc4 unit/test-wsc unit/test-eap-mschapv2 \
unit/test-eap-sim unit/test-sae unit/test-p2p unit/test-band \
- unit/test-dpp unit/test-json
+ unit/test-dpp unit/test-json unit/test-nl80211util
endif
if CLIENT
@@ -582,6 +582,13 @@
unit_test_json_SOURCES = unit/test-json.c src/json.h src/json.c shared/jsmn.h
unit_test_json_LDADD = $(ell_ldadd)
+
+unit_test_nl80211util_SOURCES = unit/test-nl80211util.c \
+ src/nl80211util.h src/nl80211util.c \
+ src/band.h src/band.c \
+ src/ie.h src/ie.c \
+ src/util.h src/util.c
+unit_test_nl80211util_LDADD = $(ell_ldadd)
endif
if CLIENT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/Makefile.in new/iwd-2.19/Makefile.in
--- old/iwd-2.18/Makefile.in 2024-06-04 15:40:47.000000000 +0200
+++ new/iwd-2.19/Makefile.in 2024-07-08 22:29:04.000000000 +0200
@@ -125,7 +125,7 @@
@DAEMON_TRUE@ unit/test-ie unit/test-util unit/test-ssid-security \
@DAEMON_TRUE@ unit/test-arc4 unit/test-wsc unit/test-eap-mschapv2 \
@DAEMON_TRUE@ unit/test-eap-sim unit/test-sae unit/test-p2p unit/test-band \
-@DAEMON_TRUE@ unit/test-dpp unit/test-json
+@DAEMON_TRUE@ unit/test-dpp unit/test-json unit/test-nl80211util
@CLIENT_TRUE@am__append_25 = unit/test-client
@MAINTAINER_MODE_TRUE@am__append_26 = $(unit_tests)
@@ -178,7 +178,8 @@
@DAEMON_TRUE@ unit/test-eap-mschapv2$(EXEEXT) \
@DAEMON_TRUE@ unit/test-eap-sim$(EXEEXT) unit/test-sae$(EXEEXT) \
@DAEMON_TRUE@ unit/test-p2p$(EXEEXT) unit/test-band$(EXEEXT) \
-@DAEMON_TRUE@ unit/test-dpp$(EXEEXT) unit/test-json$(EXEEXT)
+@DAEMON_TRUE@ unit/test-dpp$(EXEEXT) unit/test-json$(EXEEXT) \
+@DAEMON_TRUE@ unit/test-nl80211util$(EXEEXT)
@CLIENT_TRUE@am__EXEEXT_8 = unit/test-client$(EXEEXT)
am__EXEEXT_9 = $(am__EXEEXT_7) $(am__EXEEXT_8)
@MAINTAINER_MODE_TRUE@am__EXEEXT_10 = $(am__EXEEXT_9)
@@ -554,6 +555,16 @@
@DAEMON_TRUE@ src/mpdu.$(OBJEXT) src/ie.$(OBJEXT)
unit_test_mpdu_OBJECTS = $(am_unit_test_mpdu_OBJECTS)
@DAEMON_TRUE@unit_test_mpdu_DEPENDENCIES = $(am__DEPENDENCIES_1)
+am__unit_test_nl80211util_SOURCES_DIST = unit/test-nl80211util.c \
+ src/nl80211util.h src/nl80211util.c src/band.h src/band.c \
+ src/ie.h src/ie.c src/util.h src/util.c
+@DAEMON_TRUE@am_unit_test_nl80211util_OBJECTS = \
+@DAEMON_TRUE@ unit/test-nl80211util.$(OBJEXT) \
+@DAEMON_TRUE@ src/nl80211util.$(OBJEXT) src/band.$(OBJEXT) \
+@DAEMON_TRUE@ src/ie.$(OBJEXT) src/util.$(OBJEXT)
+unit_test_nl80211util_OBJECTS = $(am_unit_test_nl80211util_OBJECTS)
+@DAEMON_TRUE@unit_test_nl80211util_DEPENDENCIES = \
+@DAEMON_TRUE@ $(am__DEPENDENCIES_1)
am__unit_test_p2p_SOURCES_DIST = unit/test-p2p.c src/wscutil.h \
src/wscutil.c src/crypto.h src/crypto.c src/ie.h src/ie.c \
src/util.h src/util.c src/p2putil.h src/p2putil.c src/band.h \
@@ -737,8 +748,9 @@
unit/$(DEPDIR)/test-hmac-sha1.Po \
unit/$(DEPDIR)/test-hmac-sha256.Po unit/$(DEPDIR)/test-ie.Po \
unit/$(DEPDIR)/test-json.Po unit/$(DEPDIR)/test-kdf-sha256.Po \
- unit/$(DEPDIR)/test-mpdu.Po unit/$(DEPDIR)/test-p2p.Po \
- unit/$(DEPDIR)/test-prf-sha1.Po unit/$(DEPDIR)/test-sae.Po \
+ unit/$(DEPDIR)/test-mpdu.Po unit/$(DEPDIR)/test-nl80211util.Po \
+ unit/$(DEPDIR)/test-p2p.Po unit/$(DEPDIR)/test-prf-sha1.Po \
+ unit/$(DEPDIR)/test-sae.Po \
unit/$(DEPDIR)/test-ssid-security.Po \
unit/$(DEPDIR)/test-util.Po unit/$(DEPDIR)/test-wsc.Po \
wired/$(DEPDIR)/dbus.Po wired/$(DEPDIR)/ethdev.Po \
@@ -773,10 +785,11 @@
$(unit_test_hmac_md5_SOURCES) $(unit_test_hmac_sha1_SOURCES) \
$(unit_test_hmac_sha256_SOURCES) $(unit_test_ie_SOURCES) \
$(unit_test_json_SOURCES) $(unit_test_kdf_sha256_SOURCES) \
- $(unit_test_mpdu_SOURCES) $(unit_test_p2p_SOURCES) \
- $(unit_test_prf_sha1_SOURCES) $(unit_test_sae_SOURCES) \
- $(unit_test_ssid_security_SOURCES) $(unit_test_util_SOURCES) \
- $(unit_test_wsc_SOURCES) $(wired_ead_SOURCES)
+ $(unit_test_mpdu_SOURCES) $(unit_test_nl80211util_SOURCES) \
+ $(unit_test_p2p_SOURCES) $(unit_test_prf_sha1_SOURCES) \
+ $(unit_test_sae_SOURCES) $(unit_test_ssid_security_SOURCES) \
+ $(unit_test_util_SOURCES) $(unit_test_wsc_SOURCES) \
+ $(wired_ead_SOURCES)
DIST_SOURCES = $(am__ell_libell_internal_la_SOURCES_DIST) \
$(am__client_iwctl_SOURCES_DIST) \
$(am__monitor_iwmon_SOURCES_DIST) $(am__src_iwd_SOURCES_DIST) \
@@ -799,6 +812,7 @@
$(am__unit_test_json_SOURCES_DIST) \
$(am__unit_test_kdf_sha256_SOURCES_DIST) \
$(am__unit_test_mpdu_SOURCES_DIST) \
+ $(am__unit_test_nl80211util_SOURCES_DIST) \
$(am__unit_test_p2p_SOURCES_DIST) \
$(am__unit_test_prf_sha1_SOURCES_DIST) \
$(am__unit_test_sae_SOURCES_DIST) \
@@ -1672,6 +1686,13 @@
@DAEMON_TRUE@unit_test_dpp_LDADD = $(ell_ldadd)
@DAEMON_TRUE@unit_test_json_SOURCES = unit/test-json.c src/json.h src/json.c shared/jsmn.h
@DAEMON_TRUE@unit_test_json_LDADD = $(ell_ldadd)
+@DAEMON_TRUE@unit_test_nl80211util_SOURCES = unit/test-nl80211util.c \
+@DAEMON_TRUE@ src/nl80211util.h src/nl80211util.c \
+@DAEMON_TRUE@ src/band.h src/band.c \
+@DAEMON_TRUE@ src/ie.h src/ie.c \
+@DAEMON_TRUE@ src/util.h src/util.c
+
+@DAEMON_TRUE@unit_test_nl80211util_LDADD = $(ell_ldadd)
@CLIENT_TRUE@unit_test_client_SOURCES = unit/test-client.c \
@CLIENT_TRUE@ client/adapter.c \
@CLIENT_TRUE@ client/agent.h client/agent.c \
@@ -2284,6 +2305,12 @@
unit/test-mpdu$(EXEEXT): $(unit_test_mpdu_OBJECTS) $(unit_test_mpdu_DEPENDENCIES) $(EXTRA_unit_test_mpdu_DEPENDENCIES) unit/$(am__dirstamp)
@rm -f unit/test-mpdu$(EXEEXT)
$(AM_V_CCLD)$(LINK) $(unit_test_mpdu_OBJECTS) $(unit_test_mpdu_LDADD) $(LIBS)
+unit/test-nl80211util.$(OBJEXT): unit/$(am__dirstamp) \
+ unit/$(DEPDIR)/$(am__dirstamp)
+
+unit/test-nl80211util$(EXEEXT): $(unit_test_nl80211util_OBJECTS) $(unit_test_nl80211util_DEPENDENCIES) $(EXTRA_unit_test_nl80211util_DEPENDENCIES) unit/$(am__dirstamp)
+ @rm -f unit/test-nl80211util$(EXEEXT)
+ $(AM_V_CCLD)$(LINK) $(unit_test_nl80211util_OBJECTS) $(unit_test_nl80211util_LDADD) $(LIBS)
unit/test-p2p.$(OBJEXT): unit/$(am__dirstamp) \
unit/$(DEPDIR)/$(am__dirstamp)
@@ -2530,6 +2557,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@unit/$(DEPDIR)/test-json.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@unit/$(DEPDIR)/test-kdf-sha256.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@unit/$(DEPDIR)/test-mpdu.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@unit/$(DEPDIR)/test-nl80211util.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@unit/$(DEPDIR)/test-p2p.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@unit/$(DEPDIR)/test-prf-sha1.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@unit/$(DEPDIR)/test-sae.Po@am__quote@ # am--include-marker
@@ -3211,6 +3239,13 @@
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
+unit/test-nl80211util.log: unit/test-nl80211util$(EXEEXT)
+ @p='unit/test-nl80211util$(EXEEXT)'; \
+ b='unit/test-nl80211util'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
unit/test-client.log: unit/test-client$(EXEEXT)
@p='unit/test-client$(EXEEXT)'; \
b='unit/test-client'; \
@@ -3650,6 +3685,7 @@
-rm -f unit/$(DEPDIR)/test-json.Po
-rm -f unit/$(DEPDIR)/test-kdf-sha256.Po
-rm -f unit/$(DEPDIR)/test-mpdu.Po
+ -rm -f unit/$(DEPDIR)/test-nl80211util.Po
-rm -f unit/$(DEPDIR)/test-p2p.Po
-rm -f unit/$(DEPDIR)/test-prf-sha1.Po
-rm -f unit/$(DEPDIR)/test-sae.Po
@@ -3887,6 +3923,7 @@
-rm -f unit/$(DEPDIR)/test-json.Po
-rm -f unit/$(DEPDIR)/test-kdf-sha256.Po
-rm -f unit/$(DEPDIR)/test-mpdu.Po
+ -rm -f unit/$(DEPDIR)/test-nl80211util.Po
-rm -f unit/$(DEPDIR)/test-p2p.Po
-rm -f unit/$(DEPDIR)/test-prf-sha1.Po
-rm -f unit/$(DEPDIR)/test-sae.Po
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/configure new/iwd-2.19/configure
--- old/iwd-2.18/configure 2024-06-04 15:40:42.000000000 +0200
+++ new/iwd-2.19/configure 2024-07-08 22:28:59.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for iwd 2.18.
+# Generated by GNU Autoconf 2.71 for iwd 2.19.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -618,8 +618,8 @@
# Identity of this package.
PACKAGE_NAME='iwd'
PACKAGE_TARNAME='iwd'
-PACKAGE_VERSION='2.18'
-PACKAGE_STRING='iwd 2.18'
+PACKAGE_VERSION='2.19'
+PACKAGE_STRING='iwd 2.19'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1433,7 +1433,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures iwd 2.18 to adapt to many kinds of systems.
+\`configure' configures iwd 2.19 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1504,7 +1504,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of iwd 2.18:";;
+ short | recursive ) echo "Configuration of iwd 2.19:";;
esac
cat <<\_ACEOF
@@ -1661,7 +1661,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-iwd configure 2.18
+iwd configure 2.19
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1879,7 +1879,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by iwd $as_me 2.18, which was
+It was created by iwd $as_me 2.19, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -3154,7 +3154,7 @@
# Define the identity of the package.
PACKAGE='iwd'
- VERSION='2.18'
+ VERSION='2.19'
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -14236,7 +14236,7 @@
test "${enable_monitor}" != "no" ||
test "${enable_wired}" = "yes" ||
test "${enable_hwsim}" = "yes"); then
- ell_min_version="0.66"
+ ell_min_version="0.67"
else
ell_min_version="0.5"
fi
@@ -14984,7 +14984,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by iwd $as_me 2.18, which was
+This file was extended by iwd $as_me 2.19, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -15052,7 +15052,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
-iwd config.status 2.18
+iwd config.status 2.19
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/configure.ac new/iwd-2.19/configure.ac
--- old/iwd-2.18/configure.ac 2024-06-04 15:38:25.000000000 +0200
+++ new/iwd-2.19/configure.ac 2024-07-08 22:13:39.000000000 +0200
@@ -1,5 +1,5 @@
AC_PREREQ([2.69])
-AC_INIT([iwd],[2.18])
+AC_INIT([iwd],[2.19])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_AUX_DIR(build-aux)
@@ -297,7 +297,7 @@
test "${enable_monitor}" != "no" ||
test "${enable_wired}" = "yes" ||
test "${enable_hwsim}" = "yes"); then
- ell_min_version="0.66"
+ ell_min_version="0.67"
else
ell_min_version="0.5"
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/ell/genl.c new/iwd-2.19/ell/genl.c
--- old/iwd-2.18/ell/genl.c 2023-11-19 18:31:06.000000000 +0100
+++ new/iwd-2.19/ell/genl.c 2024-07-08 19:33:06.000000000 +0200
@@ -20,6 +20,7 @@
#include "io.h"
#include "private.h"
#include "netlink-private.h"
+#include "notifylist.h"
#include "genl.h"
#define MAX_NESTING_LEVEL 4
@@ -33,11 +34,9 @@
};
struct unicast_watch {
- uint32_t id;
+ struct l_notifylist_entry super;
char name[GENL_NAMSIZ];
l_genl_msg_func_t handler;
- void *user_data;
- l_genl_destroy_func_t destroy;
};
struct family_watch {
@@ -69,7 +68,7 @@
unsigned int next_notify_id;
struct genl_discovery *discovery;
uint32_t next_watch_id;
- struct l_queue *unicast_watches;
+ struct l_notifylist *unicast_watches;
struct l_queue *family_watches;
struct l_queue *family_infos;
struct l_genl_family *nlctrl;
@@ -449,32 +448,38 @@
return info->version;
}
-static void unicast_watch_free(void *data)
+static void unicast_watch_free(struct l_notifylist_entry *e)
{
- struct unicast_watch *watch = data;
-
- if (watch->destroy)
- watch->destroy(watch->user_data);
-
+ struct unicast_watch *watch =
+ l_container_of(e, struct unicast_watch, super);
l_free(watch);
}
-static bool unicast_watch_match(const void *a, const void *b)
+static void unicast_watch_notify(const struct l_notifylist_entry *e,
+ int type, va_list args)
{
- const struct unicast_watch *watch = a;
- uint32_t id = L_PTR_TO_UINT(b);
+ const struct unicast_watch *watch =
+ l_container_of(e, struct unicast_watch, super);
- return watch->id == id;
+ if (!watch->handler)
+ return;
+
+ watch->handler(va_arg(args, struct l_genl_msg *),
+ watch->super.notify_data);
}
-static void unicast_watch_prune(struct l_genl *genl)
+static struct l_notifylist_ops unicast_watch_ops = {
+ .free_entry = unicast_watch_free,
+ .notify = unicast_watch_notify,
+};
+
+static bool unicast_watch_match_name(const struct l_notifylist_entry *e,
+ const void *user)
{
- struct unicast_watch *watch;
+ struct unicast_watch *watch =
+ l_container_of(e, struct unicast_watch, super);
- while ((watch = l_queue_remove_if(genl->unicast_watches,
- unicast_watch_match,
- L_UINT_TO_PTR(0))))
- unicast_watch_free(watch);
+ return !strncmp(watch->name, user, GENL_NAMSIZ);
}
static void family_watch_free(void *data)
@@ -870,39 +875,6 @@
return request->seq == seq;
}
-static void dispatch_unicast_watches(struct l_genl *genl, uint16_t id,
- struct l_genl_msg *msg)
-{
- const struct l_queue_entry *entry;
- struct l_genl_family_info *info = l_queue_find(genl->family_infos,
- family_info_match,
- L_UINT_TO_PTR(id));
-
- if (!info)
- return;
-
- genl->in_unicast_watch_notify = true;
-
- for (entry = l_queue_get_entries(genl->unicast_watches);
- entry; entry = entry->next) {
- struct unicast_watch *watch = entry->data;
-
- if (!watch->id)
- continue;
-
- if (!watch->handler)
- continue;
-
- if (strncmp(watch->name, info->name, GENL_NAMSIZ))
- continue;
-
- watch->handler(msg, watch->user_data);
- }
-
- genl->in_unicast_watch_notify = false;
- unicast_watch_prune(genl);
-}
-
static void process_unicast(struct l_genl *genl, const struct nlmsghdr *nlmsg)
{
struct l_genl_msg *msg;
@@ -914,8 +886,15 @@
msg = msg_create(nlmsg);
if (!nlmsg->nlmsg_seq) {
- if (msg)
- dispatch_unicast_watches(genl, nlmsg->nlmsg_type, msg);
+ struct l_genl_family_info *info =
+ l_queue_find(genl->family_infos, family_info_match,
+ L_UINT_TO_PTR(nlmsg->nlmsg_type));
+
+ if (info && msg)
+ l_notifylist_notify_matches(genl->unicast_watches,
+ unicast_watch_match_name,
+ info->name, 0, msg);
+
goto done;
}
@@ -1107,7 +1086,7 @@
genl->notify_list = l_queue_new();
genl->family_watches = l_queue_new();
genl->family_infos = l_queue_new();
- genl->unicast_watches = l_queue_new();
+ genl->unicast_watches = l_notifylist_new(&unicast_watch_ops);
l_queue_push_head(genl->family_infos, build_nlctrl_info());
@@ -1150,7 +1129,7 @@
l_genl_family_free(genl->nlctrl);
- l_queue_destroy(genl->unicast_watches, unicast_watch_free);
+ l_notifylist_free(genl->unicast_watches);
l_queue_destroy(genl->family_watches, family_watch_free);
l_queue_destroy(genl->family_infos, family_info_free);
l_queue_destroy(genl->notify_list, mcast_notify_free);
@@ -1285,12 +1264,10 @@
watch = l_new(struct unicast_watch, 1);
l_strlcpy(watch->name, family, GENL_NAMSIZ);
watch->handler = handler;
- watch->destroy = destroy;
- watch->user_data = user_data;
- watch->id = get_next_id(&genl->next_watch_id);
- l_queue_push_tail(genl->unicast_watches, watch);
+ watch->super.destroy = destroy;
+ watch->super.notify_data = user_data;
- return watch->id;
+ return l_notifylist_add(genl->unicast_watches, &watch->super);
}
/**
@@ -1306,29 +1283,10 @@
LIB_EXPORT bool l_genl_remove_unicast_watch(struct l_genl *genl,
unsigned int id)
{
- struct unicast_watch *watch;
-
if (unlikely(!genl))
return false;
- if (genl->in_unicast_watch_notify) {
- watch = l_queue_find(genl->unicast_watches, unicast_watch_match,
- L_UINT_TO_PTR(id));
- if (!watch)
- return false;
-
- watch->id = 0;
- return true;
- }
-
- watch = l_queue_remove_if(genl->unicast_watches, unicast_watch_match,
- L_UINT_TO_PTR(id));
- if (!watch)
- return false;
-
- unicast_watch_free(watch);
-
- return true;
+ return l_notifylist_remove(genl->unicast_watches, id);
}
/**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/ell/sysctl.c new/iwd-2.19/ell/sysctl.c
--- old/iwd-2.18/ell/sysctl.c 2023-09-27 11:03:04.000000000 +0200
+++ new/iwd-2.19/ell/sysctl.c 2024-07-08 19:33:06.000000000 +0200
@@ -95,3 +95,27 @@
return sysctl_write(filename, valuestr, len);
}
+
+LIB_EXPORT int l_sysctl_get_char(char *out_c, const char *format, ...)
+{
+ _auto_(l_free) char *filename = NULL;
+ va_list ap;
+
+ va_start(ap, format);
+ filename = l_strdup_vprintf(format, ap);
+ va_end(ap);
+
+ return sysctl_read(filename, out_c, sizeof(char));
+}
+
+LIB_EXPORT int l_sysctl_set_char(char c, const char *format, ...)
+{
+ _auto_(l_free) char *filename = NULL;
+ va_list ap;
+
+ va_start(ap, format);
+ filename = l_strdup_vprintf(format, ap);
+ va_end(ap);
+
+ return sysctl_write(filename, &c, sizeof(char));
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/ell/sysctl.h new/iwd-2.19/ell/sysctl.h
--- old/iwd-2.18/ell/sysctl.h 2023-09-27 11:03:04.000000000 +0200
+++ new/iwd-2.19/ell/sysctl.h 2024-07-08 19:33:06.000000000 +0200
@@ -20,6 +20,11 @@
int l_sysctl_set_u32(uint32_t v, const char *format, ...)
__attribute__((format(printf, 2, 3)));
+int l_sysctl_get_char(char *out_c, const char *format, ...)
+ __attribute__((format(printf, 2, 3)));
+int l_sysctl_set_char(char c, const char *format, ...)
+ __attribute__((format(printf, 2, 3)));
+
#ifdef __cplusplus
}
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/src/netdev.c new/iwd-2.19/src/netdev.c
--- old/iwd-2.18/src/netdev.c 2024-03-29 00:27:27.000000000 +0100
+++ new/iwd-2.19/src/netdev.c 2024-07-08 22:13:39.000000000 +0200
@@ -1328,12 +1328,10 @@
static void netdev_deauthenticate_event(struct l_genl_msg *msg,
struct netdev *netdev)
{
- struct l_genl_attr attr;
- uint16_t type, len;
- const void *data;
const struct mmpdu_header *hdr = NULL;
const struct mmpdu_deauthentication *deauth;
uint16_t reason_code;
+ struct iovec iov;
l_debug("");
@@ -1349,17 +1347,11 @@
* deauthenticating immediately afterwards
*/
- if (L_WARN_ON(!l_genl_attr_init(&attr, msg)))
+ if (L_WARN_ON(nl80211_parse_attrs(msg, NL80211_ATTR_FRAME, &iov,
+ NL80211_ATTR_UNSPEC) < 0))
return;
- while (l_genl_attr_next(&attr, &type, &len, &data)) {
- switch (type) {
- case NL80211_ATTR_FRAME:
- hdr = mpdu_validate(data, len);
- break;
- }
- }
-
+ hdr = mpdu_validate(iov.iov_base, iov.iov_len);
if (L_WARN_ON(!hdr))
return;
@@ -2430,10 +2422,6 @@
{
netdev->connected = true;
- if (netdev->event_filter)
- netdev->event_filter(netdev, NETDEV_EVENT_ASSOCIATING, NULL,
- netdev->user_data);
-
/*
* We register the eapol state machine here, in case the PAE
* socket receives EAPoL packets before the nl80211 socket
@@ -2898,7 +2886,7 @@
static void netdev_ensure_eapol_registered(struct netdev *netdev)
{
- if (L_WARN_ON(netdev->sm))
+ if (netdev->sm)
return;
netdev->sm = eapol_sm_new(netdev->handshake);
@@ -2927,6 +2915,10 @@
return;
}
+ if (netdev->event_filter)
+ netdev->event_filter(netdev, NETDEV_EVENT_AUTHENTICATING,
+ NULL, netdev->user_data);
+
/*
* During Fast Transition we use the authenticate event to start the
* reassociation step because the FTE necessary before we can build
@@ -3048,6 +3040,10 @@
if (!netdev->connected || netdev->aborting)
return;
+ if (netdev->event_filter)
+ netdev->event_filter(netdev, NETDEV_EVENT_ASSOCIATING,
+ NULL, netdev->user_data);
+
if (!netdev->ap && !netdev->in_ft) {
netdev->associated = true;
netdev->in_reassoc = false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/src/nl80211util.c new/iwd-2.19/src/nl80211util.c
--- old/iwd-2.18/src/nl80211util.c 2024-03-04 08:53:21.000000000 +0100
+++ new/iwd-2.19/src/nl80211util.c 2024-07-08 22:13:39.000000000 +0200
@@ -37,6 +37,7 @@
#include "src/util.h"
typedef bool (*attr_handler)(const void *data, uint16_t len, void *o);
+typedef attr_handler (*handler_for_type)(int type);
static bool extract_ifindex(const void *data, uint16_t len, void *o)
{
@@ -150,7 +151,7 @@
return true;
}
-static attr_handler handler_for_type(enum nl80211_attrs type)
+static attr_handler handler_for_nl80211(int type)
{
switch (type) {
case NL80211_ATTR_IFINDEX:
@@ -158,6 +159,7 @@
case NL80211_ATTR_WIPHY:
case NL80211_ATTR_IFTYPE:
case NL80211_ATTR_KEY_TYPE:
+ case NL80211_ATTR_SCAN_FLAGS:
return extract_uint32;
case NL80211_ATTR_WDEV:
case NL80211_ATTR_COOKIE:
@@ -181,6 +183,8 @@
case NL80211_ATTR_FRAME:
return extract_iovec;
case NL80211_ATTR_WIPHY_BANDS:
+ case NL80211_ATTR_SURVEY_INFO:
+ case NL80211_ATTR_KEY:
return extract_nested;
case NL80211_ATTR_KEY_IDX:
return extract_u8;
@@ -191,6 +195,32 @@
return NULL;
}
+static attr_handler handler_for_survey_info(int type)
+{
+ switch (type) {
+ case NL80211_SURVEY_INFO_NOISE:
+ return extract_u8;
+ case NL80211_SURVEY_INFO_FREQUENCY:
+ return extract_uint32;
+ default:
+ break;
+ }
+
+ return NULL;
+}
+
+static attr_handler handler_for_key(int type)
+{
+ switch (type) {
+ case NL80211_KEY_SEQ:
+ return extract_iovec;
+ default:
+ break;
+ }
+
+ return NULL;
+}
+
struct attr_entry {
uint16_t type;
void *data;
@@ -198,10 +228,9 @@
bool present : 1;
};
-int nl80211_parse_attrs(struct l_genl_msg *msg, int tag, ...)
+static int parse_attrs(struct l_genl_attr *attr, handler_for_type handler,
+ int tag, va_list args)
{
- struct l_genl_attr attr;
- va_list args;
struct l_queue *entries;
const struct l_queue_entry *e;
struct attr_entry *entry;
@@ -210,10 +239,6 @@
const void *data;
int ret;
- if (!l_genl_attr_init(&attr, msg))
- return -EINVAL;
-
- va_start(args, tag);
entries = l_queue_new();
ret = -ENOSYS;
@@ -222,7 +247,7 @@
entry->type = tag;
entry->data = va_arg(args, void *);
- entry->handler = handler_for_type(tag);
+ entry->handler = handler(tag);
l_queue_push_tail(entries, entry);
if (!entry->handler)
@@ -231,9 +256,7 @@
tag = va_arg(args, enum nl80211_attrs);
}
- va_end(args);
-
- while (l_genl_attr_next(&attr, &type, &len, &data)) {
+ while (l_genl_attr_next(attr, &type, &len, &data)) {
for (e = l_queue_get_entries(entries); e; e = e->next) {
entry = e->data;
@@ -251,7 +274,7 @@
/* For nested attributes use the outer attribute as data */
if (entry->handler == extract_nested)
- data = &attr;
+ data = attr;
if (!entry->handler(data, len, entry->data)) {
ret = -EINVAL;
@@ -284,6 +307,50 @@
return ret;
}
+int nl80211_parse_attrs(struct l_genl_msg *msg, int tag, ...)
+{
+ struct l_genl_attr attr;
+ va_list args;
+ int ret;
+
+ if (!l_genl_attr_init(&attr, msg))
+ return -EINVAL;
+
+ va_start(args, tag);
+
+ ret = parse_attrs(&attr, handler_for_nl80211, tag, args);
+
+ va_end(args);
+
+ return ret;
+}
+
+int nl80211_parse_nested(struct l_genl_attr *attr, int type, int tag, ...)
+{
+ handler_for_type handler;
+ va_list args;
+ int ret;
+
+ switch (type) {
+ case NL80211_ATTR_SURVEY_INFO:
+ handler = handler_for_survey_info;
+ break;
+ case NL80211_ATTR_KEY:
+ handler = handler_for_key;
+ break;
+ default:
+ return -ENOTSUP;
+ }
+
+ va_start(args, tag);
+
+ ret = parse_attrs(attr, handler, tag, args);
+
+ va_end(args);
+
+ return ret;
+}
+
struct l_genl_msg *nl80211_build_deauthenticate(uint32_t ifindex,
const uint8_t addr[static 6],
uint16_t reason_code)
@@ -517,46 +584,29 @@
const void *nl80211_parse_get_key_seq(struct l_genl_msg *msg)
{
- struct l_genl_attr attr, nested;
- uint16_t type, len;
- const void *data;
+ struct l_genl_attr nested;
+ struct iovec iov;
- if (l_genl_msg_get_error(msg) < 0 || !l_genl_attr_init(&attr, msg)) {
+ if (l_genl_msg_get_error(msg) < 0 ||
+ nl80211_parse_attrs(msg, NL80211_ATTR_KEY, &nested,
+ NL80211_ATTR_UNSPEC) < 0) {
l_error("GET_KEY failed for the GTK: %i",
l_genl_msg_get_error(msg));
return NULL;
}
- while (l_genl_attr_next(&attr, &type, &len, &data)) {
- if (type != NL80211_ATTR_KEY)
- continue;
-
- break;
- }
-
- if (type != NL80211_ATTR_KEY || !l_genl_attr_recurse(&attr, &nested)) {
+ if (nl80211_parse_nested(&nested, NL80211_ATTR_KEY, NL80211_KEY_SEQ,
+ &iov, NL80211_ATTR_UNSPEC)) {
l_error("Can't recurse into ATTR_KEY in GET_KEY reply");
return NULL;
}
- while (l_genl_attr_next(&nested, &type, &len, &data)) {
- if (type != NL80211_KEY_SEQ)
- continue;
-
- break;
- }
-
- if (type != NL80211_KEY_SEQ) {
- l_error("KEY_SEQ not returned in GET_KEY reply");
- return NULL;
- }
-
- if (len != 6) {
+ if (iov.iov_len != 6) {
l_error("KEY_SEQ length != 6 in GET_KEY reply");
return NULL;
}
- return data;
+ return iov.iov_base;
}
struct l_genl_msg *nl80211_build_cmd_frame(uint32_t ifindex,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/src/nl80211util.h new/iwd-2.19/src/nl80211util.h
--- old/iwd-2.18/src/nl80211util.h 2023-11-27 17:00:15.000000000 +0100
+++ new/iwd-2.19/src/nl80211util.h 2024-07-08 22:13:39.000000000 +0200
@@ -28,6 +28,7 @@
struct handshake_state;
int nl80211_parse_attrs(struct l_genl_msg *msg, int tag, ...);
+int nl80211_parse_nested(struct l_genl_attr *attr, int type, int tag, ...);
struct l_genl_msg *nl80211_build_deauthenticate(uint32_t ifindex,
const uint8_t addr[static 6],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/src/scan.c new/iwd-2.19/src/scan.c
--- old/iwd-2.18/src/scan.c 2024-06-04 15:38:25.000000000 +0200
+++ new/iwd-2.19/src/scan.c 2024-07-08 22:13:39.000000000 +0200
@@ -132,6 +132,18 @@
*/
unsigned int get_fw_scan_cmd_id;
struct wiphy *wiphy;
+
+ unsigned int get_survey_cmd_id;
+};
+
+struct scan_survey {
+ int8_t noise;
+};
+
+struct scan_survey_results {
+ struct scan_survey survey_2_4[14];
+ struct scan_survey survey_5[196];
+ struct scan_survey survey_6[233];
};
struct scan_results {
@@ -140,6 +152,9 @@
uint64_t time_stamp;
struct scan_request *sr;
struct scan_freq_set *freqs;
+ struct scan_survey_results survey;
+
+ bool survey_parsed : 1;
};
static bool start_next_scan_request(struct wiphy_radio_work_item *item);
@@ -217,6 +232,9 @@
if (sc->get_fw_scan_cmd_id && nl80211)
l_genl_family_cancel(nl80211, sc->get_fw_scan_cmd_id);
+ if (sc->get_survey_cmd_id && nl80211)
+ l_genl_family_cancel(nl80211, sc->get_survey_cmd_id);
+
wiphy_state_watch_remove(sc->wiphy, sc->wiphy_watch_id);
l_free(sc);
@@ -1326,6 +1344,8 @@
NULL) < 0)
l_warn("Unable to parse BSS Load IE for "
MAC, MAC_STR(bss->addr));
+ else
+ bss->have_utilization = true;
break;
case IE_TYPE_VENDOR_SPECIFIC:
@@ -1515,7 +1535,6 @@
size_t beacon_ies_len;
bss = l_new(struct scan_bss, 1);
- bss->utilization = 127;
bss->source_frame = SCAN_BSS_BEACON;
while (l_genl_attr_next(attr, &type, &len, &data)) {
@@ -1663,6 +1682,8 @@
{
static const double RANK_HIGH_UTILIZATION_FACTOR = 0.8;
static const double RANK_LOW_UTILIZATION_FACTOR = 1.2;
+ static const double RANK_HIGH_SNR_FACTOR = 1.2;
+ static const double RANK_LOW_SNR_FACTOR = 0.8;
double rank;
uint32_t irank;
/*
@@ -1684,10 +1705,19 @@
rank *= RANK_6G_FACTOR;
/* Rank loaded APs lower and lightly loaded APs higher */
- if (bss->utilization >= 192)
- rank *= RANK_HIGH_UTILIZATION_FACTOR;
- else if (bss->utilization <= 63)
- rank *= RANK_LOW_UTILIZATION_FACTOR;
+ if (bss->have_utilization) {
+ if (bss->utilization >= 192)
+ rank *= RANK_HIGH_UTILIZATION_FACTOR;
+ else if (bss->utilization <= 63)
+ rank *= RANK_LOW_UTILIZATION_FACTOR;
+ }
+
+ if (bss->have_snr) {
+ if (bss->snr <= 15)
+ rank *= RANK_LOW_SNR_FACTOR;
+ else if (bss->snr >= 30)
+ rank *= RANK_HIGH_SNR_FACTOR;
+ }
irank = rank;
@@ -1707,7 +1737,6 @@
bss = l_new(struct scan_bss, 1);
memcpy(bss->addr, mpdu->address_2, 6);
- bss->utilization = 127;
bss->source_frame = SCAN_BSS_PROBE_REQ;
bss->frequency = frequency;
bss->signal_strength = rssi;
@@ -1824,6 +1853,41 @@
return (bss->rank > new_bss->rank) ? 1 : -1;
}
+static bool scan_survey_get_snr(struct scan_results *results,
+ uint32_t freq, int32_t signal,
+ int8_t *snr)
+{
+ uint8_t channel;
+ enum band_freq band;
+ int8_t noise = 0;
+
+ if (!results->survey_parsed)
+ return false;
+
+ channel = band_freq_to_channel(freq, &band);
+ if (L_WARN_ON(!channel))
+ return false;
+
+ switch (band) {
+ case BAND_FREQ_2_4_GHZ:
+ noise = results->survey.survey_2_4[channel].noise;
+ break;
+ case BAND_FREQ_5_GHZ:
+ noise = results->survey.survey_5[channel].noise;
+ break;
+ case BAND_FREQ_6_GHZ:
+ noise = results->survey.survey_6[channel].noise;
+ break;
+ }
+
+ if (noise) {
+ *snr = signal - noise;
+ return true;
+ }
+
+ return false;
+}
+
static void get_scan_callback(struct l_genl_msg *msg, void *user_data)
{
struct scan_results *results = user_data;
@@ -1849,6 +1913,10 @@
bss->time_stamp = results->time_stamp -
seen_ms_ago * L_USEC_PER_MSEC;
+ bss->have_snr = scan_survey_get_snr(results, bss->frequency,
+ bss->signal_strength / 100,
+ &bss->snr);
+
scan_bss_compute_rank(bss);
l_queue_insert(results->bss_list, bss, scan_bss_rank_compare, NULL);
}
@@ -1925,11 +1993,88 @@
l_free(results);
}
+static void get_survey_callback(struct l_genl_msg *msg, void *user_data)
+{
+ struct scan_results *results = user_data;
+ struct scan_survey_results *survey = &results->survey;
+ struct l_genl_attr attr;
+ uint32_t freq;
+ int8_t noise;
+ uint8_t channel;
+ enum band_freq band;
+
+ if (nl80211_parse_attrs(msg, NL80211_ATTR_SURVEY_INFO, &attr,
+ NL80211_ATTR_UNSPEC) < 0)
+ return;
+
+ if (nl80211_parse_nested(&attr, NL80211_ATTR_SURVEY_INFO,
+ NL80211_SURVEY_INFO_FREQUENCY, &freq,
+ NL80211_SURVEY_INFO_NOISE, &noise,
+ NL80211_ATTR_UNSPEC) < 0)
+ return;
+
+ channel = band_freq_to_channel(freq, &band);
+ if (!channel)
+ return;
+
+ /* At least one frequency was surveyed */
+ results->survey_parsed = true;
+
+ switch (band) {
+ case BAND_FREQ_2_4_GHZ:
+ survey->survey_2_4[channel].noise = noise;
+ break;
+ case BAND_FREQ_5_GHZ:
+ survey->survey_5[channel].noise = noise;
+ break;
+ case BAND_FREQ_6_GHZ:
+ survey->survey_6[channel].noise = noise;
+ break;
+ }
+}
+
+static void get_results(struct scan_results *results)
+{
+ struct l_genl_msg *scan_msg;
+
+ scan_msg = l_genl_msg_new_sized(NL80211_CMD_GET_SCAN, 8);
+
+ l_genl_msg_append_attr(scan_msg, NL80211_ATTR_WDEV, 8,
+ &results->sc->wdev_id);
+ results->sc->get_scan_cmd_id = l_genl_family_dump(nl80211, scan_msg,
+ get_scan_callback,
+ results, get_scan_done);
+}
+
+static void get_survey_done(void *user_data)
+{
+ struct scan_results *results = user_data;
+ struct scan_context *sc = results->sc;
+
+ sc->get_survey_cmd_id = 0;
+
+ get_results(results);
+}
+
+static bool scan_survey(struct scan_results *results)
+{
+ struct scan_context *sc = results->sc;
+ struct l_genl_msg *survey_msg;
+
+ survey_msg = l_genl_msg_new(NL80211_CMD_GET_SURVEY);
+ l_genl_msg_append_attr(survey_msg, NL80211_ATTR_WDEV, 8,
+ &sc->wdev_id);
+ sc->get_survey_cmd_id = l_genl_family_dump(nl80211, survey_msg,
+ get_survey_callback, results,
+ get_survey_done);
+
+ return sc->get_survey_cmd_id != 0;
+}
+
static void scan_get_results(struct scan_context *sc, struct scan_request *sr,
struct scan_freq_set *freqs)
{
struct scan_results *results;
- struct l_genl_msg *scan_msg;
results = l_new(struct scan_results, 1);
results->sc = sc;
@@ -1938,13 +2083,12 @@
results->bss_list = l_queue_new();
results->freqs = freqs;
- scan_msg = l_genl_msg_new_sized(NL80211_CMD_GET_SCAN, 8);
+ if (scan_survey(results))
+ return;
+ else
+ l_warn("failed to start a scan survey");
- l_genl_msg_append_attr(scan_msg, NL80211_ATTR_WDEV, 8,
- &sc->wdev_id);
- sc->get_scan_cmd_id = l_genl_family_dump(nl80211, scan_msg,
- get_scan_callback,
- results, get_scan_done);
+ get_results(results);
}
static void scan_wiphy_watch(struct wiphy *wiphy,
@@ -2021,16 +2165,14 @@
static bool scan_parse_flush_flag_from_msg(struct l_genl_msg *msg)
{
- struct l_genl_attr attr;
- uint16_t type, len;
- const void *data;
+ uint32_t flags;
- if (!l_genl_attr_init(&attr, msg))
+ if (nl80211_parse_attrs(msg, NL80211_ATTR_SCAN_FLAGS, &flags,
+ NL80211_ATTR_UNSPEC) < 0)
return false;
- while (l_genl_attr_next(&attr, &type, &len, &data))
- if (type == NL80211_SCAN_FLAG_FLUSH)
- return true;
+ if (flags & NL80211_SCAN_FLAG_FLUSH)
+ return true;
return false;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/src/scan.h new/iwd-2.19/src/scan.h
--- old/iwd-2.18/src/scan.h 2024-06-04 15:38:25.000000000 +0200
+++ new/iwd-2.19/src/scan.h 2024-07-08 22:13:39.000000000 +0200
@@ -75,6 +75,7 @@
uint64_t parent_tsf;
uint8_t *wfd; /* Concatenated WFD IEs */
ssize_t wfd_size; /* Size of Concatenated WFD IEs */
+ int8_t snr;
bool mde_present : 1;
bool cc_present : 1;
bool cap_rm_neighbor_report : 1;
@@ -89,6 +90,8 @@
bool dpp_configurator : 1;
bool sae_pw_id_used : 1;
bool sae_pw_id_exclusive : 1;
+ bool have_snr : 1;
+ bool have_utilization : 1;
};
struct scan_parameters {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/src/station.c new/iwd-2.19/src/station.c
--- old/iwd-2.18/src/station.c 2024-03-04 08:53:21.000000000 +0100
+++ new/iwd-2.19/src/station.c 2024-07-08 22:13:39.000000000 +0200
@@ -402,6 +402,27 @@
return (bss->signal_strength > new_bss->signal_strength) ? 1 : -1;
}
+static void station_print_scan_bss(const struct scan_bss *bss)
+{
+ uint32_t kbps100 = DIV_ROUND_CLOSEST(bss->data_rate, 100000);
+ char optional[64] = {0};
+ char *ptr = optional;
+
+ if (bss->have_snr)
+ ptr += sprintf(ptr, ", snr: %d", bss->snr);
+
+ if (bss->have_utilization)
+ ptr += sprintf(ptr, ", load: %u/255", bss->utilization);
+
+ l_debug("Processing BSS '%s' with SSID: %s, freq: %u, rank: %u, "
+ "strength: %i, data_rate: %u.%u%s",
+ util_address_to_string(bss->addr),
+ util_ssid_to_utf8(bss->ssid_len, bss->ssid),
+ bss->frequency, bss->rank, bss->signal_strength,
+ kbps100 / 10, kbps100 % 10,
+ optional);
+}
+
/*
* Returns the network object the BSS was added to or NULL if ignored.
*/
@@ -412,14 +433,8 @@
enum security security;
const char *path;
char ssid[33];
- uint32_t kbps100 = DIV_ROUND_CLOSEST(bss->data_rate, 100000);
- l_debug("Processing BSS '%s' with SSID: %s, freq: %u, rank: %u, "
- "strength: %i, data_rate: %u.%u",
- util_address_to_string(bss->addr),
- util_ssid_to_utf8(bss->ssid_len, bss->ssid),
- bss->frequency, bss->rank, bss->signal_strength,
- kbps100 / 10, kbps100 % 10);
+ station_print_scan_bss(bss);
if (util_ssid_is_hidden(bss->ssid_len, bss->ssid)) {
l_debug("BSS has hidden SSID");
@@ -2434,6 +2449,8 @@
goto done;
}
+ station_debug_event(station, "ft-authenticating");
+
if (station->connected_bss->frequency == bss->frequency) {
ft_authenticate_onchannel(netdev_get_ifindex(station->netdev),
bss);
@@ -2655,15 +2672,9 @@
while ((bss = l_queue_pop_head(bss_list))) {
double rank;
- uint32_t kbps100 = DIV_ROUND_CLOSEST(bss->data_rate, 100000);
struct roam_bss *rbss;
- l_debug("Processing BSS '%s' with SSID: %s, freq: %u, rank: %u,"
- " strength: %i, data_rate: %u.%u",
- util_address_to_string(bss->addr),
- util_ssid_to_utf8(bss->ssid_len, bss->ssid),
- bss->frequency, bss->rank, bss->signal_strength,
- kbps100 / 10, kbps100 % 10);
+ station_print_scan_bss(bss);
/* Skip the BSS we are connected to */
if (!memcmp(bss->addr, station->connected_bss->addr, 6))
@@ -3477,10 +3488,10 @@
switch (event) {
case NETDEV_EVENT_AUTHENTICATING:
- l_debug("Authenticating");
+ station_debug_event(station, "authenticating");
break;
case NETDEV_EVENT_ASSOCIATING:
- l_debug("Associating");
+ station_debug_event(station, "associating");
break;
case NETDEV_EVENT_DISCONNECT_BY_AP:
case NETDEV_EVENT_DISCONNECT_BY_SME:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iwd-2.18/unit/test-nl80211util.c new/iwd-2.19/unit/test-nl80211util.c
--- old/iwd-2.18/unit/test-nl80211util.c 1970-01-01 01:00:00.000000000 +0100
+++ new/iwd-2.19/unit/test-nl80211util.c 2024-07-08 22:13:39.000000000 +0200
@@ -0,0 +1,63 @@
+
+#include <assert.h>
+#include <ell/ell.h>
+#include "src/nl80211util.h"
+#include "linux/nl80211.h"
+
+static void test_parse_attrs(const void *data)
+{
+ struct l_genl_msg *msg = l_genl_msg_new(NL80211_CMD_NEW_INTERFACE);
+ uint32_t ifindex = 1;
+ uint32_t freq = 2;
+ int ret;
+
+ l_genl_msg_append_attr(msg, NL80211_ATTR_IFINDEX, 4, &ifindex);
+ l_genl_msg_append_attr(msg, NL80211_ATTR_WIPHY_FREQ, 4, &freq);
+
+ ret = nl80211_parse_attrs(msg, NL80211_ATTR_IFINDEX, &ifindex,
+ NL80211_ATTR_WIPHY_FREQ, &freq,
+ NL80211_ATTR_UNSPEC);
+ l_genl_msg_unref(msg);
+ assert(ret == 0);
+}
+
+static void test_parse_nested(const void *data)
+{
+ struct l_genl_msg *msg = l_genl_msg_new(NL80211_CMD_NEW_INTERFACE);
+ uint32_t ifindex = 1;
+ uint32_t freq = 2;
+ uint8_t noise = 3;
+ uint8_t noise_out;
+ struct l_genl_attr nested;
+ int ret;
+ int ret_nested;
+
+ l_genl_msg_append_attr(msg, NL80211_ATTR_IFINDEX, 4, &ifindex);
+ l_genl_msg_append_attr(msg, NL80211_ATTR_WIPHY_FREQ, 4, &freq);
+
+ l_genl_msg_enter_nested(msg, NL80211_ATTR_SURVEY_INFO);
+ l_genl_msg_append_attr(msg, NL80211_SURVEY_INFO_NOISE, 1, &noise);
+ l_genl_msg_leave_nested(msg);
+
+ ret = nl80211_parse_attrs(msg, NL80211_ATTR_IFINDEX, &ifindex,
+ NL80211_ATTR_WIPHY_FREQ, &freq,
+ NL80211_ATTR_SURVEY_INFO, &nested,
+ NL80211_ATTR_UNSPEC);
+ ret_nested = nl80211_parse_nested(&nested, NL80211_ATTR_SURVEY_INFO,
+ NL80211_SURVEY_INFO_NOISE, &noise_out,
+ NL80211_ATTR_UNSPEC);
+ l_genl_msg_unref(msg);
+ assert(ret == 0);
+ assert(ret_nested == 0);
+ assert(noise_out == noise);
+}
+
+int main(int argc, char *argv[])
+{
+ l_test_init(&argc, &argv);
+
+ l_test_add("/nl80211util parse attrs", test_parse_attrs, NULL);
+ l_test_add("/nl80211util parse nested", test_parse_nested, NULL);
+
+ return l_test_run();
+}
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ansible-lint for openSUSE:Factory checked in at 2024-07-12 17:05:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-lint (Old)
and /work/SRC/openSUSE:Factory/.ansible-lint.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible-lint"
Fri Jul 12 17:05:26 2024 rev:49 rq:1186959 version:24.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-lint/ansible-lint.changes 2024-06-24 20:52:57.315567567 +0200
+++ /work/SRC/openSUSE:Factory/.ansible-lint.new.17339/ansible-lint.changes 2024-07-12 17:05:37.866296588 +0200
@@ -1,0 +2,8 @@
+Thu Jul 11 18:51:22 UTC 2024 - Johannes Kastl <opensuse_buildservice(a)ojkastl.de>
+
+- update to 24.7.0:
+ * Bugfixes
+ - Fix linting issues within command_instead_of* rules
+ (ruff:D102) (#4252) @alisonlhart
+
+-------------------------------------------------------------------
Old:
----
ansible-lint-24.6.1.tar.gz
New:
----
ansible-lint-24.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ansible-lint.spec ++++++
--- /var/tmp/diff_new_pack.MLKIua/_old 2024-07-12 17:05:40.470392267 +0200
+++ /var/tmp/diff_new_pack.MLKIua/_new 2024-07-12 17:05:40.474392413 +0200
@@ -40,7 +40,7 @@
%global lib_name ansiblelint
%{?python_enable_dependency_generator}
Name: ansible-lint
-Version: 24.6.1
+Version: 24.7.0
Release: 0%{?dist}
Summary: Best practices checker for Ansible
License: MIT
++++++ ansible-lint-24.6.1.tar.gz -> ansible-lint-24.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-lint-24.6.1/.config/constraints.txt new/ansible-lint-24.7.0/.config/constraints.txt
--- old/ansible-lint-24.6.1/.config/constraints.txt 2024-06-21 17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/.config/constraints.txt 2024-07-10 08:37:09.000000000 +0200
@@ -5,7 +5,7 @@
# pip-compile --all-extras --no-annotate --output-file=.config/constraints.txt --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib --unsafe-package=wcmatch pyproject.toml
#
ansible-compat==24.6.1
-ansible-core==2.17.0
+ansible-core==2.17.1
astroid==3.2.2
attrs==23.2.0
babel==2.15.0
@@ -14,15 +14,15 @@
boolean-py==4.0
bracex==2.4
cachetools==5.3.3
-cairocffi==1.7.0
+cairocffi==1.7.1
cairosvg==2.7.1
-certifi==2024.6.2
+certifi==2024.7.4
cffi==1.16.0
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
-coverage==7.5.3
+coverage==7.5.4
coverage-enable-subprocess==1.0
cryptography==42.0.8
csscompressor==0.9.5
@@ -33,12 +33,12 @@
dnspython==2.6.1
exceptiongroup==1.2.1
execnet==2.1.1
-filelock==3.15.1
+filelock==3.15.4
ghp-import==2.1.0
-griffe==0.45.3
+griffe==0.47.0
htmlmin2==0.1.13
idna==3.7
-importlib-metadata==7.1.0
+importlib-metadata==8.0.0
iniconfig==2.0.0
isort==5.13.2
jinja2==3.1.4
@@ -49,7 +49,7 @@
license-expression==30.3.0
linkchecker==10.4.0
markdown==3.6
-markdown-exec==1.9.1
+markdown-exec==1.9.3
markdown-include==0.8.1
markdown-it-py==3.0.0
markupsafe==2.1.5
@@ -63,29 +63,29 @@
mkdocs-get-deps==0.2.0
mkdocs-htmlproofer-plugin==1.2.1
mkdocs-macros-plugin==1.0.5
-mkdocs-material==9.5.26
+mkdocs-material==9.5.28
mkdocs-material-extensions==1.3.1
mkdocs-minify-plugin==0.8.0
mkdocs-monorepo-plugin==1.1.0
mkdocstrings==0.25.1
-mkdocstrings-python==1.10.3
-mypy==1.10.0
+mkdocstrings-python==1.10.5
+mypy==1.10.1
mypy-extensions==1.0.0
netaddr==1.3.0
packaging==24.1
paginate==0.5.6
pathspec==0.12.1
-pillow==10.3.0
-pip==24.0
-pipdeptree==2.22.0
+pillow==10.4.0
+pip==24.1.1
+pipdeptree==2.23.0
platformdirs==4.2.2
pluggy==1.5.0
-psutil==5.9.8
+psutil==6.0.0
pycparser==2.22
pygments==2.18.0
-pylint==3.2.3
+pylint==3.2.5
pymdown-extensions==10.8.1
-pyproject-api==1.6.1
+pyproject-api==1.7.1
pytest==8.2.2
pytest-mock==3.14.0
pytest-plus==0.7.0
@@ -102,18 +102,18 @@
ruamel-yaml==0.18.6
six==1.16.0
soupsieve==2.5
-subprocess-tee==0.4.1
+subprocess-tee==0.4.2
termcolor==2.4.0
text-unidecode==1.3
tinycss2==1.3.0
tomli==2.0.1
tomlkit==0.12.5
-tox==4.15.1
+tox==4.16.0
types-jsonschema==4.22.0.20240610
types-pyyaml==6.0.12.20240311
typing-extensions==4.12.2
-urllib3==2.2.1
-virtualenv==20.26.2
+urllib3==2.2.2
+virtualenv==20.26.3
watchdog==4.0.1
webencodings==0.5.1
yamllint==1.35.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-lint-24.6.1/.config/requirements-lock.txt new/ansible-lint-24.7.0/.config/requirements-lock.txt
--- old/ansible-lint-24.6.1/.config/requirements-lock.txt 2024-06-21 17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/.config/requirements-lock.txt 2024-07-10 08:37:09.000000000 +0200
@@ -5,15 +5,15 @@
# pip-compile --no-annotate --output-file=.config/requirements-lock.txt --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib pyproject.toml
#
ansible-compat==24.6.1
-ansible-core==2.17.0
+ansible-core==2.17.1
attrs==23.2.0
black==24.4.2
bracex==2.4
cffi==1.16.0
click==8.1.7
cryptography==42.0.8
-filelock==3.15.1
-importlib-metadata==7.1.0
+filelock==3.15.4
+importlib-metadata==8.0.0
jinja2==3.1.4
jsonschema==4.22.0
jsonschema-specifications==2023.12.1
@@ -31,7 +31,7 @@
rich==13.7.1
rpds-py==0.18.1
ruamel-yaml==0.18.6
-subprocess-tee==0.4.1
+subprocess-tee==0.4.2
tomli==2.0.1
typing-extensions==4.12.2
wcmatch==8.5.2 ; python_version < "3.12"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-lint-24.6.1/.git_archival.txt new/ansible-lint-24.7.0/.git_archival.txt
--- old/ansible-lint-24.6.1/.git_archival.txt 2024-06-21 17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/.git_archival.txt 2024-07-10 08:37:09.000000000 +0200
@@ -1,4 +1,4 @@
-node: b4018c22f8fe8371bd6845d0cd62cebea54ce012
-node-date: 2024-06-21T16:26:15+01:00
+node: 95382d398ea1744bf6bfa47b030f14c38b3f6957
+node-date: 2024-07-10T12:07:09+05:30
describe-name: v24
-ref-names: HEAD -> main, tag: v24.6.1, tag: v24
+ref-names: HEAD -> main, tag: v24.7.0, tag: v24
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_module.py new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_module.py
--- old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_module.py 2024-06-21 17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_module.py 2024-07-10 08:37:09.000000000 +0200
@@ -88,6 +88,12 @@
task: Task,
file: Lintable | None = None,
) -> bool | str:
+ """Check if a command is used instead of an appropriate module.
+
+ :param task: Task to check for shell usage
+ :param file: File to lint
+ :returns: False if command module isn't used, or a string showing the command used
+ """
if task["action"]["__ansible_module__"] not in self._commands:
return False
@@ -139,7 +145,12 @@
file: str,
expected: int,
) -> None:
- """Validate that rule works as intended."""
+ """Validate that rule works as intended.
+
+ :param default_rules_collection: Default rules for testing
+ :param file: Test file to check for violations
+ :expected: Expected number of errors
+ """
results = Runner(file, rules=default_rules_collection).run()
for result in results:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_shell.py new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_shell.py
--- old/ansible-lint-24.6.1/src/ansiblelint/rules/command_instead_of_shell.py 2024-06-21 17:26:15.000000000 +0200
+++ new/ansible-lint-24.7.0/src/ansiblelint/rules/command_instead_of_shell.py 2024-07-10 08:37:09.000000000 +0200
@@ -53,6 +53,12 @@
task: Task,
file: Lintable | None = None,
) -> bool | str:
+ """Check if a shell module is used instead of an appropriate command.
+
+ :param task: Task to check for shell usage
+ :param file: File to lint
+ :returns: False if shell module isn't used, or string output of where it is used
+ """
# Use unjinja so that we don't match on jinja filters
# rather than pipes
if task["action"]["__ansible_module__"] in ["shell", "ansible.builtin.shell"]:
@@ -72,6 +78,12 @@
lintable: Lintable,
data: CommentedMap | CommentedSeq | str,
) -> None:
+ """Transform the data.
+
+ :param match: The match to transform.
+ :param lintable: The file to transform.
+ :param data: The data to transform.
+ """
if match.tag == "command-instead-of-shell":
target_task = self.seek(match.yaml_path, data)
for _ in range(len(target_task)):
@@ -108,7 +120,12 @@
file: str,
expected: int,
) -> None:
- """Validate that rule works as intended."""
+ """Validate that rule works as intended.
+
+ :param default_rules_collection: Default rules for testing
+ :param file: Test file to check for violations
+ :expected: Expected number of errors
+ """
results = Runner(file, rules=default_rules_collection).run()
for result in results:
assert result.rule.id == UseCommandInsteadOfShellRule.id, result
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ansible-navigator for openSUSE:Factory checked in at 2024-07-12 17:05:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-navigator (Old)
and /work/SRC/openSUSE:Factory/.ansible-navigator.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible-navigator"
Fri Jul 12 17:05:25 2024 rev:6 rq:1186956 version:24.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-navigator/ansible-navigator.changes 2024-07-04 16:27:27.860690739 +0200
+++ /work/SRC/openSUSE:Factory/.ansible-navigator.new.17339/ansible-navigator.changes 2024-07-12 17:05:35.422206789 +0200
@@ -1,0 +2,15 @@
+Thu Jul 11 19:01:51 UTC 2024 - opensuse_buildservice(a)ojkastl.de
+
+- Update to version 24.7.0:
+ * Updated cspell dictionary and removed unneeded values (#1817)
+ * Bump the dependencies group in /.config with 4 updates (#1816)
+
+-------------------------------------------------------------------
+Thu Jul 11 18:57:18 UTC 2024 - Johannes Kastl <opensuse_buildservice(a)ojkastl.de>
+
+- update to 24.6.1:
+ * Bugfixes
+ - Exit with an appropriate message if the image is invalid
+ (#1810) @shatakshiiii
+
+-------------------------------------------------------------------
Old:
----
ansible-navigator-24.6.0.obscpio
New:
----
ansible-navigator-24.7.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ansible-navigator.spec ++++++
--- /var/tmp/diff_new_pack.2iuCGF/_old 2024-07-12 17:05:37.046266459 +0200
+++ /var/tmp/diff_new_pack.2iuCGF/_new 2024-07-12 17:05:37.046266459 +0200
@@ -38,7 +38,7 @@
%endif
Name: ansible-navigator
-Version: 24.6.0
+Version: 24.7.0
Release: 0
Summary: A text-based user interface (TUI) for Ansible
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.2iuCGF/_old 2024-07-12 17:05:37.074267487 +0200
+++ /var/tmp/diff_new_pack.2iuCGF/_new 2024-07-12 17:05:37.078267635 +0200
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/ansible/ansible-navigator</param>
<param name="scm">git</param>
- <param name="revision">v24.6.0</param>
+ <param name="revision">v24.7.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.2iuCGF/_old 2024-07-12 17:05:37.098268370 +0200
+++ /var/tmp/diff_new_pack.2iuCGF/_new 2024-07-12 17:05:37.102268517 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/ansible/ansible-navigator</param>
- <param name="changesrevision">084e6e8838e3594f33461060981c46b34a682833</param></service></servicedata>
+ <param name="changesrevision">f2d9cc7a4cdb10f1827c3ada33aef3e69d627b03</param></service></servicedata>
(No newline at EOF)
++++++ ansible-navigator-24.6.0.obscpio -> ansible-navigator-24.7.0.obscpio ++++++
++++ 2292 lines of diff (skipped)
++++++ ansible-navigator.obsinfo ++++++
--- /var/tmp/diff_new_pack.2iuCGF/_old 2024-07-12 17:05:37.722291297 +0200
+++ /var/tmp/diff_new_pack.2iuCGF/_new 2024-07-12 17:05:37.726291444 +0200
@@ -1,5 +1,5 @@
name: ansible-navigator
-version: 24.6.0
-mtime: 1719336620
-commit: 084e6e8838e3594f33461060981c46b34a682833
+version: 24.7.0
+mtime: 1720551448
+commit: f2d9cc7a4cdb10f1827c3ada33aef3e69d627b03
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package netdata for openSUSE:Factory checked in at 2024-07-12 17:05:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netdata (Old)
and /work/SRC/openSUSE:Factory/.netdata.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netdata"
Fri Jul 12 17:05:21 2024 rev:56 rq:1186980 version:1.46.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/netdata/netdata.changes 2024-06-24 20:53:00.347678400 +0200
+++ /work/SRC/openSUSE:Factory/.netdata.new.17339/netdata.changes 2024-07-12 17:05:31.598066283 +0200
@@ -1,0 +2,39 @@
+Fri Jul 12 00:04:13 UTC 2024 - Mia Herkt <mia(a)0x0.st>
+
+- Update to 1.46.2
+ * Improve collecting of ksm/swap/cma/zswap metrics: now collected
+ only when the feature is enabled (proc/vmstat, proc/meminfo)
+ gh#netdata/netdata#18076
+ * Fixed Prometheus "prometheus_all_hosts" export format by adding
+ a missing comma before the "instance" label
+ gh#netdata/netdata#18061
+ * Increased accuracy of average IO operation time metrics by
+ switching to microseconds (proc/diskstats)
+ gh#netdata/netdata#18040
+ * Fixed monitoring of host mount points when running Netdata in
+ Docker containers (diskspace.plugin)
+ gh#netdata/netdata#18035
+ * Alert prototypes: Default "after" value in calculations set to
+ -600 (10 minutes) for clarity
+ gh#netdata/netdata#18025
+ * Improved building by ensuring correct library usage by
+ enforcing vendor include ordering
+ gh#netdata/netdata#18008
+ * Disabled logsmanagement plugin by default during packaging due
+ to lack of support
+ gh#netdata/netdata#18002
+ (corresponding package dropped in openSUSE)
+ * Aligned default days until expiration warnings with
+ documentation (30/15) (go.d/whoisquery)
+ gh#netdata/netdata#18000
+ * Expiration times now displayed in days instead of seconds
+ (whoisquery and x509check alerts)
+ gh#netdata/netdata#17999
+ * Improved functionality within Docker containers by respecting
+ the DOCKER_HOST environment variable (go.d.plugin)
+ gh#netdata/netdata#17979
+ * Improved ping_host_reachable alert calculations for better
+ reliability
+ gh#netdata/netdata#17976
+
+-------------------------------------------------------------------
Old:
----
netdata-v1.46.1.tar.gz
New:
----
netdata-v1.46.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ netdata.spec ++++++
--- /var/tmp/diff_new_pack.MLjvlz/_old 2024-07-12 17:05:33.090121103 +0200
+++ /var/tmp/diff_new_pack.MLjvlz/_new 2024-07-12 17:05:33.094121250 +0200
@@ -22,7 +22,7 @@
%define __builder ninja
Name: netdata
-Version: 1.46.1
+Version: 1.46.2
Release: 0
Summary: A system for distributed real-time performance and health monitoring
# netdata is GPL-3.0+, other licenses refer to included third-party software (see REDISTRIBUTED.md)
@@ -198,6 +198,7 @@
Summary: The go.d metrics collection plugin for the Netdata Agent
Requires: netdata = %{version}
Suggests: nvme-cli
+Suggests: sensors
Suggests: sudo
Supplements: netdata
Provides: netdata:%{_libexecdir}/%{name}/plugins.d/go.d.plugin
@@ -294,24 +295,6 @@
# CAP_DAC_READ_SEARCH required for data collection.
%caps(cap_dac_read_search=ep) %attr(0750,root,%{netdata_user}) %{_libexecdir}/%{name}/plugins.d/debugfs.plugin
-%package plugin-logs-management
-Summary: The logs-management plugin for the Netdata Agent
-Requires: netdata = %{version}
-Enhances: netdata
-Provides: netdata:%{_libexecdir}/%{name}/plugins.d/logs-management.plugin
-
-%description plugin-logs-management
-This plugin allows the Netdata Agent to collect logs from the system
-and parse them to extract metrics.
-
-%files plugin-logs-management
-%defattr(0644,root,%{netdata_user},0755)
-%{_prefix}/lib/%{name}/conf.d/logsmanagement.d.conf
-%{_prefix}/lib/%{name}/conf.d/logsmanagement.d
-%defattr(0750,root,%{netdata_user},0750)
-# CAP_DAC_READ_SEARCH and CAP_SYSLOG needed for data collection.
-%caps(cap_dac_read_search,cap_syslog=ep) %attr(0750,root,%{netdata_user}) %{_libexecdir}/%{name}/plugins.d/logs-management.plugin
-
%package plugin-network-viewer
Summary: The network viewer plugin for the Netdata Agent
Requires: netdata = %{version}
++++++ netdata-v1.46.1.tar.gz -> netdata-v1.46.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/netdata/netdata-v1.46.1.tar.gz /work/SRC/openSUSE:Factory/.netdata.new.17339/netdata-v1.46.2.tar.gz differ: char 19, line 1
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/netdata/vendor.tar.gz /work/SRC/openSUSE:Factory/.netdata.new.17339/vendor.tar.gz differ: char 5, line 1
1
0