qubes-ssh - improved packaging

This commit is contained in:
unman 2022-06-06 12:18:41 +00:00
parent e7740d861f
commit 505c7c888b
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
2 changed files with 7 additions and 4 deletions

@ -1 +1 @@
Subproject commit 826df83c26359d67e1d433f5a56175a93436b0fa
Subproject commit 48b2bf6e042c2f86de92875d8881556b9f673894

View File

@ -1,13 +1,13 @@
Name: 3isec-qubes-sys-ssh-agent
Version: 1.0
Version: 1.1
Release: 1%{?dist}
Summary: Salt a qube to hold ssh-agents
Summary: Salt a service qube to hold ssh-agents
License: GPLv3+
SOURCE0: qubes-ssh-agent
%description
Salt state to implement a qube to hold ssh-agents
Salt state to implement a service qube to hold ssh-agents
%install
rm -rf %{buildroot}
@ -21,6 +21,7 @@ cp -rv %{SOURCE0}/ %{buildroot}/srv/salt
%post
if [ $1 -eq 1 ]; then
qubesctl state.apply qubes-ssh-agent.create
qubesctl --skip-dom0 --targets=template-ssh-agent state.apply qubes-ssh-agent.configure_template
qubesctl --skip-dom0 --targets=sys-ssh-agent state.apply qubes-ssh-agent.configure
fi
@ -30,5 +31,7 @@ if [ $1 -eq 0 ]; then
fi
%changelog
* Mon Jun 06 2022 unman <unman@thirdeyesecurity.org> - 1.1
- Update post scripts
* Sun May 22 2022 unman <unman@thirdeyesecurity.org> - 1.0
- First Build