From a54e45c89c4aec2cd900e0fe7a142aa4e9ff8229 Mon Sep 17 00:00:00 2001 From: AlmaLinux RelEng Bot Date: Mon, 27 Apr 2026 02:50:49 -0400 Subject: [PATCH] import Oracle_OSS buildah-1.41.8-3.0.1.el9_7 --- ...buildah-tests-skip-ignore-socket-case.patch | 18 ++++++++++++++++++ SPECS/buildah.spec | 11 +++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 SOURCES/buildah-tests-skip-ignore-socket-case.patch diff --git a/SOURCES/buildah-tests-skip-ignore-socket-case.patch b/SOURCES/buildah-tests-skip-ignore-socket-case.patch new file mode 100644 index 0000000..909f39b --- /dev/null +++ b/SOURCES/buildah-tests-skip-ignore-socket-case.patch @@ -0,0 +1,18 @@ +Signed-off-by: Darren Archibald +Drop nmap-ncat requirement and skip ignore-socket test case + +Orabug: 34117178 +---- +diff -Nur buildah-19159983d3ecdb16df97eb4c887902363066b474.orig/tests/copy.bats buildah-19159983d3ecdb16df97eb4c887902363066b474/tests/copy.bats +--- buildah-19159983d3ecdb16df97eb4c887902363066b474.orig/tests/copy.bats 2022-07-05 09:10:11.000000000 -0700 ++++ buildah-19159983d3ecdb16df97eb4c887902363066b474/tests/copy.bats 2022-08-09 07:30:15.052734677 -0700 +@@ -260,6 +260,9 @@ + } + + @test "ignore-socket" { ++ if [[ ! -e /usr/bin/nc ]]; then ++ skip "skip ignore-socket test, this test needs nc" ++ fi + createrandom ${TEST_SCRATCH_DIR}/randomfile + # This seems to be the least-worst way to create a socket: run and kill nc + nc -lkU ${TEST_SCRATCH_DIR}/test.socket & diff --git a/SPECS/buildah.spec b/SPECS/buildah.spec index 22c7319..55a0839 100644 --- a/SPECS/buildah.spec +++ b/SPECS/buildah.spec @@ -40,7 +40,7 @@ Epoch: 2 Version: 1.41.8 # The `AND` needs to be uppercase in the License for SPDX compatibility License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 -Release: 2%{?dist} +Release: 3.0.1%{?dist} %if %{defined golang_arches_future} ExclusiveArch: %{golang_arches_future} %else @@ -53,6 +53,7 @@ Source0: https://%{import_path}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar %else Source0: https://%{import_path}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz %endif +Patch1000: buildah-tests-skip-ignore-socket-case.patch BuildRequires: device-mapper-devel BuildRequires: git-core BuildRequires: golang >= 1.16.6 @@ -104,7 +105,6 @@ Requires: golang Requires: jq Requires: httpd-tools Requires: openssl -Requires: nmap-ncat Requires: git-daemon %description tests @@ -193,6 +193,13 @@ rm %{buildroot}%{_datadir}/%{name}/test/system/tools/build/* %{_datadir}/%{name}/test %changelog +* Fri Apr 24 2026 EL Errata - 1.41.8-3.0.1 +- Drop nmap-ncat requirement and skip ignore-socket test case [Orabug: 34117178] + +* Mon Apr 20 2026 Jindrich Novy - 2:1.41.8-3 +- rebuild for CVE-2026-34986 +- Resolves: RHEL-165027 + * Thu Feb 19 2026 Jindrich Novy - 2:1.41.8-2 - Rebuild with golang 1.25.7 to fix CVE-2025-68121 - Resolves: RHEL-149617