Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
ntp
ntp-manpages.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ntp-manpages.patch of Package ntp
diff -N -ur ntp-4.2.4p5-orig/man/ntpd.1 ntp-4.2.4p5/man/ntpd.1 --- ntp-4.2.4p5-orig/man/ntpd.1 2004-07-22 16:05:02.000000000 +0200 +++ ntp-4.2.4p5/man/ntpd.1 2008-10-08 12:41:54.000000000 +0200 @@ -15,7 +15,7 @@ \fIstatsdir\fR ] [ -t \fIkey\fR ] [ -v \fIvariable\fR ] [ -V -\fIvariable\fR ] [ -T +\fIvariable\fR ] [ -i \fIchroot_dir\fR ] [ -u \fIserver_user\fR ] [ -x ]\fR .SH DESCRIPTION @@ -37,7 +37,7 @@ \fBntpd\fR program operates by exchanging messages with one or more configured servers at designated poll intervals. When started, whether for the first or subsequent times, the program -requires several exahanges from the majority of these servers so +requires several exchanges from the majority of these servers so the signal processing and mitigation algorithms can accumulate and groom the data and set the clock. In order to protect the network from bursts, the initial poll interval for each server is delayed @@ -384,7 +384,7 @@ \fIkey\fR \fR Add a key number to the trusted key list. .TP 8 -\fB-T +\fB-i \fIchroot_dir\fR \fR Chroot the ntpd server process into \fIchroot_dir\fR. To use this option you have to copy all the files that ntpd process needs into the @@ -467,7 +467,7 @@ mind. .SH SEE ALSO -Primary source of documentation: /usr/share/doc/ntp-*/ntpd.html +More documentation is available in the package ntp-doc. .SH AUTHOR David L. Mills diff -N -ur ntp-4.2.4p5-orig/man/ntpdate.1 ntp-4.2.4p5/man/ntpdate.1 --- ntp-4.2.4p5-orig/man/ntpdate.1 2004-07-22 16:05:32.000000000 +0200 +++ ntp-4.2.4p5/man/ntpdate.1 2008-10-08 12:44:40.000000000 +0200 @@ -1,5 +1,4 @@ -.\" Automatically generated from HTML source. DO NOT EDIT! -.TH ntpdate 1 "" "ntp 4.1.1b-r5" +.TH ntpdate 1 "" "ntp 4.2.4p5" .SH NAME ntpdate - set the date and time via NTP @@ -9,201 +8,5 @@ \fB-q\fR command line option in the \fBntpd\fR - Network Time -Protocol (NTP) daemon page. After a suitable period of -mourning, the -\fBntpdate\fR program is to be retired from this -distribution -.SH SYNOPSIS - -\fBntpdate [ -bBdoqsuv ] [ -a -\fIkey\fR ] [ -e -\fIauthdelay\fR ] -[ -k -\fIkeyfile\fR ] [ -o -\fIversion\fR ] [ -p -\fIsamples\fR ] [ --t -\fItimeout\fR ] [ --U -\fIuser_name\fR ] -\fIserver\fR [ ... ]\fR -.SH DESCRIPTION - -\fBntpdate\fR sets the local date and time by polling the -Network Time Protocol (NTP) server(s) given as the -\fIserver\fR arguments to determine the correct time. It must be run as root on -the local host. A number of samples are obtained from each of the -servers specified and a subset of the NTP clock filter and -selection algorithms are applied to select the best of these. Note -that the accuracy and reliability of -\fBntpdate\fR depends on -the number of servers, the number of polls each time it is run and -the interval between runs. - - -\fBntpdate\fR can be run manually as necessary to set the -host clock, or it can be run from the host startup script to set -the clock at boot time. This is useful in some cases to set the -clock initially before starting the NTP daemon -\fBntpd\fR . It is -also possible to run -\fBntpdate\fR from a -\fBcron\fR script. -However, it is important to note that -\fBntpdate\fR with -contrived -\fBcron\fR scripts is no substitute for the NTP -daemon, which uses sophisticated algorithms to maximize accuracy -and reliability while minimizing resource use. Finally, since -\fBntpdate\fR does not discipline the host clock frequency as does -\fBntpd\fR , the accuracy using -\fBntpdate\fR is limited. - -Time adjustments are made by -\fBntpdate\fR in one of two -ways. If -\fBntpdate\fR determines the clock is in error more -than 0.5 second it will simply step the time by calling the system -\fBsettimeofday()\fR routine. If the error is less than 0.5 -seconds, it will slew the time by calling the system -\fBadjtime()\fR routine. The latter technique is less disruptive and -more accurate when the error is small, and works quite well when -\fBntpdate\fR is run by -\fBcron\fR every hour or two. - - -\fBntpdate\fR will decline to set the date if an NTP server -daemon (e.g., -\fBntpd\fR ) is running on the same host. When -running -\fBntpdate\fR on a regular basis from -\fBcron\fR as -an alternative to running a daemon, doing so once every hour or two -will result in precise enough timekeeping to avoid stepping the -clock. - -If NetInfo support is compiled into -\fBntpdate\fR , then the -\fBserver\fR argument is optional if -\fBntpdate\fR can find a -time server in the NetInfo configuration for -\fBntpd\fR . -.SH COMMAND LINE OPTIONS -.TP 8 -\fB-a -\fIkey\fR \fR -Enable the authentication function and specify the key -identifier to be used for authentication as the argument -\fIkey\fR -\fBntpdate\fR . The keys and key identifiers must match in -both the client and server key files. The default is to disable the -authentication function. -.TP 8 -\fB-B\fR -Force the time to always be slewed using the adjtime() system -call, even if the measured offset is greater than +-128 ms. The -default is to step the time using settimeofday() if the offset is -greater than +-128 ms. Note that, if the offset is much greater -than +-128 ms in this case, that it can take a long time (hours) to -slew the clock to the correct value. During this time. the host -should not be used to synchronize clients. -.TP 8 -\fB-b\fR -Force the time to be stepped using the settimeofday() system -call, rather than slewed (default) using the adjtime() system call. -This option should be used when called from a startup file at boot -time. -.TP 8 -\fB-d\fR -Enable the debugging mode, in which -\fBntpdate\fR will go -through all the steps, but not adjust the local clock. Information -useful for general debugging will also be printed. -.TP 8 -\fB-e -\fIauthdelay\fR \fR -Specify the processing delay to perform an authentication -function as the value -\fIauthdelay\fR , in seconds and fraction -(see -\fBntpd\fR for details). This number is usually small -enough to be negligible for most purposes, though specifying a -value may improve timekeeping on very slow CPU's. -.TP 8 -\fB-k -\fIkeyfile\fR \fR -Specify the path for the authentication key file as the string -\fIkeyfile\fR . The default is -\fB/etc/ntp.keys\fR . This file -should be in the format described in -\fBntpd\fR . -.TP 8 -\fB-o -\fIversion\fR \fR -Specify the NTP version for outgoint packets as the integer -\fIversion\fR , which can be 1 or 2. The default is 3. This allows -\fBntpdate\fR to be used with older NTP versions. -.TP 8 -\fB-p -\fIsamples\fR \fR -Specify the number of samples to be acquired from each server -as the integer -\fIsamples\fR , with values from 1 to 8 inclusive. -The default is 4. -.TP 8 -\fI -\fB-q\fR \fR -Query only - don't set the clock. -.TP 8 -\fB-s\fR -Divert logging output from the standard output (default) to the -system -\fBsyslog\fR facility. This is designed primarily for -convenience of -\fBcron\fR scripts. -.TP 8 -\fB-t -\fItimeout\fR \fR -Specify the maximum time waiting for a server response as the -value -\fItimeout\fR , in seconds and fraction. The value is is -rounded to a multiple of 0.2 seconds. The default is 1 second, a -value suitable for polling across a LAN. -.TP 8 -\fB-u\fR -Direct -\fBntpdate\fR to use an unprivileged port or outgoing -packets. This is most useful when behind a firewall that blocks -incoming traffic to privileged ports, and you want to synchronise -with hosts beyond the firewall. Note that the -.TP 8 -\fB-U\fR -\fIuser_name\fR \fR -ntpdate process drops root privileges and changes user ID to -\fIuser_name\fR and group ID to the primary group of \fIserver_user\fR. -.TP 8 -\fB-d\fR \fR -always uses unprivileged ports. -.TP 8 -\fB-v\fR \fR -Be verbose. This option will cause -\fBntpdate\fR 's version -identification string to be logged. -.SH FILES - -\fB/etc/ntp/keys\fR - encryption keys used by -\fBntpdate\fR . -.SH BUGS -The slew adjustment is actually 50% larger than the measured -offset, since this (it is argued) will tend to keep a badly -drifting clock more accurate. This is probably not a good idea and -may cause a troubling hunt for some values of the kernel variables -\fBtick\fR and -\fBtickadj\fR . - -.SH SEE ALSO -Primary source of documentation: /usr/share/doc/ntp-*/ntpdate.html - -.SH AUTHOR -David L. Mills -<mills@udel.edu> +Protocol (NTP) daemon page. This program is retired from this +distribution. diff -N -ur ntp-4.2.4p5-orig/man/ntpdc.1 ntp-4.2.4p5/man/ntpdc.1 --- ntp-4.2.4p5-orig/man/ntpdc.1 2004-07-22 16:05:47.000000000 +0200 +++ ntp-4.2.4p5/man/ntpdc.1 2008-10-08 12:41:47.000000000 +0200 @@ -587,7 +587,7 @@ this, the program is occasionally useful. .SH SEE ALSO -Primary source of documentation: /usr/share/doc/ntp-*/ntpdc.html +More documentation is available in the package ntp-doc. .SH AUTHOR David L. Mills diff -N -ur ntp-4.2.4p5-orig/man/ntpq.1 ntp-4.2.4p5/man/ntpq.1 --- ntp-4.2.4p5-orig/man/ntpq.1 2004-07-22 16:06:02.000000000 +0200 +++ ntp-4.2.4p5/man/ntpq.1 2008-10-08 12:41:54.000000000 +0200 @@ -359,33 +359,33 @@ The peer is discarded as unreachable, synchronized to this server (synch loop) or outrageous synchronization distance. .TP 8 -\fBx falsetick\fR +\fBfalsetick\fR The peer is discarded by the intersection algorithm as a falseticker. .TP 8 -\fB. excess\fR +\fBexcess\fR The peer is discarded as not among the first ten peers sorted by synchronization distance and so is probably a poor candidate for further consideration. .TP 8 -\fB- outlyer\fR +\fBoutlyer\fR The peer is discarded by the clustering algorithm as an outlyer. .TP 8 -\fB+ candidat\fR +\fBcandidat\fR The peer is a survivor and a candidate for the combining algorithm. .TP 8 -\fB# selected\fR +\fBselected\fR The peer is a survivor, but not among the first six peers sorted by synchronization distance. If the assocation is ephemeral, it may be demobilized to conserve resources. .TP 8 -\fB* sys.peer\fR +\fBsys.peer\fR The peer has been declared the system peer and lends its variables to the system variables. .TP 8 -\fBo pps.peer\fR +\fBpps.peer\fR The peer has been declared the system peer and lends its variables to thesystem variables. However, the actual system synchronization is derived from a pulse-per-second (PPS) signal, @@ -643,7 +643,7 @@ it sends queries to a particular host, but doesn't. .SH SEE ALSO -Primary source of documentation: /usr/share/doc/ntp-*/ntpq.html +More documentation is available in the package ntp-doc. .SH AUTHOR David L. Mills diff -N -ur ntp-4.2.4p5-orig/man/ntptime.1 ntp-4.2.4p5/man/ntptime.1 --- ntp-4.2.4p5-orig/man/ntptime.1 2004-07-22 16:06:19.000000000 +0200 +++ ntp-4.2.4p5/man/ntptime.1 2008-10-08 12:41:47.000000000 +0200 @@ -55,7 +55,7 @@ Specify time constant, an integer in the range 0-10. .SH SEE ALSO -Primary source of documentation: /usr/share/doc/ntp-*/ntptime.html +More documentation is available in the package ntp-doc. .SH AUTHOR David L. Mills diff -N -ur ntp-4.2.4p5-orig/man/ntptrace.1 ntp-4.2.4p5/man/ntptrace.1 --- ntp-4.2.4p5-orig/man/ntptrace.1 2004-07-22 16:06:42.000000000 +0200 +++ ntp-4.2.4p5/man/ntptrace.1 2008-10-08 12:41:47.000000000 +0200 @@ -62,7 +62,7 @@ samples. .SH SEE ALSO -Primary source of documentation: /usr/share/doc/ntp-*/ntptrace.html +More documentation is available in the package ntp-doc. .SH AUTHOR David L. Mills diff -N -ur ntp-4.2.4p5-orig/man/tickadj.1 ntp-4.2.4p5/man/tickadj.1 --- ntp-4.2.4p5-orig/man/tickadj.1 2004-07-22 16:06:58.000000000 +0200 +++ ntp-4.2.4p5/man/tickadj.1 2008-10-08 12:41:47.000000000 +0200 @@ -94,7 +94,7 @@ \fBtickadj\fR program went away. .SH SEE ALSO -Primary source of documentation: /usr/share/doc/ntp-*/tickadj.html +More documentation is available in the package ntp-doc. .SH AUTHOR David L. Mills diff -N -ur ntp-4.2.4p5-orig/ntpd/ntp_request.c ntp-4.2.4p5/ntpd/ntp_request.c --- ntp-4.2.4p5-orig/ntpd/ntp_request.c 2008-08-10 13:02:41.000000000 +0200 +++ ntp-4.2.4p5/ntpd/ntp_request.c 2008-10-08 12:41:47.000000000 +0200 @@ -509,8 +509,8 @@ return; } if ((proc->sizeofitem != 0) && - ((temp_size * INFO_NITEMS(inpkt->err_nitems)) > - (rbufp->recv_length - REQ_LEN_HDR))) { + ((unsigned) temp_size * INFO_NITEMS(inpkt->err_nitems)) > + (rbufp->recv_length - REQ_LEN_HDR)) { #ifdef DEBUG if (debug > 2) printf("process_private: not enough data\n");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor