Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2005 12:22:51 -0700
From:      Nick Pavlica <linicks@gmail.com>
To:        Chris Hodgins <chodgins@cis.strath.ac.uk>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Portupgrading - portauditing
Message-ID:  <dc9ba04405022611223401f57@mail.gmail.com>
In-Reply-To: <4220959F.2020602@cis.strath.ac.uk>
References:  <4220959F.2020602@cis.strath.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



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