summaryrefslogtreecommitdiffstats
path: root/rules/ntp.in
blob: c211c91cd5a3c519b22d0864015067063fcfdc83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
## SECTION=networking

menuconfig NTP
	tristate
	prompt "ntp                           "
	select LIBCAP
	select LIBEVENT
	select OPENSSL		if NTP_CRYPTO
	select ROOTFS_VAR_CACHE	if NTP_NTPD
	select LIBC_M
	select LIBC_RT
	select GCCLIBS_GCC_S
	help
	  Build the standard NTP Daemon Process and supplementary programs.
	  This conflicts with BSD openntpd.

# ----- Compile Options

if NTP

comment "Compile Options"

config NTP_DEBUGGING
	bool
	prompt "include debugging code"
	help
	  Include a lot of debugging code.

config NTP_BANCOMM
	bool
	prompt "Datum/Bancomm bc635/VME interface"
	help
	  FIXME: This item needs to be documented

config NTP_GPSVME
	bool
	prompt "TrueTime GPS receiver/VME interface"
	help
	  FIXME: This item needs to be documented

config NTP_SLEW_ALWAYS
	bool
	prompt "always slew the time"
	help
	  Slew the clock back into line by making gradual adjustments to the
	  clock over a couple of minutes.
	  (The slew rate of typical Unix kernels is limited to 0.5 ms/s.)

config NTP_STEP_SLEW
	bool
	prompt "step and slew the time"
	help
	  Slew the clock back into line by making step adjustments to the
	  clock over a couple of minutes.

config NTP_NTPDATE_STEP
	bool
	prompt "ntpdate should step the time"
	help
	  FIXME: This item needs to be documented

config NTP_HOURLY_TODR_SYNC
	bool
	prompt "sync TODR hourly"
	help
	  If we should sync TODR hourly (the Solaris hardware clock).
	  When unsure, say no here.

config NTP_IRIG_SAWTOOTH
	bool
	prompt "enable the IRIG sawtooth filter"
	help
	  The Sun kernel driver has a sawtooth modulation with
	  amplitude over 5 ms peak-peak and period 5.5 s. The crafty
	  IRIG driver uses a transverse filter to remove the
	  modulation and something called a botttom-fisher to remove
	  incidental positive spikes especially prevalent with Sun
	  Blade 1000 and possibly other systems.

config NTP_NIST
	bool
	prompt "enable the NIST lockclock scheme"
	help
	  The NIST lockclock program synchronizes the local clock
	  via a telephone modem and the NIST Automated Computer
	  Time Service (ACTS), or the Digital Time Synchronization
	  Service (DTSS), which runs on DCE machines.

config NTP_CRYPTO
	bool
	prompt "use openssl"
	help
	  FIXME: This item needs to be documented

comment "Clock drivers"

config NTP_ALL_CLOCK_DRIVERS
	bool
	prompt "build all clock drivers"
	default y
	help
	  Disabling this entry will only build a set of selected clock drivers.
	  Else all clock drivers are included into the ntpd.

source "generated/networking_ntp.in"

# ---------- Install Options

comment "Install Options"

config NTP_NTPDATE
	bool
	prompt "install ntpdate"
	help
	  ntpdate sets the local date and time by polling the Network
	  Time Protocol (NTP) server(s) given as the server arguments
	  to determine the correct time.

config NTP_NTPD
	bool
	prompt "install ntpd"
	depends on !BUSYBOX_NTPD || ALLYES
	help
	  The ntpd program is an operating system daemon which sets and
	  maintains the system time of day in synchronism with Internet
	  standard time servers.

comment "BusyBox' ntpd is selected"
	depends on BUSYBOX_NTPD

config NTP_NTPD_STARTSCRIPT
	bool
	default y
	depends on NTP_NTPD
	prompt "install /etc/init.d/ntp-server"

config NTP_NTPD_SYSTEMD_UNIT
	bool
	default y
	depends on NTP_NTPD && SYSTEMD
	prompt "install systemd service file"

config NTP_NTPDC
	bool
	prompt "install ntpdc"
	help
	  ntpdc is used to query the ntpd daemon about its
	  current state and to request changes in that state.

config NTP_NTPC_STARTSCRIPT
	bool
	default y
	depends on NTP_NTPDC
	prompt "install /etc/init.d/ntp-client"

config NTP_NTPQ
	bool
	prompt "install ntpq"
	help
	  The ntpq utility program is used to monitor NTP daemon ntpd
	  operations and determine performance.

config NTP_NTPTIME
	bool
	prompt "install ntptime"
	help
	  The ntptime utility program is used to read the kernel's NTP time
	  variables.

endif

comment "NTP conflicts with OpenNTPD"
	depends on NTP && OPENNTPD