From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/adjtimex/files: adjtimex-1.29-gentoo-utc.patch |
Date: | Thu, 26 Aug 2010 20:41:56 |
Message-Id: | 20100826204152.E95E120054@flycatcher.gentoo.org |
1 | jer 10/08/26 20:41:52 |
2 | |
3 | Added: adjtimex-1.29-gentoo-utc.patch |
4 | Log: |
5 | Version bump. Respect LDFLAGS (bug #334677). Respect CC. |
6 | |
7 | (Portage version: 2.2_rc69/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/adjtimex/files/adjtimex-1.29-gentoo-utc.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/adjtimex/files/adjtimex-1.29-gentoo-utc.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/adjtimex/files/adjtimex-1.29-gentoo-utc.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: adjtimex-1.29-gentoo-utc.patch |
16 | =================================================================== |
17 | --- a/debian/adjtimexconfig |
18 | +++ b/debian/adjtimexconfig |
19 | @@ -3,6 +3,11 @@ |
20 | conffile=/etc/conf.d/adjtimex |
21 | startfile=/etc/init.d/adjtimex |
22 | |
23 | +# Get UTC setting |
24 | +source /etc/conf.d/clock |
25 | +params='' |
26 | +[ "$CLOCK" == "UTC" ] && params='--utc' |
27 | + |
28 | echo -n "Comparing clocks (this will take 70 sec)..." |
29 | |
30 | # Get the parameters |
31 | @@ -11,7 +16,7 @@ |
32 | baseline=`awk '/<= tick/{print ($1+$NF)/2}' /etc/adj.adjust` |
33 | hz=`awk '/USER_HZ/{print $3}' /etc/adj.adjust` |
34 | /usr/sbin/adjtimex --tick $baseline --frequency 0 |
35 | -/usr/sbin/adjtimex --adjust --force-adjust >/etc/adj.adjust |
36 | +/usr/sbin/adjtimex ${params} --adjust --force-adjust >/etc/adj.adjust |
37 | echo "done." |
38 | ticks=`tail -n 1 /etc/adj.adjust|awk '{print $6}'` |
39 | freq=`tail -n 1 /etc/adj.adjust|awk '{print $7}'` |