From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YXV2h-000396-Eb for ptxdist@pengutronix.de; Mon, 16 Mar 2015 14:26:51 +0100 From: Juergen Borleis Date: Mon, 16 Mar 2015 14:29:09 +0100 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201503161429.09234.jbe@pengutronix.de> Subject: [ptxdist] [PATCH] Dropbear: version bump 2014.65 -> 2015.67 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de And additionally clean up the rule file. Signed-off-by: Juergen Borleis diff --git a/patches/dropbear-2015.67/0001-dropbear-disabling-ENABLE_CLI_PU= BKEY_AUTH-let-the-bu.patch = b/patches/dropbear-2015.67/0001-dropbear-disabling-ENABLE_CLI_PUBKEY_AUTH-l= et-the-bu.patch new file mode 100644 index 000000000000..6fc655a95945 --- /dev/null +++ b/patches/dropbear-2015.67/0001-dropbear-disabling-ENABLE_CLI_PUBKEY_AU= TH-let-the-bu.patch @@ -0,0 +1,45 @@ +From: Juergen Borleis +Date: Fri, 13 Mar 2015 10:53:46 +0100 +Subject: [PATCH] dropbear: disabling ENABLE_CLI_PUBKEY_AUTH let the build + fail + +Function multihop_passthrough_args() fails due to missing 'privkeys' member +in structure 'cli_runopts'. So lets also disable ENABLE_CLI_MULTIHOP for +this case. +And even cli_getopts() fails due to missing loadidentityfile() function +in this case. + +Signed-off-by: Juergen Borleis +--- + options.h | 4 +++- + sysoptions.h | 2 +- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/options.h b/options.h +index 6339b0a4738e..1360b5c6758f 100644 +--- a/options.h ++++ b/options.h +@@ -218,7 +218,9 @@ much traffic. */ + = + /* A default argument for dbclient -i . = + leading "~" is expanded */ +-#define DROPBEAR_DEFAULT_CLI_AUTHKEY "~/.ssh/id_dropbear" ++#ifdef ENABLE_CLI_PUBKEY_AUTH ++# define DROPBEAR_DEFAULT_CLI_AUTHKEY "~/.ssh/id_dropbear" ++#endif + = + /* This variable can be used to set a password for client + * authentication on the commandline. Beware of platforms +diff --git a/sysoptions.h b/sysoptions.h +index bec72461d8e4..eeb78cb129a5 100644 +--- a/sysoptions.h ++++ b/sysoptions.h +@@ -202,7 +202,7 @@ + #define USING_LISTENERS + #endif + = +-#if defined(ENABLE_CLI_NETCAT) && defined(ENABLE_CLI_PROXYCMD) ++#if defined(ENABLE_CLI_NETCAT) && defined(ENABLE_CLI_PROXYCMD) && defined= (ENABLE_CLI_PUBKEY_AUTH) + #define ENABLE_CLI_MULTIHOP + #endif + = diff --git a/patches/dropbear-2015.67/series b/patches/dropbear-2015.67/ser= ies new file mode 100644 index 000000000000..501905e990c5 --- /dev/null +++ b/patches/dropbear-2015.67/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-dropbear-disabling-ENABLE_CLI_PUBKEY_AUTH-let-the-bu.patch +# 847698d613b5ea08c9504df4ed3f0099 - git-ptx-patches magic diff --git a/rules/dropbear.make b/rules/dropbear.make index f03d0fc0df24..2240d556fc8e 100644 --- a/rules/dropbear.make +++ b/rules/dropbear.make @@ -18,8 +18,8 @@ PACKAGES-$(PTXCONF_DROPBEAR) +=3D dropbear # # Paths and names # -DROPBEAR_VERSION :=3D 2014.65 -DROPBEAR_MD5 :=3D 1918604238817385a156840fa2c39490 +DROPBEAR_VERSION :=3D 2015.67 +DROPBEAR_MD5 :=3D e967e320344cd4bfebe321e3ab8514d6 DROPBEAR :=3D dropbear-$(DROPBEAR_VERSION) DROPBEAR_SUFFIX :=3D tar.bz2 DROPBEAR_URL :=3D http://matt.ucc.asn.au/dropbear/releases/$(DROPBEAR).$(= DROPBEAR_SUFFIX) @@ -33,50 +33,24 @@ DROPBEAR_DIR :=3D $(BUILDDIR)/$(DROPBEAR) # # autoconf # -DROPBEAR_AUTOCONF :=3D \ - $(CROSS_AUTOCONF_USR) - -ifdef PTXCONF_DROPBEAR_ZLIB -DROPBEAR_AUTOCONF +=3D --enable-zlib -else -DROPBEAR_AUTOCONF +=3D --disable-zlib -endif - -ifdef PTXCONF_DROPBEAR_DIS_OPENPTY -DROPBEAR_AUTOCONF +=3D --disable-openpty -endif - -ifdef PTXCONF_DROPBEAR_DIS_SYSLOG -DROPBEAR_AUTOCONF +=3D --disable-syslog -endif - -ifdef PTXCONF_DROPBEAR_DIS_LASTLOG -DROPBEAR_AUTOCONF +=3D --disable-lastlog -endif - -ifdef PTXCONF_DROPBEAR_DIS_UTMP -DROPBEAR_AUTOCONF +=3D --disable-utmp -endif - -ifdef PTXCONF_DROPBEAR_DIS_UTMPX -DROPBEAR_AUTOCONF +=3D --disable-utmpx -endif - -ifdef PTXCONF_DROPBEAR_DIS_WTMP -DROPBEAR_AUTOCONF +=3D --disable-wtmp -endif - -ifdef PTXCONF_DROPBEAR_DIS_WTMPX -DROPBEAR_AUTOCONF +=3D --disable-wtmpx -endif - -ifdef PTXCONF_DROPBEAR_DIS_PUTUTLINE -DROPBEAR_AUTOCONF +=3D --disable-pututline -endif - -ifdef PTXCONF_DROPBEAR_DIS_PUTUTXLINE -DROPBEAR_AUTOCONF +=3D --disable-pututxline -endif +DROPBEAR_CONF_TOOL :=3D autoconf +DROPBEAR_CONF_OPT :=3D \ + $(CROSS_AUTOCONF_USR) \ + $(GLOBAL_LARGE_FILE_OPTION) \ + --$(call ptx/endis, PTXCONF_DROPBEAR_ZLIB)-zlib \ + --disable-pam \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_OPENPTY)-openpty \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_SYSLOG)-syslog \ + --enable-shadow \ + --enable-bundled-libtom \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_LASTLOG)-lastlog \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_UTMP)-utmp \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_UTMPX)-utmpx \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_WTMP)-wtmp \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_WTMPX)-wtmpx \ + --disable-loginfunc \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_PUTUTLINE)-pututline \ + --$(call ptx/disen, PTXCONF_DROPBEAR_DIS_PUTUTXLINE)-pututxline = $(STATEDIR)/dropbear.prepare: @$(call targetinfo) -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de