1config BR2_PACKAGE_NTPSEC
2	bool "ntpsec"
3	depends on BR2_USE_MMU # python3
4	depends on BR2_USE_WCHAR # python3
5	depends on BR2_TOOLCHAIN_HAS_THREADS # python3
6	depends on !BR2_STATIC_LIBS # python3
7	select BR2_PACKAGE_LIBCAP
8	select BR2_PACKAGE_OPENSSL
9	select BR2_PACKAGE_PYTHON3
10	help
11	  NTPsec project - a secure, hardened, and improved
12	  implementation of Network Time Protocol derived
13	  from NTP Classic, Dave Mills’s original.
14
15	  Provides things like ntpd, ntpdate, ntpq, etc...
16
17	  https://www.ntpsec.org/
18
19if BR2_PACKAGE_NTPSEC
20
21config BR2_PACKAGE_NTPSEC_CLASSIC_MODE
22	bool "classic-mode"
23	help
24	  Enable strict configuration and log-format compatibility
25	  with NTP Classic.
26
27config BR2_PACKAGE_NTPSEC_NTS
28	bool "NTS support"
29	help
30	  Enable Network Time Security (NTS) support.
31
32config BR2_PACKAGE_NTPSEC_REFCLOCK_ALL
33	bool "refclock-all"
34	select BR2_PACKAGE_PPS_TOOLS
35	help
36	  Enable all refclocks (hardware, sync source and discplined
37	  clocks)
38
39endif
40
41comment "ntpsec needs a toolchain w/ wchar, threads, dynamic library"
42	depends on BR2_USE_MMU
43	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
44		BR2_STATIC_LIBS
45