I think we could reduce the ssh binaries / lib dependencies with these configure options... IMHO features like kerberos, pam, etc are not necessary at all...

If you agree I can commit this.
-Andrea

--
Andrea Righi
System Management Group - CINECA - http://www.cineca.it
Via Magnanelli 6/3
40033 Casalecchio di Reno (BO) - Italy
e-mail: [EMAIL PROTECTED]
--- make.d/openssh.rul	31 Jan 2005 21:20:25 -0000	1.22
+++ make.d/openssh.rul	7 Feb 2005 16:52:00 -0000
@@ -45,7 +45,14 @@
 	( cd $(SRC_DIR) && tar -xvzf $(OPENSSH_TARBALL) )
 	cd $(SRC_DIR)/$(OPENSSH_DIR) && ./configure --prefix=/usr \
 												--sysconfdir=/etc/ssh \
-												--host=i586-pc-linux-gnu
+												--host=i586-pc-linux-gnu \
+												--disable-last-log --disable-libutil \
+												--disable-pututxline --disable-utmpx --disable-wtmpx \
+												--without-pam --with-ldflags=-s --with-4in6=no \
+												--without-opensc --without-sectok \
+												--without-kerberos5 --without-kerberos4 \
+												--without-afs --without-md5-passwords --without-bsd-auth \
+												--with-xauth=no
 	$(MAKE) -C $(SRC_DIR)/$(OPENSSH_DIR)
 
 $(SRC_DIR)/openssh_verify.stamp:	$(OPENSSH_TARBALL_TARGET)

Reply via email to