I was going to send a similar note because the FAQ outlines several different 
ways of how to use CVS (more on this later).

The easy way to get to -stable is to download the tar.gz patches from 
http://www.openbsd.org/errata43.html and follow the instructions from 
http://openbsd.org/faq/faq10.html#Patches.  I applied the two patches and only 
had to recompile OpenSSH.  The way I did it was to I make a Patches directory 
in /usr/src.  Is this the correct way to do it or where is the best place to 
untar it?

My initial plan was to use CVS.  My starting point is to have all the release 
sources extracted to the correct directories. As outlined: the src.tar.gz and 
sys.tar.gz going to /usr/src while ports.tar.gz and xenocara.tar.gz going to 
/usr

Now to update via CVS...I have picked out an AnonCVS server.  I have no problem 
understanding the syntax, I'm just trying to follow the method.  I have reread 
the FAQ sections multiple times.  

The OpenBSD AnonCVS page http://openbsd.org/anoncvs.html#starting states to use 
'get' and shows how for src and ports only.
The chapter 5 section http://openbsd.org/faq/faq5.html#Bld states to use the 
'checkout' option with the sys.tar.gz left out in the example.  It also 
mentions that updates must be done directory-by-directory.

What is the difference between the get and checkout options?
What working directory should I be in while I run the update CVS command as I 
attempt to get all four: src, sys, ports, xenocara.

Also, Are there any other easier ways available to update the all sources via 
an add-on package?

Thanks,
Szilveszter
OpenBSD newbie.

> Date: Mon, 19 May 2008 14:10:08 -0400
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Building -stable
> 
> 
> Ok, I'm trying to build the current 4.3 -stable branch for a firewall 
> install I'm working on.  Nothing major going on here, just ran CVS and got 
> the sources, GENERIC kernel.  The machine's virtual: Parallels on a Mac Pro.
> 
> I'm getting this error at the end of the userland build:
> 
> ---
> mkdep -a -nostdinc -idirafter /usr/dest/usr/include
> /usr/src/usr.sbin/chroot/chroot.c
> ===> usr.sbin/config
> make: don't know how to make mkmakefile.c. Stop in /usr/src/usr.sbin/config.
> *** Error code 2
> 
> Stop in /usr/src/usr.sbin (line 48 of /usr/share/mk/bsd.subdir.mk).
> *** Error code 1
> 
> Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk).
> *** Error code 1
> 
> Stop in /usr/src (line 73 of Makefile).
> ---
> 
> Anyone have any ideas on where I should go from here?  The system appears 
> to boot and operate normally...
> 
> Daniel T. Staal
> 
> ---------------------------------------------------------------
> This email copyright the author.  Unless otherwise noted, you
> are expressly allowed to retransmit, quote, or otherwise use
> the contents for non-commercial purposes.  This copyright will
> expire 5 years after the author's death, or in 30 years,
> whichever is longer, unless such a period is in excess of
> local copyright law.
> ---------------------------------------------------------------
> _______________________________________________
> Openbsd-newbies mailing list
> [email protected]
> http://mailman.theapt.org/listinfo/openbsd-newbies
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to