From owner-freebsd-questions@FreeBSD.ORG Sat Feb 26 15:23:37 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 718E216A4CE for ; Sat, 26 Feb 2005 15:23:37 +0000 (GMT) Received: from smtphost.cis.strath.ac.uk (smtphost.cis.strath.ac.uk [130.159.196.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC1F543D49 for ; Sat, 26 Feb 2005 15:23:36 +0000 (GMT) (envelope-from chodgins@cis.strath.ac.uk) Received: from [192.168.0.4] (chrishodgins.force9.co.uk [84.92.20.141]) j1QFNIhl005527 for ; Sat, 26 Feb 2005 15:23:18 GMT Message-ID: <4220959F.2020602@cis.strath.ac.uk> Date: Sat, 26 Feb 2005 15:28:31 +0000 From: Chris Hodgins User-Agent: Mozilla Thunderbird 1.0 (X11/20050204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CIS-MailScanner-Information: Please contact support@cis.strath.ac.uk for more information X-CIS-MailScanner: Found to be clean X-CIS-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 6) X-CIS-MailScanner-From: chodgins@cis.strath.ac.uk Subject: Re: Portupgrading - portauditing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Feb 2005 15:23:37 -0000 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