buildroot/package/openntpd/Config.in
Adam Duskett 8c817edd7c openntpd: add optional dependency on LibreSSL
OpenNTPD looks for a crypto library with tls_config_set_ca_mem, which
is available in LibreSSL but not OpenSSL. If tls_config_set_ca_mem is
found, crypto support is added to the build.

Because this is not currently checked, crypto support might not be
added due to the order of the build. Add a small check to see if
BR2_PACKAGE_LIBRESSL is selected, and if so, add a dependency for it.

Also add a note about this in the Config.in help section.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-11-22 22:57:07 +01:00

21 lines
658 B
Plaintext

config BR2_PACKAGE_OPENNTPD
bool "openntpd"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_MMU # fork ()
depends on !BR2_PACKAGE_NTP # conflicting binaries
help
OpenNTPD is an easy to use implementation of the Network Time
Protocol. It provides the ability to sync the local clock
to remote NTP servers and can act as NTP server itself,
redistributing the local clock. It just works.
Crypto support is available if the LibreSSL library is
enabled.
http://www.openntpd.org/
comment "openntpd needs a toolchain w/ NPTL"
depends on BR2_USE_MMU
depends on !BR2_PACKAGE_NTP
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL