commit usbutils for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package usbutils for openSUSE:Factory checked in at 2024-10-25 19:18:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/usbutils (Old) and /work/SRC/openSUSE:Factory/.usbutils.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "usbutils" Fri Oct 25 19:18:48 2024 rev:49 rq:1217960 version:018 Changes: -------- --- /work/SRC/openSUSE:Factory/usbutils/usbutils.changes 2024-09-23 15:18:46.464864349 +0200 +++ /work/SRC/openSUSE:Factory/.usbutils.new.2020/usbutils.changes 2024-10-25 19:19:06.733298601 +0200 @@ -1,0 +2,64 @@ +Wed Oct 23 15:02:37 UTC 2024 - Martin Hauke <mardnh@gmx.de> + +- Update to version 018: + * Add a manpage for lsusb.py + * Add a manpage for usbreset + * Add lsusb.py.1 to DISTCLEANFILES + * usb-devices: fix bashism + * man: remove version from the manual pages + * README: add Contributing section + * lsusb.py: mention both usb.ids paths + * README: fix link, add DCO and SPDX details + * lsusb: make internal API const-aware + * lsusb: const annotate most data, + re-enable -Wdiscarded-qualifiers + * man: move manual pages in designated sub-folder + * lsusb: drop the audioterminal hash table + * lsusb: drop the videoterminal hash table + * lsusb: drop the genericstrtable hash tables + * editorconfig: add initial config file + * lsusb: reformat and add trailing commas for multi-line arrays + * usb-spec: move the opening curly brackets to end of line + * Include "negotiated speed" in device dump + * lsusb: remove autotools checks for iconv + * lsusb: remove byteswap.h check + * lsusb: always include config.h + * usbutils: remove usbutils.pc + * usbutils: convert build system to use meson + * usbutils.spdx: update file based on recent file movements + * lsusb: fix memory leak in libusb + * lsusb: billboard alternate mode is in little endian format + * README: update based on build tool changes + * lsusb: add support to show superspeed++ + * usbhid-dump: clean up meson.build a bit + * usbutils.spdx: update the SPDX file + * LICENSE: add LGPL-2.1 license text + * usbutils.spdx: update the data + * update usbutils.spdx file + * lsusb-t: get rid of custom list.h logic + * LICENSES: add CC0 and MIT licenses + * lsusb-t: fix memory leak + * justfile: add some more targets + * usbutils.spdx: update based on file additions + * usbutils.spdx: update due to new file and checksums + * usbreset: replace some unbounded strcpy() calls + * sysfs.c: fix an theoretical issue with snprintf() + * usbutils.spdx: update checksums + * usbmisc: fix possible stack-buffer-overflow Running lsusb + with -D argument and path, which len is more than PATH_MAX + 1, + cause stack-buffer-overflow because of copy to the buf a string + without null-terminator Force setting 0 byte to the end of the + buf fixes this error Fix #190 + * update ccid descriptor dumping to V1.1 spec + * usb-devices: Fix usb-devices with busybox + * Do not warn about missing LPM bit when not required + * lsusb: add VideoControl Endpoint Descriptor +- Switch to meson build system +- Drop usbutils-devel package + * the only file in there was usbutils.pc + usbutils.pc was removed by upstream with v018 + https://github.com/gregkh/usbutils/commit/bdadae186382daa8b517b960f154432787... +- Add patch: + * usbutils-enable-usbreset.patch + +------------------------------------------------------------------- Old: ---- v017.tar.gz New: ---- usbutils-enable-usbreset.patch v018.tar.gz BETA DEBUG BEGIN: New:- Add patch: * usbutils-enable-usbreset.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ usbutils.spec ++++++ --- /var/tmp/diff_new_pack.apNQLY/_old 2024-10-25 19:19:07.661337321 +0200 +++ /var/tmp/diff_new_pack.apNQLY/_new 2024-10-25 19:19:07.661337321 +0200 @@ -17,17 +17,17 @@ Name: usbutils -Version: 017 +Version: 018 Release: 0 Summary: Tools and libraries for USB devices License: GPL-2.0-or-later Group: Hardware/Other URL: https://sourceforge.net/projects/linux-usb/ Source0: https://github.com/gregkh/usbutils/archive/refs/tags/v%{version}.tar.gz -BuildRequires: autoconf -BuildRequires: automake +Patch0: usbutils-enable-usbreset.patch BuildRequires: libtool BuildRequires: libusb-1_0-devel >= 1.0.14 +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libudev) >= 196 @@ -37,30 +37,16 @@ This package contains a utility for inspecting devices connected to USB ports. -%package devel -Summary: Developer tools and libraries for USB devices -Requires: %{name} = %{version} - -%description devel -This package contains a utility for inspecting devices connected to USB -ports. - -This package is needed when programatically locating the usbutils database - %prep %setup -q +%autopatch -p1 %build -autoreconf -fiv -%configure \ - --datadir=%{_datadir}/hwdata \ - --disable-usbids -%make_build -make usbreset +%meson +%meson_build %install -%make_install -install -c usbreset %{buildroot}/%_bindir +%meson_install %python3_fix_shebang %files @@ -71,10 +57,8 @@ %{_bindir}/usb-devices %{_bindir}/usbhid-dump %{_bindir}/usbreset +%{_mandir}/man1/lsusb.py.1%{?ext_man} %{_mandir}/man1/usb-devices.1%{?ext_man} %{_mandir}/man8/lsusb.8%{?ext_man} %{_mandir}/man8/usbhid-dump.8%{?ext_man} -%files devel -%{_libdir}/pkgconfig/usbutils.pc - ++++++ usbutils-enable-usbreset.patch ++++++ diff --git a/meson.build b/meson.build index c522283..55c3d15 100644 --- a/meson.build +++ b/meson.build @@ -137,7 +137,7 @@ usbreset_sources = [ # By default, usbreset does not get installed as it could cause problems, it's # in the repo for those that wish to try it out. -executable('usbreset', usbreset_sources, install: false) +executable('usbreset', usbreset_sources, install: true) ################################ ++++++ v017.tar.gz -> v018.tar.gz ++++++ ++++ 15015 lines of diff (skipped)
participants (1)
-
Source-Sync