This is a os2 port build 5 of ntp-4.2.0.

The Network Time Protocol (NTP) is used to synchronize the time of
a computer client or server to another server or reference time source,
such as a radio or satellite receiver or modem. It provides accuracies
typically within a millisecond on LANs and up to a few tens of milliseconds
on WANs relative to Coordinated Universal Time (UTC) via a Global
Positioning Service (GPS) receiver, for example. Typical NTP configurations
utilize multiple redundant servers and diverse network paths in order
to achieve high accuracy and reliability.

ntpd       - Network Time Protocol (NTP) daemon 
ntpq       - standard NTP query program 
ntpdc      - special NTP query program 
ntpdate    - set the date and time via NTP 
ntptrace   - trace a chain of NTP servers back to the primary source 
ntp-keygen - generate public and private keys

For detailed information about this program package see the original
NTP 4 distribution

  ftp://ftp.udel.edu/pub/ntp/ntp4/ntp-4.2.0.tar.gz
  http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.0.tar.gz

or the NTP web site
  http://www.ntp.org/


OS/2 notes:
-  Requirements:
   -- InnoTek GCC LIBC v0.6 - libc06.dll

-  The current directory for ntp.conf is %ETC% or, if you have no defined
   ETC environment variable, \mptn\etc on the current drive.
   But you may use the -c command line option to redefine this default.

-  For bin.ssl:
   -  The current directory for authentication keys is \mptn\etc\ntp
   on the current drive. But you may redefine it in ntp.conf file.
   -  Put .rnd file into the home directory. Define HOME environment
   variable in your Config.Sys.

-  This program requires the TZ environment variable to be set
   correctly in order to have time zone and daylight savings time
   be recognized as needed in your location.

   Please see tzset.txt how to set TZ. The setting for central europe,
   for example, would be:

   SET TZ=CET-1CED,3,-1,0,7200,10,-1,0,10800,3600

   or for Moscow:

   SET TZ=MSK-3MSD,3,-1,0,7200,10,-1,0,10800,3600

   But ntpd for OS/2 does not work on a winter time from 2:00 to 3:00
   in the last october sunday, because OS/2 does not have the synthetic time.
   Please stop ntpd at 2:59 of a summer time, start ntpdate at 3:00 of
   a winter time and restart ntpd.

-  This build was made with InnoTek GCC v3.3.5.
   The function adjtime() do not implemented yet. It may to tell on
   the precision of time calculating and setting.

-  ntptrace sources were gotten from ntp-4.1.80-rc1 distribution.

-  ssl part was built with openssl-0.9.7g distribution.


My patches & fixes:
-  libntp: ./libntp/machines.c
   adjtime() was commented :-(

-  libntp: ./libntp/systime.c
   adjtime() was commented :-(

-  ntpd: ./ntpd/ntp_config.c
   Get ETC environment variable value to find ntp.conf

-  ntpdate: ./ntpdate/ntpdate.c
   adjtime() was commented :-(

-  ntptrace: ./ntptrace/ntptrace.c
   not initialized variable

-  openssl: ./crypto/rand/rand_os2.c
   impermissble variable`s names
  

Special thanks:
-  nickk (Nick Lepehin) for technical advices and suggestions.


Wishes:
I am waiting for your comment about this port. Particularly for
the authentication support. This part has been tested very little.


Author of this port:
     Alex Porollo

Contacts:
     ap@cbank.mari.ru
     2:5052/5@fidonet
