Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 10:43:45 -0000 
From:      "local.freebsd.questions" <freebsd-questions-local@insignia.com>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: portupgrading problems
Message-ID:  <2F03DF3DDE57D411AFF4009027B8C3670289D77C@exchange-uk.isltd.insignia.com>

next in thread | raw e-mail | index | archive | help
On Tue, 4 Feb 2003 21:37:27 -0000 , pippo@bellnet.ca wrote:

>My usual procedure is this:
>
>cvsup -g -L 2 /usr/share/examples/cvsup/ports-supfile && portsdb -Uu
>
>I then check to see what is out of date and usually run portupgrade -ra

I run the following script from cron at 3am:

>#!/bin/sh
>#
># Use cvsup to upgrade the system sources and ports skeletons
># If portupgrade is installed, rebuild its databases
>#
>CVSBASE=/usr/share/examples/cvsup/standard-supfile
>CVSPORT=/usr/share/examples/cvsup/ports-supfile
>HOST=cvsup3.uk.freebsd.org
>#
>cvsup=/usr/local/bin/cvsup
>portsdb=/usr/local/sbin/portsdb
>pkgdb=/usr/local/sbin/pkgdb
>#
>$cvsup -Z -h $HOST $CVSBASE
>$cvsup -Z -h $HOST $CVSPORT
>#
>if [ -x $portsdb ]
>then
>  $portsdb -Uu
>fi
>if [ -x $pkgdb ]
>then
>  $pkgdb -Fu
>fi


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?2F03DF3DDE57D411AFF4009027B8C3670289D77C>