Compare commits

...

3 Commits
c9-beta ... c9

Author SHA1 Message Date
eabdullin
2ef91892ef Bump release 2025-06-17 14:03:25 +03:00
ef57dd695d import CS gvisor-tap-vsock-0.8.5-1.el9_6 2025-05-13 14:24:58 +00:00
63b8941a37 import OL gvisor-tap-vsock-0.8.5-1.el9_5 2025-04-15 13:13:47 +00:00
3 changed files with 86 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v0.7.3.tar.gz
SOURCES/v0.8.5.tar.gz

View File

@ -1 +1 @@
1f363879f7914a384ce198ab47871f7b333550e8 SOURCES/v0.7.3.tar.gz
fb9be3b8515e11544800197c62654332155022d4 SOURCES/v0.8.5.tar.gz

View File

@ -9,12 +9,30 @@
%global gomodulesmode GO111MODULE=on
%global _gvisor_installdir %{_libexecdir}/podman
%global desc_gvforwarder Forward traffic from a tap interface over vsock
Name: gvisor-tap-vsock
%if %{defined copr_username}
Epoch: 103
%else
Epoch: 6
Version: 0.7.3
%endif
# DO NOT TOUCH the Version string!
# The TRUE source of this specfile is:
# https://github.com/containers/podman/blob/main/rpm/podman.spec
# If that's what you're reading, Version must be 0, and will be updated by Packit for
# copr and koji builds.
# If you're reading this on dist-git, the version is automatically filled in by Packit.
Version: 0.8.5
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
Release: 2%{?dist}
%if %{defined golang_arches_future}
ExclusiveArch: %{golang_arches_future}
%else
ExclusiveArch: aarch64 ppc64le s390x x86_64
%endif
Summary: Go replacement for libslirp and VPNKit
URL: https://github.com/containers/%{name}
# All SourceN files fetched from upstream
@ -25,17 +43,34 @@ BuildRequires: glibc-devel
BuildRequires: glibc-static
BuildRequires: golang
BuildRequires: git-core
%if %{defined rhel} && 0%{?rhel} == 8
BuildRequires: go-srpm-macros
%else
BuildRequires: go-rpm-macros
%endif
BuildRequires: make
%if %{defined copr_username}
Obsoletes: podman-gvproxy < 102:4.7.0-1
%else
Obsoletes: podman-gvproxy < 5:4.7.0-1
%endif
Provides: podman-gvproxy = %{epoch}:%{version}-%{release}
Requires: %{name}-gvforwarder = %{epoch}:%{version}-%{release}
%description
A replacement for libslirp and VPNKit, written in pure Go.
It is based on the network stack of gVisor and is used to provide
networking for podman-machine virtual machines. Compared to libslirp,
gvisor-tap-vsock brings a configurable DNS server and dynamic
port forwarding.
It is based on the network stack of gVisor. Compared to libslirp,
gvisor-tap-vsock brings a configurable DNS server and
dynamic port forwarding.
%package gvforwarder
Summary: %{desc_gvforwarder}
Provides: gvforwarder = %{epoch}:%{version}-%{release}
Obsoletes: %{name} < 6:0.7.0-6
Recommends: %{name} = %{epoch}:%{version}-%{release}
%description gvforwarder
%{desc_gvforwarder}
%prep
%autosetup -Sgit -n %{name}-%{version}
@ -62,9 +97,9 @@ LDFLAGS=''
%install
# install gvproxy
install -dp %{buildroot}%{_libexecdir}/podman
install -p -m0755 bin/gvproxy %{buildroot}%{_libexecdir}/podman
install -p -m0755 bin/gvforwarder %{buildroot}%{_libexecdir}/podman
install -dp %{buildroot}%{_gvisor_installdir}
install -p -m0755 bin/gvproxy %{buildroot}%{_gvisor_installdir}
install -p -m0755 bin/gvforwarder %{buildroot}%{_gvisor_installdir}
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@ -72,11 +107,49 @@ install -p -m0755 bin/gvforwarder %{buildroot}%{_libexecdir}/podman
%files
%license LICENSE
%doc README.md
%dir %{_libexecdir}/podman
%{_libexecdir}/podman/gvproxy
%{_libexecdir}/podman/gvforwarder
%dir %{_gvisor_installdir}
%{_gvisor_installdir}/gvproxy
%files gvforwarder
%dir %{_gvisor_installdir}
%{_gvisor_installdir}/gvforwarder
%changelog
* Tue Jun 17 2025 Eduard Abdullin <eabdullin@almalinux.org> - 6:0.8.5-2
- Bump release
* Tue Mar 18 2025 Jindrich Novy <jnovy@redhat.com> - 6:0.8.5-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.8.5
- Related: RHEL-80816
* Tue Mar 11 2025 Jindrich Novy <jnovy@redhat.com> - 6:0.8.4-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.8.4
- Resolves: RHEL-83036
* Tue Feb 04 2025 Jindrich Novy <jnovy@redhat.com> - 6:0.8.3-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.8.3
- Related: RHEL-60277
* Mon Jan 20 2025 Jindrich Novy <jnovy@redhat.com> - 6:0.8.2-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.8.2
- Related: RHEL-60277
* Tue Dec 03 2024 Jindrich Novy <jnovy@redhat.com> - 6:0.8.1-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.8.1
- Resolves: RHEL-69761
* Wed Nov 27 2024 Jindrich Novy <jnovy@redhat.com> - 6:0.8.0-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.8.0
- Related: RHEL-60277
* Tue Aug 27 2024 Jindrich Novy <jnovy@redhat.com> - 6:0.7.5-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.7.5
- Related: RHEL-27608
* Mon Aug 05 2024 Jindrich Novy <jnovy@redhat.com> - 6:0.7.4-1
- update to https://github.com/containers/gvisor-tap-vsock/releases/tag/v0.7.4
- Related: RHEL-27608
* Mon Feb 12 2024 Jindrich Novy <jnovy@redhat.com> - 6:0.7.3-2
- Add gating.yaml
- Related: Jira:RHEL-2112