|
@ -1063,23 +1063,23 @@ $(D)/dropbear: $(D)/zlib $(ARCHIVE)/$(DROPBEAR_SOURCE) | $(TARGET_DIR) |
|
|
$(CONFIGURE) \
|
|
|
$(CONFIGURE) \
|
|
|
--prefix= \
|
|
|
--prefix= \
|
|
|
--mandir=$(remove-mandir) \
|
|
|
--mandir=$(remove-mandir) \
|
|
|
|
|
|
--disable-lastlog \
|
|
|
--disable-pututxline \
|
|
|
--disable-pututxline \
|
|
|
--disable-wtmp \
|
|
|
--disable-wtmp \
|
|
|
--disable-wtmpx \
|
|
|
--disable-wtmpx \
|
|
|
--disable-loginfunc \
|
|
|
--disable-loginfunc \
|
|
|
--disable-pam \
|
|
|
--disable-pam \
|
|
|
--disable-zlib \
|
|
|
|
|
|
--disable-harden \
|
|
|
--disable-harden \
|
|
|
--enable-bundled-libtom \
|
|
|
--enable-bundled-libtom \
|
|
|
; \
|
|
|
; \
|
|
|
# Ensure that dropbear doesn't use crypt() when it's not available; \ |
|
|
# Ensure that dropbear doesn't use crypt() when it's not available; \ |
|
|
echo '#if !HAVE_CRYPT' >> localoptions.h; \
|
|
|
echo '#if !HAVE_CRYPT' >> localoptions.h; \
|
|
|
echo '#define DROPBEAR_SVR_PASSWORD_AUTH 0' >> localoptions.h; \
|
|
|
echo '#define DROPBEAR_SVR_PASSWORD_AUTH 0' >> localoptions.h; \
|
|
|
echo '#endif' >> localoptions.h; \
|
|
|
echo '#endif' >> localoptions.h; \
|
|
|
# disable SMALL_CODE define; \ |
|
|
# disable SMALL_CODE define; \ |
|
|
sed -i 's|^\(#define DROPBEAR_SMALL_CODE\).*|\1 0|' default_options.h; \
|
|
|
echo '#define DROPBEAR_SMALL_CODE 0' >> localoptions.h; \
|
|
|
# fix PATH define; \ |
|
|
# fix PATH define; \ |
|
|
sed -i 's|^\(#define DEFAULT_PATH\).*|\1 "/sbin:/bin:/var/bin"|' default_options.h; \
|
|
|
echo '#define DEFAULT_PATH "/sbin:/bin:/var/bin"' >> localoptions.h; \
|
|
|
# remove /usr prefix; \ |
|
|
# remove /usr prefix; \ |
|
|
sed -i 's|/usr/|/|g' default_options.h; \
|
|
|
sed -i 's|/usr/|/|g' default_options.h; \
|
|
|
$(MAKE) PROGRAMS="dropbear dbclient dropbearkey scp" SCPPROGRESS=1; \
|
|
|
$(MAKE) PROGRAMS="dropbear dbclient dropbearkey scp" SCPPROGRESS=1; \
|
|
|