From c8a4d05c1456ab894261fca35e7b52a23451f39e Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 9 Aug 2015 20:35:57 +0200 Subject: [PATCH] ddns: Update to 008. Update to the latest version of ddns - including a lot of upstream patches, with various improvements and new providers, systemd support and generate the manpages. Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- ddns/ddns.nm | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/ddns/ddns.nm b/ddns/ddns.nm index cf5f94f4d..5386ce711 100644 --- a/ddns/ddns.nm +++ b/ddns/ddns.nm @@ -4,7 +4,7 @@ ############################################################################### name = ddns -version = 005 +version = 008 release = 1 arch = noarch @@ -25,14 +25,18 @@ build requires autoconf automake + docbook-xsl gettext-devel intltool m4 + systemd-devel end configure_options += \ --prefix=%{prefix} \ - --sysconfdir=%{sysconfdir} + --sysconfdir=%{sysconfdir} \ + --enable-manpages \ + --with-systemd prepare_cmds ./autogen.sh @@ -53,5 +57,27 @@ packages configfiles %{sysconfdir}/%{name}/ddns.conf end + + datafiles + %{localestatedir}/%{name}.db + end + + script postin + systemctl daemon-reload >/dev/null 2>&1 || : + systemctl enable ddns.timer >/dev/null 2>&1 || : + end + + script preun + systemctl disable ddns.timer >/dev/null 2>&1 || : + systemctl stop ddns.service >/dev/null 2>&1 || : + end + + script postun + systemctl daemon-reload >/dev/null 2>&1 || : + end + + script postup + systemctl daemon-reload >/dev/null 2>&1 || : + end end end -- 2.39.2