maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to use OpenNTPD (https://talk.maemo.org/showthread.php?t=88346)

ade 2012-12-22 20:49

Re: How to use OpenNTPD
 
For some reason I never heard of chrony before, but I see there have been debs posted for the N770 on TMO a long time ago.

It triggered me to compile the latest version (1.27-pre1), without nss (cryptography).

You can find the result here: http://dl.dropbox.com/u/42147901/chrony_1.27-pre1.zip

Content:
chronyd: the daemon itself, which will run in the background.
chronyc: the command line interface

It is just the two executables, no config or startup scripts. NTP servers etc go into the config file /etc/chrony.conf

For what I have seen in 10 minutes in the syslog it seems to do its job well. Google is your friend if you want to play with it more...

Edit: p.s. this is compiled for Maemo 5 to be clear...

evujumenuk 2012-12-22 20:59

Re: How to use OpenNTPD
 
Did you have to do anything differing from the usual build process? Ideally, this would become a .deb and source .deb on rzr's repository.

ade 2012-12-22 21:04

Re: How to use OpenNTPD
 
I only excluded nss, as I could not find the proper dev package for it.

chrony could become a proper package, if some time is spend on config files and init scripts.

evujumenuk 2012-12-22 23:40

Re: How to use OpenNTPD
 
One could just take Debian's initscripts and conffiles.

Well, maybe it's enough to just fiddle with the source .deb's Depends: and Build-Depends: lines. If not, I presume that ./configure --disable-nss did the trick?

ade 2012-12-22 23:49

Re: How to use OpenNTPD
 
Quote:

Originally Posted by evujumenuk (Post 1306947)
One could just take Debian's initscripts and conffiles.

Well, maybe it's enough to just fiddle with the source .deb's Depends: and Build-Depends: lines. If not, I presume that ./configure --disable-nss did the trick?

Yep, I used the "--disable-nss".
The initscripts would need a little modifications (upstart related I guess). You are a N9 user, right? I don't know the details of that device.


All times are GMT. The time now is 08:22.

vBulletin® Version 3.8.8