From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] ddns: Import rename NoIP.com handle back to no-ip.com patch Date: Tue, 12 Nov 2019 09:09:01 +0100 Message-ID: <20191112080901.4038-1-stefan.schantl@ipfire.org> In-Reply-To: <5CB0350E-E396-4035-87C5-107E49A41B02@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6757881370089939213==" List-Id: --===============6757881370089939213== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This patch is required for compatiblity reasons for any existing configurations. Signed-off-by: Stefan Schantl --- lfs/ddns | 1 + .../ddns-012-noip-fix-handle-name.patch | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 src/patches/ddns-012-noip-fix-handle-name.patch diff --git a/lfs/ddns b/lfs/ddns index 8bfa92f77..47817c058 100644 --- a/lfs/ddns +++ b/lfs/ddns @@ -73,6 +73,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) =20 # Add upstream patch for fixing noip.com cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ddns-012-noip-rename-p= rovider.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ddns-012-noip-fix-hand= le-name.patch =20 cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh cd $(DIR_APP) && ./configure \ diff --git a/src/patches/ddns-012-noip-fix-handle-name.patch b/src/patches/dd= ns-012-noip-fix-handle-name.patch new file mode 100644 index 000000000..d1d281c34 --- /dev/null +++ b/src/patches/ddns-012-noip-fix-handle-name.patch @@ -0,0 +1,36 @@ +commit c0277eeea2b2c1ed8f40f1248b28438e44e51912 +Author: Stefan Schantl +Date: Tue Nov 12 08:43:31 2019 +0100 + + NoIP.com: Rename handle back to no-ip.com + =20 + The old handle name is required for backward compatiblity. + =20 + Signed-off-by: Stefan Schantl + +diff --git a/ddns.conf.sample b/ddns.conf.sample +index 528684f..61a608a 100644 +--- a/ddns.conf.sample ++++ b/ddns.conf.sample +@@ -120,7 +120,7 @@ + # password =3D pass +=20 + # [test.noip.org] +-# provider =3D noip.com ++# provider =3D no-ip.com + # username =3D user + # password =3D pass +=20 +diff --git a/src/ddns/providers.py b/src/ddns/providers.py +index 4789107..661fbcc 100644 +--- a/src/ddns/providers.py ++++ b/src/ddns/providers.py +@@ -1344,7 +1344,7 @@ class DDNSProviderNamecheap(DDNSResponseParserXML, DDN= SProvider): +=20 +=20 + class DDNSProviderNOIP(DDNSProtocolDynDNS2, DDNSProvider): +- handle =3D "noip.com" ++ handle =3D "no-ip.com" + name =3D "NoIP" + website =3D "http://www.noip.com/" + protocols =3D ("ipv4",) --=20 2.20.1 --===============6757881370089939213==--