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