hsntp: Libraries to use SNTP protocol and small client/server implementations.

[ bsd3, library, program, system ] [ Propose Tags ] [ Report a vulnerability ]

HSNTP - Haskell Simple Network Time Protocol

Simple Network Time Protocol is a simple subset of NTP. This package includes Haskell libraries to use SNTP Protocol and small client and server implementations. The package contains everything needed for a compilation.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1
Dependencies array, base (>3), mtl, network, old-time, random, unix [details]
Tested with ghc ==6.8.2
License BSD-3-Clause
Author Einar Karttunen
Maintainer Einar Karttunen <ekarttun@cs.helsinki.fi>
Category System
Home page http://www.cs.helsinki.fi/u/ekarttun/util/
Uploaded by GwernBranwen at 2008-03-09T21:22:47Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables sntpd, sntpdate
Downloads 1187 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hsntp-0.1

[back to package description]
HSNTP - Haskell Simple Network Time Protocol

Simple Network Time Protocol is a simple subset of NTP. This package
includes Haskell libraries to use SNTP Protocol and small client and
server implementations. The package contains everything needed for a compilation.

Compiling and installation

   Download and unpack.
   Build and install through Cabal as for other Haskell packages:

        runhaskell Setup configure --user --prefix=$HOME
        runhaskell Setup build
        runhaskell Setup install --user

  (You may want to remove the --user flag when installing as root.)


Dependencies

The library depends on GHC, but porting should not be too hard as the
code is quite short.


sntpdate server

Sntpdate fetches the date from an (s)ntp-server and tries
to set the local clock.


sntpd

Sntpd serves the local clock to interested (s)ntp clients.
The program forks into the background. Needs a wrapper
for non-root operation as ntp runs in a privileged port.