Accepting request 642671 from devel:kubic
- Introduce slirp4netns in version 0.1 to support rootless Podman: slirp4netns provides user-mode networking ("slirp") for unprivileged network namespaces. A common use-case of slirp4netns is to enable network access for rootless container engines such as Podman. OBS-URL: https://build.opensuse.org/request/show/642671 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slirp4netns?expand=0&rev=1
This commit is contained in:
commit
e18e4c96ea
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/rootless-containers/slirp4netns.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="filename">slirp4netns</param>
|
||||||
|
<param name="versionformat">git.%h</param>
|
||||||
|
<param name="revision">39e87c0e66345edf7fd6e0bd1f61aa842617e757</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
|
</services>
|
3
slirp4netns-git.39e87c0e6634.tar.xz
Normal file
3
slirp4netns-git.39e87c0e6634.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2773e2ae05d5b6a63e844cf51ed74b1c19e562ccd6be490940cd19b38840a00b
|
||||||
|
size 98176
|
7
slirp4netns.changes
Normal file
7
slirp4netns.changes
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 17 09:15:55 UTC 2018 - Valentin Rothberg <vrothberg@suse.com>
|
||||||
|
|
||||||
|
- Introduce slirp4netns in version 0.1 to support rootless Podman:
|
||||||
|
slirp4netns provides user-mode networking ("slirp") for unprivileged network
|
||||||
|
namespaces. A common use-case of slirp4netns is to enable network access for
|
||||||
|
rootless container engines such as Podman.
|
61
slirp4netns.spec
Normal file
61
slirp4netns.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
#
|
||||||
|
# spec file for package slirp4netns
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define git_commit 39e87c0e66345edf7fd6e0bd1f61aa842617e757
|
||||||
|
%define git_short_commit 39e87c0e6634
|
||||||
|
# git_revision=r$(git rev-list HEAD | wc -l)
|
||||||
|
%define git_revision r54
|
||||||
|
Name: slirp4netns
|
||||||
|
Version: 0.1+git%{git_revision}_%{git_short_commit}
|
||||||
|
Release: 0
|
||||||
|
Summary: User-mode networking for unprivileged network namespaces
|
||||||
|
License: GPL-2.0-only
|
||||||
|
Group: System/Management
|
||||||
|
URL: https://github.com/rootless-containers/slirp4netns
|
||||||
|
Source0: %{name}-git.%{git_short_commit}.tar.xz
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: git
|
||||||
|
BuildRequires: go-go-md2man
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
|
%description
|
||||||
|
slirp for network namespaces, without copying buffers across the namespaces.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-git.%{git_short_commit}
|
||||||
|
|
||||||
|
%build
|
||||||
|
./autogen.sh
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
make %{?_smp_mflags} generate-man
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -D -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
|
||||||
|
install -d %{buildroot}/%{_mandir}/man1
|
||||||
|
install -m 0644 %{name}.1 %{buildroot}/%{_mandir}/man1
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_mandir}/man1/%{name}*.1%{?ext_man}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user