From owner-freebsd-questions Tue Feb 5 16: 6:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp3.mx.pitdc1.stargate.net (smtp3.mx.pitdc1.stargate.net [206.210.69.143]) by hub.freebsd.org (Postfix) with SMTP id 4A29237B436 for ; Tue, 5 Feb 2002 16:06:53 -0800 (PST) Received: (qmail 7167 invoked from network); 6 Feb 2002 00:06:51 -0000 Received: from dap-209-166-133-24.nfas.greensburg-tnt-2.sns234.pa.stargate.net (HELO wastegate.net) (209.166.133.24) by smtp3.mx.pitdc1.stargate.net with SMTP; 6 Feb 2002 00:06:51 -0000 Received: from mother.wastegate.net (mother.wg.local [192.168.1.2]) by wastegate.net (Postfix) with SMTP id 1BA8F48449; Tue, 5 Feb 2002 19:07:47 -0500 (EST) From: "Doug Reynolds" To: "Bsd Neophyte" , "freebsd-questions@freebsd.org" Date: Tue, 05 Feb 2002 19:09:52 -0500 Reply-To: "Doug Reynolds" X-Mailer: PMMail 2000 Professional (2.20.2380) For Windows 98 (4.10.2222) In-Reply-To: <20020205103641.25042.qmail@web20109.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: i still don't understand what cvsup does... entirely Message-Id: <20020206000747.1BA8F48449@wastegate.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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