2022-07-16 10:13:52 -04:00
|
|
|
Name: 3isec-qubes-mutt
|
2024-06-12 22:52:03 -04:00
|
|
|
Version: 2
|
2022-07-16 10:13:52 -04:00
|
|
|
Release: 1%{?dist}
|
2022-08-04 09:47:37 -04:00
|
|
|
Summary: Prepares qube for using mutt in Qubes
|
2024-03-12 21:06:05 -04:00
|
|
|
Requires: 3isec-qubes-common
|
2022-07-16 10:13:52 -04:00
|
|
|
|
|
|
|
License: GPLv3+
|
2024-06-12 22:52:03 -04:00
|
|
|
SOURCE0: mutt
|
2022-07-16 10:13:52 -04:00
|
|
|
|
|
|
|
%description
|
2022-08-04 09:47:37 -04:00
|
|
|
This package creates a minimal template configured for using mutt in Qubes, including notmuch.
|
|
|
|
There is a helper script to make it easy to set up mutt.
|
|
|
|
By default, attachments will be opened in a disposable.
|
2022-07-16 10:13:52 -04:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}/srv/salt
|
|
|
|
cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
/srv/salt/mutt/*
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
|
qubesctl state.apply mutt.clone
|
2024-03-12 21:06:05 -04:00
|
|
|
qubesctl --skip-dom0 --targets=template-mutt state.apply 3isec-common.mutt.install
|
2022-07-17 12:06:18 -04:00
|
|
|
qubesctl state.apply mutt.configure
|
2024-06-12 22:52:03 -04:00
|
|
|
qvm-shutdown template-mutt
|
2022-07-16 10:13:52 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-06-12 22:52:03 -04:00
|
|
|
* Thu Jun 13 2024 unman <unman@thirdeyesecurity.org> - 2.1
|
|
|
|
- Upgrade base to debian 12
|
2024-03-12 21:06:05 -04:00
|
|
|
* Mon Mar 11 2024 unman <unman@thirdeyesecurity.org> - 2.0
|
|
|
|
- Move common mutt install files to 3isec-common package
|
2023-02-21 08:52:35 -05:00
|
|
|
* Mon Feb 20 2023 unman <unman@thirdeyesecurity.org> - 1.1
|
|
|
|
- Use pillar for cacher to determine repo changes
|
2024-03-12 21:06:05 -04:00
|
|
|
* Wed Jul 14 2021 unman <unman@thirdeyesecurity.org>
|
2022-07-16 10:13:52 -04:00
|
|
|
- First Build
|