Paweł Madej schreef:
> 
> My other question is if there is some script which could follow rrs 
> from [1] and run emerge sync and emerge -uND world after there is for
>  example 10 ebuild updated comparing to my system, or other way that 
> it will email me that there is 10 ebuilds new and i should run sync 
> manually.

Well, esync might be what you want-- it's part of gentoolkit, and while
it won't do any emerges for you, it will display (or mail you, which is
how I do it) the list of updated packages for the day, with a note as to
whether the package is an upgrade for your system, new to your system,
or the like. Here's an example of the daily mail I get when I run esync
as a cron job and mail myself the output:* Importing old portage tree

 * Doing '/usr/bin/emerge sync' now

 * Doing 'eupdatedb' now


 * esearch-index generated in 4 minute(s) and 23 second(s)
 * indexed 10357 ebuilds
 * size of esearch-index: 1618 kB

 * Importing new portage tree
 * Preparing databases
 * Searching for changes

[ N] dev-ruby/activesupport (1.1.1-r1):  Utility Classes and Extension
to the Standard Library
[MN] net-libs/aqbanking (1.6.0_beta):  Generic Online Banking Interface
[MN] media-sound/ardour (0.99):  multi-track hard disk recording software
[ N] mail-filter/clamsmtp (1.5):  ClamSMTP is an SMTP filter that allows
you to check for viruses using the ClamAV anti-virus software.
[ N] dev-util/cmake (2.0.6-r1):  Cross platform Make
[ N] net-libs/cvm (0.32-r1):  Credential Validation Modules by Bruce Guenter
[ N] dev-java/dom4j (1.6.1):  Easy to use, open source library for
working with XML, XPath and XSLT on the Java platform using the Java
Collections Framework and with full support for DOM, SAX and JAXP.
[ N] net-mail/fetchyahoo (2.9.0):  Perl script that downloads mail from
a Yahoo! webmail account to a local mail spool, an mbox file, or to
procmail.
[ N] net-libs/libmonetra (4.2.2):  library for connecting to a MCVE
Credit Card Processing Daemon via SSL, TCP/IP, and drop-files.
[ N] net-analyzer/libnasl (2.2.5):  A remote security scanner for Linux
(libnasl)
[ U] www-client/mozilla-firefox (1.0.7-r1):  Firefox Web Browser
[ N] net-analyzer/nagios-core (1.2-r3):  Nagios Core - Check daemon,
CGIs, docs
[ N] net-dns/ndu (0.4-r2):  DNS serial number incrementer and reverse
zone builder
[ N] net-analyzer/nessus (2.2.5):  A remote security scanner for Linux
[ N] net-analyzer/nessus-core (2.2.5):  A remote security scanner for
Linux (nessus-core)
[ N] net-analyzer/nessus-libraries (2.2.5):  A remote security scanner
for Linux (nessus-libraries)
[ N] net-analyzer/nessus-plugins (2.2.5):  A remote security scanner for
Linux (nessus-plugins)
[ N] mail-client/nmh (1.1-r1):  New MH mail reader
[MN] x11-misc/openclipart (0.17-r1):  Open Clip Art Library
(openclipart.org)
[MN] app-office/qbankmanager (0.9.29):  Onlinebanking frontend for aqbanking
[MN] x11-misc/service-discovery-applet (0.1):  Service Discovery Applet
[MN] sys-block/unieject (5):  Multiplatform command to eject and load
CD-Rom drives
[MN] media-libs/urt (3.1b):  the Utah Raster Toolkit is a library for
dealing with raster images
[MN] sys-cluster/vzctl (2.7.0.21):  OpenVZ VPS control utility
[ N] x11-plugins/wmail (2.0-r2):  Window Maker dock application showing
incoming mail
[ N] x11-plugins/wmlpq (0.2.1-r1):  Windowmaker dockapp which monitors
up to 5 printqueues
[ N] x11-plugins/wmmenu (1.2-r1):  WindowMaker DockApp: Provides a popup
menu of icons like in AfterStep, as a dockable application.
[ N] x11-plugins/wmnetload (1.3-r2):  Network interface monitor dockapp


The only upgrade (this is from the 27th), is firefox, but I might take a
look at wmail. Nothing else interesting to me on this particular list.

I suppose if you really felt that you wanted to have an emerge of the
new packages done automatically, you could always create a script to run
esync and mail you the output, then run emerge -uD world after esync
completed successfully (doesn't seem much point in using --newuse if
you're not going to be there to look at the output), but I prefer to do
my emerges manually.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to