From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] ddns: Update to 008. Date: Sun, 09 Aug 2015 20:35:57 +0200 Message-ID: <1439145357-3884-1-git-send-email-stefan.schantl@ipfire.org> In-Reply-To: <1439144672.2264.5.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6047945784203000632==" List-Id: --===============6047945784203000632== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 --- ddns/ddns.nm | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/ddns/ddns.nm b/ddns/ddns.nm index cf5f94f..5386ce7 100644 --- a/ddns/ddns.nm +++ b/ddns/ddns.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D ddns -version =3D 005 +version =3D 008 release =3D 1 arch =3D noarch =20 @@ -25,14 +25,18 @@ build requires autoconf automake + docbook-xsl gettext-devel intltool m4 + systemd-devel end =20 configure_options +=3D \ --prefix=3D%{prefix} \ - --sysconfdir=3D%{sysconfdir} + --sysconfdir=3D%{sysconfdir} \ + --enable-manpages \ + --with-systemd =20 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 --=20 2.1.0 --===============6047945784203000632==--