Commit a4bd8896 authored by Kartik Mistry's avatar Kartik Mistry 🇮🇳

Imported Upstream version 1.18.7

parent 517003b8
commit e5db3a4cbb8dbe0f535d4bcd01eb446d16362188
commit 24ae459523e4a41c711990b04bd9ed6f1222f559
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-03-30
AuthorDate: 2014-07-22
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-03-30
CommitDate: 2014-07-22
Update NEWS
commit 305ef84e5de5acd0281ae9636ad1239886e60b8f
commit da2cc9d3a9b2d98c947d4facef9863998e63909a
Merge: 93ceb5f 9b1667f
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-03-30
AuthorDate: 2014-07-21
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-03-30
CommitDate: 2014-07-21
Bump up version number to 1.18.5
Merge branch 'diadistis-master'
commit f0473dc34dfb4d36b92aee49a6373704582338b5
commit 9b1667fe81aadcac8a9e5ba66f62933040cafb50
Author: diadistis <bsotirid@gmail.com>
AuthorDate: 2014-07-20
Commit: diadistis <bsotirid@gmail.com>
CommitDate: 2014-07-20
Fixed segfault unsupported encodings
commit 93ceb5f448c5d1710a3f68313900c8dbf971f922
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-07-20
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-07-20
Update NEWS
commit 53718f169f6d74b3967760d2c37d0dfa397e9038
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-07-20
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-07-20
Bump up version number to 1.18.7
commit d69764879ef0c2eca973479f2dd3cccbaefc8281
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-07-20
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-07-20
Fix regression 100% CPU utility when -V is used and download is multi-file BT
This is regression of a3426821c8a7f9cf8d80a81726157d4eb844f661
commit b611cd2bdc44b9990ecb165f234b4c6495c0b12b
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-07-15
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-07-15
UnknownLengthPieceStorage: Use std::make_shared
commit a6b7bd03421b09c87c48c56440be35060d53d1fd
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-03-30
AuthorDate: 2014-07-15
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-03-30
CommitDate: 2014-07-15
Ignore error when setting DSCP value
Show bitfield for unknown length download in aria2.tellStatus RPC method
Setting DSCP is additional feature and failure to enable it should not
abort download entirely. This change fixes the bug that windows build
does not perform bittorrent downloads.
Generally, bitfield is not available for download whose total length
is unknown. We create bitfield when download is completed (usually
connection EOF) so that we can use it to show additional info in RPC
aria2.tellStatus response. Specifically, bitfield is now shown. And
completedLength under files key (or completedLength in
aria2.getFiles() response) is correctly shown.
commit 98681552fc811b797045851ff5b921d31dc5ca5f
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2014-07-14
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2014-07-14
Fix compile error on big endian platform
......@@ -11,14 +11,17 @@ EXTRA_DIST = config.rpath \
makerelease-osx.mk osx-package/DS_Store osx-package/etc/paths.d/aria2c osx-package/etc/manpaths.d/aria2 \
examples/libaria2ex.cc examples/libaria2wx.cc
dist_doc_DATA = README README.rst
dist_doc_DATA = README README.rst README.html
if HAVE_RST2HTML
dist_doc_DATA += README.html
README.html: README.rst
$(RST2HTML) $< > README.html
endif # HAVE_RST2HTML
$(RST2HTML) $< > $@
else # !HAVE_RST2HTML
README.html: README.rst
@echo Warning: rst2html not installed. Placing only a dummy file for $@
echo "<!doctype html>" > $@
echo "<p>Readme has not been built!.<br>Instead see <a href='README.rst'>README.rst</a></p>" >> $@
endif # !HAVE_RST2HTML
dist_noinst_DATA = LICENSE.OpenSSL
......@@ -79,12 +79,11 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
@HAVE_RST2HTML_TRUE@am__append_1 = README.html
subdir = .
DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/configure $(am__configure_deps) \
$(srcdir)/config.h.in ABOUT-NLS $(am__dist_doc_DATA_DIST) \
$(srcdir)/config.h.in ABOUT-NLS $(dist_doc_DATA) \
$(dist_noinst_DATA) COPYING compile config.guess config.rpath \
config.sub install-sh missing ltmain.sh
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
......@@ -136,7 +135,6 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__dist_doc_DATA_DIST = README README.rst README.html
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
......@@ -433,7 +431,7 @@ EXTRA_DIST = config.rpath \
makerelease-osx.mk osx-package/DS_Store osx-package/etc/paths.d/aria2c osx-package/etc/manpaths.d/aria2 \
examples/libaria2ex.cc examples/libaria2wx.cc
dist_doc_DATA = README README.rst $(am__append_1)
dist_doc_DATA = README README.rst README.html
dist_noinst_DATA = LICENSE.OpenSSL
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
......@@ -942,7 +940,11 @@ uninstall-am: uninstall-dist_docDATA
@HAVE_RST2HTML_TRUE@README.html: README.rst
@HAVE_RST2HTML_TRUE@ $(RST2HTML) $< > README.html
@HAVE_RST2HTML_TRUE@ $(RST2HTML) $< > $@
@HAVE_RST2HTML_FALSE@README.html: README.rst
@HAVE_RST2HTML_FALSE@ @echo Warning: rst2html not installed. Placing only a dummy file for $@
@HAVE_RST2HTML_FALSE@ echo "<!doctype html>" > $@
@HAVE_RST2HTML_FALSE@ echo "<p>Readme has not been built!.<br>Instead see <a href='README.rst'>README.rst</a></p>" >> $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
......
aria2 1.18.7
============
Release Note
------------
This release fixes regression which makes 100% CPU utilization in
multi-file torrent download with -V option. It also fixes build error
on big endian platforms.
Changes
-------
* Fixed segfault unsupported encodings
Patch from diadistis
* Fix regression 100% CPU utility when -V is used and download is
multi-file bittorrent downloads.
This is regression of a3426821c8a7f9cf8d80a81726157d4eb844f661
* Fix compile error on big endian platform
aria2 1.18.6
============
Release Note
------------
This release fixes several bugs reported in github issues and adds a
feature to make RPC authentication more resilient to certain attacks.
New option --pause-metadata is added. The explanation is a bit log,
so check the changelog and manual. The session is now only saved if
there are changes from the last saved state.
From this release, MinGW32 build uses Windows native TLS
implementation and no longer use OpenSSL library.
Changes
-------
* Disard cache when checking checksum
This will slow down checksum checking but does not thrash cache.
* Compat with libuv 0.11 (Unstable)
Fixes #241
* Drop WinMessageDigestImpl.
The algorithms the `CryptProv` on Windows supports does not
currently include SHA-224, so there is a "dark spot" in this
implementation. Also on Win XP < SP3, most of the SHA-2 family is
not actually supported. All other implementation provide support
for MD5, SHA-1 and all of the SHA-2 family, hence drop the
incomplete WinMessageDigest implementation in favor of any other
supported implementation (at least the internal implementation is
always available at compile-time).
* Add --pause-metadata option
This option pauses downloads created as a result of metadata
download. There are 3 types of metadata downloads in aria2: (1)
downloading .torrent file. (2) downloading torrent metadata using
magnet link. (3) downloading metalink file. These metadata
downloads will generate downloads using their metadata. This option
pauses these subsequent downloads.
* Improve compiler/platform/libs information in logs
Add and use usedCompilerAndPlatform(). This adds compiler
information to INFO logs and the --version output, and may be
helpful when trying to diagnose/reproduce user-reported problems.
Also make INFO logs include usedLibs() output.
Closes #235
* Fix use-after-free on exit with multi-file torrent download + DHT
DefaultPieceStorage may be referenced by one of DHT task (e.g.,
DHTPeerLookupTask), after RequestGroup was deleted, and even after
RequestGroupMan was deleted. DefaultPieceStorage has a reference to
MultiDiskAdaptor which calls RequestGroupMan object on destruction.
So when DHT task is destroyed, DefaultPieceStorage is destroyed,
which in turn destroys MultiDiskAdaptor. DHT task is destroyed
after RequestGroupMan was destroyed, MultiDiskAdaptor will use now
freed RequestGroupMan object, this is use-after-free.
* Fix bug that zero length file is not opened when flushing cache
This bug was only seen when MultiDiskAdaptor was used.
* Support PREF_DIR change for Metalink files
Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b,
and now support changing PREF_DIR for Metalink downloads.
* Fix assertion failure when dir option of paused HTTP/FTP download is
changed
When the directory is changed via aria2.changeOption RPC method, we
directly change first FileEntry's path using FileEntry::setPath().
If there is no PREF_OUT option is given, basically file name is
unknown, so we just set empty string and let the next run determine
the correct file name and new directory is applied there. But
previous code does not reset length property of FileEntry, so the
unexpected code path is taken when unpaused and its path expects
path is not empty string. This commit fixes this issue by setting
length to 0 using FileEntry::setLength().
* Save session only when there is change since the last serialization
This is a slight optimization not to cause useless disk access.
This only applies to saving session automatically (see
--save-session-interval). aria2.saveSession and serialization at
the end of the session are always performed as before.
When serialization, we first check that whether there is any change
since the last serialization. To do this, we first calculate hash
value of serialized content without writing into file. Then compare
this value to the value of last serialization. If they do not
match, perform serialization.
* Fix (unknown length) downloads larger than 2GiB
Closes #215
* Fix F_PREALLOC based allocation on some OSX versions
* Use index.html as filename for conditional-get when file is missing
in URI
Previously we disabled conditional-get if file part is missing in
URI. But we use constant string "index.html" in this case, so we
can do the same to determine the modification time. In this patch,
if we have file part in URI, we are not going to set absolute file
path in FileEntry, since it prevents content-disposition from
working.
* Always add README.html to dist_doc_DATA
rst2html is required to produce README.html from README.rst. We
include generated README.html to distribution. And rst2html is not
required when compiling sources in distribution and always
README.html is available.
* Validate token using PBKDF2-HMAC-SHA1.
This change should make token validation more resilient to:
- timing attacks (constant time array compare)
- brute-force/dictionary attacks (PBKDF2)
Closes #220
* Add --disable-websocket configure option
* mingw32: Enable wintls and compile with GMP
By enabling wintls, we can use Windows certificate store to validate
server's certificate. Previously, we built windows build using
openssl and since we don't bundle CA certificates, aria2 fails to
validate server's certificate unless user setups their CA
certificates. GMP provides fast big integer calculations, whic is
used in BitTorrent encryption.
* AppleTLS: Enable BEAST mitigations in ST
Only available in 10.9+, but since we might be building on a
previous version but running on 10.9+, always try to set the option.
* WinTLS: Accept chains with no revocation information.
This is kind what browser do anyway (IE, Firefox, Chrome tested),
what AppleTLS does, what GnuTLS does and what OpenSSL
does. Actually, most browsers will also be OK with the CRL/OCSP
provider being offline. WinTLS will still fail in that case.
Should revocation information be available in the trust chain (CRL
or OCSP) the certificate still will be checked!
"Real" CAs, aka. those provided by the OS or system CA bundle,
usually provide revocation information and are thus still checked.
It should be mostly (only?) custom (organization) CAs that lack
revocation information, but those users might want to use aria2 in
their intranets and VPNs anyway ;)
See #217
* Fix GnuTLS 2.x compatiblity
Closes GH-216
* AppleTLS: Use newer, non-deprecated API in 10.8+
aria2 1.18.5
============
......
......@@ -416,7 +416,7 @@ completely</li>
<li>Netrc support</li>
<li>Configuration file support</li>
<li>Download URIs found in a text file or stdin and the destination
directory and output filename can be specified optionally</li>
directory and output file name can be specified optionally</li>
<li>Parameterized URI support</li>
<li>IPv6 support with Happy Eyeballs</li>
<li>Disk cache to reduce disk activity</li>
......@@ -491,13 +491,15 @@ like to disable this behavior, run configure with
<p>GnuTLS has precedence over OpenSSL if both libraries are installed.
If you prefer OpenSSL, run configure with <tt class="docutils literal"><span class="pre">--without-gnutls</span></tt>
<tt class="docutils literal"><span class="pre">--with-openssl</span></tt>.</p>
<p class="last">On Windows there is an experimental SSL implementation available that
is based on the native Windows SSL capabilities (Schannel). Run
configure with <tt class="docutils literal"><span class="pre">--with-wintls</span></tt> to use.</p>
<p class="last">On Windows there is SSL implementation available that is based on
the native Windows SSL capabilities (Schannel) and it will be
preferred. Hence neither GnuTLS nor OpenSSL are required on that
platform. If you'd like to disable this behavior, run configure
with <tt class="docutils literal"><span class="pre">--without-wintls</span></tt>.</p>
</div>
<div class="note">
<p class="first admonition-title">Note</p>
<p>On Apple OSX the OS-level checksumming support will be preferred,
<p>On Apple OSX the OS-level checksum support will be preferred,
unless aria2 is configured with <tt class="docutils literal"><span class="pre">--without-appletls</span></tt>.</p>
<p>libnettle has precedence over libgcrypt if both libraries are
installed. If you prefer libgcrypt, run configure with
......@@ -505,9 +507,9 @@ installed. If you prefer libgcrypt, run configure with
GnuTLS, neither libnettle nor libgcrypt will be used.</p>
<p>If none of the optional dependencies are installed, an internal
implementation that only supports md5 and sha1 will be used.</p>
<p class="last">On Windows there is an experimental implementation available that is
based on the native Windows capabilities. Run configure with
<tt class="docutils literal"><span class="pre">--with-wintls</span></tt> to use.</p>
<p class="last">On Windows there is SSL implementation available that is based on
the native Windows capabilities and it will be preferred, unless
aria2 is configured with <tt class="docutils literal"><span class="pre">--without-wintls</span></tt>.</p>
</div>
<p>A user can have one of the following configurations for SSL and crypto
libraries:</p>
......@@ -534,7 +536,7 @@ standard. The current source code requires C++11 aware compiler. For
well-known compilers, such as g++ and clang, the <tt class="docutils literal"><span class="pre">-std=c++11</span></tt> or
<tt class="docutils literal"><span class="pre">-std=c++0x</span></tt> flag must be supported.</p>
<p>In order to build aria2 from the source package, you need following
development packages(package name may vary depending on the
development packages (package name may vary depending on the
distribution you use):</p>
<ul class="simple">
<li>libgnutls-dev (Required for HTTPS, BitTorrent, Checksum support)</li>
......@@ -587,7 +589,7 @@ $ make
<p>See <a class="reference internal" href="#cross-compiling-windows-binary">Cross-compiling Windows binary</a> to create a Windows binary.
See <a class="reference internal" href="#cross-compiling-android-binary">Cross-compiling Android binary</a> to create an Android binary.</p>
<p>The configure script checks available libraries and enables as many
features as possible execept for experimental features not enabled by
features as possible except for experimental features not enabled by
default.</p>
<p>Since 1.1.0, aria2 checks the certificate of HTTPS servers by default.
If you build with OpenSSL or the recent version of GnuTLS which has
......@@ -697,11 +699,13 @@ environment variable which must fulfill the following conditions:</p>
do this:</p>
<pre class="literal-block">
$NDK/build/tools/make-standalone-toolchain.sh --platform=android-18 --toolchain=arm-linux-androideabi-4.8 --install-dir=$ANDROID_HOME/toolchain
$NDK/build/tools/make-standalone-toolchain.sh --install-dir=$ANDROID_HOME/toolchain --toolchain=arm-linux-androideabi-4.8 --llvm-version=3.4
</pre>
<p>You may need to add <tt class="docutils literal"><span class="pre">--system=linux-x86_64</span></tt> to the above
command-line for x86_64 Linux host.</p>
</li>
<li><p class="first">The dependant libraries must be installed under
<li><p class="first">The dependent libraries must be installed under
<tt class="docutils literal">$ANDROID_HOME/usr/local</tt>.</p>
</li>
</ul>
......@@ -720,17 +724,17 @@ page by <tt class="docutils literal">make html</tt>. The HTML version manual is
translation</a>,
<a class="reference external" href="http://aria2.sourceforge.net/manual/pt/html/">Portuguese translation</a>).</p>
</div>
<div class="section" id="bittorrrent">
<h1>BitTorrrent</h1>
<div class="section" id="about-filenames">
<h2>About filenames</h2>
<p>The filename of the downloaded file is determined as follows:</p>
<div class="section" id="bittorrent">
<h1>BitTorrent</h1>
<div class="section" id="about-file-names">
<h2>About file names</h2>
<p>The file name of the downloaded file is determined as follows:</p>
<dl class="docutils">
<dt>single-file mode</dt>
<dd>If &quot;name&quot; key is present in .torrent file, filename is the value
of &quot;name&quot; key. Otherwise, filename is the basename of .torrent
<dd>If &quot;name&quot; key is present in .torrent file, file name is the value
of &quot;name&quot; key. Otherwise, file name is the base name of .torrent
file appended by &quot;.file&quot;. For example, .torrent file is
&quot;test.torrrent&quot;, then filename is &quot;test.torrent.file&quot;. The
&quot;test.torrent&quot;, then file name is &quot;test.torrent.file&quot;. The
directory to store the downloaded file can be specified by -d
option.</dd>
<dt>multi-file mode</dt>
......@@ -760,8 +764,8 @@ option to change the port number.</p>
<div class="section" id="other-things-should-be-noted">
<h2>Other things should be noted</h2>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">-o</span></tt> option is used to change the filename of .torrent file itself,
not a filename of a file in .torrent file. For this purpose, use
<li><tt class="docutils literal"><span class="pre">-o</span></tt> option is used to change the file name of .torrent file itself,
not a file name of a file in .torrent file. For this purpose, use
<tt class="docutils literal"><span class="pre">--index-out</span></tt> option instead.</li>
<li>The port numbers that aria2 uses by default are 6881-6999 for TCP
and UDP.</li>
......@@ -790,8 +794,8 @@ protocol and os.</p>
validates chunks of data during download. This behavior can be turned
off by a command-line option.</p>
<p>If signature is included in a Metalink file, aria2 saves it as a file
after the completion of the download. The filename is download
filename + &quot;.sig&quot;. If same file already exists, the signature file is
after the completion of the download. The file name is download
file name + &quot;.sig&quot;. If same file already exists, the signature file is
not saved.</p>
<p>In Metalink4, multi-file torrent could appear in metalink:metaurl
element. Since aria2 cannot download 2 same torrents at the same
......
......@@ -74,7 +74,7 @@ Here is a list of features:
* Netrc support
* Configuration file support
* Download URIs found in a text file or stdin and the destination
directory and output filename can be specified optionally
directory and output file name can be specified optionally
* Parameterized URI support
* IPv6 support with Happy Eyeballs
* Disk cache to reduce disk activity
......@@ -129,26 +129,28 @@ JSON-RPC over WebSocket libnettle or libgcrypt or OpenSSL
If you prefer OpenSSL, run configure with ``--without-gnutls``
``--with-openssl``.
On Windows there is an experimental SSL implementation available that
is based on the native Windows SSL capabilities (Schannel). Run
configure with ``--with-wintls`` to use.
On Windows there is SSL implementation available that is based on
the native Windows SSL capabilities (Schannel) and it 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-wintls``.
.. note::
On Apple OSX the OS-level checksumming support will be preferred,
On Apple OSX the OS-level checksum support will be preferred,
unless aria2 is configured with ``--without-appletls``.
libnettle has precedence over libgcrypt if both libraries are
installed. If you prefer libgcrypt, run configure with
``--without-libnettle --with-libgcrypt``. If OpenSSL is selected over
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.
On Windows there is an experimental implementation available that is
based on the native Windows capabilities. Run configure with
``--with-wintls`` to use.
On Windows there is SSL implementation available that is based on
the native Windows capabilities and it will be preferred, unless
aria2 is configured with ``--without-wintls``.
A user can have one of the following configurations for SSL and crypto
libraries:
......@@ -177,7 +179,7 @@ well-known compilers, such as g++ and clang, the ``-std=c++11`` or
``-std=c++0x`` flag must be supported.
In order to build aria2 from the source package, you need following
development packages(package name may vary depending on the
development packages (package name may vary depending on the
distribution you use):
* libgnutls-dev (Required for HTTPS, BitTorrent, Checksum support)
......@@ -234,7 +236,7 @@ See `Cross-compiling Windows binary`_ to create a Windows binary.
See `Cross-compiling Android binary`_ to create an Android binary.
The configure script checks available libraries and enables as many
features as possible execept for experimental features not enabled by
features as possible except for experimental features not enabled by
default.
Since 1.1.0, aria2 checks the certificate of HTTPS servers by default.
......@@ -359,10 +361,12 @@ environment variable which must fulfill the following conditions:
$NDK/build/tools/make-standalone-toolchain.sh --platform=android-18 --toolchain=arm-linux-androideabi-4.8 --install-dir=$ANDROID_HOME/toolchain
$NDK/build/tools/make-standalone-toolchain.sh --install-dir=$ANDROID_HOME/toolchain --toolchain=arm-linux-androideabi-4.8 --llvm-version=3.4
You may need to add ``--system=linux-x86_64`` to the above
command-line for x86_64 Linux host.
* The dependant libraries must be installed under
* The dependent libraries must be installed under
``$ANDROID_HOME/usr/local``.
Before running ``android-config`` and ``android-make``,
......@@ -383,18 +387,18 @@ translation <http://aria2.sourceforge.net/manual/ru/html/>`_,
`Portuguese translation
<http://aria2.sourceforge.net/manual/pt/html/>`_).
BitTorrrent
BitTorrent
-----------
About filenames
~~~~~~~~~~~~~~~
The filename of the downloaded file is determined as follows:
About file names
~~~~~~~~~~~~~~~~
The file name of the downloaded file is determined as follows:
single-file mode
If "name" key is present in .torrent file, filename is the value
of "name" key. Otherwise, filename is the basename of .torrent
If "name" key is present in .torrent file, file name is the value
of "name" key. Otherwise, file name is the base name of .torrent
file appended by ".file". For example, .torrent file is
"test.torrrent", then filename is "test.torrent.file". The
"test.torrent", then file name is "test.torrent.file". The
directory to store the downloaded file can be specified by -d
option.
......@@ -427,8 +431,8 @@ option to change the port number.
Other things should be noted
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* ``-o`` option is used to change the filename of .torrent file itself,
not a filename of a file in .torrent file. For this purpose, use
* ``-o`` option is used to change the file name of .torrent file itself,
not a file name of a file in .torrent file. For this purpose, use
``--index-out`` option instead.
* The port numbers that aria2 uses by default are 6881-6999 for TCP
and UDP.
......@@ -460,8 +464,8 @@ validates chunks of data during download. This behavior can be turned
off by a command-line option.
If signature is included in a Metalink file, aria2 saves it as a file
after the completion of the download. The filename is download
filename + ".sig". If same file already exists, the signature file is
after the completion of the download. The file name is download
file name + ".sig". If same file already exists, the signature file is
not saved.
In Metalink4, multi-file torrent could appear in metalink:metaurl
......
......@@ -593,7 +593,8 @@ to "yes", and re-run configure.
END
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
fi
fi])
fi
])
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
......
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright 1992-2013 Free Software Foundation, Inc.
# Copyright 1992-2014 Free Software Foundation, Inc.
timestamp='2013-06-10'
timestamp='2014-03-23'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
......@@ -50,7 +50,7 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright 1992-2013 Free Software Foundation, Inc.
Copyright 1992-2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
......@@ -149,7 +149,7 @@ Linux|GNU|GNU/*)
LIBC=gnu
#endif
EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
;;
esac
......@@ -826,7 +826,7 @@ EOF
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
i*:MSYS*:*)