~ubuntu-branches/ubuntu/trusty/aria2/trusty-proposed

« back to all changes in this revision

Viewing changes to README.rst

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-12-16 18:41:03 UTC
  • mfrom: (2.5.21 sid)
  • Revision ID: package-import@ubuntu.com-20131216184103-xzah3019zwut429g
Tags: 1.18.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
======================== ========================================
100
100
features                  dependency
101
101
======================== ========================================
102
 
HTTPS                    GnuTLS or OpenSSL
 
102
HTTPS                    OSX or GnuTLS or OpenSSL
103
103
BitTorrent               libnettle+libgmp or libgcrypt or OpenSSL
104
104
Metalink                 libxml2 or Expat.
105
 
Checksum                 libnettle or libgcrypt or OpenSSL
 
105
Checksum                 None. Optional: OSX or libnettle or libgcrypt
 
106
                         or OpenSSL (see note)
106
107
gzip, deflate in HTTP    zlib
107
108
Async DNS                C-Ares
108
109
Firefox3/Chromium cookie libsqlite3
118
119
 
119
120
.. note::
120
121
 
 
122
  On Apple OSX the OS-level SSL/TLS support will be preferred. Hence
 
123
  neither GnuTLS nor OpenSSL are required on that platform. If you'd like
 
124
  to disable this behavior, run configure with ``--without-appletls``.
 
125
 
121
126
  GnuTLS has precedence over OpenSSL if both libraries are installed.
122
127
  If you prefer OpenSSL, run configure with ``--without-gnutls``
123
128
  ``--with-openssl``.
124
129
 
125
130
.. note::
126
131
 
 
132
  On Apple OSX the OS-level checksumming support will be preferred,
 
133
  unless aria2 is configured with ``--without-appletls``.
 
134
 
127
135
  libnettle has precedence over libgcrypt if both libraries are
128
136
  installed.  If you prefer libgcrypt, run configure with
129
137
  ``--without-libnettle --with-libgcrypt``. If OpenSSL is selected over
130
138
  GnuTLS, neither libnettle nor libgcrypt will be used.
 
139
  
 
140
  If none of the optional dependencies are installed, an internal
 
141
  implementation that only supports md5 and sha1 will be used.
131
142
 
132
143
A user can have one of the following configurations for SSL and crypto
133
144
libraries:
183
194
* libexpat1-dev    (Required for Metalink support)
184
195
 
185
196
On Fedora you need the following packages: gcc, gcc-c++, kernel-devel,
186
 
libgcrypt-devel, libgcrypt-devel, libxml2-devel, openssl-devel,
187
 
gettext-devel, cppunit
 
197
libgcrypt-devel, libxml2-devel, openssl-devel, gettext-devel, cppunit
188
198
 
189
199
If you downloaded source code from git repository, you have to run
190
200
following command to generate configure script and other files
296
306
In this section, we describe how to build Android binary using Android
297
307
NDK cross-compiler on Debian Linux.
298
308
 
 
309
At the time of this writing, android-ndk-r9 should compile aria2
 
310
without errors.
 
311
 
299
312
``android-config`` script is a configure script wrapper for Android
300
313
build.  We use it to create official Android build.  This script
301
314
assumes the following libraries have been built for cross-compile:
315
328
environment variable which must fulfill the following conditions:
316
329
 
317
330
* Android NDK toolchain is installed under
318
 
  ``$ANDROID_HOME/toolchain``.  Refer to "3/ Invoking the compiler
 
331
  ``$ANDROID_HOME/toolchain``.  Refer to "4/ Invoking the compiler
319
332
  (the easy way):" section in Android NDK
320
333
  ``docs/STANDALONE-TOOLCHAIN.html`` to install custom toolchain.
321
334
 
322
335
  For example, to install toolchain under ``$ANDROID_HOME/toolchain``,
323
336
  do this::
324
337
 
325
 
      $NDK/build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=$ANDROID_HOME/toolchain
 
338
      $NDK/build/tools/make-standalone-toolchain.sh --platform=android-18 --toolchain=arm-linux-androideabi-4.8 --install-dir=$ANDROID_HOME/toolchain
326
339
 
327
340
  You may need to add ``--system=linux-x86_64`` to the above
328
341
  command-line for x86_64 Linux host.