The hsntp package

[Tags: bsd3, library, program]

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]

Properties

Version0.1
Change logNone available
Dependenciesarray, base (>3), mtl, network, old-time, random, unix [details]
LicenseBSD3
AuthorEinar Karttunen
MaintainerEinar Karttunen <ekarttun@cs.helsinki.fi>
StabilityBeta
CategorySystem
Home pagehttp://www.cs.helsinki.fi/u/ekarttun/util/
Executablessntpd, sntpdate
UploadedSun Mar 9 21:22:47 UTC 2008 by GwernBranwen
DistributionsNixOS:0.1
Downloads280 total (10 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for hsntp-0.1

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.