34b196
Name:           libslirp
34b196
Version:        4.4.0
34b196
Release:        1%{?dist}
34b196
Summary:        A general purpose TCP-IP emulator
34b196
34b196
# check the SPDX tags in source files for details
34b196
License:        BSD and MIT
34b196
URL:            https://gitlab.freedesktop.org/slirp/%{name}
34b196
Source0:        %{url}/-/archive/v%{version}/%{name}-%{version}.tar.xz
34b196
Patch0001: 0001-Add-mtod_check.patch
34b196
Patch0002: 0002-bootp-limit-vendor-specific-area-to-input-packet-mem.patch
34b196
Patch0003: 0003-bootp-check-bootp_input-buffer-size.patch
34b196
Patch0004: 0004-upd6-check-udp6_input-buffer-size.patch
34b196
Patch0005: 0005-tftp-check-tftp_input-buffer-size.patch
34b196
Patch0006: 0006-tftp-introduce-a-header-structure.patch
34b196
Patch0007: 0007-udp-check-upd_input-buffer-size.patch
34b196
Patch0008: 0001-Fix-DHCP-broken-in-libslirp-v4.6.0.patch
34b196
34b196
34b196
BuildRequires:  git-core
34b196
BuildRequires:  meson
34b196
BuildRequires:  gcc
34b196
BuildRequires:  glib2-devel
34b196
34b196
%description
34b196
A general purpose TCP-IP emulator used by virtual machine hypervisors
34b196
to provide virtual networking services.
34b196
34b196
34b196
%package        devel
34b196
Summary:        Development files for %{name}
34b196
Requires:       %{name}%{?_isa} = %{version}-%{release}
34b196
34b196
%description    devel
34b196
The %{name}-devel package contains libraries and header files for
34b196
developing applications that use %{name}.
34b196
34b196
34b196
%prep
34b196
%autosetup -S git_am
34b196
34b196
%build
34b196
%meson
34b196
%meson_build
34b196
34b196
34b196
%install
34b196
%meson_install
34b196
34b196
34b196
%files
34b196
%license COPYRIGHT
34b196
%doc README.md CHANGELOG.md
34b196
%{_libdir}/%{name}.so.0*
34b196
34b196
%files devel
34b196
%dir %{_includedir}/slirp/
34b196
%{_includedir}/slirp/*
34b196
%{_libdir}/%{name}.so
34b196
%{_libdir}/pkgconfig/slirp.pc
34b196
34b196
34b196
%changelog
34b196
* Mon Jun 28 2021 Jindrich Novy <jnovy@redhat.com> - 4.4.0-1
34b196
- Fix CVE-2021-3592 CVE-2021-3593 CVE-2021-3594 CVE-2021-3595 out-of-bounds access
34b196
- Related: #1934415
34b196
34b196
* Thu Jul 30 2020 Jindrich Novy <jnovy@redhat.com> - 4.3.1-1
34b196
- update to https://gitlab.freedesktop.org/slirp/libslirp/-/releases/v4.3.1
34b196
- Related: #1821193
34b196
34b196
* Wed Jul 08 2020 Jindrich Novy <jnovy@redhat.com> - 4.3.0-5
34b196
- replace patch for CVE-2020-10756 with dedicated upstream one
34b196
- Related: #1821193
34b196
34b196
* Fri Jul 03 2020 Jindrich Novy <jnovy@redhat.com> - 4.3.0-4
34b196
- fix "CVE-2020-10756 QEMU: slirp: networking out-of-bounds read information disclosure vulnerability"
34b196
- Related: #1821193
34b196
34b196
* Thu May 28 2020 Jindrich Novy <jnovy@redhat.com> - 4.3.0-3
34b196
- fix static analysis issues merged upstream
34b196
  (https://gitlab.freedesktop.org/slirp/libslirp/-/merge_requests/41)
34b196
- Related: #1821193
34b196
34b196
* Mon May 11 2020 Jindrich Novy <jnovy@redhat.com> - 4.3.0-2
34b196
- initial libslirp build for container-tools 8.3.0 module
34b196
- Resolves: #1821193
34b196
34b196
* Thu Apr 23 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.3.0-1
34b196
- New v4.3.0 release
34b196
34b196
* Mon Apr 20 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.2.0-2
34b196
- CVE-2020-1983 fix
34b196
34b196
* Tue Mar 17 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.2.0-1
34b196
- New v4.2.0 release
34b196
34b196
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
34b196
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
34b196
34b196
* Tue Dec 03 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.1.0-1
34b196
- New v4.1.0 release
34b196
34b196
* Fri Aug  2 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.0.0-3
34b196
- Fix CVE-2019-14378, rhbz#1735654
34b196
34b196
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
34b196
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
34b196
34b196
* Wed May 22 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.0.0-1
34b196
- Initial package, rhbz#1712980