From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl 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 Message-ID: In-Reply-To: <20210711095423.63701-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3876875712321639176==" List-Id: --===============3876875712321639176== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 > --- > =C2=A0lfs/ddns=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 1 + > =C2=A0src/patches/ddns-013-add-he-net.patch | 36 > +++++++++++++++++++++++++++ > =C2=A02 files changed, 37 insertions(+) > =C2=A0create mode 100644 src/patches/ddns-013-add-he-net.patch >=20 > 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)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0cd $(DIR_APP) && patch -Np1= -i $(DIR_SRC)/src/patches/ddns- > 013-add-option-to-list-token-provider.patch > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0cd $(DIR_APP) && patch -Np1= -i $(DIR_SRC)/src/patches/ddns- > 013-proper-encode-string.patch > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0cd $(DIR_APP) && patch -Np1= -i $(DIR_SRC)/src/patches/ddns- > 013-fix-argparse-list-token-providers.patch > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0cd $(DIR_APP) && patch -Np1 -i $= (DIR_SRC)/src/patches/ddns- > 013-add-he-net.patch > =C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0cd $(DIR_APP) && [ -x "conf= igure" ] || sh ./autogen.sh > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0cd $(DIR_APP) && ./configur= e \ > 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 > +Date:=C2=A0=C2=A0 Sun Jul 11 11:36:37 2021 +0200 > + > +=C2=A0=C2=A0=C2=A0 Add support for he.net > +=C2=A0=C2=A0=C2=A0=20 > +=C2=A0=C2=A0=C2=A0 Signed-off-by: Jhon Crowley > +=C2=A0=C2=A0=C2=A0 Signed-off-by: Stefan Schantl > + > +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): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0raise DDNSUpdateError > +=20 > +=20 > ++class DDNSProviderHENet(DDNSProtocolDynDNS2, DDNSProvider): > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 handle=C2=A0=C2=A0=C2=A0 =3D "he.net" > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 name=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D "he.net" > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 website=C2=A0=C2=A0 =3D "https://he.net" > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 protocols =3D ("ipv6", "ipv4",) > ++ > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 # Detailed information about the update api can be > found here. > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 # http://dns.he.net/docs.html > ++ > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 url =3D "https://dyn.dns.he.net/nic/update" > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 @property > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 def username(self): > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return sel= f.get("hostname") > ++ > ++=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 > ++ > + class DDNSProviderItsdns(DDNSProtocolDynDNS2, DDNSProvider): > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0handle=C2=A0=C2=A0=C2=A0 =3D "inwx.com" > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0name=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D "INWX" --===============3876875712321639176==--