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