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 [EMAIL PROTECTED] 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 -- [email protected] mailing list
