blob: c5b0ac898f13a33957afc80e37bc493639acb22d [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001menu "Aria2 Configuration"
2 depends on PACKAGE_aria2
3
4choice
5 prompt "SSL Library"
6 default ARIA2_OPENSSL
7
8config ARIA2_OPENSSL
9 bool "OpenSSL"
10
11config ARIA2_GNUTLS
12 bool "GnuTLS"
13
14config ARIA2_NOSSL
15 bool "No SSL Support"
16
17endchoice
18
19choice
20 prompt "Crypto Library"
21 depends on !ARIA2_OPENSSL
22 default ARIA2_NOCRYPTO
23
24config ARIA2_NETTLE
25 bool "Nettle"
26
27config ARIA2_LIBGCRYPT
28 bool "Libgcrypt"
29
30config ARIA2_NOCRYPTO
31 bool "No Crypto Library"
32
33endchoice
34
35choice
36 prompt "XML Library"
37 default ARIA2_NOXML
38
39config ARIA2_LIBXML2
40 bool "Libxml2"
41
42config ARIA2_EXPAT
43 bool "Expat"
44
45config ARIA2_NOXML
46 bool "No XML Library"
47
48endchoice
49
50config ARIA2_GMP
51 bool "GNU Multiple Precision Arithmetic Library"
52 depends on ARIA2_NETTLE
53 default n
54
55config ARIA2_BITTORRENT
56 bool "Enable Bittorrent Support"
57 depends on ARIA2_OPENSSL || ARIA2_LIBGCRYPT || \
58 (ARIA2_NETTLE && ARIA2_GMP)
59 default y
60
61config ARIA2_METALINK
62 bool "Enable Metalink Support"
63 depends on !ARIA2_NOXML
64 default n
65
66config ARIA2_SFTP
67 bool "Enable SFTP Support"
68 default n
69
70config ARIA2_ASYNC_DNS
71 bool "Enable Async DNS Support"
72 default n
73
74config ARIA2_COOKIE
75 bool "Enable Firefox3/Chromium Cookie Support"
76 default n
77
78config ARIA2_WEBSOCKET
79 bool "Enable JSON-RPC over WebSocket Support"
80 depends on ARIA2_OPENSSL || ARIA2_LIBGCRYPT || ARIA2_NETTLE
81 default y
82
83endmenu