Package Details: htpdate 1.2.2-2

Git Clone URL: (read-only, click to copy)
Package Base: htpdate
Description: A client for time synchronisation
Upstream URL:
Keywords: time
Licenses: GPL2
Submitter: jryan
Maintainer: dschrempf
Last Packager: dschrempf
Votes: 3
Popularity: 0.000000
First Submitted: 2015-08-25 16:54
Last Updated: 2020-01-23 14:54

Latest Comments

dschrempf commented on 2020-01-23 14:57

Thank you for your comment! I have fixed the PID file bug, but still use a forking systemd file. It works on my computer. Please let me know, if you still have problems!

wongsyrone commented on 2020-01-22 02:40

It fails to start due to incorrect PID. The current workaround is run as oneshot and create a timer.


Description=Htpdate daemon

ExecStart=/usr/bin/htpdate -a -s -i /run/ -P -u root:root



Description=Htpdate 30sec timer

OnCalendar=*-*-* *:*:30


dschrempf commented on 2019-02-06 13:37


I tried to apply the patches, but the first one 100-xxx was rejected. If you want, you can investigate the issue.

patching file htpdate.c Hunk #1 succeeded at 391 (offset 32 lines). Hunk #2 FAILED at 377. 1 out of 2 hunks FAILED -- saving rejects to file htpdate.c.rej

--- htpdate.c +++ htpdate.c @@ -377,7 +377,7 @@ static int htpdate_adjtimex( double drif printlog( 1, "seteuid()" ); exit(1); } else { - return( ntp_adjtime(&tmx) ); + return( adjtimex(&tmx) ); }


wongsyrone commented on 2019-02-04 08:58

Do you mind add patches from OpenWrt?

dschrempf commented on 2019-02-03 22:16

Thanks, updated.

wongsyrone commented on 2019-02-02 02:21

The pid path should be /var/run/

BTW, my command line is /usr/bin/htpdate -D -a -s -i /var/run/

jryan commented on 2016-03-08 16:23

Updated to 1.1.3

jwhendy commented on 2016-03-08 15:16

Greetings, there's a new version available. I changed just these lines of your PKGBUILD and it installed successfully; could you update?
'htpdate.service md5sum unchanged')