aria2: Fix typo in Config.in
[feed/packages.git] / net / aria2 / Config.in
index 2f0443993f052ada1cba15b49ffb2b7c419876e2..c5b0ac898f13a33957afc80e37bc493639acb22d 100644 (file)
@@ -9,21 +9,63 @@ config ARIA2_OPENSSL
        bool "OpenSSL"
 
 config ARIA2_GNUTLS
-       bool "GNUTLS"
+       bool "GnuTLS"
 
 config ARIA2_NOSSL
        bool "No SSL Support"
 
 endchoice
 
+choice
+       prompt "Crypto Library"
+       depends on !ARIA2_OPENSSL
+       default ARIA2_NOCRYPTO
+
+config ARIA2_NETTLE
+       bool "Nettle"
+
+config ARIA2_LIBGCRYPT
+       bool "Libgcrypt"
+
+config ARIA2_NOCRYPTO
+       bool "No Crypto Library"
+
+endchoice
+
+choice
+       prompt "XML Library"
+       default ARIA2_NOXML
+
+config ARIA2_LIBXML2
+       bool "Libxml2"
+
+config ARIA2_EXPAT
+       bool "Expat"
+
+config ARIA2_NOXML
+       bool "No XML Library"
+
+endchoice
+
+config ARIA2_GMP
+       bool "GNU Multiple Precision Arithmetic Library"
+       depends on ARIA2_NETTLE
+       default n
+
 config ARIA2_BITTORRENT
        bool "Enable Bittorrent Support"
-       depends on ARIA2_OPENSSL
+       depends on ARIA2_OPENSSL || ARIA2_LIBGCRYPT || \
+               (ARIA2_NETTLE && ARIA2_GMP)
+       default y
+
+config ARIA2_METALINK
+       bool "Enable Metalink Support"
+       depends on !ARIA2_NOXML
        default n
 
 config ARIA2_SFTP
-        bool "Enable SFTP Support"
-        default n
+       bool "Enable SFTP Support"
+       default n
 
 config ARIA2_ASYNC_DNS
        bool "Enable Async DNS Support"
@@ -33,21 +75,9 @@ config ARIA2_COOKIE
        bool "Enable Firefox3/Chromium Cookie Support"
        default n
 
-config ARIA2_METALINK
-       bool "Enable Metalink Support"
-       default n
-
-choice
-       prompt "XML Library"
-       default ARIA2_LIBXML2
-       depends on ARIA2_METALINK
-
-config ARIA2_LIBXML2
-        bool "LIBXML2"
-
-config ARIA2_EXPAT
-       bool "EXPAT"
-
-endchoice
+config ARIA2_WEBSOCKET
+       bool "Enable JSON-RPC over WebSocket Support"
+       depends on ARIA2_OPENSSL || ARIA2_LIBGCRYPT || ARIA2_NETTLE
+       default y
 
 endmenu