ed20b5
Name:           libslirp
ed20b5
Version:        4.4.0
ed20b5
Release:        7%{?dist}
ed20b5
Summary:        A general purpose TCP-IP emulator
ed20b5
ed20b5
# check the SPDX tags in source files for details
ed20b5
License:        BSD and MIT
ed20b5
URL:            https://gitlab.freedesktop.org/slirp/%{name}
ed20b5
Source0:        %{url}/-/archive/v%{version}/%{name}-%{version}.tar.xz
ed20b5
Patch0001: 0001-Add-mtod_check.patch
ed20b5
Patch0002: 0002-bootp-limit-vendor-specific-area-to-input-packet-mem.patch
ed20b5
Patch0003: 0003-bootp-check-bootp_input-buffer-size.patch
ed20b5
Patch0004: 0004-upd6-check-udp6_input-buffer-size.patch
ed20b5
Patch0005: 0005-tftp-check-tftp_input-buffer-size.patch
ed20b5
Patch0006: 0006-tftp-introduce-a-header-structure.patch
ed20b5
Patch0007: 0007-udp-check-upd_input-buffer-size.patch
ed20b5
Patch0008: 0001-Fix-DHCP-broken-in-libslirp-v4.6.0.patch
ed20b5
Patch0009: 0001-New-utility-slirp_ether_ntoa.patch
ed20b5
Patch00010: 0002-Replace-inet_ntoa-with-safer-inet_ntop.patch
ed20b5
ed20b5
ed20b5
BuildRequires:  git-core
ed20b5
BuildRequires:  meson
ed20b5
BuildRequires:  gcc
ed20b5
BuildRequires:  glib2-devel
ed20b5
ed20b5
%description
ed20b5
A general purpose TCP-IP emulator used by virtual machine hypervisors
ed20b5
to provide virtual networking services.
ed20b5
ed20b5
ed20b5
%package        devel
ed20b5
Summary:        Development files for %{name}
ed20b5
Requires:       %{name}%{?_isa} = %{version}-%{release}
ed20b5
ed20b5
%description    devel
ed20b5
The %{name}-devel package contains libraries and header files for
ed20b5
developing applications that use %{name}.
ed20b5
ed20b5
ed20b5
%prep
ed20b5
%autosetup -S git_am
ed20b5
ed20b5
%build
ed20b5
%meson
ed20b5
%meson_build
ed20b5
ed20b5
ed20b5
%install
ed20b5
%meson_install
ed20b5
ed20b5
ed20b5
%files
ed20b5
%license COPYRIGHT
ed20b5
%doc README.md CHANGELOG.md
ed20b5
%{_libdir}/%{name}.so.0*
ed20b5
ed20b5
%files devel
ed20b5
%dir %{_includedir}/slirp/
ed20b5
%{_includedir}/slirp/*
ed20b5
%{_libdir}/%{name}.so
ed20b5
%{_libdir}/pkgconfig/slirp.pc
ed20b5
ed20b5
ed20b5
%changelog
ed20b5
* Fri Feb 11 2022 Jindrich Novy <jnovy@redhat.com> - 4.4.0-7
ed20b5
- fix also socket.c, thanks to Marc-André Lureau
ed20b5
- Related: #2000051
ed20b5
ed20b5
* Fri Feb 11 2022 Jindrich Novy <jnovy@redhat.com> - 4.4.0-6
ed20b5
- add patches fixing gating tests from Marc-André Lureau
ed20b5
- Related: #2000051
ed20b5
ed20b5
* Wed Feb 09 2022 Jindrich Novy <jnovy@redhat.com> - 4.4.0-5
ed20b5
- add gating.yaml
ed20b5
- Related: #2000051
ed20b5
ed20b5
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.4.0-4
ed20b5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
ed20b5
  Related: rhbz#1991688
ed20b5
ed20b5
* Fri Jun 18 2021 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.4.0-3
ed20b5
- Fix CVE-2021-3592 CVE-2021-3593 CVE-2021-3594 CVE-2021-3595 out-of-bounds access
ed20b5
  Resolves: rhbz#1970826 rhbz#1970839 rhbz#1970857 rhbz#1970847
ed20b5
ed20b5
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.4.0-2
ed20b5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
ed20b5
ed20b5
* Wed Dec  2 18:19:30 +04 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.4.0-1
ed20b5
- new version
ed20b5
ed20b5
* Fri Nov 27 20:10:28 +04 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.3.1-3
ed20b5
- Fix CVE-2020-29129 CVE-2020-29130 out-of-bounds access while processing ARP/NCSI packets
ed20b5
  rhbz#1902232
ed20b5
ed20b5
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.1-2
ed20b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ed20b5
ed20b5
* Wed Jul 08 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.3.1-1
ed20b5
- New v4.3.1 release
ed20b5
ed20b5
* Thu Apr 23 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.3.0-1
ed20b5
- New v4.3.0 release
ed20b5
ed20b5
* Mon Apr 20 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.2.0-2
ed20b5
- CVE-2020-1983 fix
ed20b5
ed20b5
* Tue Mar 17 2020 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.2.0-1
ed20b5
- New v4.2.0 release
ed20b5
ed20b5
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-2
ed20b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ed20b5
ed20b5
* Tue Dec 03 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.1.0-1
ed20b5
- New v4.1.0 release
ed20b5
ed20b5
* Fri Aug  2 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.0.0-3
ed20b5
- Fix CVE-2019-14378, rhbz#1735654
ed20b5
ed20b5
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.0-2
ed20b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ed20b5
ed20b5
* Wed May 22 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 4.0.0-1
ed20b5
- Initial package, rhbz#1712980