Name: usbredir Version: 0.8.0 Release: 7 Summary: network protocol libraries for sending USB device traffic License: LGPLv2+ and GPLv2+ URL: https://www.spice-space.org/usbredir.html Source0: http://spice-space.org/download/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: libusb1-devel >= 1.0.9 git Provides: %{name}-server Obsoletes: %{name}-server Patch1: 0001-CVE-2021-3700.patch Patch2: 0002-Skip-empty-write-buffers-when-unserializing-parser.patch Patch3: 0003-Update-write-buffer-count-during-deserialization.patch Patch4: 0004-Release-memory-after-handling-packet.patch Patch5: 0005-usbredirparser-free-parser-s-data-on-destroy.patch Patch6: 0006-Avoid-memory-leak-from-ill-formatted-serialization-d.patch Patch7: 0007-Fix-some-issues-detected-by-fuzzer.patch %description usbredir is the name of a network protocol for sending USB device traffic over a network connection. It is also the name of the software package offering a parsing library, a usbredirhost library and several utilities implementing this protocol. It also including a USB host TCP server, using libusbredirhost. %package devel Summary: Including header files and library for the developing of usbredir. Requires: usbredir = %{version}-%{release} %description devel This contains dynamic libraries and header files for the developing of usbredir. %package help Summary: Including man files for usbredir Requires: man BuildArch: noarch %description help This contains man files for the using of usbredir. %prep %autosetup -n %{name}-%{version} -p1 -S git %build %configure --disable-static make %{?_smp_mflags} V=1 %install %make_install %ldconfig_scriptlets %files %license COPYING COPYING.LIB README README.multi-thread %{_libdir}/libusbredir*.so.* %{_sbindir}/usbredirserver %exclude %{_libdir}/libusbredir*.la %files devel %doc ChangeLog %{_includedir}/usbredir*.h %{_libdir}/libusbredir*.so %{_libdir}/pkgconfig/libusbredir*.pc %files help %{_mandir}/man1/usbredirserver.1* %changelog * Wed Dec 08 2021 wuguanghao - 0.8.0-7 - fix memleak in fuzz-test * Tue Dec 07 2021 wuguanghao - 0.8.0-6 - fix timeout and abort of fuzz-test * Thu Sep 23 2021 yanglongkang - 0.8.0-5 - fix CVE-2021-3700 * Wed Sep 11 2019 openEuler Buildteam - 0.8.0-4 - Type:enhancemnet - ID:NA - SUG:NA - DESC:remove debuginfo * Wed Aug 28 2019 zhanghaibo - 0.8.0-3 - Type:enhancemnet - ID:NA - SUG:NA - DESCi:openEuler Debranding * Mon Aug 12 2019 zhanghaibo - 0.8.0-2 - Package init