hc
2024-08-13 72be3801e63d82671c9d90577a9efb3126a6aa37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
config BR2_PACKAGE_LIBSSH
   bool "libssh"
   depends on BR2_USE_MMU # fork()
   depends on !BR2_STATIC_LIBS
   depends on BR2_TOOLCHAIN_HAS_THREADS
   select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_MBEDTLS || BR2_PACKAGE_LIBGCRYPT)
   select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
   help
     libssh is a multiplatform C library implementing the SSHv2
     and SSHv1 protocol on client and server side. With libssh,
     you can remotely execute programs, transfer files, use a
     secure and transparent tunnel for your remote applications.
 
     http://www.libssh.org/
 
if BR2_PACKAGE_LIBSSH
 
config BR2_PACKAGE_LIBSSH_SERVER
   bool "server"
   help
     Enable libssh server support
 
choice
   prompt "Crypto Backend"
   help
     Select crypto library to be used in libssh.
 
config BR2_PACKAGE_LIBSSH_MBEDTLS
   bool "mbedtls"
   depends on BR2_PACKAGE_MBEDTLS
 
config BR2_PACKAGE_LIBSSH_LIBGCRYPT
   bool "gcrypt"
   depends on BR2_PACKAGE_LIBGCRYPT
 
config BR2_PACKAGE_LIBSSH_OPENSSL
   bool "openssl"
   depends on BR2_PACKAGE_OPENSSL
 
endchoice
 
endif
 
comment "libssh needs a toolchain w/ dynamic library, threads"
   depends on BR2_USE_MMU
   depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS