crunch & crunchgen?

View: New views
3 Messages — Rating Filter:   Alert me  

crunch & crunchgen?

by Fred Snurd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm attempting to create a release of OpenBSD 4.5, and FAQ 5.4 states that crunch/crunchgen can be built by:

# cd /usr/src/distrib/crunch && make obj depend all install

However,
I'm not finding this directory.  Source for crunchgen can be found in
/usr/src/usr.sbin and crunch isn't found at all.
/usr/src/usr.sbin/crunchgen/README states that crunch can be
downloaded, but I'm curious why this isn't found in /usr/src?

Thanks.


Re: crunch & crunchgen?

by Theo de Raadt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I'm attempting to create a release of OpenBSD 4.5, and FAQ 5.4 states that crunch/crunchgen can be built by:
>
> # cd /usr/src/distrib/crunch && make obj depend all install
>
> However,
> I'm not finding this directory.  Source for crunchgen can be found in
> /usr/src/usr.sbin and crunch isn't found at all.
> /usr/src/usr.sbin/crunchgen/README states that crunch can be
> downloaded, but I'm curious why this isn't found in /usr/src?

After OpenBSD 4.4, crunchgen became part of the standard build
process, so it is 'just there', and you don't need to do anything
special.

I suggest you use the snapshots.


Re: crunch & crunchgen?

by Nick Holland :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fred Snurd wrote:

> I'm attempting to create a release of OpenBSD 4.5, and FAQ
> 5.4 states that crunch/crunchgen can be built by:
>
> # cd /usr/src/distrib/crunch && make obj depend all install
>
> However,
> I'm not finding this directory.  Source for crunchgen can be found in
> /usr/src/usr.sbin and crunch isn't found at all.
> /usr/src/usr.sbin/crunchgen/README states that crunch can be
> downloaded, but I'm curious why this isn't found in /usr/src?
>
> Thanks.

The FAQ entry you reference was corrected recently (too recently,
admittedly -- 8/31) to reflect the new reality in OpenBSD 4.5
and later, but even before that, the FAQ indicated this was
removed for 4.5:

   NOTE: For -current and upcoming 4.5, crunch and crunchgen are
   part of the base system, skip the separate build step below.

SO..you are either looking at an obsolete hard copy or a stalled
mirror.  If the later, please let me know what one so I can either
lay a beating on the operator or de-list it.

Nick.