Commit 2c1bb0bd authored by Kartik Mistry's avatar Kartik Mistry 🇮🇳

New upstream version 1.27.1

parent fbc50077
......@@ -16,6 +16,7 @@ Cristian Rodríguez
Dan Fandrich
David Macek
Florian Gamböck
Fredrik Fornwall
ITriskTI
Igor Khomyakov
Jarda Snajdr
......@@ -33,6 +34,7 @@ Sergey Zolotarev
Sonny Piers
Sébastien Cabaniols
Tatsuhiro Tsujikawa
Torbjörn Lönnemark
Vasilij Schneidermann
Zoltan Toth-Czifra
amtlib-dot-dll
......
commit 9b26aa46e0f904a53e4428a136850255fb107cc2 (HEAD, tag: release-1.26.1, origin/release-1.26.x, origin/HEAD, release-1.26.x)
commit 561d49d6e530eb4ea4499f5bd7ce80416ff79738 (HEAD, tag: release-1.27.1, origin/master, origin/HEAD, master)
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2016-08-28
AuthorDate: 2016-09-17
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2016-08-28
CommitDate: 2016-09-17
Update NEWS
Bump up version number to 1.27.1
commit 753d00da99c0e760af419147be7b2e509021d2f3
commit 812136dd8b568bfe797744bcfcd496aaa2e1b714
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2016-08-28
AuthorDate: 2016-09-17
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2016-08-28
CommitDate: 2016-09-17
Bump up version number to 1.26.1
Update NEWS
commit 1640139a0da84bca73f1bb9e7c63afe8a0155d12
commit cfaec39be1ae9ac2c9b6a02470791b46ef15d934
Author: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
AuthorDate: 2016-08-20
AuthorDate: 2016-09-17
Commit: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
CommitDate: 2016-08-28
CommitDate: 2016-09-17
Make assertion hold
If we have peer which is already used, make addAndCheckoutPeer() fail.
If peer is in unused list, first remove the old entry, and then add
new one. This would make assertion in ~DefaultPeerStorage hold.
Add missing libssl_compat.h to SRCS
......@@ -30,7 +30,7 @@ RUN apt-get update && \
RUN curl -L -O https://gmplib.org/download/gmp/gmp-6.1.1.tar.lz && \
curl -L -O http://downloads.sourceforge.net/project/expat/expat/2.2.0/expat-2.2.0.tar.bz2 && \
curl -L -O https://sqlite.org/2016/sqlite-autoconf-3140100.tar.gz && \
curl -L -O https://sqlite.org/2016/sqlite-autoconf-3140200.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
......@@ -57,8 +57,8 @@ RUN tar xf expat-2.2.0.tar.bz2 && \
--build=`dpkg-architecture -qDEB_BUILD_GNU_TYPE` && \
make install
RUN tar xf sqlite-autoconf-3140100.tar.gz && \
cd sqlite-autoconf-3140100 && \
RUN tar xf sqlite-autoconf-3140200.tar.gz && \
cd sqlite-autoconf-3140200 && \
./configure \
--disable-shared \
--enable-static \
......
aria2 1.26.1
aria2 1.27.1
============
Release Note
------------
This release fixes the bug that causes assertion failure during
BitTorrent downloads.
This release fixes the packaging bug that libssl_compat.h is missing
in the tar balls.
Changes
-------
* Make assertion hold
* Add missing libssl_compat.h to SRCS
If we have peer which is already used, make addAndCheckoutPeer()
fail. If peer is in unused list, first remove the old entry, and
then add new one. This would make assertion in ~DefaultPeerStorage
hold.
GH-744
aria2 1.26.0
aria2 1.27.0
============
Release Note
------------
This release fixes linking bug with libaria2 enabled. It also changes
how aria2 renames the download file name when the same name already
exists in file system. In summary, we use numbers before extension
(e.g., foo.1.txt), rather than after extension (e.g., foo.txt.1). Now
--seed-time option can take floating point number to specify
fractional minutes.
This release fixes bug which may cause crash if UDP tracker is used.
It adds new option --save-not-found which prevents downloads failed by
"not found" error from being saved in session file.
Changes
-------
* aria2mon: Replace client.call with local method
* Hard-disable openssl in osx build
Patch from Florian Gamböck
Closes #739
* Reorder a note section in aria2c.rst
* Fix possible cause of crash if UDP tracker is used
Patch from Artur Petrov
* Remove custom ftruncate64 for Android
Closes GH-722
The latest NDK versions support ftruncate64, so building a local
copy of ftruncate64 is no longer needed.
* bash_completion: Add missing options which takes one of pre-defined
values
Also, the arm and x86 builds of ftruncate64 failed when targeting
API level 21 or higher, as they include <linux/err.h> which are not
present starting from API level 21.
* Replace "/" with "-" in magnet dn name when used as in-memory
download name
Patch from Fredrik Fornwall
* Fix Dockerfile.raspberrypi to correctly decompress expat archive
* Fix typo found by Debian's Lintian
Patch from Char
* Add --save-not-found option
* Enable ccache in travis-ci
* Update comment to match code
Speeds up the build most of the time.
Patch from Torbjörn Lönnemark
Closes GH-710
* WinTLS: Better errors (from WSA)
* Enable OSX/macOS build for travis
Closes GH-711
Closes GH-666
* Better auto-renaming
Up until now aria2 file auto renaming worked by just appending a new
unique number to the file path, behind the file name extension, if
any, changing what most other programs consider the file extension
in the process. Now, aria2 will attempt to insert the number before
the file extension, leaving the extension intact, so that e.g. a
".jpg" still is a ".jpg" file and opens in your configured image
viewer when clicking it. If a file has no extension (incl. so
called "dot files"), the number will be appended to the file name as
usual.
Note: This is a potentially breaking change that might break third
party scripts that rely on aria2 auto file renaming producing a
certain format for renamed files. Please fix your scripts
accordingly.
Closes GH-709
* Log number of items loaded from input file
* Link external libraries to libaria2 with --enable-libaria2
Fixes GH-707
* Allow seconds for seed-time (fractional minutes)
Patch from Sébastien Cabaniols
Closes GH-704
* Compile with openssl 1.1.0
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for aria2 1.26.1.
# Generated by GNU Autoconf 2.69 for aria2 1.27.1.
#
# Report bugs to <https://github.com/aria2/aria2/issues>.
#
......@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='aria2'
PACKAGE_TARNAME='aria2'
PACKAGE_VERSION='1.26.1'
PACKAGE_STRING='aria2 1.26.1'
PACKAGE_VERSION='1.27.1'
PACKAGE_STRING='aria2 1.27.1'
PACKAGE_BUGREPORT='https://github.com/aria2/aria2/issues'
PACKAGE_URL='https://aria2.github.io/'
......@@ -1591,7 +1591,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures aria2 1.26.1 to adapt to many kinds of systems.
\`configure' configures aria2 1.27.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
......@@ -1663,7 +1663,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of aria2 1.26.1:";;
short | recursive ) echo "Configuration of aria2 1.27.1:";;
esac
cat <<\_ACEOF
......@@ -1866,7 +1866,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
aria2 configure 1.26.1
aria2 configure 1.27.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -2874,7 +2874,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by aria2 $as_me 1.26.1, which was
It was created by aria2 $as_me 1.27.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
......@@ -3853,7 +3853,7 @@ fi
# Define the identity of the package.
PACKAGE='aria2'
VERSION='1.26.1'
VERSION='1.27.1'
cat >>confdefs.h <<_ACEOF
......@@ -27405,7 +27405,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by aria2 $as_me 1.26.1, which was
This file was extended by aria2 $as_me 1.27.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
......@@ -27472,7 +27472,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
aria2 config.status 1.26.1
aria2 config.status 1.27.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
......
......@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
#
AC_PREREQ([2.67])
AC_INIT([aria2],[1.26.1],[https://github.com/aria2/aria2/issues],[aria2],[https://aria2.github.io/])
AC_INIT([aria2],[1.27.1],[https://github.com/aria2/aria2/issues],[aria2],[https://aria2.github.io/])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
......
This diff is collapsed.
.\" Man page generated from reStructuredText.
.
.TH "ARIA2C" "1" "Aug 28, 2016" "1.26.1" "aria2"
.TH "ARIA2C" "1" "Sep 17, 2016" "1.27.1" "aria2"
.SH NAME
aria2c \- The ultra fast download utility
.
......@@ -1619,6 +1619,14 @@ Default: \fBfalse\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-save\-not\-found[=true|false]
Save download with \fI\%\-\-save\-session\fP option
even if the file was not found on the server. This option also saves
control file in that situations.
Default: \fBtrue\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-gid=<GID>
Set GID manually. aria2 identifies each download by the ID called
GID. The GID must be hex string of 16 characters, thus [0\-9a\-zA\-Z]
......@@ -1936,7 +1944,7 @@ given, file will be saved only when aria2 exits. Default: \fB0\fP
.INDENT 0.0
.TP
.B \-\-socket\-recv\-buffer\-size=<SIZE>
Set the maximum socket receive buffer in bytes. Specifing \fB0\fP
Set the maximum socket receive buffer in bytes. Specifying \fB0\fP
will disable this option. This value will be set to socket file
descriptor using \fBSO_RCVBUF\fP socket option with \fBsetsockopt()\fP
call. Default: \fB0\fP
......
......@@ -1348,6 +1348,13 @@ Advanced Options
BitTorrent seeding which is recognized as completed state.
Default: ``false``
.. option:: --save-not-found[=true|false]
Save download with :option:`--save-session <--save-session>` option
even if the file was not found on the server. This option also saves
control file in that situations.
Default: ``true``
.. option:: --gid=<GID>
Set GID manually. aria2 identifies each download by the ID called
......@@ -1623,7 +1630,7 @@ Advanced Options
.. option:: --socket-recv-buffer-size=<SIZE>
Set the maximum socket receive buffer in bytes. Specifing ``0``
Set the maximum socket receive buffer in bytes. Specifying ``0``
will disable this option. This value will be set to socket file
descriptor using ``SO_RCVBUF`` socket option with ``setsockopt()``
call. Default: ``0``
......
.\" Man page generated from reStructuredText.
.
.TH "ARIA2C" "1" "ago 28, 2016" "1.26.1" "aria2"
.TH "ARIA2C" "1" "set 17, 2016" "1.27.1" "aria2"
.SH NAME
aria2c \- Utilitário para download super ultra rápido
.
......
.\" -*- mode: troff; coding: utf-8 -*-
.\" Man page generated from reStructuredText.
.
.TH "ARIA2C" "1" "авг. 28, 2016" "1.26.1" "aria2"
.TH "ARIA2C" "1" "сент. 17, 2016" "1.27.1" "aria2"
.SH NAME
aria2c \- сверхбыстрая утилита загрузки
.
......@@ -1677,6 +1677,14 @@ aria2, пока не закончится резервирование мест
фрагментации.
.UNINDENT
.UNINDENT
.sp
\fBПРИМЕЧАНИЕ:\fP
.INDENT 7.0
.INDENT 3.5
В загрузках многофайлового торрента, по определенным смежным файлам также,
которые размещены в части одного блока.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
......@@ -1690,6 +1698,14 @@ aria2, пока не закончится резервирование мест
.UNINDENT
.INDENT 0.0
.TP
.B \-\-save\-not\-found[=true|false]
Сохранить загрузку с параметром \fI\%\-\-save\-session\fP,
даже если файл не был найден на сервере. В этой ситуации параметр
также сохраняет контрольный файл.
По умолчанию: \fBtrue\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-gid=<GID>
Задать GID вручную. aria2 идентифицирует каждую загрузку по ID,
называемому GID. GID должен быть шестнадцатеричной строкой из 16
......@@ -1900,14 +1916,6 @@ HTTP\-запросе. Для включения конвейерной обра
Задать интервал в секундах до вывода сообщения о прогрессе
загрузки. Установка \fB0\fP запрещает вывод.
По умолчанию: \fB60\fP
.sp
\fBПРИМЕЧАНИЕ:\fP
.INDENT 7.0
.INDENT 3.5
В загрузках многофайлового торрента, по определенным смежным файлам также,
которые размещены в части одного блока.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
......
......@@ -1412,6 +1412,11 @@ HTTP(S)/FTP, они тут же могут выгружаться в BitTorrent-
выделяется. Это означает, что это не помогает избежать
фрагментации.
.. note::
В загрузках многофайлового торрента, по определенным смежным файлам также,
которые размещены в части одного блока.
.. option:: --force-save[=true|false]
Сохранить загрузку с параметром :option:`--save-session <--save-session>`,
......@@ -1421,6 +1426,13 @@ HTTP(S)/FTP, они тут же могут выгружаться в BitTorrent-
состояние как завершенное.
По умолчанию: ``false``
.. option:: --save-not-found[=true|false]
Сохранить загрузку с параметром :option:`--save-session <--save-session>`,
даже если файл не был найден на сервере. В этой ситуации параметр
также сохраняет контрольный файл.
По умолчанию: ``true``
.. option:: --gid=<GID>
Задать GID вручную. aria2 идентифицирует каждую загрузку по ID,
......@@ -1609,11 +1621,6 @@ HTTP(S)/FTP, они тут же могут выгружаться в BitTorrent-
загрузки. Установка ``0`` запрещает вывод.
По умолчанию: ``60``
.. note::
В загрузках многофайлового торрента, по определенным смежным файлам также,
которые размещены в части одного блока.
.. option:: -Z, --force-sequential[=true|false]
Получить URI в последовательности командной строки и загрузить каждое
......
......@@ -17,8 +17,6 @@ autoreconf -i
make dist-bzip2 && make dist-gzip && make dist-xz || echo "error"
make distclean
exit 0
# mingw 32bit
export HOST=i686-w64-mingw32
export LABEL=win-32bit
......
......@@ -148,7 +148,7 @@ libssh2_hash = 02fef9bdafce3da466b36581a4ff53d519637aca
libssh2_url = https://www.libssh2.org/download/libssh2-$(libssh2_version).tar.gz
libssh2_cflags=$(LTO_FLAGS)
libssh2_ldflags=$(CFLAGS) $(LTO_FLAGS)
libssh2_confflags = --with-pic --with-libgcrypt --with-libgcrypt-prefix=$(PWD)/arch
libssh2_confflags = --with-pic --without-openssl --with-libgcrypt --with-libgcrypt-prefix=$(PWD)/arch
cppunit_version = 1.12.1
cppunit_hash = f1ab8986af7a1ffa6760f4bacf5622924639bf4a
......
No preview for this file type
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: aria2\n"
"Report-Msgid-Bugs-To: https://aria2.github.io/\n"
"POT-Creation-Date: 2016-08-28 15:09+0900\n"
"POT-Creation-Date: 2016-09-17 09:16+0900\n"
"PO-Revision-Date: 2010-11-16 03:29+0000\n"
"Last-Translator: ChArLoK_16 <Unknown>\n"
"Language-Team: Arabic <ar@li.org>\n"
......@@ -15,8 +15,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2016-08-28 03:00+0000\n"
"X-Generator: Launchpad (build 18179)\n"
"X-Launchpad-Export-Date: 2016-09-16 12:24+0000\n"
"X-Generator: Launchpad (build 18186)\n"
#: src/DownloadEngine.cc:247
msgid ""
......@@ -1114,7 +1114,7 @@ msgid ""
" --on-download-start=COMMAND Set the command to be executed after download\n"
" got started. aria2 passes 3 arguments to "
"COMMAND:\n"
" GID, the nubmer of files and file path. See "
" GID, the number of files and file path. See "
"Event\n"
" Hook in man page for more details."
msgstr ""
......@@ -1815,6 +1815,15 @@ msgstr ""
#: src/usage_text.h:975
msgid ""
" --save-not-found[=true|false] Save download with --save-session option "
"even\n"
" if the file was not found on the server. This\n"
" option also saves control file in that\n"
" situations."
msgstr ""
#: src/usage_text.h:980
msgid ""
" --disk-cache=SIZE Enable disk cache. If SIZE is 0, the disk "
"cache\n"
" is disabled. This feature caches the "
......@@ -1834,7 +1843,7 @@ msgid ""
" SIZE can include K or M(1K = 1024, 1M = 1024K)."
msgstr ""
#: src/usage_text.h:988
#: src/usage_text.h:993
msgid ""
" --gid=GID Set GID manually. aria2 identifies each\n"
" download by the ID called GID. The GID must "
......@@ -1853,11 +1862,11 @@ msgid ""
" by aria2."
msgstr ""
#: src/usage_text.h:1000
#: src/usage_text.h:1005
msgid " --console-log-level=LEVEL Set log level to output to console."
msgstr ""
#: src/usage_text.h:1002
#: src/usage_text.h:1007
msgid ""
" --save-session-interval=SEC Save error/unfinished downloads to a file\n"
" specified by --save-session option every SEC\n"
......@@ -1866,15 +1875,15 @@ msgid ""
" when aria2 exits."
msgstr ""
#: src/usage_text.h:1007
#: src/usage_text.h:1012
msgid " --enable-color[=true|false] Enable color output for a terminal."
msgstr ""
#: src/usage_text.h:1009
#: src/usage_text.h:1014
msgid " --rpc-secret=TOKEN Set RPC secret authorization token."
msgstr ""
#: src/usage_text.h:1011
#: src/usage_text.h:1016
msgid ""
" --dscp=DSCP Set DSCP value in outgoing IP packets of\n"
" BitTorrent traffic for QoS. This parameter "
......@@ -1892,7 +1901,7 @@ msgid ""
" use them as they are."
msgstr ""
#: src/usage_text.h:1022
#: src/usage_text.h:1027
msgid ""
" --rlimit-nofile=NUM Set the soft limit of open file descriptors.\n"
" This open will only have effect when:\n"
......@@ -1906,7 +1915,7 @@ msgid ""
" except that it will never decrease the limit."
msgstr ""
#: src/usage_text.h:1031
#: src/usage_text.h:1036
msgid ""
" --pause-metadata[=true|false]\n"
" Pause downloads created as a result of "
......@@ -1924,7 +1933,7 @@ msgid ""
" only when --enable-rpc=true is given."
msgstr ""
#: src/usage_text.h:1042
#: src/usage_text.h:1047
msgid ""
" --bt-detach-seed-only[=true|false]\n"
" Exclude seed only downloads when counting\n"
......@@ -1943,12 +1952,12 @@ msgid ""
" recognized as active download in RPC method."
msgstr ""
#: src/usage_text.h:1053
#: src/usage_text.h:1058
msgid ""
" --min-tls-version=VERSION Specify minimum SSL/TLS version to enable."
msgstr ""
#: src/usage_text.h:1055
#: src/usage_text.h:1060
msgid ""
" --bt-force-encryption[=true|false]\n"
" Requires BitTorrent message payload "
......@@ -1962,7 +1971,7 @@ msgid ""
" always encrypt message payload."
msgstr ""
#: src/usage_text.h:1063
#: src/usage_text.h:1068
msgid ""
" --ssh-host-key-md=TYPE=DIGEST\n"
" Set checksum for SSH host public key. TYPE is\n"
......@@ -1978,18 +1987,18 @@ msgid ""
" place."
msgstr ""
#: src/usage_text.h:1073
#: src/usage_text.h:1078
msgid ""
" --socket-recv-buffer-size=SIZE\n"
" Set the maximum socket receive buffer in "
"bytes.\n"
" Specifing 0 will disable this option. This "
" Specifying 0 will disable this option. This "
"value\n"
" will be set to socket file descriptor using\n"
" SO_RCVBUF socket option with setsockopt() call."
msgstr ""
#: src/usage_text.h:1079