From 786f1fa7350790b621bb48ad5887f8cd489744bc Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 30 Mar 2021 09:05:13 -0400 Subject: [PATCH] import slirp4netns-1.1.8-1.module+el8.4.0+10198+36d1d0e3 --- .gitignore | 2 +- .slirp4netns.metadata | 2 +- SPECS/slirp4netns.spec | 45 +++++++++++++++++++++++++++++++++++++++++- 3 files changed, 46 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f779712..48ea2f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v1.1.1.tar.gz +SOURCES/v1.1.8.tar.gz diff --git a/.slirp4netns.metadata b/.slirp4netns.metadata index 0fc093d..84c8057 100644 --- a/.slirp4netns.metadata +++ b/.slirp4netns.metadata @@ -1 +1 @@ -bc41b2a8bef156274859aca1931336deed5716ae SOURCES/v1.1.1.tar.gz +9f7965d1151311e6af4be9d3c0093ff86f1a3e4d SOURCES/v1.1.8.tar.gz diff --git a/SPECS/slirp4netns.spec b/SPECS/slirp4netns.spec index b1b1597..86f819f 100644 --- a/SPECS/slirp4netns.spec +++ b/SPECS/slirp4netns.spec @@ -1,11 +1,13 @@ %global git0 https://github.com/rootless-containers/%{name} Name: slirp4netns -Version: 1.1.1 +Version: 1.1.8 Release: 1%{?dist} Summary: slirp for network namespaces License: GPLv2 URL: %{git0} +# build fails on i686 with: No matching package to install: 'go-md2man' +ExcludeArch: i686 Source0: %{git0}/archive/v%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake @@ -36,6 +38,8 @@ building other packages which use import path with %autosetup -Sgit %build +export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" +export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" ./autogen.sh ./configure --prefix=%{_usr} --libdir=%{_libdir} %{__make} generate-man @@ -55,6 +59,45 @@ make DESTDIR=%{buildroot} install install-man %{_mandir}/man1/%{name}.1.gz %changelog +* Fri Dec 04 2020 Jindrich Novy - 1.1.8-1 +- update to + https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.8 +- Related: #1883490 + +* Thu Dec 03 2020 Jindrich Novy - 1.1.7-2 +- exclude i686 because of build failures +- Related: #1883490 + +* Thu Nov 26 2020 Jindrich Novy - 1.1.7-1 +- update to + https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.7 +- Related: #1883490 + +* Mon Nov 09 2020 Jindrich Novy - 1.1.6-2 +- - be sure to harden the linked binary +- Related: #1883490 + +* Thu Nov 05 2020 Jindrich Novy - 1.1.6-1 +- update to + https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.6 +- Related: #1883490 + +* Tue Aug 11 2020 Jindrich Novy - 1.1.4-2 +- use proper CFLAGS +- Related: #1821193 + +* Mon Jul 13 2020 Jindrich Novy - 1.1.4-1 +- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.4 +- Related: #1821193 + +* Thu Jul 09 2020 Jindrich Novy - 1.1.3-1 +- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.3 +- Related: #1821193 + +* Mon Jul 06 2020 Jindrich Novy - 1.1.2-1 +- update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.2 +- Related: #1821193 + * Fri Jun 05 2020 Jindrich Novy - 1.1.1-1 - update to https://github.com/rootless-containers/slirp4netns/releases/tag/v1.1.1 - Related: #1821193