keep ports up to date.
Mezz bsdforums.org
reigncracks at hotmail.com
Thu May 8 12:21:27 PDT 2003
>>You should
>>install
>>sysutils/portupgrade, and get used to using it to keep your installed
>>ports up-to-date.
>
>I'm using this script by hand daily:
>
>--------- ports_uptodate.sh ----------
>#!/bin/sh
> if [ "$1" != "-s" ]; then
> cd /usr/ports
> cp INDEX.ports INDEX
> make update
> cp INDEX INDEX.ports
> marcusmerge -u
> portsdb -uU
>fi
> pkgdb -F
>portversion -l "<" | awk '{ print($1); }' > /root/work/update
>vi /root/work/update
> portupgrade `cat /root/work/update`
>pkgdb -F
>-------------------------------------
You can cut the portversion to portupgrade like this:
-------------------------------------
....
....
pkgdb -F
portupgrade -ra
pkgdb -F
-------------------------------------
Cheers,
Mezz
>Martin
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
More information about the freebsd-gnome
mailing list