2021-06-08 14:32:10 +02:00
|
|
|
config BR2_PACKAGE_USBGUARD
|
|
|
|
bool "usbguard"
|
|
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # protobuf
|
2021-07-16 23:04:32 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf
|
2021-06-08 14:32:10 +02:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
|
2021-07-16 23:04:32 +02:00
|
|
|
depends on !BR2_STATIC_LIBS # libqb, protobuf
|
2021-07-04 17:48:48 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL
|
2021-08-10 10:27:44 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
|
2021-06-08 14:32:10 +02:00
|
|
|
select BR2_PACKAGE_PROTOBUF
|
|
|
|
select BR2_PACKAGE_LIBQB
|
2021-08-04 12:07:36 +02:00
|
|
|
select BR2_PACKAGE_LIBSODIUM if !BR2_PACKAGE_LIBGCRYPT && !BR2_PACKAGE_LIBOPENSSL
|
2021-06-08 14:32:10 +02:00
|
|
|
help
|
|
|
|
The USBGuard software framework
|
|
|
|
|
|
|
|
Install a custom accept/deny list in /etc/usbguard/rules.conf
|
|
|
|
(e.g. using an overlay). This file can be generated on the
|
|
|
|
target using "usbguard generate-policy".
|
|
|
|
|
|
|
|
https://usbguard.github.io/
|
|
|
|
|
2021-07-04 17:48:48 +02:00
|
|
|
comment "usbguard needs a glibc or uClibc toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
|
2021-06-08 14:32:10 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
2021-07-04 17:48:48 +02:00
|
|
|
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
|
|
|
|
|| BR2_TOOLCHAIN_USES_MUSL
|
2021-06-08 14:32:10 +02:00
|
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
2021-08-10 10:27:44 +02:00
|
|
|
|
|
|
|
comment "usbguard needs a toolchain not affected by GCC bug 64735"
|
|
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|