rpms/ntp/devel ntp-4.2.4p7-getprecision.patch, NONE, 1.1 ntp-4.2.4-html2man.patch, 1.3, 1.4 ntp-4.2.4p5-htmldoc.patch, 1.1, 1.2 ntp.spec, 1.94, 1.95
Miroslav Lichvar
mlichvar at fedoraproject.org
Tue Sep 29 12:26:31 UTC 2009
- Previous message (by thread): rpms/desktop-printing/devel dead.package, NONE, 1.1 Makefile, 1.2, NONE desktop-printing-0.19-crash.patch, 1.1, NONE desktop-printing-0.19-dbus-api.patch, 1.2, NONE desktop-printing-0.19-dbus-deprecated.patch, 1.1, NONE desktop-printing-0.19-hal_lpadmin.patch, 1.1, NONE desktop-printing-0.19-more-hal-lpadmin.patch, 1.1, NONE desktop-printing-0.19-transparent.patch, 1.1, NONE desktop-printing-0.20-category.patch, 1.1, NONE desktop-printing-0.20-dbus-close.patch, 1.1, NONE desktop-printing.spec, 1.89, NONE eggcups-api-name.patch, 1.2, NONE eggcups-cancel-remote-job.patch, 1.1, NONE eggcups-cups12.patch, 1.1, NONE eggcups-dbus-send-null-crash.patch, 1.1, NONE eggcups-xml-parsing.patch, 1.1, NONE redhat-print-applet.desktop, 1.3, NONE sources, 1.24, NONE
- Next message (by thread): rpms/parrot/F-12 parrot.spec,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mlichvar
Update of /cvs/pkgs/rpms/ntp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21583
Modified Files:
ntp-4.2.4-html2man.patch ntp-4.2.4p5-htmldoc.patch ntp.spec
Added Files:
ntp-4.2.4p7-getprecision.patch
Log Message:
- generate tickadj man page (#526161)
- fix precision calculation on fast CPUs
ntp-4.2.4p7-getprecision.patch:
ntp_proto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE ntp-4.2.4p7-getprecision.patch ---
diff -up ntp-4.2.4p7/ntpd/ntp_proto.c.getprecision ntp-4.2.4p7/ntpd/ntp_proto.c
--- ntp-4.2.4p7/ntpd/ntp_proto.c.getprecision 2009-09-29 14:16:22.000000000 +0200
+++ ntp-4.2.4p7/ntpd/ntp_proto.c 2009-09-29 14:18:13.000000000 +0200
@@ -3099,7 +3099,7 @@ peer_unfit(
/*
* Find the precision of this particular machine
*/
-#define MINSTEP 100e-9 /* minimum clock increment (s) */
+#define MINSTEP 10e-9 /* minimum clock increment (s) */
#define MAXSTEP 20e-3 /* maximum clock increment (s) */
#define MINLOOPS 5 /* minimum number of step samples */
ntp-4.2.4-html2man.patch:
html2man.in | 102 +++++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 67 insertions(+), 35 deletions(-)
Index: ntp-4.2.4-html2man.patch
===================================================================
RCS file: /cvs/pkgs/rpms/ntp/devel/ntp-4.2.4-html2man.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- ntp-4.2.4-html2man.patch 29 Jan 2007 13:33:45 -0000 1.3
+++ ntp-4.2.4-html2man.patch 29 Sep 2009 12:26:31 -0000 1.4
@@ -1,6 +1,6 @@
--- ntp-4.2.4/scripts/html2man.in.html2man 2006-06-06 22:17:10.000000000 +0200
+++ ntp-4.2.4/scripts/html2man.in 2007-01-08 12:47:31.000000000 +0100
-@@ -23,10 +23,10 @@
+@@ -23,10 +23,11 @@
'ntpq' => ['ntpq', 8, 'ntpd(8), ntpdc(8)'],
'ntpdate' => ['ntpdate', 8, 'ntpd(8)'],
'ntpdc' => ['ntpdc', 8, 'ntpd(8)'],
@@ -9,6 +9,7 @@
'ntptrace' => ['ntptrace', 8, 'ntpd(8)'],
'keygen' => ['ntp-keygen', 8, 'ntpd(8), ntp_auth(5)'],
- 'confopt' => ['ntp.conf', 5, 'ntpd(8)'],
++ 'tickadj' => ['tickadj', 8, 'ntpd(8)'],
+ 'confopt' => ['ntp.conf', 5, 'ntpd(8), ntp_auth(5), ntp_mon(5), ntp_acc(5), ntp_clock(5), ntp_misc(5)'],
'authopt' => ['ntp_auth', 5, 'ntp.conf(5), ntpd(8)'],
'monopt' => ['ntp_mon', 5, 'ntp.conf(5)'],
ntp-4.2.4p5-htmldoc.patch:
ntp-4.2.4p5/html/authopt.html | 4 ++--
ntp-4.2.4p5/html/confopt.html | 4 ++--
ntp-4.2.4p5/html/keygen.html | 10 ++++++----
ntp-4.2.4p5/html/monopt.html | 16 ++++------------
ntp-4.2.4p5/html/ntpd.html | 24 +++++++++++++++++-------
ntp-4.2.4p5/html/ntpdate.html | 16 ++++++++--------
ntp-4.2.4p5/html/ntpdc.html | 20 +++++++++++---------
ntp-4.2.4p5/html/ntpq.html | 12 ++++++------
ntp-4.2.4p5/html/ntptrace.html | 10 +---------
ntp-4.2.4p7/html/tickadj.html | 6 ++++--
10 files changed, 61 insertions(+), 61 deletions(-)
Index: ntp-4.2.4p5-htmldoc.patch
===================================================================
RCS file: /cvs/pkgs/rpms/ntp/devel/ntp-4.2.4p5-htmldoc.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ntp-4.2.4p5-htmldoc.patch 29 Aug 2008 08:26:04 -0000 1.1
+++ ntp-4.2.4p5-htmldoc.patch 29 Sep 2009 12:26:31 -0000 1.2
@@ -397,3 +397,26 @@ diff -up ntp-4.2.4p5/html/ntptrace.html.
</dl>
<h4>Bugs</h4>
<p>This program makes no attempt to improve accuracy by doing multiple samples.</p>
+diff -up ntp-4.2.4p7/html/tickadj.html.htmldoc ntp-4.2.4p7/html/tickadj.html
+--- ntp-4.2.4p7/html/tickadj.html.htmldoc 2006-06-06 22:16:08.000000000 +0200
++++ ntp-4.2.4p7/html/tickadj.html 2009-09-29 14:01:40.000000000 +0200
+@@ -14,9 +14,11 @@
+ <p>Last update: <csobj format="ShortTime" h="25" locale="00000409" region="0" t="DateTime" w="61">18:50</csobj> UTC <csobj format="LongDate" h="25" locale="00000409" region="0" t="DateTime" w="246">Thursday, July 28, 2005</csobj></p>
+ <hr>
+ <h4>Synopsis</h4>
+- <tt>tickadj [ -Aqs ] [ -a <i>tickadj</i> ] [ -t <i>tick</i> ]</tt>
++ <p><tt>tickadj [ <i>tick</i> ]</tt></p>
++ <p><tt>tickadj [ -Aqs ] [ -a <i>tickadj</i> ] [ -t <i>tick</i> ]</tt></p>
+ <h4>Description</h4>
+ <p>The <tt>tickadj</tt> program reads, and optionally modifies, several timekeeping-related variables in older kernels that do not have support for precision ttimekeeping, including HP-UX, SunOS, Ultrix, SGI and probably others. Those machines provide means to patch the kernel <tt>/dev/kmem</tt>. Newer machines with precision time support, including Solaris, Tru64, FreeBSD and Linux (with PPSkit patch) should NOT use the program. The particular variables that can be changed with <tt>tickadj</tt> include <tt>tick</tt>, which is the number of microseconds added to the system time for a clock interrupt, <tt>tickadj</tt>, which sets the slew rate and resolution used by the <tt>adjtime</tt> system call, and <tt>dosynctodr</tt>, which indicates to the kernels on some machines whether they should internally adjust the system clock to keep it in line with time-of-day clock or not.</p>
++ <p>On Linux, only the <tt>tick</tt> variable is supported and the only allowed argument is the tick value.</p>
+ <p>By default, with no arguments, <tt>tickadj</tt> reads the variables of interest in the kernel and displays them. At the same time, it determines an "optimal" value for the value of the <tt>tickadj</tt> variable if the intent is to run the <tt>ntpd</tt> Network Time Protocol (NTP) daemon, and prints this as well. Since the operation of <tt>tickadj</tt> when reading the kernel mimics the operation of similar parts of the <tt>ntpd</tt> program fairly closely, this can be useful when debugging problems with <tt>ntpd</tt>.</p>
+ <p>Note that <tt>tickadj</tt> should be run with some caution when being used for the first time on different types of machines. The operations which <tt>tickadj</tt> tries to perform are not guaranteed to work on all Unix machines and may in rare cases cause the kernel to crash.</p>
+ <h4>Command Line Options</h4>
+@@ -46,4 +48,4 @@
+ <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
+ </body>
+
+-</html>
+\ No newline at end of file
++</html>
Index: ntp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ntp/devel/ntp.spec,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -p -r1.94 -r1.95
--- ntp.spec 21 Aug 2009 14:45:39 -0000 1.94
+++ ntp.spec 29 Sep 2009 12:26:31 -0000 1.95
@@ -1,7 +1,7 @@
Summary: The NTP daemon and utilities
Name: ntp
Version: 4.2.4p7
-Release: 5%{?dist}
+Release: 6%{?dist}
# primary license (COPYRIGHT) : MIT
# ElectricFence/ (not used) : GPLv2
# kernel/sys/ppsclock.h (not used) : BSD with advertising
@@ -104,6 +104,8 @@ Patch30: ntp-4.2.4p7-freqmode.patch
Patch31: ntpstat-0.2-clksrc.patch
# process first packet in multipacket response
Patch32: ntpstat-0.2-multipacket.patch
+# fix precision calculation on fast CPUs
+Patch33: ntp-4.2.4p7-getprecision.patch
URL: http://www.ntp.org
Requires(post): /sbin/chkconfig
@@ -192,6 +194,7 @@ This package contains NTP documentation
%patch30 -p1 -b .freqmode
%patch31 -p1 -b .clksrc
%patch32 -p1 -b .multipacket
+%patch33 -p1 -b .getprecision
# clock_gettime needs -lrt
sed -i.gettime 's|^LIBS = @LIBS@|& -lrt|' ntp{d,q,dc,date}/Makefile.in
@@ -343,6 +346,7 @@ fi
%{_mandir}/man8/ntpq.8*
%{_mandir}/man8/ntpstat.8*
%{_mandir}/man8/ntptime.8*
+%{_mandir}/man8/tickadj.8*
%files perl
%defattr(-,root,root)
@@ -365,6 +369,10 @@ fi
%{ntpdocdir}/html
%changelog
+* Tue Sep 29 2009 Miroslav Lichvar <mlichvar at redhat.com> 4.2.4p7-6
+- generate tickadj man page (#526161)
+- fix precision calculation on fast CPUs
+
* Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 4.2.4p7-5
- rebuilt with new openssl
- Previous message (by thread): rpms/desktop-printing/devel dead.package, NONE, 1.1 Makefile, 1.2, NONE desktop-printing-0.19-crash.patch, 1.1, NONE desktop-printing-0.19-dbus-api.patch, 1.2, NONE desktop-printing-0.19-dbus-deprecated.patch, 1.1, NONE desktop-printing-0.19-hal_lpadmin.patch, 1.1, NONE desktop-printing-0.19-more-hal-lpadmin.patch, 1.1, NONE desktop-printing-0.19-transparent.patch, 1.1, NONE desktop-printing-0.20-category.patch, 1.1, NONE desktop-printing-0.20-dbus-close.patch, 1.1, NONE desktop-printing.spec, 1.89, NONE eggcups-api-name.patch, 1.2, NONE eggcups-cancel-remote-job.patch, 1.1, NONE eggcups-cups12.patch, 1.1, NONE eggcups-dbus-send-null-crash.patch, 1.1, NONE eggcups-xml-parsing.patch, 1.1, NONE redhat-print-applet.desktop, 1.3, NONE sources, 1.24, NONE
- Next message (by thread): rpms/parrot/F-12 parrot.spec,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list