From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1ECyxV-0004ze-Uo for garchives@archives.gentoo.org; Wed, 07 Sep 2005 12:23:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j87CICai026903; Wed, 7 Sep 2005 12:18:12 GMT Received: from indigorobot.com (rrcs-24-73-229-216.se.biz.rr.com [24.73.229.216]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j87CIBSF010340 for ; Wed, 7 Sep 2005 12:18:11 GMT Subject: Re: [gentoo-server] prioritising security updates From: xyon To: gentoo-server@lists.gentoo.org In-Reply-To: <431E0FDA.70805@lunatic.net.nz> Content-Type: text/plain Date: Wed, 07 Sep 2005 08:21:41 -0400 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 (--) X-Spam-Report: Spam detection software, running on the system "www02.indigorobot.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I have a 'quick n dirty' script cron'd up that at the top lets me know the security updates, below lets me know the version updates, and below that displays the changelog of packages available for update: [...] Content analysis details: (-2.8 points, 3.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.8 ALL_TRUSTED Did not pass through any untrusted hosts Message-Id: X-Archives-Salt: 84eb46c5-d4fd-432f-a768-5301e29e9307 X-Archives-Hash: fb4786397156685b18c63f5a40557fde I have a 'quick n dirty' script cron'd up that at the top lets me know the security updates, below lets me know the version updates, and below that displays the changelog of packages available for update: ----------------------------------------------------------------------------- #!/bin/sh emerge --sync echo '***************************' > /tmp/updates.txt echo ' System Updates ' >> /tmp/updates.txt echo '***************************' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo 'Critical Updates:' >> /tmp/updates.txt glsa-check -l 2>/dev/null | grep '\[N\]' | grep -v 'indicates that'|cut -d ']' -f2 >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo 'Non-Critical Updates:' >> /tmp/updates.txt emerge -up world >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo 'Changelogs:' >> /tmp/updates.txt emerge -upl world >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt echo ' ' >> /tmp/updates.txt mutt -s 'Server Updates' -i /tmp/updates.txt -x myuser@mydomain.com rm /tmp/updates.txt ----------------------------------------------------------------------- It actually comes out to a nicely formatted email. :) HTH! On Wed, 2005-09-07 at 09:53 +1200, Jeremy Brake wrote: > Hey, > > Is there anything in Portage which will allow me to view security > updates, seperate from general version updates? > At the moment i have a 5am cron job which runs "emerge --sync && emerge > -upvD world" , and i just glance at it as soon as I i sit down at my pc > for the day. > The problem here is that I cant tell if updates (eg, at the moment it > wants to update openssh and apache2) are security patches, or just > general version upgrades. > > I know i can use "system" instead of "world" and omit the -D option, but > thats not targeting my issue exactly. Is there a way to see which > updates are security patches, without having to manually trawl through > webpages and changelogs? > > Jeremy -- gentoo-server@gentoo.org mailing list