Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2002 19:09:52 -0500
From:      "Doug Reynolds" <mav@wastegate.net>
To:        "Bsd Neophyte" <bsdneophyte@yahoo.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: i still don't understand what cvsup does... entirely
Message-ID:  <20020206000747.1BA8F48449@wastegate.net>
In-Reply-To: <20020205103641.25042.qmail@web20109.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Feb 2002 02:36:41 -0800 (PST), Bsd Neophyte wrote:


>I've read the section on cvsup in both the handbook and in Greg Lehey's
>book... but it still confuses me.

>Lemme explain it the way I understand it and then you guys can correct me
>and/or add information (actually i'd really appreciate details).

>First, can someone distingusih between ports and between sources?

the "ports" are a compilation of program descriptions, Makefiles and
patches.  the sources are the actual source code from the author.  the
patches are made by the maintainer to patch the source that the port
script downloads when you make the port.

basically a port is just a mini install program that compiles the
program from scratch.

>As far as I can gather it does something with sources... and I think
>ports.
>
>If one has a ports and sources list... cvsup updates this list, removing
>items that are obsolete with more current information about the latest
>port or source.  CVSUP doesn't actually download the port or source to
>your system, it merely gives a pointer where you can download the source
>or port.

exactly.  it just updates the patches / makefiles / documents with the
port.  and of course tells it where to get the new src.

>One has the ability to install a port or source by going to the specific
>directory and typing "make clean && make && make install" (I think I've
>left something out in that command string).

to make a port, you generally want to ->

make install && make clean

make install downloads, compiles, and installes the port.  make clean
cleans all the work files etc

at least this is the way i do it.  others might have a more enlightened
way.  

>Now, I have a little more confusion when it comes to upgrading FreeBSD
>using this method... 

bottom line-

cvsup compares what you have on your system to what you want on the
server, and updates it accordingly.

>When you run cvsup does it automatically download the latest release
>sources?  Or is there a special method you need to download the these
>sources?

basically, it compares the system srcs you have to the ones on the
server you connect to.  if yours are different, it changes them to
bring them up-to-date.

then you re-compile (make) the kernel (kinda then brain of the os), and
make all of the little programs them go along with the system (ie ls,
more, top, chmod, etc)

then you install them (it is all automatic, it knows where everything
goes), and them you are updated to the latest.


---
doug reynolds | the maverick | mav@wastegate.net

PGP Public Key Fingerprint: 6E7B 9993 B503 6D45  E33A 2019 26E5 C1DB



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020206000747.1BA8F48449>