mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
This is VyOS specific build based on current Debian 3.10.0-3 with the following patches: - z1_perhost-variable-new-style.patch (see ddclient/ddclient#505) - z2_dyndns2-ipv4-ipv6.patch (see ddclient/ddclient#502) - z3_duckdns-reply-fix.patch (see ddclient/ddclient#506) - z4_dyndns2-multiline-multihost-fix.patch (see ddclient/ddclient#542)
48 lines
3.0 KiB
Diff
48 lines
3.0 KiB
Diff
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),
|