summaryrefslogtreecommitdiffstats
path: root/rules/ntp.in
blob: 73ccc6e8fc315ef5d04fda943878053e1e725083 (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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
## SECTION=networking

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

# ----- Compile Options

if NTP

comment "Compile Options"

config NTP_CLOCKCTL
	bool
	prompt "Use /dev/clockctl for non-root time control"
	help
	  The clockctl device introduces alternative entry
	  points to these system calls, through a special
	  device file typically named /dev/clockctl
	  The access control is made upon this file: if a
	  user can write to it, then the user is allowed to
	  change system time. The goal is to enable daemons
	  such as ntpd to run in a chroot jail and hence to
	  enhance the security of the system.

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

config NTP_DST_MINUTES
	int
	prompt "minutes per DST adjustment"
	default 60
	help
	  Enter here how many minutes should be added when
	  switching to daylight saving time.

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_KMEM
	bool
	prompt "read /dev/kmem for tick and/or tickadj"
	help
	  This feature seems only required on non Linux based systems

config NTP_ACCURATE_ADJTIME
	bool
	prompt "the adjtime () call is accurate"
	help
	  The adjtime() call is accurate.

config NTP_TICK_FORCE
	bool
	prompt "force a value for 'tick'"
	help
	  FIXME: This item needs to be documented

config NTP_TICK
	int
	prompt "value for 'tick'"
	default 1
	depends on NTP_TICK_FORCE
	help
	  FIXME: This item needs to be documented

config NTP_TICKADJ_FORCE
	bool
	prompt "force a value for 'tickadj'"
	help
	  FIXME: This item needs to be documented

config NTP_TICKADJ
	bool
	prompt "value for 'tickadj'"
	default 1
	depends on NTP_TICKADJ_FORCE
	help
	  FIXME: This item needs to be documented

config NTP_SIMULATOR
	bool
	prompt "build/install the NTPD simulator?"
	help
	  FIXME: This item needs to be documented

config NTP_UDP_WILDCARD
	bool
	prompt "use UDP wildcard delivery"
	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.

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 "if ntpdate should step the time"
	help
	  FIXME: This item needs to be documented

config NTP_HOURLY_TODR_SYNC
	bool
	prompt "if we should sync TODR hourly"
	help
	  FIXME: This item needs to be documented

config NTP_KERNEL_FLL_BUG
	bool
	prompt "if we should avoid a kernel FLL bug"
	help
	  If we should avoid a (Solaris) kernel FLL bug.

config NTP_IRIG_SAWTOOTH
	bool
	prompt "if we should enable the IRIG sawtooth filter"
	help
	  FIXME: This item needs to be documented

config NTP_NIST
	bool
	prompt "if we should enable the NIST lockclock scheme"
	help
	  FIXME: This item needs to be documented

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

config NTP_SNTP
	bool
	prompt "Build SNTP"
	help
	  FIXME: This item needs to be documented

config NTP_ARLIB
	bool
	prompt "Compile the async resolver library"
	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"
depends on NTP

config NTP_NTPDATE
	bool
	prompt "install ntpdate"
	depends on NTP
	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 NTP
	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.

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

config NTP_NTPDC
	bool
	prompt "install ntpdc"
	depends on NTP
	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"
	depends on NTP
	help
	  The ntpq utility program is used to monitor NTP daemon ntpd
	  operations and determine performance.

endif

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