Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 10:12:27 -0800
From:      "Sam Leffler (at Usenix)" <sam@usenix.org>
To:        <freebsd-small@freebsd.org>
Subject:   crunch.conf for picobsd+openssh
Message-ID:  <052601c1705c$9844c370$a665a8c0@errno.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?052601c1705c$9844c370$a665a8c0>