Search Criteria
Package Details: htpdate 2.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/htpdate.git (read-only, click to copy) |
---|---|
Package Base: | htpdate |
Description: | HTTP Time protocol |
Upstream URL: | https://github.com/twekkel/htpdate |
Keywords: | time |
Licenses: | GPL-2.0-or-later |
Submitter: | jryan |
Maintainer: | yigits |
Last Packager: | yigits |
Votes: | 7 |
Popularity: | 0.000000 |
First Submitted: | 2015-08-25 16:54 (UTC) |
Last Updated: | 2024-09-03 07:45 (UTC) |
Dependencies (2)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
Latest Comments
1 2 Next › Last »
yigits commented on 2022-06-06 14:26 (UTC)
Package migrated to new fork (was https://github.com/angeloc/htpdate) and updated
Thanks for letting me know about the up-to-date fork
vHPtmUPryYrps5QS commented on 2021-08-10 22:49 (UTC)
the new git repository is this
pedh commented on 2020-05-06 13:22 (UTC)
It works now, Thank you very much!
dschrempf commented on 2020-05-06 11:21 (UTC)
Thank you. I have updated the package. I had to recreate the patch myself, because yours was rejected. Did you use
diff -u
to create the patch? Anyways, please let me know if it works!pedh commented on 2020-05-06 08:01 (UTC) (edited on 2020-05-06 08:14 (UTC) by pedh)
The systemd htpdate unit hangs up and reports that no process was found.
The process actually exists, but the PID value is different with the value from the pid file.
After reading the source code, I found that the PID value, which is pid_t type, should be signed integer ( glibc reference ), is truncated to unsigned short and written to the pid file, and cause the incorrectness. The systemd unit starts successfully after the error was fixed.
Here is the patch.
htpdate.c
dschrempf commented on 2020-01-23 14:57 (UTC)
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 (UTC)
It fails to start due to incorrect PID. The current workaround is run as oneshot and create a timer.
/etc/systemd/system/htpdate.service
/etc/systemd/system/htpdate.timer
dschrempf commented on 2019-02-06 13:37 (UTC)
Hello,
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 (UTC)
Do you mind add patches from OpenWrt?
https://github.com/openwrt/packages/tree/master/net/htpdate/patches
dschrempf commented on 2019-02-03 22:16 (UTC)
Thanks, updated.
1 2 Next › Last »