diff options
Diffstat (limited to 'packages/ddclient/patches/z1_perhost-variable-new-style.patch')
-rw-r--r-- | packages/ddclient/patches/z1_perhost-variable-new-style.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/ddclient/patches/z1_perhost-variable-new-style.patch b/packages/ddclient/patches/z1_perhost-variable-new-style.patch new file mode 100644 index 00000000..cf8793f9 --- /dev/null +++ b/packages/ddclient/patches/z1_perhost-variable-new-style.patch @@ -0,0 +1,47 @@ +From 11a5bd5e7ef0d199c754947e24c0c8a736d18c48 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Thomas=20du=20Bo=C3=BFs?= <thomas@duboys.info> +Date: Sat, 28 Jan 2023 11:34:41 +0100 +Subject: [PATCH] define usev4, usev6 and dependancies as per-host config + +Ref: ddclient/ddclient#505 +--- + ddclient.in | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +diff --git a/ddclient.in b/ddclient.in +index eff10fb4..ad7dee52 100755 +--- a/ddclient.in ++++ b/ddclient.in +@@ -490,17 +490,32 @@ my %variables = ( + 'host' => setv(T_STRING,1, 1, '', undef), + + 'use' => setv(T_USE, 0, 0, 'ip', undef), ++ 'usev4' => setv(T_USEV4, 0, 0, 'disabled', undef), ++ 'usev6' => setv(T_USEV6, 0, 0, 'disabled', undef), + 'if' => setv(T_IF, 0, 0, 'ppp0', undef), ++ 'ifv4' => setv(T_IF, 0, 0, 'default', undef), ++ 'ifv6' => setv(T_IF, 0, 0, 'default', undef), + 'web' => setv(T_STRING,0, 0, 'dyndns', undef), + 'web-skip' => setv(T_STRING,0, 0, '', undef), + 'web-ssl-validate' => setv(T_BOOL, 0, 0, 1, undef), ++ 'webv4' => setv(T_STRING,0, 0, 'googledomains', undef), ++ 'webv4-skip' => setv(T_STRING,1, 0, '', undef), ++ 'webv6' => setv(T_STRING,0, 0, 'googledomains', undef), ++ 'webv6-skip' => setv(T_STRING,1, 0, '', undef), + 'fw' => setv(T_ANY, 0, 0, '', undef), + 'fw-skip' => setv(T_STRING,0, 0, '', undef), + 'fw-login' => setv(T_LOGIN, 0, 0, '', undef), + 'fw-password' => setv(T_PASSWD,0, 0, '', undef), + 'fw-ssl-validate' => setv(T_BOOL, 0, 0, 1, undef), ++ 'fwv4' => setv(T_ANY, 0, 0, '', undef), ++ 'fwv4-skip' => setv(T_STRING,1, 0, '', undef), ++ 'fwv6' => setv(T_ANY, 0, 0, '', undef), ++ 'fwv6-skip' => setv(T_STRING,1, 0, '', undef), + 'cmd' => setv(T_PROG, 0, 0, '', undef), + 'cmd-skip' => setv(T_STRING,0, 0, '', undef), ++ 'cmdv4' => setv(T_PROG, 0, 0, '', undef), ++ 'cmdv6' => setv(T_PROG, 0, 0, '', undef), ++ + 'ip' => setv(T_IP, 0, 1, undef, undef), #TODO remove from cache? + 'ipv4' => setv(T_IPV4, 0, 1, undef, undef), + 'ipv6' => setv(T_IPV6, 0, 1, undef, undef), |