From owner-freebsd-small Sat Dec 23 4:11:41 2000 From owner-freebsd-small@FreeBSD.ORG Sat Dec 23 04:11:40 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from tao.org.uk (genesis.tao.org.uk [194.242.131.94]) by hub.freebsd.org (Postfix) with ESMTP id 9BFA537B400 for ; Sat, 23 Dec 2000 04:11:39 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 48AE03224; Sat, 23 Dec 2000 12:11:30 +0000 (GMT) Date: Sat, 23 Dec 2000 12:11:30 +0000 From: Josef Karthauser To: Luigi Rizzo Cc: small@FreeBSD.ORG Subject: Re: a question Message-ID: <20001223121130.A621@tao.org.uk> References: <20001222110144.A498@tao.org.uk> <200012221955.eBMJtON78497@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200012221955.eBMJtON78497@iguana.aciri.org>; from rizzo@aciri.org on Fri, Dec 22, 2000 at 11:55:24AM -0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Dec 22, 2000 at 11:55:24AM -0800, Luigi Rizzo wrote: > .. > > On the other hand is there anyone who knows openssh who would be > > willing to help make it smaller? > > It seems to me to be better to use code that's already in the tree > > if possible. > [cut] > Take the tcpdump example -- the version in 3.4 is 48KB when included > in the build. The version in 4.2 is 100KB, as it has lot more > "printers". Trimming it requires #ifdef'ing out parts in many source > files to remove functionality, in the end it becomes a very diffent > thing and it is easier to just use the older version. > > Ditto for *ssh -- even worse there because the code is very > ugly and badly structured, and taking pieces away is not trivial. Perhaps we should just add any pico-specifiy tools to the tinyware subdirectory. BTW, if anyone fancies a small project, sps in tinyware is currently broken under -current. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message