Rebase to 0.6.3
Resolves: RHEL-56797 Add reverse dependency tests. Assisted-by: Claude Code
This commit is contained in:
parent
0c425a8b4c
commit
31a26e0166
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@
|
||||
/bubblewrap-0.3.3.tar.xz
|
||||
/bubblewrap-0.4.0.tar.xz
|
||||
/bubblewrap-0.4.1.tar.xz
|
||||
/bubblewrap-0.6.3.tar.xz
|
||||
|
||||
@ -1,23 +1,18 @@
|
||||
Name: bubblewrap
|
||||
Version: 0.4.1
|
||||
Release: 8%{?dist}
|
||||
Version: 0.6.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Core execution tool for unprivileged containers
|
||||
|
||||
License: LGPLv2+
|
||||
#VCS: git:https://github.com/projectatomic/bubblewrap
|
||||
URL: https://github.com/projectatomic/bubblewrap
|
||||
Source0: https://github.com/projectatomic/bubblewrap/releases/download/v%{version}/bubblewrap-%{version}.tar.xz
|
||||
Patch0: 0001-Avoid-memory-leak-if-args-is-specified-multiple-time.patch
|
||||
Patch1: 0001-Accept-EROFS-for-access-check-of-proc-entries.patch
|
||||
Patch2: 0001-Add-bind-fd-and-ro-bind-fd-to-let-you-bind-a-O_PATH-.patch
|
||||
License: LGPL-2.0-or-later
|
||||
URL: https://github.com/containers/bubblewrap/
|
||||
Source0: https://github.com/containers/bubblewrap/releases/download/v%{version}/bubblewrap-%{version}.tar.xz
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: pkgconfig(libselinux)
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: make
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(libcap)
|
||||
BuildRequires: pkgconfig(libselinux)
|
||||
BuildRequires: /usr/bin/xsltproc
|
||||
|
||||
%description
|
||||
Bubblewrap (/usr/bin/bwrap) is a core execution engine for unprivileged
|
||||
@ -28,27 +23,34 @@ user namespaces.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi
|
||||
%configure --disable-silent-rules --with-priv-mode=none
|
||||
%make_build
|
||||
%meson -Dman=enabled
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL="install -p -c"
|
||||
find %{buildroot} -name '*.la' -delete -print
|
||||
%meson_install
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%dir %{_datadir}/bash-completion
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/bwrap
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%{_datadir}/zsh/site-functions/_bwrap
|
||||
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
||||
%attr(0755,root,root) %caps(cap_sys_admin,cap_net_admin,cap_sys_chroot,cap_setuid,cap_setgid=ep) %{_bindir}/bwrap
|
||||
%else
|
||||
%{_bindir}/bwrap
|
||||
%endif
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man1/bwrap.1*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 30 2024 Joseph Marrero <jmarrero@redhat.com> - 0.6.3-1
|
||||
- Rebase to 0.6.3 which is supported upstream
|
||||
This release also includes the fix for CVE-2024-42472
|
||||
Fixes: #RHEL-56797
|
||||
|
||||
* Fri Aug 30 2024 Kalev Lember <klember@redhat.com> - 0.4.1-8
|
||||
- Backport upstream fix to help address CVE-2024-42472 in flatpak
|
||||
|
||||
|
||||
@ -4,3 +4,4 @@ product_versions:
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-gating.functional}
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/reverse-dependency}
|
||||
|
||||
30
plans/reverse-dependency.fmf
Normal file
30
plans/reverse-dependency.fmf
Normal file
@ -0,0 +1,30 @@
|
||||
summary: Reverse dependency testing plan for bubblewrap
|
||||
description: |
|
||||
Tests reverse dependencies of bubblewrap to ensure changes don't break
|
||||
dependent packages like rpm-ostree and flatpak.
|
||||
|
||||
enabled: true
|
||||
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://pkgs.devel.redhat.com/git/tests/bubblewrap
|
||||
filter: 'tag: reverse-deps'
|
||||
|
||||
prepare:
|
||||
how: install
|
||||
package:
|
||||
- flatpak
|
||||
- rpm-ostree
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
/rpm-ostree-integration:
|
||||
summary: Test rpm-ostree integration with bubblewrap changes
|
||||
discover+:
|
||||
filter: 'tag: rpm-ostree'
|
||||
|
||||
/flatpak-integration:
|
||||
summary: Test flatpak integration with bubblewrap changes
|
||||
discover+:
|
||||
filter: 'tag: flatpak'
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (bubblewrap-0.4.1.tar.xz) = 0ff46dc0fda2d0cffbb36cc52ff43951b30cbd835a42cc56806acbbbd827796bfadbb1cfafc84d6b47a72c031ca44abe1c377acc0cc25fe3b33e854f5f687d35
|
||||
SHA512 (bubblewrap-0.6.3.tar.xz) = 88a06ff7025fdecba93c3084d78429f30d968fe6d2b26e9280c56781411b609a033eb1213b1180cf774adc41a0b8ecd427d656892144f4c7738c334c7d0e393e
|
||||
|
||||
Loading…
Reference in New Issue
Block a user