Sync from SUSE:ALP:Source:Standard:1.0 slirp4netns revision 1bbc040ea6d04b2ad5a8c29f19ac1ff2

This commit is contained in:
Adrian Schröter 2024-02-10 20:15:17 +01:00
commit ba6b148249
5 changed files with 257 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

17
_service Normal file
View File

@ -0,0 +1,17 @@
<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="revision">v1.2.2</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled" />
</services>

BIN
slirp4netns-1.2.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

155
slirp4netns.changes Normal file
View File

@ -0,0 +1,155 @@
-------------------------------------------------------------------
Mon Oct 2 08:28:59 UTC 2023 - pgajdos@suse.com
- version update to 1.2.2
* Enabled reproducible builds (#324, #325, #326)
-------------------------------------------------------------------
Mon Aug 21 06:34:19 UTC 2023 - Danish Prakash <danish.prakash@suse.com>
- Update to version 1.2.1:
* sandbox: Add support for escaping resolv.conf symlinks (#318)
* parson: update to v1.5.2 (#320)
-------------------------------------------------------------------
Tue Nov 22 13:00:10 UTC 2022 - Dan Čermák <dcermak@suse.com>
- New upstream release 1.2.0:
* Add slirp4netns --target-type=bess /path/to/bess.sock for supporting UML (#281)
* Explicitly support DHCP (#270)
* Update parson to v1.1.3 (#273) kgabis/parson@70dc239...2d7b3dd
* Refactored tests (#271)
- modernize spec file
-------------------------------------------------------------------
Thu Jun 24 11:20:32 UTC 2021 - rpm@fthiessen.de
- Update to version 1.1.11:
* Add --macaddress option to specify the MAC address of the tap
interface.
* Updated the man page.
-------------------------------------------------------------------
Fri Jan 08 13:26:41 UTC 2021 - rbrown@suse.com
- Update to version 1.1.8:
* v1.1.8
* CI: bump libslirp to v4.4.0
* tests: Avoid closing pipe grep in cidr test
* v1.1.7+dev
* v1.1.7
* test-slirp4netns-cidr.sh: avoid EPIPE
* CI: s/test-centos/test-centos7/ for clarity
* CI: Test with libslirp 4.3.1 on CentOS 7
* .gitignore: add .vagrant
* Vagrantfile: change VirtualBox itself's slirp CIDR
-------------------------------------------------------------------
Tue Apr 21 14:23:25 UTC 2020 - Oliver Bengs <appleonkel@opensuse.org> - 1.0.0
- Update to 1.0.0
* libslirp to v0.4.3:
* libslirp is no longer included in slirp4netns and needs be
installed separately
* --enable-sandbox is now out of experimental
* New build dependeny: libslirp-devel >= 4.1
-------------------------------------------------------------------
Fri Mar 27 09:28:47 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>
- Update to 0.4.4 (bsc#1167850)
* libslirp: Update to v4.2.0:
* New API function slirp_add_unix: add a forward rule to a Unix
socket.
* New API function slirp_remove_guestfwd: remove a forward rule
previously added by slirp_add_exec, slirp_add_unix or
slirp_add_guestfwd
* New SlirpConfig.outbound_addr{,6} fields to bind output
socket to a specific address
* socket: do not fallback on host loopback if get_dns_addr()
failed or the address is in slirp network
* ncsi: fix checksum OOB memory access
* tcp_emu(): fix OOB accesses
* tftp: restrict relative path access
* state: fix loading of guestfwd state
-------------------------------------------------------------------
Wed Dec 18 08:10:07 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Update to 0.4.3
* api: raise an error if the socket path is too long
* libslirp: update to v4.1.0: Including the fix for libslirp
sends RST to app in response to arriving FIN when containerized
socket is shutdown() with SHUT_WR
* Fix create_sandbox error
-------------------------------------------------------------------
Mon Oct 21 07:30:05 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Update to 0.4.2
* Do not propagate mounts to the parent ns in sandbox
-------------------------------------------------------------------
Fri Aug 30 07:04:14 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Update to 0.4.1
* Support specifying netns path (slirp4netns --netns-type=path PATH
TAPNAME)
* Support specifying --userns-path
* Vendor https://gitlab.freedesktop.org/slirp/libslirp (QEMU v4.1+)
* Bring up loopback device when --configure is specified
* Support sandboxing by creating a mount namespace
(--enable-sandbox)
* Support seccomp (--enable-seccomp)
- Add new build dependencies libcap-devel and libseccomp-devel
-------------------------------------------------------------------
Thu Aug 29 08:27:25 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Update to 0.3.3
* Fix use-after-free in libslirp
-------------------------------------------------------------------
Wed Aug 7 10:35:21 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Add missing licenses to spec file
-------------------------------------------------------------------
Mon Aug 5 06:38:16 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Update to 0.3.2
* Fix heap overflow in `ip_reass` on big packet input
-------------------------------------------------------------------
Thu Aug 1 13:47:48 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Update to 0.3.1
* Fix use-after-free
-------------------------------------------------------------------
Fri Mar 29 07:29:04 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
- Update to 0.3.0
* QMP-like JSON API for exposing node ports (--api-socket)
-------------------------------------------------------------------
Wed Mar 20 09:49:55 UTC 2019 - Richard Brown <rbrown@suse.com>
- Change _service to use releases instead of git commit references
-------------------------------------------------------------------
Mon Mar 18 18:23:51 UTC 2019 - Oliver Bengs <appleonkel@opensuse.org>
- Update to 0.3.0-beta1
* Support protecting 127.0.0.1 on the host (--disable-host-loopback)
* Support specifying CIDR like 10.0.2.0/24 (--cidr)
* Fix CVE-2019-6778
* Synced with QEMU upstream
-------------------------------------------------------------------
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.

59
slirp4netns.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package slirp4netns
#
# Copyright (c) 2023 SUSE LLC
#
# 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/
#
Name: slirp4netns
Version: 1.2.2
Release: 0
Summary: User-mode networking for unprivileged network namespaces
License: BSD-2-Clause AND GPL-2.0-only AND MIT
Group: System/Management
URL: https://github.com/rootless-containers/slirp4netns
Source0: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: git
BuildRequires: glib2-devel
BuildRequires: go-go-md2man
BuildRequires: libcap-devel
BuildRequires: libseccomp-devel
BuildRequires: libslirp-devel
%description
slirp for network namespaces, without copying buffers across the namespaces.
%prep
%autosetup
%build
./autogen.sh
%configure
%make_build all 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