From bc164a02c6f5f9fdcc66bd66d2d6a02dcfff8bec Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 27 Jul 2013 19:05:45 +0800 Subject: [PATCH] Externals/dropbear - Disabled X forwarding --- Externals/core.mk | 2 +- Externals/dropbear/Makefile | 4 ++-- Externals/dropbear/patches/options.h.patch | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Externals/core.mk b/Externals/core.mk index 3b788de7..4e39cf57 100644 --- a/Externals/core.mk +++ b/Externals/core.mk @@ -12,7 +12,7 @@ ifeq ($(ARCH),x86) else ifeq ($(ARCH),x86_64) BFD := x86_64 else - $(error No BFD translation for $(ARCH) in Externals/common.mk) + $(error No BFD translation for $(ARCH) in Externals/core.mk) endif #PREFIX=$(ACESSDIR)/Externals/Output diff --git a/Externals/dropbear/Makefile b/Externals/dropbear/Makefile index 3aeb8379..2ae2894c 100644 --- a/Externals/dropbear/Makefile +++ b/Externals/dropbear/Makefile @@ -9,8 +9,8 @@ TARBALL_TO_DIR_L := %.tar.bz2 TARBALL_TO_DIR_R := % PATCHES := options.h CONFIGURE_ARGS = --with-zlib=$(PREFIX) --disable-utmp --disable-wtmp --disable-lastlog -BTARGETS = dbclient -ITARGETS = inst_dbclient +BTARGETS = dbclient dropbear +ITARGETS = inst_dbclient inst_dropbear include ../common.mk diff --git a/Externals/dropbear/patches/options.h.patch b/Externals/dropbear/patches/options.h.patch index a0c5379a..9ff95cb3 100644 --- a/Externals/dropbear/patches/options.h.patch +++ b/Externals/dropbear/patches/options.h.patch @@ -1,5 +1,9 @@ --- options.h +++ options.h +@@ -54,2 +54,2 @@ + /* Enable X11 Forwarding - server only */ +-#define ENABLE_X11FWD ++//#define ENABLE_X11FWD @@ -217,2 +217,2 @@ * rsa/dss key generation */ -#define DROPBEAR_URANDOM_DEV "/dev/urandom" -- 2.20.1