mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
ddns: Import rename NoIP.com handle back to no-ip.com patch
This patch is required for compatiblity reasons for any existing configurations. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
9cc131cc5a
commit
4ae9d47ba3
1
lfs/ddns
1
lfs/ddns
@@ -73,6 +73,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Add upstream patch for fixing noip.com
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ddns-012-noip-rename-provider.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ddns-012-noip-fix-handle-name.patch
|
||||
|
||||
cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
|
||||
cd $(DIR_APP) && ./configure \
|
||||
|
||||
36
src/patches/ddns-012-noip-fix-handle-name.patch
Normal file
36
src/patches/ddns-012-noip-fix-handle-name.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
commit c0277eeea2b2c1ed8f40f1248b28438e44e51912
|
||||
Author: Stefan Schantl <stefan.schantl@ipfire.org>
|
||||
Date: Tue Nov 12 08:43:31 2019 +0100
|
||||
|
||||
NoIP.com: Rename handle back to no-ip.com
|
||||
|
||||
The old handle name is required for backward compatiblity.
|
||||
|
||||
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
|
||||
|
||||
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 = pass
|
||||
|
||||
# [test.noip.org]
|
||||
-# provider = noip.com
|
||||
+# provider = no-ip.com
|
||||
# username = user
|
||||
# password = pass
|
||||
|
||||
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, DDNSProvider):
|
||||
|
||||
|
||||
class DDNSProviderNOIP(DDNSProtocolDynDNS2, DDNSProvider):
|
||||
- handle = "noip.com"
|
||||
+ handle = "no-ip.com"
|
||||
name = "NoIP"
|
||||
website = "http://www.noip.com/"
|
||||
protocols = ("ipv4",)
|
||||
Reference in New Issue
Block a user