mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -09:00
dropbear: fix xauth tweak since dbcec2b2
The recent conversion to new-style hooks didn't actually enable the xauth tweaking. Also rename to FIX_XAUTH as it just tweaks the path, it doesn't disable anything. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -17,11 +17,11 @@ DROPBEAR_CONF_ENV = ac_cv_type_struct_sockaddr_storage=yes
|
|||||||
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
|
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
|
||||||
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
||||||
|
|
||||||
define DROPBEAR_DISABLE_XAUTH
|
define DROPBEAR_FIX_XAUTH
|
||||||
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(@D)/options.h
|
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(@D)/options.h
|
||||||
endef
|
endef
|
||||||
|
|
||||||
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_ADJUST_OPTIONS
|
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_FIX_AUTH
|
||||||
|
|
||||||
define DROPBEAR_DISABLE_REVERSE_DNS
|
define DROPBEAR_DISABLE_REVERSE_DNS
|
||||||
$(SED) 's,^#define DO_HOST_LOOKUP.*,/* #define DO_HOST_LOOKUP */,' $(@D)/options.h
|
$(SED) 's,^#define DO_HOST_LOOKUP.*,/* #define DO_HOST_LOOKUP */,' $(@D)/options.h
|
||||||
|
|||||||
Reference in New Issue
Block a user