1 |
Paweł Madej schreef: |
2 |
> |
3 |
> My other question is if there is some script which could follow rrs |
4 |
> from [1] and run emerge sync and emerge -uND world after there is for |
5 |
> example 10 ebuild updated comparing to my system, or other way that |
6 |
> it will email me that there is 10 ebuilds new and i should run sync |
7 |
> manually. |
8 |
|
9 |
Well, esync might be what you want-- it's part of gentoolkit, and while |
10 |
it won't do any emerges for you, it will display (or mail you, which is |
11 |
how I do it) the list of updated packages for the day, with a note as to |
12 |
whether the package is an upgrade for your system, new to your system, |
13 |
or the like. Here's an example of the daily mail I get when I run esync |
14 |
as a cron job and mail myself the output:* Importing old portage tree |
15 |
|
16 |
* Doing '/usr/bin/emerge sync' now |
17 |
|
18 |
* Doing 'eupdatedb' now |
19 |
|
20 |
|
21 |
* esearch-index generated in 4 minute(s) and 23 second(s) |
22 |
* indexed 10357 ebuilds |
23 |
* size of esearch-index: 1618 kB |
24 |
|
25 |
* Importing new portage tree |
26 |
* Preparing databases |
27 |
* Searching for changes |
28 |
|
29 |
[ N] dev-ruby/activesupport (1.1.1-r1): Utility Classes and Extension |
30 |
to the Standard Library |
31 |
[MN] net-libs/aqbanking (1.6.0_beta): Generic Online Banking Interface |
32 |
[MN] media-sound/ardour (0.99): multi-track hard disk recording software |
33 |
[ N] mail-filter/clamsmtp (1.5): ClamSMTP is an SMTP filter that allows |
34 |
you to check for viruses using the ClamAV anti-virus software. |
35 |
[ N] dev-util/cmake (2.0.6-r1): Cross platform Make |
36 |
[ N] net-libs/cvm (0.32-r1): Credential Validation Modules by Bruce Guenter |
37 |
[ N] dev-java/dom4j (1.6.1): Easy to use, open source library for |
38 |
working with XML, XPath and XSLT on the Java platform using the Java |
39 |
Collections Framework and with full support for DOM, SAX and JAXP. |
40 |
[ N] net-mail/fetchyahoo (2.9.0): Perl script that downloads mail from |
41 |
a Yahoo! webmail account to a local mail spool, an mbox file, or to |
42 |
procmail. |
43 |
[ N] net-libs/libmonetra (4.2.2): library for connecting to a MCVE |
44 |
Credit Card Processing Daemon via SSL, TCP/IP, and drop-files. |
45 |
[ N] net-analyzer/libnasl (2.2.5): A remote security scanner for Linux |
46 |
(libnasl) |
47 |
[ U] www-client/mozilla-firefox (1.0.7-r1): Firefox Web Browser |
48 |
[ N] net-analyzer/nagios-core (1.2-r3): Nagios Core - Check daemon, |
49 |
CGIs, docs |
50 |
[ N] net-dns/ndu (0.4-r2): DNS serial number incrementer and reverse |
51 |
zone builder |
52 |
[ N] net-analyzer/nessus (2.2.5): A remote security scanner for Linux |
53 |
[ N] net-analyzer/nessus-core (2.2.5): A remote security scanner for |
54 |
Linux (nessus-core) |
55 |
[ N] net-analyzer/nessus-libraries (2.2.5): A remote security scanner |
56 |
for Linux (nessus-libraries) |
57 |
[ N] net-analyzer/nessus-plugins (2.2.5): A remote security scanner for |
58 |
Linux (nessus-plugins) |
59 |
[ N] mail-client/nmh (1.1-r1): New MH mail reader |
60 |
[MN] x11-misc/openclipart (0.17-r1): Open Clip Art Library |
61 |
(openclipart.org) |
62 |
[MN] app-office/qbankmanager (0.9.29): Onlinebanking frontend for aqbanking |
63 |
[MN] x11-misc/service-discovery-applet (0.1): Service Discovery Applet |
64 |
[MN] sys-block/unieject (5): Multiplatform command to eject and load |
65 |
CD-Rom drives |
66 |
[MN] media-libs/urt (3.1b): the Utah Raster Toolkit is a library for |
67 |
dealing with raster images |
68 |
[MN] sys-cluster/vzctl (2.7.0.21): OpenVZ VPS control utility |
69 |
[ N] x11-plugins/wmail (2.0-r2): Window Maker dock application showing |
70 |
incoming mail |
71 |
[ N] x11-plugins/wmlpq (0.2.1-r1): Windowmaker dockapp which monitors |
72 |
up to 5 printqueues |
73 |
[ N] x11-plugins/wmmenu (1.2-r1): WindowMaker DockApp: Provides a popup |
74 |
menu of icons like in AfterStep, as a dockable application. |
75 |
[ N] x11-plugins/wmnetload (1.3-r2): Network interface monitor dockapp |
76 |
|
77 |
|
78 |
The only upgrade (this is from the 27th), is firefox, but I might take a |
79 |
look at wmail. Nothing else interesting to me on this particular list. |
80 |
|
81 |
I suppose if you really felt that you wanted to have an emerge of the |
82 |
new packages done automatically, you could always create a script to run |
83 |
esync and mail you the output, then run emerge -uD world after esync |
84 |
completed successfully (doesn't seem much point in using --newuse if |
85 |
you're not going to be there to look at the output), but I prefer to do |
86 |
my emerges manually. |
87 |
|
88 |
Hope this helps, |
89 |
Holly |
90 |
-- |
91 |
gentoo-user@g.o mailing list |