From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] ddns: Add upstream patch to fix argparse list-token-providers command. Date: Thu, 13 May 2021 09:47:48 +0100 Message-ID: <69C172F7-DDD9-41AC-870B-19099B624E0C@ipfire.org> In-Reply-To: <20210512180643.5920-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7225603502257447688==" List-Id: --===============7225603502257447688== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 12 May 2021, at 19:06, Stefan Schantl wrot= e: >=20 > Fixes #12607. >=20 > Signed-off-by: Stefan Schantl > --- > lfs/ddns | 1 + > ...13-fix-argparse-list-token-providers.patch | 23 +++++++++++++++++++ > 2 files changed, 24 insertions(+) > create mode 100644 src/patches/ddns-013-fix-argparse-list-token-providers.p= atch >=20 > diff --git a/lfs/ddns b/lfs/ddns > index 98b374ed1..538cf7256 100644 > --- a/lfs/ddns > +++ b/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-add-option-= to-list-token-provider.patch > cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-proper-enco= de-string.patch > + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-fix-argpar= se-list-token-providers.patch >=20 > cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh > cd $(DIR_APP) && ./configure \ > diff --git a/src/patches/ddns-013-fix-argparse-list-token-providers.patch b= /src/patches/ddns-013-fix-argparse-list-token-providers.patch > new file mode 100644 > index 000000000..065dbb666 > --- /dev/null > +++ b/src/patches/ddns-013-fix-argparse-list-token-providers.patch > @@ -0,0 +1,23 @@ > +commit 5e075681008174839a47cae698ae459c0ea3a30a > +Author: Stefan Schantl > +Date: Wed May 12 19:59:01 2021 +0200 > + > + Fix argsparse string for listing token providers. > + =20 > + Signed-off-by: Stefan Schantl > + > +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 =3D subparsers.add_parser("list-providers", > + help=3D_("List all available providers")) > +=20 > +- # list-token-provider > +- p_list_token_provider =3D subparsers.add_parser("list-token-provider", > ++ # list-token-providers > ++ p_list_token_provider =3D subparsers.add_parser("list-token-providers", > + help=3D_("List all providers which supports authentication via token")) There is another typo here. It is should be =E2=80=9Csupport=E2=80=9D. > +=20 > + # update > --=20 > 2.20.1 >=20 --===============7225603502257447688==--