Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2000 14:08:27 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Nils Holland <nils@frozenfeelings.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Updated system, now update ports?
Message-ID:  <3900C34B.DFBAEF94@3-cities.com>
References:  <Pine.BSF.4.21.0004212144570.1503-100000@ilka.ncptiddische.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




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