]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
ddns: New package (version 005)
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 10 Dec 2014 13:16:30 +0000 (14:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 10 Dec 2014 13:16:30 +0000 (14:16 +0100)
ddns/ddns.nm [new file with mode: 0644]

diff --git a/ddns/ddns.nm b/ddns/ddns.nm
new file mode 100644 (file)
index 0000000..cf5f94f
--- /dev/null
@@ -0,0 +1,57 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = ddns
+version    = 005
+release    = 1
+arch       = noarch
+
+groups     = System/Tools
+url        = http://www.ipfire.org
+license    = GPLv3
+summary    = A python based dynamic DNS updater.
+
+description
+       ddns is a simple, extensible, cross-distribution, cross-platform dynamic DNS updater
+       written in Python.
+end
+
+source_dl = http://source.ipfire.org/releases/ddns/
+sources = %{thisapp}.tar.xz
+
+build
+       requires
+               autoconf
+               automake
+               gettext-devel
+               intltool
+               m4
+       end
+
+       configure_options += \
+               --prefix=%{prefix} \
+               --sysconfdir=%{sysconfdir}
+
+       prepare_cmds
+               ./autogen.sh
+       end
+
+       install_cmds
+               # Ship an empty configuration file.
+               touch %{BUILDROOT}%{sysconfdir}/%{name}/ddns.conf
+       end
+end
+
+packages
+       package %{name}
+               recommends
+                       %{bindir}/nsupdate
+               end
+
+               configfiles
+                       %{sysconfdir}/%{name}/ddns.conf
+               end
+       end
+end