From owner-freebsd-small Sun Nov 18 10:12:36 2001 Delivered-To: freebsd-small@freebsd.org Received: from usenix.org (voyager.usenix.org [131.106.3.1]) by hub.freebsd.org (Postfix) with ESMTP id DDC4137B419 for ; Sun, 18 Nov 2001 10:12:30 -0800 (PST) Received: from melange (melange.errno.com [66.124.149.178]) (authenticated (0 bits)) by usenix.org (Switch-2.1.3/Switch-2.1.0) with ESMTP id fAIICdP03911 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO) for ; Sun, 18 Nov 2001 10:12:45 -0800 (PST) Message-ID: <052601c1705c$9844c370$a665a8c0@errno.com> From: "Sam Leffler (at Usenix)" To: Subject: crunch.conf for picobsd+openssh Date: Sun, 18 Nov 2001 10:12:27 -0800 Organization: Usenix Association MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-DCC-Usenix-Metrics: voyager 1010; IP=82 env_From=82 From=many Subject=1 Message-ID=1 Body=1 Fuz1=1 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I took "theWall"'s picobsd configuration and tried to incorporate ssh, sshd, and scp but haven't been able to figure out the necessary crunchgen configuration glop to get things to work. I can make things work by editing the crunch1.mk file directly but I want something more maintainable. Has anyone done this and want to share their results? All this is with 4.4 (-stable). For those that care there are three issues: 1. scp, ssh, and sshd are built by referencing libssh.a that's built in another directory, but never installed. I see no crunchgen mechanism for specifying a make target other than "prog". But since libssh.a isn't an executable and has no main entry point, prog isn't appropriate. 2. I don't see any way to specify that scp, ssh, and sshd should reference a libssh.a, if I can build it. Listing all the .o files with objs is problematic because they aren't in the same directory as the target so you're forced to also specify the objpath and even that leads to problems. 3. scp, ssh, and sshd aren't crunchgen-aware so you need to wack them to do the right thing when built with RELEASE_CRUNCH, etc. Not a big deal. I tried contacting the crunchgen author but perhaps there's someone currently maintaining it? I don't mind adding to crunchgen if there really is no way to do what I want. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message