passt-0^20250217.ga1e48a0-1.el10
Resolves: RHEL-79788
This commit is contained in:
parent
68333cafdb
commit
cfcaa2bf10
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,3 +39,4 @@
|
||||
/passt-ee36266a55478672ad2c5f4efbd6ca0bef3d37cd.tar.xz
|
||||
/passt-238c69f9af458e41dea5ad8c988dbf65b05b5172.tar.xz
|
||||
/passt-4f2c8e79130ef3d6132e34c49746e397745f9d73.tar.xz
|
||||
/passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.xz
|
||||
|
17
passt.spec
17
passt.spec
@ -7,12 +7,12 @@
|
||||
# Copyright (c) 2022 Red Hat GmbH
|
||||
# Author: Stefano Brivio <sbrivio@redhat.com>
|
||||
|
||||
%global git_hash 4f2c8e79130ef3d6132e34c49746e397745f9d73
|
||||
%global git_hash a1e48a02ff3550eb7875a7df6726086e9b3a1213
|
||||
%global selinuxtype targeted
|
||||
|
||||
Name: passt
|
||||
Version: 0^20250121.g4f2c8e7
|
||||
Release: 3%{?dist}
|
||||
Version: 0^20250217.ga1e48a0
|
||||
Release: 1%{?dist}
|
||||
Summary: User-mode networking daemons for virtual machines and namespaces
|
||||
License: GPL-2.0-or-later AND BSD-3-Clause
|
||||
Group: System Environment/Daemons
|
||||
@ -44,7 +44,7 @@ Requires(preun): %{name}
|
||||
Requires(preun): policycoreutils
|
||||
|
||||
%description selinux
|
||||
This package adds SELinux enforcement to passt(1) and pasta(1).
|
||||
This package adds SELinux enforcement to passt(1), pasta(1), passt-repair(1).
|
||||
|
||||
%prep
|
||||
%autosetup -S git_am -n passt-%{git_hash}
|
||||
@ -82,6 +82,7 @@ make -f %{_datadir}/selinux/devel/Makefile
|
||||
install -p -m 644 -D passt.pp %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/passt.pp
|
||||
install -p -m 644 -D passt.if %{buildroot}%{_datadir}/selinux/devel/include/distributed/passt.if
|
||||
install -p -m 644 -D pasta.pp %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/pasta.pp
|
||||
install -p -m 644 -D passt-repair.pp %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/passt-repair.pp
|
||||
popd
|
||||
|
||||
%pre selinux
|
||||
@ -90,11 +91,13 @@ popd
|
||||
%post selinux
|
||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/passt.pp
|
||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/pasta.pp
|
||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/passt-repair.pp
|
||||
|
||||
%postun selinux
|
||||
if [ $1 -eq 0 ]; then
|
||||
%selinux_modules_uninstall -s %{selinuxtype} passt
|
||||
%selinux_modules_uninstall -s %{selinuxtype} pasta
|
||||
%selinux_modules_uninstall -s %{selinuxtype} passt-repair
|
||||
fi
|
||||
|
||||
%posttrans selinux
|
||||
@ -108,9 +111,11 @@ fi
|
||||
%{_bindir}/passt
|
||||
%{_bindir}/pasta
|
||||
%{_bindir}/qrap
|
||||
%{_bindir}/passt-repair
|
||||
%{_mandir}/man1/passt.1*
|
||||
%{_mandir}/man1/pasta.1*
|
||||
%{_mandir}/man1/qrap.1*
|
||||
%{_mandir}/man1/passt-repair.1*
|
||||
%ifarch x86_64
|
||||
%{_bindir}/passt.avx2
|
||||
%{_mandir}/man1/passt.avx2.1*
|
||||
@ -122,8 +127,12 @@ fi
|
||||
%{_datadir}/selinux/packages/%{selinuxtype}/passt.pp
|
||||
%{_datadir}/selinux/devel/include/distributed/passt.if
|
||||
%{_datadir}/selinux/packages/%{selinuxtype}/pasta.pp
|
||||
%{_datadir}/selinux/packages/%{selinuxtype}/passt-repair.pp
|
||||
|
||||
%changelog
|
||||
* Mon Feb 17 2025 Stefano Brivio <sbrivio@redhat.com> - 0^20250217.ga1e48a0-1
|
||||
- Resolves: RHEL-79788
|
||||
|
||||
* Wed Jan 22 2025 Stefano Brivio <sbrivio@redhat.com> - 0^20250121.g4f2c8e7-3
|
||||
- Resolves: RHEL-75657
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (passt-4f2c8e79130ef3d6132e34c49746e397745f9d73.tar.xz) = 93750784b4247a42bc37afe184bb467fc2c955b234edc0a4ec914ebfd323ec20f2d6d137cfc4d4e29658e761dcb727ae22bf3f42df91e4cfac11ad6e6db8d066
|
||||
SHA512 (passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.xz) = 8f55b4a1c1d1ba5a33e880e228a0db4ab1ad7ea0fad046808d3816999815ad3a0bf80f0d153bfd1c2b6ec62cb5c96c2a783d032d6bdf4d3a32e38e6d6cca12b5
|
||||
|
Loading…
Reference in New Issue
Block a user