mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00: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:
parent
3a19ee499b
commit
d5576fd2f0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user