change configure options for dropbear
authorFelix Fietkau <nbd@openwrt.org>
Mon, 4 Apr 2005 22:04:58 +0000 (22:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 4 Apr 2005 22:04:58 +0000 (22:04 +0000)
SVN-Revision: 561

openwrt/package/dropbear/Makefile

index 72cc03005ab872c8cf175617381e0436174d9597..46b1dd7ad055563558ed01e070850dd41deb7cf1 100644 (file)
@@ -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)