From 1d0402a9b61cfd78fd62a78831e1c6f40e820165164925ce8c39561a28fc56e7 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Mon, 29 Mar 2021 14:02:51 +0000 Subject: [PATCH] Accepting request 879078 from home:oreinert:branches:security:dehydrated Add directory where cleanup can archive unused certificates OBS-URL: https://build.opensuse.org/request/show/879078 OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=72 --- dehydrated.changes | 5 +++++ dehydrated.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dehydrated.changes b/dehydrated.changes index ea9cd24..869e5d3 100644 --- a/dehydrated.changes +++ b/dehydrated.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 14 22:29:06 UTC 2021 - Olav Reinert + +- Add directory where cleanup can archive unused certificates + ------------------------------------------------------------------- Wed Mar 3 15:42:18 UTC 2021 - Daniel Molkentin diff --git a/dehydrated.spec b/dehydrated.spec index 77b7794..ac53f9b 100644 --- a/dehydrated.spec +++ b/dehydrated.spec @@ -164,7 +164,7 @@ cp %{SOURCE10} . %install # sensitive keys -mkdir -p %{buildroot}%{_home}/{accounts,certs,chains} +mkdir -p %{buildroot}%{_home}/{accounts,archive,certs,chains} mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_home}/config.d @@ -232,6 +232,7 @@ diff -urN docs/examples/config %{buildroot}%{_home}/config ||: %defattr(-,root,root) %attr(750,root,%{_user}) %dir %{_sysconfdir}/dehydrated %attr(700,%{_user},%{_user}) %dir %{_sysconfdir}/dehydrated/accounts +%attr(700,%{_user},%{_user}) %dir %{_sysconfdir}/dehydrated/archive %attr(700,%{_user},%{_user}) %dir %{_sysconfdir}/dehydrated/certs %attr(700,%{_user},%{_user}) %dir %{_sysconfdir}/dehydrated/chains %config(noreplace) %attr(640,root,%{_user}) %{_sysconfdir}/dehydrated/config