Portupgrading - portauditing

Nick Pavlica linicks at gmail.com
Sat Feb 26 19:22:52 GMT 2005


I believe if you do a portuprade -arR you will also upgrade any dependant ports.


On Sat, 26 Feb 2005 15:28:31 +0000, Chris Hodgins
<chodgins at cis.strath.ac.uk> wrote:
> George Katsanos wrote:
> >
> > Hello,
> >
> > Your team is ALWAYS very helpful . It's the best support i've ever dealt with.
> >
> > Question : How do i portupgrade , just the pkgs/ports that portaudit -a sais
> > have vulnerabilities,and not the whole thing?
> >
> > Thank you
> >
> >
> > G.K.
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> >
> 
> Are you after a way to do this automatically or just a way to do it
> generally?
> 
> You basically want to run portaudit -a and portupgrade each "Affected
> Package".  You could probably script this quite easily:
> 
> for i in `portaudit -a | grep "Affected package:" | awk '{print $3}'`
> do
>      portupgrade $FLAGS $i
> done
> 
> Hope this is what you were after. :)
> Chris
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list