blob: b5672c4bde0880d34c970b4c1421de9809e0d3b9 [file] [log] [blame]
# chrony NTP daemon
#
# From the chrony website (https://chrony.tuxfamily.org/):
#
# chrony is a versatile implementation of the Network Time
# Protocol (NTP). It can synchronise the system clock with NTP servers,
# reference clocks (e.g. GPS receiver), and manual input using
# wristwatch and keyboard. It can also operate as an NTPv4 (RFC 5905)
# server and peer to provide a time service to other computers in the
# network.
licenses(["restricted"])
package_group(
name = "internal",
packages = [
"//third_party/chrony",
"//third_party/chrony/chrony",
],
)
package(default_visibility = ["//third_party/chrony:internal"])
exports_files(["LICENSE"])
genrule(
name = "chrony_daemon",
srcs = ["//third_party/chrony/chrony:chronyd"],
outs = ["chronyd"],
cmd = "cp $< $@",
visibility = ["//visibility:public"],
)
genrule(
name = "chrony_client",
srcs = ["//third_party/chrony/chrony:chronyc"],
outs = ["chronyc"],
cmd = "cp $< $@",
visibility = ["//visibility:public"],
)