Hello List,
please ignore this Patch, because I've tagged a new release of ddns which already includes this patch.
Sorry for the noise and best regards,
-Stefan
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org
lfs/ddns | 1 + src/patches/ddns-013-add-he-net.patch | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 src/patches/ddns-013-add-he-net.patch
diff --git a/lfs/ddns b/lfs/ddns index 538cf7256..0ad7a3e92 100644 --- a/lfs/ddns +++ b/lfs/ddns @@ -78,6 +78,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns- 013-add-option-to-list-token-provider.patch cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns- 013-proper-encode-string.patch cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns- 013-fix-argparse-list-token-providers.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns- 013-add-he-net.patch cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh cd $(DIR_APP) && ./configure \ diff --git a/src/patches/ddns-013-add-he-net.patch b/src/patches/ddns-013-add-he-net.patch new file mode 100644 index 000000000..752f32909 --- /dev/null +++ b/src/patches/ddns-013-add-he-net.patch @@ -0,0 +1,36 @@ +commit a026b2734b73ef177686ab36c66743ae58bdef56 +Author: Jhon Crowley jcrowley@biznetix.net +Date: Sun Jul 11 11:36:37 2021 +0200
+ Add support for he.net + + Signed-off-by: Jhon Crowley jcrowley@biznetix.net + Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org
+diff --git a/src/ddns/providers.py b/src/ddns/providers.py +index 56e6620..2f1804b 100644 +--- a/src/ddns/providers.py ++++ b/src/ddns/providers.py +@@ -1218,6 +1218,22 @@ class DDNSProviderFreeDNSAfraidOrg(DDNSProvider): + raise DDNSUpdateError
++class DDNSProviderHENet(DDNSProtocolDynDNS2, DDNSProvider): ++ handle = "he.net" ++ name = "he.net" ++ website = "https://he.net" ++ protocols = ("ipv6", "ipv4",) ++ ++ # Detailed information about the update api can be found here. ++ # http://dns.he.net/docs.html ++ ++ url = "https://dyn.dns.he.net/nic/update" ++ @property ++ def username(self): ++ return self.get("hostname") ++ ++ ++
- class DDNSProviderItsdns(DDNSProtocolDynDNS2, DDNSProvider):
+ handle = "inwx.com" + name = "INWX"