2023-05-06 08:16:33 -04:00
|
|
|
Name: 3isec-qubes-mirage-firewall
|
2024-05-20 07:22:25 -04:00
|
|
|
Version: 0.9.1
|
2024-05-20 07:35:17 -04:00
|
|
|
Release: 2%{?dist}
|
2023-05-06 08:16:33 -04:00
|
|
|
Summary: Create an Mirage firewall in Qubes
|
|
|
|
|
|
|
|
License: GPLv3+
|
2024-02-03 13:20:20 -05:00
|
|
|
SOURCE0: mirage
|
2023-05-06 08:16:33 -04:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package creates a mirage firewall for use in Qubes.
|
|
|
|
It's a Unikernel qube to replace sys-firewall, which uses minimal system resources.
|
|
|
|
For full details:
|
|
|
|
https://github.com/mirage/qubes-mirage-firewall
|
|
|
|
|
|
|
|
The package creates a qube called mirage-firewall.
|
|
|
|
If you want to use this as a firewall, simply change net qube from sys-firewall to mirage-firewall.
|
|
|
|
|
|
|
|
Removing this package will remove the mirage-firewall.
|
|
|
|
Qubes that use it will have their net qube unset.
|
|
|
|
You will have to change netqube to get those qubes back online.
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}/srv/salt
|
|
|
|
cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/srv/salt/mirage/*
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
qubesctl state.apply mirage.install
|
|
|
|
elif [ $1 -eq 2 ]; then
|
|
|
|
qubesctl state.apply mirage.extract
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
qvm-kill mirage-firewall
|
|
|
|
qvm-remove --force mirage-firewall
|
|
|
|
fi
|
|
|
|
|
|
|
|
%changelog
|
2024-05-20 07:22:25 -04:00
|
|
|
* Mon May 20 2024 unman <unman@thirdeyesecurity.org> - 0.9.1
|
|
|
|
- Packages qubes-mirage-firewall 0.9.1
|
2024-05-09 11:18:41 -04:00
|
|
|
* Thu May 09 2024 unman <unman@thirdeyesecurity.org> - 0.9.0
|
|
|
|
- Packages qubes-mirage-firewall 0.9.0
|
2024-02-03 13:27:21 -05:00
|
|
|
* Sat Feb 03 2024 unman <unman@thirdeyesecurity.org> - 0.8.6
|
2024-02-03 13:20:20 -05:00
|
|
|
- Packages qubes-mirage-firewall 0.8.6
|
2023-05-06 08:16:33 -04:00
|
|
|
* Mon Apr 17 2023 unman <unman@thirdeyesecurity.org> - 0.8.4
|
|
|
|
- Packages qubes-mirage-firewall 0.8.4
|