passt-0^20250217.ga1e48a0-1.el9
Resolves: RHEL-79787
This commit is contained in:
parent
494ca5b568
commit
6ef13e14b3
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@
|
|||||||
/passt-ee36266a55478672ad2c5f4efbd6ca0bef3d37cd.tar.xz
|
/passt-ee36266a55478672ad2c5f4efbd6ca0bef3d37cd.tar.xz
|
||||||
/passt-238c69f9af458e41dea5ad8c988dbf65b05b5172.tar.xz
|
/passt-238c69f9af458e41dea5ad8c988dbf65b05b5172.tar.xz
|
||||||
/passt-4f2c8e79130ef3d6132e34c49746e397745f9d73.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
|
# 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
|
||||||
@ -46,7 +46,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}
|
||||||
@ -84,6 +84,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
|
||||||
@ -92,11 +93,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
|
||||||
@ -110,9 +113,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*
|
||||||
@ -124,8 +129,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-79787
|
||||||
|
|
||||||
* 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-75654
|
- Resolves: RHEL-75654
|
||||||
|
|
||||||
|
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