curl: Remove PolarSSL and adjust default to mbedTLS
[openwrt/openwrt.git] / package / network / utils / curl / Config.in
1 if PACKAGE_libcurl
2
3 comment "SSL support"
4
5 choice
6 prompt "Selected SSL library"
7 default LIBCURL_MBEDTLS
8
9 config LIBCURL_MBEDTLS
10 bool "mbed TLS"
11
12 config LIBCURL_CYASSL
13 bool "CyaSSL"
14
15 config LIBCURL_OPENSSL
16 bool "OpenSSL"
17
18 config LIBCURL_GNUTLS
19 bool "GNUTLS"
20
21 config LIBCURL_NOSSL
22 bool "No SSL support"
23
24 endchoice
25
26 comment "Supported protocols"
27
28 config LIBCURL_DICT
29 bool "DICT protocol"
30 default n
31
32 config LIBCURL_FILE
33 bool "FILE protocol"
34 default y
35
36 config LIBCURL_FTP
37 bool "FTP / FTPS protocol"
38 default y
39
40 config LIBCURL_GOPHER
41 bool "Gopher protocol"
42 default n
43
44 config LIBCURL_HTTP
45 bool "HTTP / HTTPS protocol"
46 default y
47
48 config LIBCURL_COOKIES
49 bool "Enable Cookies support"
50 depends on LIBCURL_HTTP
51 default y
52
53 config LIBCURL_IMAP
54 bool "IMAP / IMAPS protocol"
55 default n
56
57 config LIBCURL_LDAP
58 bool "LDAP protocol"
59 default n
60
61 config LIBCURL_LDAPS
62 bool "Enable LDAPS support"
63 depends on LIBCURL_LDAP && !LIBCURL_NOSSL
64 default y
65
66 config LIBCURL_POP3
67 bool "POP3 / POP3S protocol"
68 default n
69
70 config LIBCURL_RTSP
71 bool "RTSP protocol"
72 depends on LIBCURL_HTTP
73 default n
74 config LIBCURL_NO_RTSP
75 string "RTSP require HTTP protocol"
76 depends on !LIBCURL_HTTP
77 default "!"
78
79 config LIBCURL_SSH2
80 bool "SCP / SFTP protocol"
81 default n
82
83 config LIBCURL_SMB
84 bool "SMB protocol (CIFS)"
85 depends on LIBCURL_CRYPTO_AUTH && (LIBCURL_GNUTLS || LIBCURL_OPENSSL)
86 default n
87 config LIBCURL_NO_SMB
88 string "SMB require 'cryptographic authentication' and either 'GnuTLS' or 'OpenSSL'"
89 depends on !LIBCURL_CRYPTO_AUTH || (!LIBCURL_GNUTLS && !LIBCURL_OPENSSL)
90 default "!"
91
92 config LIBCURL_SMTP
93 bool "SMTP / SMTPS protocol"
94 default n
95
96 config LIBCURL_TELNET
97 bool "TELNET protocol"
98 default n
99
100 config LIBCURL_TFTP
101 bool "TFTP protocol"
102 default n
103
104 comment "Miscellaneous"
105
106 config LIBCURL_PROXY
107 bool "Enable proxy support"
108 default y
109
110 config LIBCURL_CRYPTO_AUTH
111 bool "Enable cryptographic authentication"
112 default n
113
114 config LIBCURL_TLS_SRP
115 bool "Enable TLS-SRP authentication"
116 default n
117
118 config LIBCURL_LIBIDN
119 bool "Enable IDN support"
120 default n
121
122 config LIBCURL_THREADED_RESOLVER
123 bool "Enable threaded DNS resolver"
124 default n
125 help
126 Enable POSIX threaded asynchronous DNS resolution
127
128 config LIBCURL_ZLIB
129 bool "Enable zlib support"
130 default n
131
132 config LIBCURL_UNIX_SOCKETS
133 bool "Enable unix domain socket support"
134 default n
135 help
136 Enable HTTP over unix domain sockets.
137 To use this with the curl command line, you specify the socket path to the new --unix-domain option.
138 This feature is actually not limited to HTTP, you can do all the TCP-based protocols
139 except FTP over the unix domain socket, but it is only HTTP that is regularly used this way.
140 The reason FTP isn't supported is of course its use of two connections
141 which would be even weirder to do like this.
142
143 config LIBCURL_LIBCURL_OPTION
144 bool "Enable generation of C code"
145 default n
146
147 config LIBCURL_VERBOSE
148 bool "Enable verbose error strings"
149 default n
150
151 config LIBCURL_NTLM
152 bool "Enable NTLM support"
153 depends on LIBCURL_CRYPTO_AUTH && !LIBCURL_NOSSL
154 default n
155
156 endif