From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 4 Apr 2005 22:04:58 +0000 (+0000)
Subject: change configure options for dropbear
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/727a465c4f4e113e173a6e0e78b00c6f95475b36

change configure options for dropbear


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@561 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile
index 72cc03005..46b1dd7ad 100644
--- a/package/dropbear/Makefile
+++ b/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)