mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
ddns: Add upstream patch to fix argparse list-token-providers command.
Fixes #12607. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
bf882cc808
commit
9121ebf621
1
lfs/ddns
1
lfs/ddns
@@ -77,6 +77,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-duckdns-new-api.patch
|
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-duckdns-new-api.patch
|
||||||
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-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-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) && [ -x "configure" ] || sh ./autogen.sh
|
cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
|
||||||
cd $(DIR_APP) && ./configure \
|
cd $(DIR_APP) && ./configure \
|
||||||
|
|||||||
23
src/patches/ddns-013-fix-argparse-list-token-providers.patch
Normal file
23
src/patches/ddns-013-fix-argparse-list-token-providers.patch
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
commit 5e075681008174839a47cae698ae459c0ea3a30a
|
||||||
|
Author: Stefan Schantl <stefan.schantl@ipfire.org>
|
||||||
|
Date: Wed May 12 19:59:01 2021 +0200
|
||||||
|
|
||||||
|
Fix argsparse string for listing token providers.
|
||||||
|
|
||||||
|
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
|
||||||
|
|
||||||
|
diff --git a/ddns.in b/ddns.in
|
||||||
|
index 538e4b0..20edd28 100755
|
||||||
|
--- a/ddns.in
|
||||||
|
+++ b/ddns.in
|
||||||
|
@@ -49,8 +49,8 @@ def main():
|
||||||
|
p_list_providers = subparsers.add_parser("list-providers",
|
||||||
|
help=_("List all available providers"))
|
||||||
|
|
||||||
|
- # list-token-provider
|
||||||
|
- p_list_token_provider = subparsers.add_parser("list-token-provider",
|
||||||
|
+ # list-token-providers
|
||||||
|
+ p_list_token_provider = subparsers.add_parser("list-token-providers",
|
||||||
|
help=_("List all providers which supports authentication via token"))
|
||||||
|
|
||||||
|
# update
|
||||||
Reference in New Issue
Block a user