Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 22:32:45 +0200
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        "Mezz bsdforums.org" <reigncracks@hotmail.com>
Cc:        cjm@ava.com.au
Subject:   Re: keep ports up to date.
Message-ID:  <20030508203245.GE72477@martin.kleinerdrache.org>
In-Reply-To: <Sea2-F63hXNjXwUUv1l0000e394@hotmail.com>; from reigncracks@hotmail.com on Do, Mai 08, 2003 at 21:21:26 %2B0200
References:  <Sea2-F63hXNjXwUUv1l0000e394@hotmail.com>

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

Am 2003.05.08 21:21 schrieb(en) Mezz bsdforums.org:
>>> 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
> -------------------------------------

I know, but I want to make sure that I have the possibility to choose 
what I want to update, and there are some ports I really want to update 
by hand.  (tmda for example)  So I have the

vi /root/work/update

line for removeing some ports I want to update by hand.  (Normally I do 
that before I close the vi)

Martin



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