inadyn: bump to version 2.0
authorRyan Coe <bluemrp9@gmail.com>
Mon, 17 Oct 2016 20:14:30 +0000 (13:14 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Oct 2016 21:31:59 +0000 (23:31 +0200)
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/inadyn/Config.in
package/inadyn/inadyn.conf
package/inadyn/inadyn.hash
package/inadyn/inadyn.mk

index 65f6851cb2ea137fd1f9c87abe697822319d796d..d03db83e3a3d2e4ff5ca756ea276902c7bedd2a4 100644 (file)
@@ -2,6 +2,8 @@ config BR2_PACKAGE_INADYN
        bool "inadyn"
        depends on BR2_USE_MMU # Uses fork()
        depends on !BR2_STATIC_LIBS # dlopen()
+       select BR2_PACKAGE_LIBCONFUSE
+       select BR2_PACKAGE_LIBITE
        help
          INADYN is a free DynDNS client. It gives the possibility
          to have your own fixed hostname registered on the internet,
index ab8aa3611c40255f02269a205c504064bb6c9825..1b290276068e95187fd92e5457bc41b93002528f 100644 (file)
@@ -1,11 +1,11 @@
 # Basic configuration file for inadyn
 #
 # /etc/inadyn.conf
-pidfile /var/run/inadyn.pid
-update_period_sec 600 # Check for a new IP every 600 seconds
-username test          # replace 'test' with your username
-password test          # replace 'test' with your password
-dyndns_system default@dyndns.org   # replace w/ your provider
+iface    = eth0
+period   = 300
 
-alias test.homeip.net
-# replace 'test.homeip.net' with yourdomainname for actual (non-test) use
+provider default@dyndns.org {
+       username    = test
+       password    = test
+       hostname    = test
+}
index 940bd16fbaccb6a455fcac6d5ad4fe8f31855fee..a4e60c96c76809e2c95c15a7a263544ffc99ab4b 100644 (file)
@@ -1,2 +1,2 @@
-# From https://github.com/troglobit/inadyn/releases/download/1.99.12/inadyn-1.99.12.tar.xz.md5
-md5    a620c9eab9cd31c8923e7264b08376f3        inadyn-1.99.12.tar.xz
+# Locally computed
+sha256 763c53eb3856decfe8b921cab8a54b428b079a62264fbcf6c89690713d63529a  inadyn-v2.0.tar.gz
index 8ceca4c352d185f2d8adddae7158323b04c8ecdc..f23955bbaf79cc79d39c0a43eb08b3abe1f44cb6 100644 (file)
@@ -4,11 +4,18 @@
 #
 ################################################################################
 
-INADYN_VERSION = 1.99.12
-INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/$(INADYN_VERSION)
-INADYN_SOURCE = inadyn-$(INADYN_VERSION).tar.xz
+INADYN_VERSION = v2.0
+INADYN_SITE = $(call github,troglobit,inadyn,$(INADYN_VERSION))
 INADYN_LICENSE = GPLv2+
 INADYN_LICENSE_FILES = COPYING
+INADYN_AUTORECONF = YES
+INADYN_DEPENDENCIES = host-pkgconf libconfuse libite
+
+# Needed for autoreconf to work properly, see ./autogen.sh
+define INADYN_FIXUP_M4_DIR
+       mkdir $(@D)/m4
+endef
+INADYN_POST_EXTRACT_HOOKS += INADYN_FIXUP_M4_DIR
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 INADYN_CONF_OPTS += --enable-openssl