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

Imported Upstream version 1.24.0

parent 16794a78
These are people who made lots of contributions:
Tatsuhiro Tsujikawa <tatsuhiro.t at gmail dot com>
Ross Smith II <aria2spam at netebb dot com> (Windows port)
Nils Maier <maierman at web dot Germany>
The aria2 contributor's list extracted from commit logs [1]:
Alexander Amanuel
Anthony Bryan
Athmane Madjoudj
Cristian Rodríguez
Dan Fandrich
David Macek
ITriskTI
Igor Khomyakov
Jarda Snajdr
Kcchouette
Kurt Kartaltepe
Mingye Wang
Nils Maier
ORiON-
ReadmeCritic
Ross Smith II
Ryan Steinmetz
Ryo ONODERA
Sarim Khan
Sergey Zolotarev
Sonny Piers
Tatsuhiro Tsujikawa
Vasilij Schneidermann
Zoltan Toth-Czifra
amtlib-dot-dll
c3mb0
diadistis
gilberto dos santos alves
gt
kwkam
luokar
mozillazg
multisnow
oliviercommelarbre
rotor
suzker
[1] https://gist.github.com/tatsuhiro-t/deaffeb064652104ad11
This diff is collapsed.
......@@ -11,7 +11,7 @@
# $ sudo docker cp $id:/aria2/src/aria2c.exe <dest>
# $ sudo docker rm -v $id
FROM ubuntu
FROM ubuntu:wily
MAINTAINER Tatsuhiro Tsujikawa
......@@ -22,89 +22,92 @@ ENV HOST i686-w64-mingw32
# downloads.
# RUN sed -ie 's/archive\.ubuntu/jp.archive.ubuntu/g' /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y make binutils autoconf automake autotools-dev libtool \
pkg-config git curl dpkg-dev gcc-mingw-w64 \
autopoint libcppunit-dev libxml2-dev libgcrypt11-dev lzip
RUN apt-get update && \
apt-get install -y \
make binutils autoconf automake autotools-dev libtool \
pkg-config git curl dpkg-dev gcc-mingw-w64 \
autopoint libcppunit-dev libxml2-dev libgcrypt11-dev lzip
RUN curl -L -O https://gmplib.org/download/gmp/gmp-6.1.0.tar.lz
RUN curl -L -O http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
RUN curl -L -O http://www.sqlite.org/2016/sqlite-autoconf-3100200.tar.gz
RUN curl -L -O http://zlib.net/zlib-1.2.8.tar.xz
RUN curl -L -O http://c-ares.haxx.se/download/c-ares-1.10.0.tar.gz
RUN curl -L -O http://libssh2.org/download/libssh2-1.6.0.tar.gz
RUN curl -L -O https://gmplib.org/download/gmp/gmp-6.1.0.tar.lz && \
curl -L -o gmp-6.1.0.patch https://gmplib.org/repo/gmp-6.1/raw-rev/67d4ee9dead1 && \
curl -L -O http://downloads.sourceforge.net/project/expat/expat/2.1.1/expat-2.1.1.tar.gz && \
curl -L -O https://www.sqlite.org/2016/sqlite-autoconf-3130000.tar.gz && \
curl -L -O http://zlib.net/zlib-1.2.8.tar.xz && \
curl -L -O http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz && \
curl -L -O http://libssh2.org/download/libssh2-1.7.0.tar.gz
RUN tar xf gmp-6.1.0.tar.lz
RUN cd gmp-6.1.0 && \
RUN tar xf gmp-6.1.0.tar.lz && \
cd gmp-6.1.0 && \
patch -p1 < ../gmp-6.1.0.patch && \
./configure \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--disable-cxx \
--enable-fat \
CFLAGS="-mtune=generic -O2 -g0" && \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--disable-cxx \
--enable-fat \
CFLAGS="-mtune=generic -O2 -g0" && \
make install
RUN tar xf expat-2.1.0.tar.gz
RUN cd expat-2.1.0 && \
RUN tar xf expat-2.1.1.tar.gz && \
cd expat-2.1.1 && \
./configure \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` && \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` && \
make install
RUN tar xf sqlite-autoconf-3100200.tar.gz
RUN cd sqlite-autoconf-3100200 && \
RUN tar xf sqlite-autoconf-3130000.tar.gz && \
cd sqlite-autoconf-3130000 && \
./configure \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` && \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` && \
make install
RUN tar xf zlib-1.2.8.tar.xz
RUN cd zlib-1.2.8 && \
RUN tar xf zlib-1.2.8.tar.xz && \
cd zlib-1.2.8 && \
CC=$HOST-gcc \
AR=$HOST-ar \
LD=$HOST-ld \
RANLIB=$HOST-ranlib \
STRIP=$HOST-strip \
./configure \
--prefix=/usr/local/$HOST \
--libdir=/usr/local/$HOST/lib \
--includedir=/usr/local/$HOST/include \
--static && \
--prefix=/usr/local/$HOST \
--libdir=/usr/local/$HOST/lib \
--includedir=/usr/local/$HOST/include \
--static && \
make install
RUN tar xf c-ares-1.10.0.tar.gz
RUN cd c-ares-1.10.0 && \
RUN tar xf c-ares-1.11.0.tar.gz && \
cd c-ares-1.11.0 && \
./configure \
--disable-shared \
--enable-static \
--without-random \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
LIBS="-lws2_32" && \
--disable-shared \
--enable-static \
--without-random \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
LIBS="-lws2_32" && \
make install
RUN tar xf libssh2-1.6.0.tar.gz
RUN cd libssh2-1.6.0 && \
RUN tar xf libssh2-1.7.0.tar.gz && \
cd libssh2-1.7.0 && \
./configure \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
--without-openssl \
--with-wincng \
LIBS="-lws2_32" && \
--disable-shared \
--enable-static \
--prefix=/usr/local/$HOST \
--host=$HOST \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` \
--without-openssl \
--with-wincng \
LIBS="-lws2_32" && \
make install
RUN git clone https://github.com/tatsuhiro-t/aria2
RUN cd aria2 && autoreconf -i && ./mingw-config && make && \
RUN git clone https://github.com/aria2/aria2 && \
cd aria2 && autoreconf -i && ./mingw-config && make && \
$HOST-strip src/aria2c.exe
......@@ -80,7 +80,7 @@ RUN mkdir sqlite && cd sqlite && \
make -s install
RUN mkdir aria && cd aria && \
curl -s 'https://api.github.com/repos/tatsuhiro-t/aria2/releases/latest' | \
curl -s 'https://api.github.com/repos/aria2/aria2/releases/latest' | \
grep 'browser_download_url.*[0-9]\.tar\.bz2' | sed -e 's/^[[:space:]]*//' | \
cut -d ' ' -f 2 | xargs -I % curl -Ls -o - '%' | tar xjf - --strip-components=1 && \
./configure \
......
......@@ -204,8 +204,8 @@ CSCOPE = cscope
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README \
compile config.guess config.rpath config.sub install-sh \
ltmain.sh missing
compile config.guess config.rpath config.sub depcomp \
install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
......@@ -338,6 +338,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
aria2 1.21.0
aria2 1.24.0
============
Release Note
------------
This release fixes several bugs, see the Changes for details. We
added "following" key to the response of aria2.tellStatus RPC method
as reverse link for followedBy.
This release fixes several bugs. The new functionality is that when
options which is only applicable in waiting state are submitted to an
active download via RPC, the download is now automatically restarted
to reflect the changes. Previously, those options were just ignored.
Changes
-------
* SessionSerializer: Fix bug that pause=true is added to wrong item
* BitTorrent: Allow 32KiB request
This change also defers writing metadata download to the location
where first its follower download is written.
It looks like the 32KiB is the default request size of python
bittorrent client. Previously, aria2 only allowed maximum 16KiB
request.
* Add "following" to aria2.tellStatus response key as reverse link for
followedBy
* Don't unchoke peer which is not interested in us
* mingw: Add warning for falloc
* Fix bug that evaluation of Peer::amChoking is negated
* Update ciphers in AppleTLS
* Faster seed/download on fast connection
Also enable fast start while at it
* Increase DHT task concurrency to 15
* OSX: Enable libssh2 and sftp
Fix GH-653
Closes GH-468
* Fixed mmap failure check with MAP_FAILED flag
* Update OSX dependencies
Fix GH-662
Closes GH-466
Patch from suzker
* Fix compile error without TLS support
* Added file size overflow check for mmap on 32bit os
* Add support for using gnutls system wide crypto policy
Fix GH-662
Patch from Athmane Madjoudj
Patch from suzker
* Use standard percent-encode for tracker request query
Fix GH-659
* mingw32: Gain privilege before opening files
Fix GH-657
* Restart active download to apply previously not applicable options
Previously, we categorized options that can be used in
aria2.changeOption RPC method into 2 categories. The options in one
category can be applied on the fly, meaning that download continues
to be active while applying options. Another category includes
options which are only applicable when downloads are waiting or
paused.
In this change, when active download is ordered to change options
which only applicable in waiting or paused state, it is now paused,
and then automatically restarted. Although we have limited number
of download concurrency, the pause and restart is done atomically,
and the download is inserted at the front of the queue, it is picked
up immediately if the concurrency regulation allows.
Fix GH-640 and GH-644
......@@ -436,10 +436,10 @@ security issues.</p>
<div class="section" id="how-to-get-source-code">
<h1>How to get source code</h1>
<p>We maintain the source code at Github:
<a class="reference external" href="https://github.com/tatsuhiro-t/aria2">https://github.com/tatsuhiro-t/aria2</a></p>
<a class="reference external" href="https://github.com/aria2/aria2">https://github.com/aria2/aria2</a></p>
<p>To get the latest source code, run following command:</p>
<pre class="literal-block">
$ git clone https://github.com/tatsuhiro-t/aria2.git
$ git clone https://github.com/aria2/aria2.git
</pre>
<p>This will create aria2 directory in your current directory and source
files are stored there.</p>
......@@ -539,7 +539,7 @@ libraries:</p>
script respectively.</p>
<p>In order to enable async DNS support, you need c-ares.</p>
<ul class="simple">
<li>c-ares: <a class="reference external" href="http://daniel.haxx.se/projects/c-ares/">http://daniel.haxx.se/projects/c-ares/</a></li>
<li>c-ares: <a class="reference external" href="http://c-ares.haxx.se/">http://c-ares.haxx.se/</a></li>
</ul>
</div>
<div class="section" id="how-to-build">
......@@ -653,7 +653,7 @@ $ make check
<div class="section" id="cross-compiling-windows-binary">
<h1>Cross-compiling Windows binary</h1>
<p>In this section, we describe how to build a Windows binary using a
mingw-w64 (<a class="reference external" href="http://mingw-w64.sourceforge.net/">http://mingw-w64.sourceforge.net/</a>) cross-compiler on Debian
mingw-w64 (<a class="reference external" href="http://mingw-w64.org/doku.php">http://mingw-w64.org/doku.php</a>) cross-compiler on Debian
Linux. The MinGW (<a class="reference external" href="http://www.mingw.org/">http://www.mingw.org/</a>) may not be able to build
aria2.</p>
<p>The easiest way to build Windows binary is use Dockerfile.mingw. See
......@@ -904,7 +904,7 @@ and <a class="reference external" href="http://www.rasterbar.com/products/libtor
<li><a class="reference external" href="http://www.bittorrent.org/beps/bep_0027.html">BitTorrent: Private Torrents</a></li>
<li><a class="reference external" href="http://www.bittorrent.org/beps/bep_0032.html">BitTorrent: BitTorrent DHT Extensions for IPv6</a></li>
<li><a class="reference external" href="http://wiki.vuze.com/w/Message_Stream_Encryption">BitTorrent: Message Stream Encryption</a></li>
<li><a class="reference external" href="http://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf">Kademlia: A Peer-to-peer Information System Based on the XOR Metric</a></li>
<li><a class="reference external" href="https://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf">Kademlia: A Peer-to-peer Information System Based on the XOR Metric</a></li>
</ul>
</div>
</div>
......
......@@ -98,11 +98,11 @@ How to get source code
----------------------
We maintain the source code at Github:
https://github.com/tatsuhiro-t/aria2
https://github.com/aria2/aria2
To get the latest source code, run following command::
$ git clone https://github.com/tatsuhiro-t/aria2.git
$ git clone https://github.com/aria2/aria2.git
This will create aria2 directory in your current directory and source
files are stored there.
......@@ -183,7 +183,7 @@ script respectively.
In order to enable async DNS support, you need c-ares.
* c-ares: http://daniel.haxx.se/projects/c-ares/
* c-ares: http://c-ares.haxx.se/
How to build
------------
......@@ -307,7 +307,7 @@ Cross-compiling Windows binary
------------------------------
In this section, we describe how to build a Windows binary using a
mingw-w64 (http://mingw-w64.sourceforge.net/) cross-compiler on Debian
mingw-w64 (http://mingw-w64.org/doku.php) cross-compiler on Debian
Linux. The MinGW (http://www.mingw.org/) may not be able to build
aria2.
......@@ -584,4 +584,4 @@ References
* `BitTorrent: Private Torrents <http://www.bittorrent.org/beps/bep_0027.html>`_
* `BitTorrent: BitTorrent DHT Extensions for IPv6 <http://www.bittorrent.org/beps/bep_0032.html>`_
* `BitTorrent: Message Stream Encryption <http://wiki.vuze.com/w/Message_Stream_Encryption>`_
* `Kademlia: A Peer-to-peer Information System Based on the XOR Metric <http://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf>`_
* `Kademlia: A Peer-to-peer Information System Based on the XOR Metric <https://pdos.csail.mit.edu/~petar/papers/maymounkov-kademlia-lncs.pdf>`_
......@@ -553,8 +553,7 @@
slash. */
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
/* Name of package */
......
This diff is collapsed.
......@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
#
AC_PREREQ([2.67])
AC_INIT([aria2],[1.21.0],[https://github.com/tatsuhiro-t/aria2/issues],[aria2],[https://aria2.github.io/])
AC_INIT([aria2],[1.24.0],[https://github.com/aria2/aria2/issues],[aria2],[https://aria2.github.io/])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
......
......@@ -283,6 +283,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
......@@ -179,7 +179,7 @@ DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/lib/includes/wslay/wslayver.h.in AUTHORS COPYING \
ChangeLog INSTALL NEWS README compile config.guess config.sub \
install-sh ltmain.sh missing
depcomp install-sh ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
......@@ -268,6 +268,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
......@@ -63,8 +63,7 @@
/* Define to 1 if you have the <winsock2.h> header file. */
#undef HAVE_WINSOCK2_H
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#undef LT_OBJDIR
/* Name of package */
......
This diff is collapsed.
......@@ -282,6 +282,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
......@@ -205,6 +205,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
#
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
# Foundation, Inc.
# Written by Gary V. Vaughan, 2004
#
# This file is free software; the Free Software Foundation gives
......@@ -33,7 +34,7 @@ m4_define([_lt_join],
# ------------
# Manipulate m4 lists.
# These macros are necessary as long as will still need to support
# Autoconf-2.59 which quotes differently.
# Autoconf-2.59, which quotes differently.
m4_define([lt_car], [[$1]])
m4_define([lt_cdr],
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
......@@ -44,7 +45,7 @@ m4_define([lt_unquote], $1)
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
# ------------------------------------------
# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
# Note that neither SEPARATOR nor STRING are expanded; they are appended
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
......
# ltversion.m4 -- version numbers -*- Autoconf -*-
#
# Copyright (C) 2004 Free Software Foundation, Inc.
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
# Written by Scott James Remnant, 2004
#
# This file is free software; the Free Software Foundation gives
......@@ -9,15 +9,15 @@
# @configure_input@
# serial 3337 ltversion.m4
# serial 4179 ltversion.m4
# This file is part of GNU Libtool
m4_define([LT_PACKAGE_VERSION], [2.4.2])
m4_define([LT_PACKAGE_REVISION], [1.3337])
m4_define([LT_PACKAGE_VERSION], [2.4.6])
m4_define([LT_PACKAGE_REVISION], [2.4.6])
AC_DEFUN([LTVERSION_VERSION],
[macro_version='2.4.2'
macro_revision='1.3337'
[macro_version='2.4.6'
macro_revision='2.4.6'
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
_LT_DECL(, macro_revision, 0)
])
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
#
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
# Foundation, Inc.
# Written by Scott James Remnant, 2004.
#
# This file is free software; the Free Software Foundation gives
......@@ -11,7 +12,7 @@
# These exist entirely to fool aclocal when bootstrapping libtool.
#
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
# which have later been changed to m4_define as they aren't part of the
# exported API, or moved to Autoconf or Automake where they belong.
#
......@@ -25,7 +26,7 @@
# included after everything else. This provides aclocal with the
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
# because those macros already exist, or will be overwritten later.
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
#
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
# Yes, that means every name once taken will need to remain here until
......
......@@ -457,6 +457,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
......@@ -318,6 +318,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
This diff is collapsed.
......@@ -283,6 +283,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
......@@ -254,6 +254,7 @@ LTLIBOBJS = @LTLIBOBJS@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_REVISION = @LT_REVISION@
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
......
.\" Man page generated from reStructuredText.
.
.TH "ARIA2C" "1" "March 16, 2016" "1.21.0" "aria2"
.TH "ARIA2C" "1" "June 15, 2016" "1.24.0" "aria2"
.SH NAME
aria2c \- The ultra fast download utility
.
......@@ -405,6 +405,8 @@ honors
\fI\%\-\-min\-split\-size\fP option,
so it will be necessary to specify a reasonable value to
\fI\%\-\-min\-split\-size\fP option.
If \fBrandom\fP is given, aria2 selects piece randomly. Like
\fBinorder\fP, \fI\%\-\-min\-split\-size\fP option is honored.
If \fBgeom\fP is given, at the beginning aria2 selects piece which has
minimum index like \fBinorder\fP, but it exponentially increasingly
keeps space from previously selected piece. This will reduce the
......@@ -817,9 +819,12 @@ command\-line, don\(aqt forget to escape or quote it. See also
.INDENT 0.0
.TP
.B \-\-bt\-external\-ip=<IPADDRESS>
Specify the external IP address to report to a BitTorrent
tracker. Although this function is named \fBexternal\fP, it can accept
any kind of IP addresses. IPADDRESS must be a numeric IP address.
Specify the external IP address to use in BitTorrent download and DHT.
It may be sent to BitTorrent tracker. For DHT, this option should be
set to report that local node is downloading a particular torrent.
This is critical to use DHT in a private network. Although this
function is named \fBexternal\fP, it can accept any kind of IP
addresses.
.UNINDENT
.INDENT 0.0
.TP
......@@ -1490,13 +1495,14 @@ need to read them from the disk. SIZE can include \fBK\fP or \fBM\fP
.INDENT 0.0
.TP
.B \-\-download\-result=<OPT>
This option changes the way \fBDownload Results\fP is formatted. If OPT
is \fBdefault\fP, print GID, status, average download speed and
This option changes the way \fBDownload Results\fP is formatted. If
OPT is \fBdefault\fP, print GID, status, average download speed and
path/URI. If multiple files are involved, path/URI of first
requested file is printed and remaining ones are omitted. If OPT is
\fBfull\fP, print GID, status, average download speed, percentage of
progress and path/URI. The percentage of progress and path/URI are
printed for each requested file in each row.
printed for each requested file in each row. If OPT is \fBhide\fP,
\fBDownload Results\fP is hidden.
Default: \fBdefault\fP
.UNINDENT
.INDENT 0.0
......@@ -1579,6 +1585,16 @@ length.
.sp
Possible Values: \fBnone\fP, \fBprealloc\fP, \fBtrunc\fP, \fBfalloc\fP
Default: \fBprealloc\fP
.sp
\fBWARNING:\fP
.INDENT 7.0
.INDENT 3.5
Using \fBtrunc\fP seemingly allocates disk space very quickly, but
what it actually does is that it sets file length metadata in
file system, and does not allocate disk space at all. This means
that it does not help avoiding fragmentation.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
......@@ -1740,6 +1756,21 @@ Possible Values: \fB/path/to/command\fP