SHA256
1
0
forked from pool/dehydrated

Accepting request 987889 from home:darix:branches:security:dehydrated

- Copy the changes entry into README.postrun-hooks to make it
  easier for users to find the information how to restore the
  postrun-hooks after the split.

OBS-URL: https://build.opensuse.org/request/show/987889
OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=77
This commit is contained in:
Daniel Molkentin 2022-07-08 11:28:23 +00:00 committed by Git OBS Bridge
parent af93c182f3
commit 8f53c538c5
3 changed files with 18 additions and 1 deletions

7
README.postrun-hooks Normal file
View File

@ -0,0 +1,7 @@
Rework support for /etc/dehydrated/postrun-hooks.d/:
dehydrated.service nolonger starts them directly, the support was
moved to a separate unit file. Please run:
systemctl enable dehydrated-postrun-hooks.service
to restore this functionality

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 8 11:24:13 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- Copy the changes entry into README.postrun-hooks to make it
easier for users to find the information how to restore the
postrun-hooks after the split.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 30 14:20:42 UTC 2021 - Marcus Rueckert <mrueckert@suse.de> Tue Mar 30 14:20:42 UTC 2021 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package dehydrated # spec file for package dehydrated
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -76,6 +76,7 @@ Source16: dehydrated@.timer
Source17: dehydrated.target Source17: dehydrated.target
Source18: dehydrated-postrun-hooks.service Source18: dehydrated-postrun-hooks.service
Source19: dehydrated-postrun-hooks@.service Source19: dehydrated-postrun-hooks@.service
Source20: README.postrun-hooks
Patch: more-examples.patch Patch: more-examples.patch
BuildRequires: %{_apache} BuildRequires: %{_apache}
Requires: coreutils Requires: coreutils
@ -174,6 +175,7 @@ if [ -e %{_sysconfdir}/dehydrated/config.sh ]; then mv %{_sysconfdir}/dehydrated
%patch -p1 %patch -p1
cp %{SOURCE9} . cp %{SOURCE9} .
cp %{SOURCE10} . cp %{SOURCE10} .
cp %{SOURCE20} .
%build %build
@ -275,6 +277,7 @@ diff -urN docs/examples/config %{buildroot}%{_home}/config ||:
%if %{defined redhat} %if %{defined redhat}
%doc README.Fedora %doc README.Fedora
%endif %endif
%doc README.postrun-hooks
%if %{with systemd} %if %{with systemd}
%{_tmpfilesdir}/%{name}.conf %{_tmpfilesdir}/%{name}.conf
%{_unitdir}/dehydrated*.service %{_unitdir}/dehydrated*.service