mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-12 03:28:54 -10:00
httpdate synchronizes the system time using the Date header of HTTP and HTTPS servers, which is useful on networks where NTP is blocked but web access is permitted. It is the successor of htpdate, from the same author: it delegates the network transport (HTTP, HTTPS, HTTP/2, proxies) to libcurl, and estimates the time from several servers. Like the htpdate package, add a SysV init script and a systemd unit, running httpdate with the arguments of HTTPDATE_ARGS, that can be overridden in /etc/default/httpdate. As httpdate does not write a pidfile, it runs in the foreground (-F), and start-stop-daemon backgrounds it and writes the pidfile. https://github.com/twekkel/httpdate Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
12 lines
363 B
Plaintext
12 lines
363 B
Plaintext
config BR2_PACKAGE_HTTPDATE
|
|
bool "httpdate"
|
|
depends on BR2_USE_MMU # daemon()
|
|
select BR2_PACKAGE_LIBCURL
|
|
help
|
|
httpdate synchronizes the system time using the Date header
|
|
of HTTP and HTTPS servers, which is useful on networks where
|
|
NTP is blocked but web access is permitted. It is the
|
|
successor of htpdate.
|
|
|
|
https://github.com/twekkel/httpdate
|