Portupgrading - portauditing
Chris Hodgins
chodgins at cis.strath.ac.uk
Sat Feb 26 15:23:37 GMT 2005
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
More information about the freebsd-questions
mailing list