congrats and update questions

Previous thread: multiple subnets and gateways on CARP interface by Mark Nipper on Wednesday, October 29, 2008 - 11:29 am. (3 messages)

Next thread: Medicina Chinesa - Doen by Cl on Wednesday, October 29, 2008 - 12:46 pm. (1 message)
From: Kapetanakis Giannis
Date: Wednesday, October 29, 2008 - 12:19 pm

Hi all,

First I'd like to give my congrats to all OpenBSD dev team.
The last time I used it was back in 2.5 release.

I decided to check it out again when an old alpha came in my hands recently,
which was ideal running particular services (replacement for an RS6000 
that died).
I also installed it today on a newer PA-RISC 8600 (smp is not yet there 
but I can live :)

It's simplicity, efficiency, maturity and the logic of the whole project
made another happy sysadm (the rms thread in this list also contributed 
to this....omg :))
Well done again! (I needed to say this)

And a few quick questions since I haven't found relevant info online:

a) for how long each release is being supported in terms
of security patches (as well as important updates) after a new release 
is out?
This applies for the i386 only or all the archs?

b) if the userland (make build in /usr/src) updating is forced to stop,
how can you continue from the point it's stopped.

c) I choosed to follow the -stable release OPENBSD_4_3. What happens
when I update my sources with cvs up? Do I have to rebuild the whole thing
again from scratch or does it detect  the new diffs and 
compiles/installs there only?
Are there any other working options available?
I don't want to make a mess by playing with make args.

regards,

Giannis

From: Jim Razmus
Date: Wednesday, October 29, 2008 - 12:57 pm

Short answer: the two most current releases are supported.

http://www.openbsd.org/faq/faq5.html


make should be able to figure out what's built and what's not.  Try
another make build and see, or go conservatively with make clean,

Your question implies some unfamiliarity with the build tools and
process.  I recommend studying FAQ 5 as well as these:

http://www.openbsd.org/faq/current.html


Good luck!

Jim

From: Kapetanakis Giannis
Date: Thursday, October 30, 2008 - 4:42 am

It looks like at least 'make build' does not continue and starts all over.
I'll try to give an example of what I mean, because probably I din't make my
self clear.

One day I do:
cd /usr; cvs checkout -P -rOPENBSD_4_3 src
cd /usr/src; cvs -d $CVSROOT up -rOPENBSD_4_3 -Pd
rm -rf /usr/obj/*
cd /usr/src
make obj
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
cd /usr/src
make build

this updates the system succesfully.

Then the next day I do:
cd /usr/src; cvs -d $CVSROOT up -rOPENBSD_4_3 -Pd
a few files are updated

a) either I could go direclty in the updated directories and run
make obj; make depend; make ; make install
or
b) cd /usr/src
make obj
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
cd /usr/src
make build

the last command rebuilds everything from scratch. At least It's looks 
like it cause it
deletes/configures/compiles/installs for hours.

Is there a way from /usr/src to build/install only the updated programs
(and the ones which depend on them)
instead of building the everything from scratch?
would `make depend; make; make install` instead of `make build` be a 
valid way of doing things?

thanks for the answer

Giannis

Previous thread: multiple subnets and gateways on CARP interface by Mark Nipper on Wednesday, October 29, 2008 - 11:29 am. (3 messages)

Next thread: Medicina Chinesa - Doen by Cl on Wednesday, October 29, 2008 - 12:46 pm. (1 message)