From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] ddns: Add upstream patch to add support for he.net
Date: Mon, 12 Jul 2021 18:43:43 +0200 [thread overview]
Message-ID: <d8c5ce29eef912549fc43a85d71c49e54109d6ed.camel@ipfire.org> (raw)
In-Reply-To: <20210711095423.63701-1-stefan.schantl@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 3158 bytes --]
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(a)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(a)biznetix.net>
> +Date: Sun Jul 11 11:36:37 2021 +0200
> +
> + Add support for he.net
> +
> + Signed-off-by: Jhon Crowley <jcrowley(a)biznetix.net>
> + Signed-off-by: Stefan Schantl <stefan.schantl(a)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"
prev parent reply other threads:[~2021-07-12 16:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-11 9:54 Stefan Schantl
2021-07-12 16:43 ` Stefan Schantl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8c5ce29eef912549fc43a85d71c49e54109d6ed.camel@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox