mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
package/rng-tools: add nistbeacon option
Add an option to enable nistbeacon which is available since version 6.1
and
aefe862e18
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
8edcb84730
commit
8ca6319781
@ -11,5 +11,22 @@ config BR2_PACKAGE_RNG_TOOLS
|
|||||||
|
|
||||||
http://sourceforge.net/projects/gkernel/
|
http://sourceforge.net/projects/gkernel/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_RNG_TOOLS
|
||||||
|
|
||||||
|
config BR2_PACKAGE_RNG_TOOLS_NISTBEACON
|
||||||
|
bool "NIST Entropy Beacon support"
|
||||||
|
select BR2_PACKAGE_JANSSON
|
||||||
|
select BR2_PACKAGE_LIBCURL
|
||||||
|
select BR2_PACKAGE_LIBXML2
|
||||||
|
help
|
||||||
|
Enable NIST Entropy Beacon support.
|
||||||
|
|
||||||
|
Entropy gathered from the NIST network entropy beacon. Note
|
||||||
|
that this entropy source is disabled by default as it should
|
||||||
|
never be used for cryptographic purposes, or any use case in
|
||||||
|
which random data should be known only by a single entity.
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
comment "rng-tools needs a toolchain w/ NPTL"
|
comment "rng-tools needs a toolchain w/ NPTL"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||||
|
@ -12,9 +12,7 @@ RNG_TOOLS_DEPENDENCIES = libsysfs jitterentropy-library host-pkgconf openssl
|
|||||||
# From git
|
# From git
|
||||||
RNG_TOOLS_AUTORECONF = YES
|
RNG_TOOLS_AUTORECONF = YES
|
||||||
|
|
||||||
RNG_TOOLS_CONF_OPTS = \
|
RNG_TOOLS_CONF_OPTS = --without-pkcs11
|
||||||
--without-nistbeacon \
|
|
||||||
--without-pkcs11
|
|
||||||
|
|
||||||
# Work around for uClibc or musl toolchains which lack argp_*()
|
# Work around for uClibc or musl toolchains which lack argp_*()
|
||||||
# functions.
|
# functions.
|
||||||
@ -30,6 +28,13 @@ else
|
|||||||
RNG_TOOLS_CONF_OPTS += --without-rtlsdr
|
RNG_TOOLS_CONF_OPTS += --without-rtlsdr
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_RNG_TOOLS_NISTBEACON),y)
|
||||||
|
RNG_TOOLS_DEPENDENCIES += jansson libcurl libxml2
|
||||||
|
RNG_TOOLS_CONF_OPTS += --with-nistbeacon
|
||||||
|
else
|
||||||
|
RNG_TOOLS_CONF_OPTS += --without-nistbeacon
|
||||||
|
endif
|
||||||
|
|
||||||
define RNG_TOOLS_INSTALL_INIT_SYSV
|
define RNG_TOOLS_INSTALL_INIT_SYSV
|
||||||
$(INSTALL) -D -m 755 package/rng-tools/S21rngd \
|
$(INSTALL) -D -m 755 package/rng-tools/S21rngd \
|
||||||
$(TARGET_DIR)/etc/init.d/S21rngd
|
$(TARGET_DIR)/etc/init.d/S21rngd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user