528133
%global git0 https://github.com/rootless-containers/%{name}
528133
528133
Name: slirp4netns
528133
Version: 1.1.8
528133
Release: 1%{?dist}
528133
Summary: slirp for network namespaces
528133
License: GPLv2
528133
URL: %{git0}
528133
# build fails on i686 with: No matching package to install: 'go-md2man'
528133
ExcludeArch: i686
528133
Source0: %{git0}/archive/v%{version}.tar.gz
528133
BuildRequires: autoconf
528133
BuildRequires: automake
528133
BuildRequires: gcc
528133
BuildRequires: glib2-devel
528133
BuildRequires: git
528133
BuildRequires: go-md2man
528133
BuildRequires: libcap-devel
528133
BuildRequires: libseccomp-devel
528133
BuildRequires: make
528133
BuildRequires: libslirp-devel
528133
528133
%description
528133
slirp for network namespaces, without copying buffers across the namespaces.
528133
528133
%package devel
528133
Summary: %{summary}
528133
BuildArch: noarch
528133
528133
%description devel
528133
%{summary}
528133
528133
This package contains library source intended for
528133
building other packages which use import path with
528133
%{import_path} prefix.
528133
528133
%prep
528133
%autosetup -Sgit
528133
528133
%build
528133
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
528133
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
528133
./autogen.sh
528133
./configure --prefix=%{_usr} --libdir=%{_libdir}
528133
%{__make} generate-man
528133
528133
%install
528133
make DESTDIR=%{buildroot} install install-man
528133
528133
%check
528133
528133
#define license tag if not already defined
528133
%{!?_licensedir:%global license %doc}
528133
528133
%files
528133
%license COPYING
528133
%doc README.md
528133
%{_bindir}/%{name}
528133
%{_mandir}/man1/%{name}.1.gz
528133
528133
%changelog
528133
* Fri Dec 04 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.8-1
528133
- update to
528133
  https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.8
528133
- Related: #1883490
528133
528133
* Thu Dec 03 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.7-2
528133
- exclude i686 because of build failures
528133
- Related: #1883490
528133
528133
* Thu Nov 26 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.7-1
528133
- update to
528133
  https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.7
528133
- Related: #1883490
528133
528133
* Mon Nov 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.6-2
528133
- - be sure to harden the linked binary
528133
- Related: #1883490
528133
528133
* Thu Nov 05 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.6-1
528133
- update to
528133
  https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.6
528133
- Related: #1883490
528133
528133
* Tue Aug 11 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.4-2
528133
- use proper CFLAGS
528133
- Related: #1821193
528133
528133
* Mon Jul 13 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.4-1
528133
- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.4
528133
- Related: #1821193
528133
528133
* Thu Jul 09 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.3-1
528133
- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.3
528133
- Related: #1821193
528133
528133
* Mon Jul 06 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.2-1
528133
- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.2
528133
- Related: #1821193
528133
528133
* Fri Jun 05 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.1-1
528133
- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.1
528133
- Related: #1821193
528133
528133
* Fri Jun 05 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.0-1
528133
- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.0
528133
- Related: #1821193
528133
528133
* Tue May 12 2020 Jindrich Novy <jnovy@redhat.com> - 1.0.1-1
528133
- update to https://github.com/rootless-containers/slirp4netns/archive/v1.0.1.tar.gz
528133
- Related: #1821193
528133
528133
* Thu Feb 06 2020 Jindrich Novy <jnovy@redhat.com> - 0.4.2-3.git21fdece
528133
- Fix CVE-2020-8608
528133
- Resolves: #1798979
528133
528133
* Thu Jan 16 2020 Jindrich Novy <jnovy@redhat.com> - 0.4.2-2.git21fdece
528133
- Fix CVE-2020-7039.
528133
Resolves: #1791576
528133
528133
* Mon Nov 25 2019 Jindrich Novy <jnovy@redhat.com> - 0.4.2-1.git21fdece
528133
- update to latest 0.4.2, fixes bug 1763454
528133
- Related: RHELPLAN-25139
528133
528133
* Thu Oct 31 2019 Jindrich Novy <jnovy@redhat.com> - 0.4.0-2
528133
- add new BR: libseccomp-devel
528133
- Related: #1766774
528133
528133
* Wed Oct 30 2019 Jindrich Novy <jnovy@redhat.com> - 0.4.0-1
528133
- update to v.0.4.0
528133
- sync with fedora spec
528133
- drop applied CVE-2019-14378 patch
528133
- Resolves: #1766774
528133
528133
* Thu Sep 26 2019 Jindrich Novy <jnovy@redhat.com> - 0.3.0-4
528133
- Fix CVE-2019-14378 (#1755595).
528133
528133
* Fri Jun 07 2019 Lokesh Mandvekar <lsm5@redhat.com> - 0.3.0-3
528133
- Resolves: #1683217 - BR: glib2-devel
528133
528133
* Fri Jun 07 2019 Lokesh Mandvekar <lsm5@redhat.com> - 0.3.0-2
528133
- Resolves: #1683217 - bump slirp4netns to v0.3.0
528133
528133
* Thu Feb 28 2019 Lokesh Mandvekar <lsm5@redhat.com> - 0.3.0-1.alpha.2.git30883b5
528133
- bump to v0.3.0-alpha.2
528133
528133
* Fri Nov 16 2018 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.1-2.dev.gitc4e1bc5
528133
- changed summary
528133
528133
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@redhat.com> - 0.1-1.dev.gitc4e1bc5
528133
- First package for RHEL 8
528133
- import from Fedora rawhide
528133
- Exclude ix86 and ppc64