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