Skip to content
Snippets Groups Projects
Commit db9b3637 authored by Rocky Automation's avatar Rocky Automation :tv:
Browse files

import passt-0%5E20250217.ga1e48a0-1.el10

parent 21bab2bd
No related branches found
No related merge requests found
8f37bc655e6fcebec69750db18ac7742b656ae04c3559853d2dbf6dd37e45c3d SOURCES/passt-4f2c8e79130ef3d6132e34c49746e397745f9d73.tar.xz ef64f1fca70aac621c5f4535ad5c0717cc0bccb75a3d19eed1538e3fb81b4da1 SOURCES/passt-a1e48a02ff3550eb7875a7df6726086e9b3a1213.tar.xz
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
# Copyright (c) 2022 Red Hat GmbH # Copyright (c) 2022 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com> # Author: Stefano Brivio <sbrivio@redhat.com>
%global git_hash 4f2c8e79130ef3d6132e34c49746e397745f9d73 %global git_hash a1e48a02ff3550eb7875a7df6726086e9b3a1213
%global selinuxtype targeted %global selinuxtype targeted
Name: passt Name: passt
Version: 0^20250121.g4f2c8e7 Version: 0^20250217.ga1e48a0
Release: 3%{?dist} Release: 1%{?dist}
Summary: User-mode networking daemons for virtual machines and namespaces Summary: User-mode networking daemons for virtual machines and namespaces
License: GPL-2.0-or-later AND BSD-3-Clause License: GPL-2.0-or-later AND BSD-3-Clause
Group: System Environment/Daemons Group: System Environment/Daemons
...@@ -44,7 +44,7 @@ Requires(preun): %{name} ...@@ -44,7 +44,7 @@ Requires(preun): %{name}
Requires(preun): policycoreutils Requires(preun): policycoreutils
%description selinux %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 %prep
%autosetup -S git_am -n passt-%{git_hash} %autosetup -S git_am -n passt-%{git_hash}
...@@ -82,6 +82,7 @@ make -f %{_datadir}/selinux/devel/Makefile ...@@ -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.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 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 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 popd
%pre selinux %pre selinux
...@@ -90,11 +91,13 @@ popd ...@@ -90,11 +91,13 @@ popd
%post selinux %post selinux
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/passt.pp %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}/pasta.pp
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/passt-repair.pp
%postun selinux %postun selinux
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
%selinux_modules_uninstall -s %{selinuxtype} passt %selinux_modules_uninstall -s %{selinuxtype} passt
%selinux_modules_uninstall -s %{selinuxtype} pasta %selinux_modules_uninstall -s %{selinuxtype} pasta
%selinux_modules_uninstall -s %{selinuxtype} passt-repair
fi fi
%posttrans selinux %posttrans selinux
...@@ -108,9 +111,11 @@ fi ...@@ -108,9 +111,11 @@ fi
%{_bindir}/passt %{_bindir}/passt
%{_bindir}/pasta %{_bindir}/pasta
%{_bindir}/qrap %{_bindir}/qrap
%{_bindir}/passt-repair
%{_mandir}/man1/passt.1* %{_mandir}/man1/passt.1*
%{_mandir}/man1/pasta.1* %{_mandir}/man1/pasta.1*
%{_mandir}/man1/qrap.1* %{_mandir}/man1/qrap.1*
%{_mandir}/man1/passt-repair.1*
%ifarch x86_64 %ifarch x86_64
%{_bindir}/passt.avx2 %{_bindir}/passt.avx2
%{_mandir}/man1/passt.avx2.1* %{_mandir}/man1/passt.avx2.1*
...@@ -122,8 +127,12 @@ fi ...@@ -122,8 +127,12 @@ fi
%{_datadir}/selinux/packages/%{selinuxtype}/passt.pp %{_datadir}/selinux/packages/%{selinuxtype}/passt.pp
%{_datadir}/selinux/devel/include/distributed/passt.if %{_datadir}/selinux/devel/include/distributed/passt.if
%{_datadir}/selinux/packages/%{selinuxtype}/pasta.pp %{_datadir}/selinux/packages/%{selinuxtype}/pasta.pp
%{_datadir}/selinux/packages/%{selinuxtype}/passt-repair.pp
%changelog %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 * Wed Jan 22 2025 Stefano Brivio <sbrivio@redhat.com> - 0^20250121.g4f2c8e7-3
- Resolves: RHEL-75657 - Resolves: RHEL-75657
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment