portupgrade -a useful option??

RW fbsd06 at mlists.homeunix.com
Fri Dec 29 04:08:38 PST 2006


On Thu, 28 Dec 2006 10:48:50 -0800
Vizion <vizion at vizion.occoxmail.com> wrote:

> Gi
> 
> I just wondered whether using portupgrade -a there might be any way
> to have an initial interactive dialogue to set all option for all
> ports to be upgraded during the run so as to facilitate an attendance
> free upgrade procedure. 
> 
> Maybe there is already some way to do this - if so perhaps someone
> could enlighten me.


I use this shell script:


#!/bin/sh
plist=`pkg_version -ovl'<' |awk '{ print $1 }'`
for porg in $plist ; do
    cd  /usr/ports/${porg} && make config-recursive
done


More information about the freebsd-questions mailing list