|
|
@ -19,13 +19,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
Epoch: 2
|
|
|
|
Epoch: 2
|
|
|
|
Name: container-selinux
|
|
|
|
Name: container-selinux
|
|
|
|
Version: 2.199.0
|
|
|
|
Version: 2.205.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
License: GPLv2
|
|
|
|
License: GPLv2
|
|
|
|
URL: %{git0}
|
|
|
|
URL: %{git0}
|
|
|
|
Summary: SELinux policies for container runtimes
|
|
|
|
Summary: SELinux policies for container runtimes
|
|
|
|
Source0: %{git0}/archive/v%{version}.tar.gz
|
|
|
|
Source0: %{git0}/archive/v%{version}.tar.gz
|
|
|
|
Patch1: container-selinux-1957904.patch
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
|
|
@ -55,6 +54,17 @@ SELinux policy modules for use with container runtimes.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -Sgit
|
|
|
|
%autosetup -Sgit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i 's/watch watch_reads//' container.if
|
|
|
|
|
|
|
|
sed -i '/sysfs_t:dir watch/d' container.te
|
|
|
|
|
|
|
|
sed -i '/systemd_chat_resolved/d' container.te
|
|
|
|
|
|
|
|
sed -i 's/man: install-policy/man:/' Makefile
|
|
|
|
|
|
|
|
sed -i 's/install: man/install:/' Makefile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/containers/container-selinux/issues/203
|
|
|
|
|
|
|
|
%if 0%{?fedora} <= 37 || 0%{?rhel} <= 9
|
|
|
|
|
|
|
|
sed -i '/user_namespace/d' container.te
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
@ -112,37 +122,26 @@ fi
|
|
|
|
%{_datadir}/udica/templates/*
|
|
|
|
%{_datadir}/udica/templates/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2:2.199.0-1
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2:2.205.0-3
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 08 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.199.0-1
|
|
|
|
* Tue May 02 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.205.0-3
|
|
|
|
- revert back to https://github.com/containers/container-selinux/releases/tag/v2.199.0
|
|
|
|
- fix build for stable module
|
|
|
|
(2.200.0 fails to build as it relies on the new selinux-policy which is not there yet)
|
|
|
|
- Related: #2176055
|
|
|
|
- Related: #2123641
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 07 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.200.0-1
|
|
|
|
* Fri Apr 14 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.205.0-2
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.200.0
|
|
|
|
- use conditionals from https://github.com/containers/container-selinux/blob/main/container-selinux.spec.rpkg
|
|
|
|
- Related: #2129766
|
|
|
|
- Related: #2176055
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 30 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.199.0-1
|
|
|
|
* Tue Mar 21 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.205.0-1
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.199.0
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.205.0
|
|
|
|
- Related: #2129766
|
|
|
|
- remove user_namespace class, thanks to Lokesh Mandvekar
|
|
|
|
|
|
|
|
- Related: #2176055
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 09 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.198.0-1
|
|
|
|
* Tue Mar 14 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.199.0-1
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.198.0
|
|
|
|
- revert back to https://github.com/containers/container-selinux/releases/tag/v2.199.0
|
|
|
|
- Related: #2129766
|
|
|
|
(2.200.0 fails to build as it relies on the new selinux-policy which is not there yet)
|
|
|
|
|
|
|
|
- Related: #2176055
|
|
|
|
* Wed Jan 04 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.197.0-1
|
|
|
|
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.197.0
|
|
|
|
|
|
|
|
- Related: #2129766
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 02 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.195.1-1
|
|
|
|
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.195.1
|
|
|
|
|
|
|
|
- Related: #2129766
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 28 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.193.0-1
|
|
|
|
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.193.0
|
|
|
|
|
|
|
|
- Related: #2129766
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 31 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.191.0-1
|
|
|
|
* Mon Oct 31 2022 Jindrich Novy <jnovy@redhat.com> - 2:2.191.0-1
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.191.0
|
|
|
|
- update to https://github.com/containers/container-selinux/releases/tag/v2.191.0
|
|
|
|