浏览代码

Merge branch 'master' into random

Tatsuhiro Tsujikawa 12 年之前
父节点
当前提交
e3e4ff700a
共有 3 个文件被更改,包括 23 次插入7 次删除
  1. 13 2
      README.rst
  2. 1 1
      doc/manual-src/en/aria2c.rst
  3. 9 4
      doc/manual-src/ru/aria2c.rst

+ 13 - 2
README.rst

@@ -99,10 +99,11 @@ Dependency
 ======================== ========================================
 ======================== ========================================
 features                  dependency
 features                  dependency
 ======================== ========================================
 ======================== ========================================
-HTTPS                    GnuTLS or OpenSSL
+HTTPS                    OSX or GnuTLS or OpenSSL
 BitTorrent               libnettle+libgmp or libgcrypt or OpenSSL
 BitTorrent               libnettle+libgmp or libgcrypt or OpenSSL
 Metalink                 libxml2 or Expat.
 Metalink                 libxml2 or Expat.
-Checksum                 libnettle or libgcrypt or OpenSSL
+Checksum                 None. Optional: OSX or libnettle or libgcrypt
+                         or OpenSSL (see note)
 gzip, deflate in HTTP    zlib
 gzip, deflate in HTTP    zlib
 Async DNS                C-Ares
 Async DNS                C-Ares
 Firefox3/Chromium cookie libsqlite3
 Firefox3/Chromium cookie libsqlite3
@@ -118,16 +119,26 @@ JSON-RPC over WebSocket  libnettle or libgcrypt or OpenSSL
 
 
 .. note::
 .. note::
 
 
+  On Apple OSX the OS-level SSL/TLS support will be preferred. Hence
+  neither GnuTLS nor OpenSSL are required on that platform. If you'd like
+  to disable this behavior, run configure with ``--without-appletls``.
+
   GnuTLS has precedence over OpenSSL if both libraries are installed.
   GnuTLS has precedence over OpenSSL if both libraries are installed.
   If you prefer OpenSSL, run configure with ``--without-gnutls``
   If you prefer OpenSSL, run configure with ``--without-gnutls``
   ``--with-openssl``.
   ``--with-openssl``.
 
 
 .. note::
 .. note::
 
 
+  On Apple OSX the OS-level checksumming support will be preferred,
+  unless aria2 is configured with ``--without-appletls``.
+
   libnettle has precedence over libgcrypt if both libraries are
   libnettle has precedence over libgcrypt if both libraries are
   installed.  If you prefer libgcrypt, run configure with
   installed.  If you prefer libgcrypt, run configure with
   ``--without-libnettle --with-libgcrypt``. If OpenSSL is selected over
   ``--without-libnettle --with-libgcrypt``. If OpenSSL is selected over
   GnuTLS, neither libnettle nor libgcrypt will be used.
   GnuTLS, neither libnettle nor libgcrypt will be used.
+  
+  If none of the optional dependencies are installed, an internal
+  implementation that only supports md5 and sha1 will be used.
 
 
 A user can have one of the following configurations for SSL and crypto
 A user can have one of the following configurations for SSL and crypto
 libraries:
 libraries:

+ 1 - 1
doc/manual-src/en/aria2c.rst

@@ -924,7 +924,7 @@ RPC Options
   Use the certificate in FILE for RPC server. The certificate must be
   Use the certificate in FILE for RPC server. The certificate must be
   either in PKCS12 (.p12, .pfx) or in PEM format.
   either in PKCS12 (.p12, .pfx) or in PEM format.
 
 
-  PKCS12 files must contain the certifcate, a key and optionally a chain
+  PKCS12 files must contain the certificate, a key and optionally a chain
   of additional certificates. Only PKCS12 files with a blank import password
   of additional certificates. Only PKCS12 files with a blank import password
   can be opened!
   can be opened!
 
 

+ 9 - 4
doc/manual-src/ru/aria2c.rst

@@ -826,7 +826,7 @@ FTP, BitTorrent и Metalink. Для загрузки файла, aria2 може
   aria2 анализирует как torrent-файл и загружает файлы, указанные в нем.
   aria2 анализирует как torrent-файл и загружает файлы, указанные в нем.
   Если указано ``mem``, тогда torrent-файл не записывается на диск,
   Если указано ``mem``, тогда torrent-файл не записывается на диск,
   а содержится в памяти.
   а содержится в памяти.
-  Если указано ``false``, то файл `.torrent`` будет загружен на диск, но не
+  Если указано ``false``, то файл ``.torrent`` будет загружен на диск, но не
   будет проанализирован как торрент и его содержимое не будет загружено.
   будет проанализирован как торрент и его содержимое не будет загружено.
   По умолчанию: ``true``
   По умолчанию: ``true``
 
 
@@ -988,9 +988,14 @@ FTP, BitTorrent и Metalink. Для загрузки файла, aria2 може
 .. option:: --rpc-certificate=<FILE>
 .. option:: --rpc-certificate=<FILE>
 
 
   Использовать сертификат в FILE для RPC-сервера. Сертификат должен быть
   Использовать сертификат в FILE для RPC-сервера. Сертификат должен быть
-  в PEM-формате. Используйте параметр :option:`--rpc-private-key`,
-  чтобы указать закрытый ключ. Используйте параметр :option:`--rpc-secure`
-  для включения шифрования.
+  один из двух: PKCS12 (.p12, .pfx) или в PEM-формате.
+
+  PKCS12-файлы должны содержать сертификат, ключ и, необязательно, цепочку
+  дополнительных сертификатов. Могут быть открыты PKCS12-файлы только
+  с пустым импортированным паролем!
+
+  При использовании PEM, вы также указываете закрытый ключ через :option:`--rpc-private-key`,
+  Используйте параметр :option:`--rpc-secure` для включения шифрования.
 
 
   *AppleTLS* пользователи должны использовать утилиту Keychain Access, чтобы
   *AppleTLS* пользователи должны использовать утилиту Keychain Access, чтобы
   сначала генерировать самоподписанный SSL-Server сертификат, например,
   сначала генерировать самоподписанный SSL-Server сертификат, например,