summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-04 22:04:58 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-04 22:04:58 +0000
commit9756d8713b70f61e91224a7bca93332c64df227a (patch)
treee40d2002a6dacfd4dfee9f01cffa3caaa034c518
parentd45205b8652dd46919e9487184c6631cc6bf7632 (diff)
change configure options for dropbear
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@561 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/dropbear/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/openwrt/package/dropbear/Makefile b/openwrt/package/dropbear/Makefile
index 72cc03005a..46b1dd7ad0 100644
--- a/openwrt/package/dropbear/Makefile
+++ b/openwrt/package/dropbear/Makefile
@@ -45,6 +45,18 @@ $(DROPBEAR_DIR)/.configured: $(DROPBEAR_DIR)/.patched
--infodir=/usr/info \
$(DISABLE_NLS) \
--with-shared \
+ --disable-pam \
+ --enable-openpty \
+ --enable-syslog \
+ --disable-shadow \
+ --disable-lastlog \
+ --disable-utmp \
+ --disable-utmpx \
+ --disable-wtmp \
+ --disable-wtmpx \
+ --disable-loginfunc \
+ --disable-pututline \
+ --disable-pututxline \
);
touch $(DROPBEAR_DIR)/.configured
@@ -66,8 +78,7 @@ $(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearkey
ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearconvert
mkdir -p $(DROPBEAR_IPK_DIR)/etc/init.d
- cp ./files/S50dropbear $(DROPBEAR_IPK_DIR)/etc/init.d/
- chmod a+x $(DROPBEAR_IPK_DIR)/etc/init.d/S50dropbear
+ install -m 755 ./files/S50dropbear $(DROPBEAR_IPK_DIR)/etc/init.d/
$(IPKG_BUILD) $(DROPBEAR_IPK_DIR) $(PACKAGE_DIR)
$(IPKG_STATE_DIR)/info/dropbear.list: $(PACKAGE_DIR)/$(DROPBEAR_IPK)