Accepting request 1143714 from security:dehydrated

- Add user/group provides for rpm 4.19 

- Add instance name to unit description
- Check instance specific configuration

OBS-URL: https://build.opensuse.org/request/show/1143714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dehydrated?expand=0&rev=26
This commit is contained in:
Ana Guerrero 2024-02-04 18:07:43 +00:00 committed by Git OBS Bridge
commit 7abd6915bd
3 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Feb 2 17:34:54 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Add user/group provides for rpm 4.19
-------------------------------------------------------------------
Sat Jan 13 23:52:53 UTC 2024 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Add instance name to unit description
- Check instance specific configuration
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 29 05:03:26 UTC 2022 - Daniel Molkentin <daniel@molkentin.de> Sat Oct 29 05:03:26 UTC 2022 - Daniel Molkentin <daniel@molkentin.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package dehydrated # spec file for package dehydrated
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 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
@ -88,6 +88,8 @@ Requires(pre): %{_sbindir}/useradd
Obsoletes: dehydrated-lighttpd < %{version}-%{release} Obsoletes: dehydrated-lighttpd < %{version}-%{release}
Obsoletes: letsencrypt.sh < %{version} Obsoletes: letsencrypt.sh < %{version}
Provides: letsencrypt.sh = %{version} Provides: letsencrypt.sh = %{version}
Provides: user(%{_user})
Provides: group(%{_user})
%if %{with nginx} %if %{with nginx}
BuildRequires: nginx BuildRequires: nginx
%endif %endif

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Certificate Update Runner for Dehydrated Description=Certificate Update Runner for Dehydrated instance %i
ConditionPathExists=/etc/dehydrated/config ConditionPathExists=/etc/dehydrated-%i/config
After=network-online.target After=network-online.target
Wants=acmeresponder.socket Wants=acmeresponder.socket
PartOf=dehydrated.target PartOf=dehydrated.target