- Behavioral change: Use cron only for older RHEL/CentOS versions

(along with openSUSE < 12.3). Everything else now uses systemd.
  Please adopt accordingly! Refer to README.md for

OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=43
This commit is contained in:
Daniel Molkentin 2019-08-10 17:30:39 +00:00 committed by Git OBS Bridge
parent 8040ffa8f3
commit f49a7b4c9f
3 changed files with 15 additions and 8 deletions

View File

@ -2,14 +2,14 @@
Acquiring TLS Certificates with Dehydrated Acquiring TLS Certificates with Dehydrated
========================================== ==========================================
The SUSE dehydrated package has been designed to make acquiring TLS The dehydrated package has been designed to make acquiring TLS
certificates (aka SSL Certificates) as simple as possible, while still being certificates (aka SSL Certificates) as simple as possible, while still being
useful in a broad amount of use cases. Please consult the dehydrated man page, useful in a broad amount of use cases. Please consult the dehydrated man page,
then continue reading here. then continue reading here.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
IMPORTANT: On systemd-enabled system (SLE12+), you need to enable the update IMPORTANT: On systemd-based systems, you need to enable the update
timer, which has obsoleted the cron job. This is independent on which method timer, which has obsoleted the cron job. This is independent on which method
you chose from below! you chose from below!

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Aug 10 17:18:25 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
- Behavioral change: Use cron only for older RHEL/CentOS versions
(along with openSUSE < 12.3). Everything else now uses systemd.
Please adopt accordingly! Refer to README.md for
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 26 11:03:27 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com> Wed Jun 26 11:03:27 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>

View File

@ -21,12 +21,12 @@
%define _home %{_sysconfdir}/dehydrated %define _home %{_sysconfdir}/dehydrated
%define _postrunhooks %{_home}/postrun-hooks.d %define _postrunhooks %{_home}/postrun-hooks.d
%if 0%{?suse_version} > 1230 %if 0%{?suse_version} <= 1230 || 0%{?rhel_version} <= 600 || 0%{?centos_version} <= 600
%define _lock_dir /run/dehydrated
%bcond_without systemd
%else
%define _lock_dir %{_localstatedir}/run/dehydrated %define _lock_dir %{_localstatedir}/run/dehydrated
%bcond_with systemd %bcond_with systemd
%else
%define _lock_dir /run/dehydrated
%bcond_without systemd
%endif %endif
%if 0%{?is_opensuse} || %{defined fedora} %if 0%{?is_opensuse} || %{defined fedora}
@ -60,7 +60,7 @@ Source4: dehydrated.cron.in
Source5: dehydrated.tmpfiles.d Source5: dehydrated.tmpfiles.d
Source6: dehydrated.service.in Source6: dehydrated.service.in
Source7: dehydrated.timer Source7: dehydrated.timer
Source9: README.SUSE Source9: README.maintainer
Source10: README.Fedora Source10: README.Fedora
Source11: README.hooks Source11: README.hooks
Source12: %{name}-%{version}.tar.gz.asc Source12: %{name}-%{version}.tar.gz.asc
@ -269,7 +269,7 @@ diff -urN docs/examples/config %{buildroot}%{_home}/config ||:
%attr(-,%{_user},root) %dir %{_localstatedir}/lib/acme-challenge %attr(-,%{_user},root) %dir %{_localstatedir}/lib/acme-challenge
%{_mandir}/man1/* %{_mandir}/man1/*
%doc LICENSE README.md docs/*.md docs/*.jpg %doc LICENSE README.md docs/*.md docs/*.jpg
%doc README.SUSE %doc README.maintainer
%if %{defined redhat} %if %{defined redhat}
%doc README.Fedora %doc README.Fedora
%endif %endif