The working copy of leapfile resides in /var/dbntpd.leap-seconds.list. /etc/ntp/leap-seconds (periodically updated from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/) contains the master copy should automatic leapfile updates be disabled (default). Automatic leapfile updates are fetched from $ntp_leapfile_sources, defaulting to https://www.ietf.org/timezones/data/leap-seconds.list, within $ntp_leapfile_expiry_days (default 30 days) from leap-seconds file expiry. Automatic updates can be enabled by setting $daily_ntpd_leapfile_enable="YES" in periodic.conf. To avoid congesting the ntp leapfile source the automatic update randomized by default but can be disabled through daily_ntpd_avoid_congestion="NO" in periodic.conf. Suggested by: des Reviewed by: des, roberto, dwmalone, ian, cperciva, glebius, gjb MFC after: 1 week X-MFC with: r289421, r293037
59 lines
940 B
Makefile
59 lines
940 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
FILES= 100.clean-disks \
|
|
110.clean-tmps \
|
|
120.clean-preserve \
|
|
200.backup-passwd \
|
|
210.backup-aliases \
|
|
330.news \
|
|
400.status-disks \
|
|
401.status-graid \
|
|
406.status-gmirror \
|
|
407.status-graid3 \
|
|
408.status-gstripe \
|
|
409.status-gconcat \
|
|
420.status-network \
|
|
430.status-uptime \
|
|
450.status-security \
|
|
510.status-world-kernel \
|
|
999.local
|
|
|
|
# NB: keep these sorted by MK_* knobs
|
|
|
|
.if ${MK_ACCT} != "no"
|
|
FILES+= 310.accounting
|
|
.endif
|
|
|
|
.if ${MK_CALENDAR} != "no"
|
|
FILES+= 300.calendar
|
|
.endif
|
|
|
|
.if ${MK_MAIL} != "no"
|
|
FILES+= 130.clean-msgs
|
|
.endif
|
|
|
|
.if ${MK_NTP} != "no"
|
|
FILES+= 480.status-ntpd \
|
|
480.leapfile-ntpd
|
|
.endif
|
|
|
|
.if ${MK_RCMDS} != "no"
|
|
FILES+= 140.clean-rwho
|
|
.endif
|
|
|
|
.if ${MK_SENDMAIL} != "no"
|
|
FILES+= 150.clean-hoststat \
|
|
440.status-mailq \
|
|
460.status-mail-rejects \
|
|
500.queuerun
|
|
.endif
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
FILES+= 404.status-zfs \
|
|
800.scrub-zfs
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|