Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/slirp4netns.git#2941c069d0b116a3ffd4f985b8d27627cf97f14e
This commit is contained in:
DistroBaker 2020-11-06 00:52:29 +00:00
parent 14be21bed4
commit 1f5ddcd953
4 changed files with 87 additions and 10 deletions

68
.gitignore vendored
View File

@ -1 +1,67 @@
/*.tar.gz /slirp4netns-c4e1bc5.tar.gz
/slirp4netns-0037042.tar.gz
/slirp4netns-30883b5.tar.gz
/slirp4netns-4992082.tar.gz
/slirp4netns-4889f52.tar.gz
/slirp4netns-5c690f7.tar.gz
/slirp4netns-f34ad90.tar.gz
/slirp4netns-6612517.tar.gz
/slirp4netns-d34e916.tar.gz
/slirp4netns-2f857ec.tar.gz
/slirp4netns-bf199bb.tar.gz
/slirp4netns-62cbdd3.tar.gz
/slirp4netns-4f5a083.tar.gz
/slirp4netns-85efff0.tar.gz
/slirp4netns-87a4bf7.tar.gz
/slirp4netns-10c0ee5.tar.gz
/slirp4netns-d23723e.tar.gz
/slirp4netns-b911c9a.tar.gz
/slirp4netns-96ff33c.tar.gz
/slirp4netns-1dfc6f6.tar.gz
/slirp4netns-aacef69.tar.gz
/slirp4netns-ed51817.tar.gz
/slirp4netns-bbd6f25.tar.gz
/slirp4netns-56c8370.tar.gz
/slirp4netns-4e51172.tar.gz
/slirp4netns-29db6bd.tar.gz
/slirp4netns-1a96e26.tar.gz
/slirp4netns-d2e449b.tar.gz
/slirp4netns-f9503fe.tar.gz
/slirp4netns-e8759b9.tar.gz
/slirp4netns-3527c98.tar.gz
/slirp4netns-0186bac.tar.gz
/slirp4netns-21fdece.tar.gz
/slirp4netns-1fea75f.tar.gz
/slirp4netns-e14da48.tar.gz
/slirp4netns-dad442a.tar.gz
/slirp4netns-e6b31fe.tar.gz
/slirp4netns-a8414d1.tar.gz
/slirp4netns-7ba0c6f.tar.gz
/slirp4netns-7560ba4.tar.gz
/slirp4netns-735fcd7.tar.gz
/slirp4netns-38334c4.tar.gz
/slirp4netns-b797921.tar.gz
/slirp4netns-4353fab.tar.gz
/slirp4netns-cac9a34.tar.gz
/slirp4netns-c0fef8d.tar.gz
/slirp4netns-bdcd9a7.tar.gz
/slirp4netns-c48f4d7.tar.gz
/slirp4netns-4367de7.tar.gz
/slirp4netns-ce56e0c.tar.gz
/slirp4netns-3caa737.tar.gz
/slirp4netns-56941dd.tar.gz
/slirp4netns-c2c87b9.tar.gz
/slirp4netns-94bd97d.tar.gz
/slirp4netns-483e855.tar.gz
/slirp4netns-fcda5d9.tar.gz
/slirp4netns-a32a0d0.tar.gz
/slirp4netns-99e1516.tar.gz
/slirp4netns-dd4af4f.tar.gz
/slirp4netns-4a30e56.tar.gz
/slirp4netns-8bf8338.tar.gz
/slirp4netns-23ce219.tar.gz
/slirp4netns-4c6befe.tar.gz
/slirp4netns-6d002ad.tar.gz
/slirp4netns-eecccdb.tar.gz
/slirp4netns-6767922.tar.gz
/slirp4netns-13ac4c2.tar.gz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# slirp4netns
The slirp4netns package

View File

@ -1,12 +1,20 @@
%global git0 https://github.com/rootless-containers/%{name} %global git0 https://github.com/rootless-containers/%{name}
%global commit0 13ac4c2bed387384fcf0c01d1877913cbd110d0f
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
# Used for comparing with latest upstream tag
# to decide whether to autobuild (non-rawhide only)
%global built_tag v1.0.0
Name: slirp4netns Name: slirp4netns
Version: 1.1.4 Version: 1.1.6
Release: 8%{?dist} Release: 2.dev.git%{shortcommit0}%{?dist}
# no go-md2man in ppc64
ExcludeArch: ppc64
Summary: slirp for network namespaces Summary: slirp for network namespaces
License: GPLv2 License: GPLv2
URL: %{git0} URL: %{git0}
Source0: %{git0}/archive/v%{version}.tar.gz Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: gcc BuildRequires: gcc
@ -15,8 +23,8 @@ BuildRequires: git
BuildRequires: go-md2man BuildRequires: go-md2man
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libseccomp-devel BuildRequires: libseccomp-devel
BuildRequires: make
BuildRequires: libslirp-devel BuildRequires: libslirp-devel
BuildRequires: make
%description %description
slirp for network namespaces, without copying buffers across the namespaces. slirp for network namespaces, without copying buffers across the namespaces.
@ -33,10 +41,9 @@ building other packages which use import path with
%{import_path} prefix. %{import_path} prefix.
%prep %prep
%autosetup -Sgit %autosetup -Sgit -n %{name}-%{commit0}
%build %build
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
./autogen.sh ./autogen.sh
./configure --prefix=%{_usr} --libdir=%{_libdir} ./configure --prefix=%{_usr} --libdir=%{_libdir}
%{__make} generate-man %{__make} generate-man
@ -56,8 +63,9 @@ make DESTDIR=%{buildroot} install install-man
%{_mandir}/man1/%{name}.1.gz %{_mandir}/man1/%{name}.1.gz
%changelog %changelog
* Thu Oct 29 2020 Jindrich Novy <jnovy@redhat.com> - 1.1.4-8 * Thu Nov 5 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.1.6-2.dev.git13ac4c2
- synchronize with stream-container-tools-rhel8 - bump to 1.1.6
- autobuilt 13ac4c2
* Sat Oct 3 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.1.4-7.dev.git6767922 * Sat Oct 3 2020 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1.1.4-7.dev.git6767922
- autobuilt 6767922 - autobuilt 6767922

View File

@ -1 +1 @@
e7bfd1c1812b1f93d8a95356af3eeb0b v1.1.4.tar.gz SHA512 (slirp4netns-13ac4c2.tar.gz) = 3eccfd18e325678ef1f975dc41c4b1d37ce56aa192d0dee7f9acdfd618ed92a2faf550dcbff19306efaa3d5ccfd2a48e785c3e3eb63c12b98c952cf11e1e9fd9