summaryrefslogtreecommitdiff
path: root/package/network/utils/curl/Config.in
blob: 11cfa39e95d0139217c8ad6c6cc4b9431cd155d4 (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
if PACKAGE_libcurl

comment "SSL support"

choice
	prompt "Selected SSL library"
	default LIBCURL_POLARSSL

	config LIBCURL_POLARSSL
		bool "PolarSSL"

	config LIBCURL_CYASSL
		bool "CyaSSL"

	config LIBCURL_AXTLS
		bool "axTLS"

	config LIBCURL_OPENSSL
		bool "OpenSSL"

	config LIBCURL_GNUTLS
		bool "GNUTLS"

	config LIBCURL_NOSSL
		bool "No SSL support"

endchoice

comment "Supported protocols"

config LIBCURL_DICT
	bool "DICT protocol"
	default n

config LIBCURL_FILE
	bool "FILE protocol"
	default y

config LIBCURL_FTP
	bool "FTP / FTPS protocol"
	default y

config LIBCURL_GOPHER
	bool "Gopher protocol"
	default n

config LIBCURL_HTTP
	bool "HTTP / HTTPS protocol"
	default y

config LIBCURL_COOKIES
	bool "Enable Cookies support"
	depends on LIBCURL_HTTP
	default y

config LIBCURL_IMAP
	bool "IMAP / IMAPS protocol"
	default n

config LIBCURL_LDAP
	bool "LDAP protocol"
	default n

config LIBCURL_LDAPS
	bool "Enable LDAPS support"
	depends on LIBCURL_LDAP && !LIBCURL_NOSSL
	default y

config LIBCURL_POP3
	bool "POP3 / POP3S protocol"
	default n

config LIBCURL_RTSP
	bool "RTSP protocol"
	depends on LIBCURL_HTTP
	default n
config LIBCURL_NO_RTSP
	string "RTSP require HTTP protocol"
	depends on !LIBCURL_HTTP
	default "!"

config LIBCURL_SSH2
	bool "SCP / SFTP protocol"
	default n

config LIBCURL_SMB
	bool "SMB protocol (CIFS)"
	depends on LIBCURL_CRYPTO_AUTH && (LIBCURL_GNUTLS || LIBCURL_OPENSSL)
	default n
config LIBCURL_NO_SMB
	string "SMB require 'cryptographic authentication' and either 'GnuTLS' or 'OpenSSL'"
	depends on !LIBCURL_CRYPTO_AUTH || (!LIBCURL_GNUTLS && !LIBCURL_OPENSSL)
	default "!"

config LIBCURL_SMTP
	bool "SMTP / SMTPS protocol"
	default n

config LIBCURL_TELNET
	bool "TELNET protocol"
	default n

config LIBCURL_TFTP
	bool "TFTP protocol"
	default n

comment "Miscellaneous"

config LIBCURL_PROXY
	bool "Enable proxy support"
	default y

config LIBCURL_CRYPTO_AUTH
	bool "Enable cryptographic authentication"
	default n

config LIBCURL_TLS_SRP
	bool "Enable TLS-SRP authentication"
	default n

config LIBCURL_LIBIDN
	bool "Enable IDN support"
	default n

config LIBCURL_THREADED_RESOLVER
	bool "Enable threaded DNS resolver"
	default n
	help
		Enable POSIX threaded asynchronous DNS resolution

config LIBCURL_ZLIB
	bool "Enable zlib support"
	default n

config LIBCURL_UNIX_SOCKETS
	bool "Enable unix domain socket support"
	default n
	help
		Enable HTTP over unix domain sockets.
		To use this with the curl command line, you specify the socket path to the new --unix-domain option.
		This feature is actually not limited to HTTP, you can do all the TCP-based protocols 
		except FTP over the unix domain socket, but it is only HTTP that is regularly used this way. 
		The reason FTP isn't supported is of course its use of two connections 
		which would be even weirder to do like this.

config LIBCURL_LIBCURL_OPTION
	bool "Enable generation of C code"
	default n

config LIBCURL_VERBOSE
	bool "Enable verbose error strings"
	default n

endif