package/sshguard: need threads
authorPierre-Jean Texier <pjtexier@koncepto.io>
Sat, 3 Aug 2019 17:57:43 +0000 (19:57 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 3 Aug 2019 18:18:01 +0000 (20:18 +0200)
Fixes:
 - http://autobuild.buildroot.net/results/01fb32fdb21c60ffece09ea5e7ba7b58d989ed76/

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sshguard/Config.in

index e834f17f419d3883dac6ba71d824e6b68f74b6c4..7454c0a9312e4ce2e00f70126f84582397dd3e7a 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SSHGUARD
        bool "sshguard"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_IPTABLES # runtime
        help
          sshguard protects hosts from brute-force attacks against SSH
@@ -8,3 +9,6 @@ config BR2_PACKAGE_SSHGUARD
          including iptables, ipfw, and pf.
 
          https://www.sshguard.net
+
+comment "sshguard needs a toolchain w/ threads"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS