973da3d964ac633f163b7458481348043a3bc1ad
[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_WOLFSSL
13 bool "wolfSSL"
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 config LIBCURL_NGHTTP2
105 bool "HTTP2 protocol"
106 default n
107
108 comment "Miscellaneous"
109
110 config LIBCURL_PROXY
111 bool "Enable proxy support"
112 default y
113
114 config LIBCURL_CRYPTO_AUTH
115 bool "Enable cryptographic authentication"
116 default n
117
118 config LIBCURL_TLS_SRP
119 bool "Enable TLS-SRP authentication"
120 default n
121
122 config LIBCURL_LIBIDN
123 bool "Enable IDN support"
124 default n
125
126 config LIBCURL_THREADED_RESOLVER
127 bool "Enable threaded DNS resolver"
128 default n
129 help
130 Enable POSIX threaded asynchronous DNS resolution
131
132 config LIBCURL_ZLIB
133 bool "Enable zlib support"
134 default n
135
136 config LIBCURL_UNIX_SOCKETS
137 bool "Enable unix domain socket support"
138 default n
139 help
140 Enable HTTP over unix domain sockets.
141 To use this with the curl command line, you specify the socket path to the new --unix-domain option.
142 This feature is actually not limited to HTTP, you can do all the TCP-based protocols
143 except FTP over the unix domain socket, but it is only HTTP that is regularly used this way.
144 The reason FTP isn't supported is of course its use of two connections
145 which would be even weirder to do like this.
146
147 config LIBCURL_LIBCURL_OPTION
148 bool "Enable generation of C code"
149 default n
150
151 config LIBCURL_VERBOSE
152 bool "Enable verbose error strings"
153 default n
154
155 config LIBCURL_NTLM
156 bool "Enable NTLM support"
157 depends on LIBCURL_CRYPTO_AUTH && !LIBCURL_NOSSL
158 default n
159
160 endif