On Tue, 4 Feb 2003 21:37:27 -0000 , [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to