import CS podman-4.9.2-1.el9
This commit is contained in:
parent
0561cff534
commit
72d67ded2b
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
SOURCES/dnsname-18822f9.tar.gz
|
||||
SOURCES/gvisor-tap-vsock-407efb5dcdb0f4445935f7360535800b60447544.tar.gz
|
||||
SOURCES/dnsname-bdc4ab8.tar.gz
|
||||
SOURCES/v0.1.7.tar.gz
|
||||
SOURCES/v4.6.1-rhel-ea33dce.tar.gz
|
||||
SOURCES/v4.9-4c14019.tar.gz
|
||||
|
@ -1,4 +1,3 @@
|
||||
00c35447384f51ccc2360965b80868fc91293711 SOURCES/dnsname-18822f9.tar.gz
|
||||
0a7a599e515fe9ab844f479b7ae6cc94ddab92b0 SOURCES/gvisor-tap-vsock-407efb5dcdb0f4445935f7360535800b60447544.tar.gz
|
||||
69fb828d3028f968e46420d58cc80bc59e446051 SOURCES/dnsname-bdc4ab8.tar.gz
|
||||
94419a237f932ff2a79c91f6e3005034d9c367a5 SOURCES/v0.1.7.tar.gz
|
||||
8e58dc5c5e8bd62de73922556806d1b4ce7fd35d SOURCES/v4.6.1-rhel-ea33dce.tar.gz
|
||||
dcc2c86ccb8ed60236971aa56c61d34b5c07844d SOURCES/v4.9-4c14019.tar.gz
|
||||
|
@ -4,21 +4,17 @@
|
||||
GO111MODULE=off go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -linkmode=external -compressdwarf=false -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v %{?**};
|
||||
|
||||
%global import_path github.com/containers/podman
|
||||
%global branch v4.6.1-rhel
|
||||
%global commit0 ea33dce70f1b9d6f60faa405f57ed791a89cd751
|
||||
%global branch v4.9
|
||||
%global commit0 4c140196f1233e5a48a088a41fe63eb2ad5e6b78
|
||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
||||
%global cataver 0.1.7
|
||||
#%%global dnsnamever 1.3.0
|
||||
%global commit_dnsname 18822f9a4fb35d1349eb256f4cd2bfd372474d84
|
||||
%global commit_dnsname bdc4ab85266ade865a7c398336e98721e62ef6b2
|
||||
%global shortcommit_dnsname %(c=%{commit_dnsname}; echo ${c:0:7})
|
||||
%global gvproxyrepo gvisor-tap-vsock
|
||||
%global gvproxyver 0.6.1
|
||||
%global commit_gvproxy 407efb5dcdb0f4445935f7360535800b60447544
|
||||
|
||||
Epoch: 2
|
||||
Name: podman
|
||||
Version: 4.6.1
|
||||
Release: 5%{?dist}
|
||||
Version: 4.9.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Manage Pods, Containers and Container Images
|
||||
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
|
||||
URL: https://%{name}.io/
|
||||
@ -30,7 +26,6 @@ Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcom
|
||||
Source1: https://github.com/openSUSE/catatonit/archive/v%{cataver}.tar.gz
|
||||
#Source2: https://github.com/containers/dnsname/archive/v%%{dnsnamever}.tar.gz
|
||||
Source2: https://github.com/containers/dnsname/archive/%{commit_dnsname}/dnsname-%{shortcommit_dnsname}.tar.gz
|
||||
Source4: https://github.com/containers/gvisor-tap-vsock/archive/%{commit_gvproxy}/gvisor-tap-vsock-%{commit_gvproxy}.tar.gz
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Go#Go_Language_Architectures
|
||||
ExclusiveArch: %{go_arches}
|
||||
Provides: %{name}-manpages = %{epoch}:%{version}-%{release}
|
||||
@ -38,7 +33,7 @@ Obsoletes: %{name}-manpages < %{epoch}:%{version}-%{release}
|
||||
Provides: %{name}-catatonit = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: %{name}-catatonit < 2:4.4.0
|
||||
BuildRequires: gettext
|
||||
BuildRequires: golang >= 1.17.5
|
||||
BuildRequires: golang >= 1.20.10
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: glibc-static
|
||||
@ -118,7 +113,7 @@ variables, or in containers.conf.
|
||||
%package plugins
|
||||
Summary: Plugins for %{name}
|
||||
Requires: dnsmasq
|
||||
Recommends: %{name}-gvproxy = %{epoch}:%{version}-%{release}
|
||||
Recommends: gvisor-tap-vsock
|
||||
|
||||
%description plugins
|
||||
This plugin sets up the use of dnsmasq on a given CNI network so
|
||||
@ -147,15 +142,6 @@ Requires: git-daemon
|
||||
|
||||
This package contains system tests for %{name}
|
||||
|
||||
%package gvproxy
|
||||
Summary: Go replacement for libslirp and VPNKit
|
||||
|
||||
%description gvproxy
|
||||
A replacement for libslirp and VPNKit, written in pure Go.
|
||||
It is based on the network stack of gVisor. Compared to libslirp,
|
||||
gvisor-tap-vsock brings a configurable DNS server and
|
||||
dynamic port forwarding.
|
||||
|
||||
%prep
|
||||
%if 0%{?branch:1}
|
||||
%autosetup -Sgit -n containers-%{name}-%{shortcommit0}
|
||||
@ -169,7 +155,6 @@ pushd catatonit-%{cataver}
|
||||
sed -i '$d' configure.ac
|
||||
popd
|
||||
tar fx %{SOURCE2}
|
||||
tar fx %{SOURCE4}
|
||||
|
||||
# this is shipped by skopeo: containers-common subpackage
|
||||
rm -rf docs/source/markdown/containers-mounts.conf.5.md
|
||||
@ -244,17 +229,6 @@ export GOPATH=$(pwd)/_build:$(pwd)
|
||||
%gobuild -o bin/dnsname github.com/containers/dnsname/plugins/meta/dnsname
|
||||
popd
|
||||
|
||||
pushd gvisor-tap-vsock-%{commit_gvproxy}
|
||||
mkdir _build
|
||||
pushd _build
|
||||
mkdir -p src/github.com/containers
|
||||
ln -s ../../../../ src/github.com/containers/gvisor-tap-vsock
|
||||
popd
|
||||
ln -s vendor src
|
||||
export GOPATH=$(pwd)/_build:$(pwd)
|
||||
%gobuild -o bin/gvproxy github.com/containers/gvisor-tap-vsock/cmd/gvproxy
|
||||
popd
|
||||
|
||||
%install
|
||||
PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \
|
||||
install.bin \
|
||||
@ -292,12 +266,6 @@ pushd dnsname-%{commit_dnsname}
|
||||
%{__make} PREFIX=%{_prefix} DESTDIR=%{buildroot} install
|
||||
popd
|
||||
|
||||
# install gvproxy
|
||||
pushd gvisor-tap-vsock-%{commit_gvproxy}
|
||||
install -dp %{buildroot}%{_libexecdir}/%{name}
|
||||
install -p -m0755 bin/gvproxy %{buildroot}%{_libexecdir}/%{name}
|
||||
popd
|
||||
|
||||
%check
|
||||
%if 0%{?with_check}
|
||||
# Since we aren't packaging up the vendor directory we need to link
|
||||
@ -389,13 +357,53 @@ fi
|
||||
%license LICENSE
|
||||
%{_datadir}/%{name}/test
|
||||
|
||||
%files gvproxy
|
||||
%license gvisor-tap-vsock-%{commit_gvproxy}/LICENSE
|
||||
%doc gvisor-tap-vsock-%{commit_gvproxy}/README.md
|
||||
%dir %{_libexecdir}/%{name}
|
||||
%{_libexecdir}/%{name}/gvproxy
|
||||
|
||||
%changelog
|
||||
* Tue Feb 06 2024 Jindrich Novy <jnovy@redhat.com> - 2:4.9.2-1
|
||||
- update to the latest content of https://github.com/containers/podman/tree/v4.9
|
||||
(https://github.com/containers/podman/commit/4c14019)
|
||||
- Related: RHEL-2112
|
||||
|
||||
* Thu Feb 01 2024 Jindrich Novy <jnovy@redhat.com> - 2:4.9.1-1
|
||||
- switch to v4.9.1-rhel branch
|
||||
- update dnsname to the latest commit
|
||||
- Related: Jira:RHEL-2112
|
||||
|
||||
* Tue Jan 23 2024 Jindrich Novy <jnovy@redhat.com> - 2:4.9.0-1
|
||||
- update to https://github.com/containers/podman/releases/tag/v4.9.0
|
||||
- Related: RHEL-2112
|
||||
|
||||
* Thu Jan 04 2024 Jindrich Novy <jnovy@redhat.com> - 2:4.8.3-1
|
||||
- update to https://github.com/containers/podman/releases/tag/v4.8.3
|
||||
- Related: RHEL-2112
|
||||
|
||||
* Tue Jan 02 2024 Jindrich Novy <jnovy@redhat.com> - 2:4.8.2-1
|
||||
- update to https://github.com/containers/podman/releases/tag/v4.8.2
|
||||
- Related: RHEL-2112
|
||||
|
||||
* Wed Dec 06 2023 Lokesh Mandvekar <lsm5@redhat.com> - 2:4.8.1-1
|
||||
- update to latest content of https://github.com/containers/podman/releases/tag/4.8.1
|
||||
- Related: Jira:RHEL-2112
|
||||
|
||||
* Sat Dec 02 2023 Lokesh Mandvekar <lsm5@redhat.com> - 2:4.7.2-3
|
||||
- Rebuild for following CVEs:
|
||||
CVE-2023-39318 CVE-2023-39319 CVE-2023-39321 CVE-2023-39322
|
||||
- Related: Jira:RHEL-2785
|
||||
|
||||
* Fri Nov 10 2023 Jindrich Novy <jnovy@redhat.com> - 2:4.7.2-2
|
||||
- update to latest content of https://github.com/containers/podman/releases/tag/4.7.2
|
||||
(https://github.com/containers/podman/commit/750b4c3a7c31f6573350f0b3f1b787f26e0fe1e3)
|
||||
- Related: Jira:RHEL-2112
|
||||
|
||||
* Fri Nov 10 2023 Jindrich Novy <jnovy@redhat.com> - 2:4.7.2-1
|
||||
- update to https://github.com/containers/podman/releases/tag/v4.7.2
|
||||
- remove gvisor from podman and depend on external one
|
||||
- Related: Jira:RHEL-2112
|
||||
|
||||
* Fri Sep 29 2023 Jindrich Novy <jnovy@redhat.com> - 2:4.6.1-6
|
||||
- update to the latest content of https://github.com/containers/podman/tree/v4.6.1-rhel
|
||||
(https://github.com/containers/podman/commit/68e7ae0)
|
||||
- Related: Jira:RHEL-2112
|
||||
|
||||
* Fri Aug 25 2023 Jindrich Novy <jnovy@redhat.com> - 2:4.6.1-5
|
||||
- update to the latest content of https://github.com/containers/podman/tree/v4.6.1-rhel
|
||||
(https://github.com/containers/podman/commit/ea33dce)
|
||||
|
Loading…
Reference in New Issue
Block a user