From owner-freebsd-questions Fri Apr 21 14: 9: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 7366E37BA8A for ; Fri, 21 Apr 2000 14:09:05 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.228]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Sat, 22 Apr 2000 14:12:54 -0700 Message-ID: <3900C34B.DFBAEF94@3-cities.com> Date: Fri, 21 Apr 2000 14:08:27 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Nils Holland Cc: freebsd-questions@freebsd.org Subject: Re: Updated system, now update ports? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nils Holland wrote: > > Well, now I have synchronized my system's sources using CVSup. I've also > "made world" and it wasn't at all as hard as I expected. BUT: I think I > have to update my ports-collection as well, since the ports collection of > my *old* system (before syncing sources and making world) obviously won't > compile. So I thought I'd get the whole /ports dir from an FTP-Server. I > would then rm -r my local ports dir and place the new one there. Is this > the *correct* way to do it? I think so, but I thought I'd better ask first > because I don't know if deleting my current ports dir in order to install > a new one will harm something (for example the database in which the ports > I have already built are installed). > I hope someone can tell me if what I'm planning to do is right, or ,if > not, how I should do it instead... Why make a lot of work when you can keep up todate using cvsup. The easiest way to upgrade everything is by using the ports-supfile. You can combine them but I prefer to update the ports independantly from the system source and the docs. I copied the "ports-supfile" into a directory in my root user space. Then, I created a shell script called "uports" that fires off a cvsup using ports-stable. My uports looks like /root/bin/uports < #! /bin/sh cd /root/cvsup cvsup -g -L 2 ports-supfile > I just edited ports-supfile to do a "ports-all". BTW, I have a similar script file for "updocs" and "upstable". Kent > > Thanks, > Nils > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message