2014-02-19 10:44:56 by Jonathan Perkin | Files touched by this commit (8) |
Log message:
GCC_REQD should be appended to, not set.
Fixes issues where a newer GCC has been chosen by the user but the GCC_REQD
was forcing an older (and broken) one to be pulled regardless.
|
2014-02-13 00:18:57 by Matthias Scheler | Files touched by this commit (1568) |
Log message:
Recursive PKGREVISION bump for OpenSSL API version bump.
|
2014-01-10 12:33:14 by Ryo ONODERA | Files touched by this commit (1) |
Log message:
Remove obsolete patch
|
2014-01-08 17:32:30 by Ryo ONODERA | Files touched by this commit (5) |
Log message:
Update to 1.18.2
* This package requires gcc 4.7 later from pkgsrc
Changelog:
aria2 1.18.2
============
Release Note
------------
This release fixes the wrong handling of return value of fork(), which
leads to high CPU usage. The progress readout has some color output.
Mingw32 build now receives colorized output. Mingw32 build now can
read unicode command-line arguments. The build script of OSX was
rewritten. The --bt-max-open-files now limits the number of opened
file globally for multi-file downloads instead of per download basis.
Changes
-------
* Remove the outdated, broken build_osx_release.sh
* Initial revision of the a new OSX release Makefile
* Allow using libgmp with AppleTLS/WinTLS
* Fix crash when metaurl contains unsupported URI or text
* Fix bad fork() return value handling
* Use some colors in progress reports (where available)
* Implement basic color support for the Windows console
Only \033[*m (SGR) is supported, with a 16+16 color terminal.
* AppleTLS: Implement PKCS12 loading.
* Limit number of opened file globally with --bt-max-open-files option
This change changes the behavior of --bt-max-open-files. Previously,
it specifies the maximum number of opened files for each multi-file
download. Since it is more useful to limit the number globally, the
option now specifies the global limit. This change suggests that
aria2.changeOption() method now ignores --bt-max-open-files and
aria2.changeGlobalOption now reads it and dynamically change the
limit.
* Don't fail multiple concurrent dl same file if auto-file-renaming is
enabled
* mingw32: Use CommandLineToArgvW() and GetCommandLineW() to read
cmd-line args
This change enables aria2 to read unicode characters in
command-line.
aria2 1.18.1
============
Release Note
------------
This release fixes the percent-encoding bug which affects file name
encodings. It adds PKCS12 support in certificate import. It also adds
experimental internal implementation of message digest functions, ARC4
cipher and bignum. It means that no external libraries are required to
build BitTorrent support, but this feature is still marked as
experimental. This release also fixes the android build with NDK r9.
Changes
-------
* LibsslTLSContext: Remove weak cipher suite
* AppleTLS: Enable --certificate
* util::percentEncodeMini: Fix regression bug removed unsignedness
srange-based for around std::string is convenient but several
functions depend unsigned char for correctness and readability.
* Log exception; throw error if loading private key and/or certificate
failed
* Provide internal ARC4 implementation
Now you can build bittorrent support without without external
libraries, meaning you can skip libnettle, libgmp, libgcrypt, GnuTLS
and OpenSSL on OSX (for now).
* Internal implementation of DHKeyExchange
Reusing a bignum (well, unsigned very-long) implementation I had
lying around for years and just cleaned up a bit and brought to
C++11 land.
It might not be the most performant implementation, but it shoud be
fast enough for our purposes and will go a long way of removing
gcrypt, nettle, gmp, openssl dependencies when using AppleTLS and
WinTLS (upcoming).
* PKCS12 support in --certificate and --rpc-certificate options.
* Add --disable-ssl configure option
* Add internal md5 and sha1 message digests
* Fix AppleMessageDigestImpl use with large data
* Set old cookie's creation-time to new cookie on replacement
As described in http://tools.ietf.org/html/rfc6265#section-5.3
* Fix link error with Android NDK r9
Since Android ndk r9, __set_errno is deprecated. It is now defined
as inline function in errno.h. The syscall assembly calls
__set_errno, but since libc.so does not export it, the link
fails. To workaround this, replace all occurrences of __set_errno
with a2_set_errno and define it as normal C function.
aria2 1.18.0
============
Release Note
------------
This release changes the default disk cache size to 16 MiB. To change
the default size, --with-disk-cache configure option was added. Now
used URIs are also saved by --save-session option. The control file is
now always saved if --force-save is given. The ctrl-c handling on
Mingw build was improved. The internal intl library is no longer
supplied. From this release, C++11 compiler is required to build aria2
executable. For gcc, at least 4.6.3 is required.
Changes
-------
* Use AM subdir-objects
Doing so in AM_INIT_AUTOMAKE seems to be the most compatible way of
doing so.
Closes GH-120
* AM_SILENT_RULES([yes]) with backwards-compatiblity
Supported since automake-1.11. There is no point in having the very
verbose compile stuff running about, which cannot even silenced
properly with `make -s` by default. Otherwise, `make V=1` or
`--disable-silent-rules` are your friends
* Fix automake-1.14 am_aux_dir
AC_USE_SYSTEM_EXTENSIONS will cause AC_PROG_CC, which is overridden
by automake-1.14, which will then init (part) of automake, in
particular am_aux_dir expansion, which in turn relies on ac_aux-dir,
which is not initialized at this point, and thus: certain doom (or
fun, depending on your POV and mood :p)
Hence call AC_USE_SYSTEM_EXTENSIONS only after
AM_INIT_AUTOMAKE. This, of course, caused a lot of related macro
shuffling.
Tested against automake-1.10 (OSX Lion/XCode version) and
automake-1.14 (homebrew version)
* Require external gettext for --enable-nls
And stop using the internal flavor with ./intl
* Make AX_CXX_COMPILE_STDCXX_11 test for -stdlib=libc++ via std::shared_ptr
The clang shipped with OSX XCode and clangs not build enabling
libcpp, will default to the libstdc++ headers and lib installed on
the system. In the OSX case, that libstdc++ is the one bundles with
gcc-4.2, which is far too old to provide all required C++11 types,
such as std::shared_ptr. Hence, the C++11 check should try to
compile a program with a C++11 type and try -stdlib=libc++ if the
default lib fails to compile said program.
* Make the configure check for C++11 compiler mandatory
Remove stray "dnl", so that mandatory actually works with (my)
autoreconf.
* Always build doc/manual-src
Should sphinx-build be not available AND the man file not be prsent,
then just "touch" it into existence (and warn about that)
* Win: Use SetConsoleCtrlHandler for SIGINT/SIGTERM
* Implement a simple resource lock (threading)
In this initial implementation Locks are no-ops on platforms other
than Windows.
* Check for sphinx-build during configure
* Add --with-disk-cache configure option
Enables packagers more fine grained control over the default value
without having to mess with config files.
See GH-115
* Change defaults: Enable 16M disk cache by default.
* Always save control file if --force-save is given
* Set log level DEBUG for unittests
* Check that C++ compiler supports override keyword
If the compiler supports override, define CXX11_OVERRIDE as
override, otherwise define it as empty. Use CXX11_OVERRIDE instead
of override.
* AppleTLS: Fix MessageDigestImpl
* AppleTLS: Fix session CFRelease stuff
* Use AX_CXX_COMPILE_STDCXX_11 macro to detect C++0x/C++11 support in
compiler
* Require -std=c++11 and use std::shared_ptr instead of SharedHandle
* Join URI on redirect
* Send HAVE message to the peer which the piece is downloaded from
Historically, aria2 did not send HAVE message to the peer which the
piece is coming from, thinking it is obvious that the peer knows we
have the piece. But it is not obvious if one piece is download from
more than 1 peers (e.g., end game mode). So it is better to send
HAVE to all peers connected.
* Improvements to --follow-torrent=false documentation.
Patch from gt
* SessionSerializer: Truly unique URIs
Before, only spent uris where sanitized not to be contained within
remaining uris. Change this so that each uri in the
union(remaining,spent) get saved once at most. The order of the
uris will won't be changed, with remaining uris going first followed
by spent uris.
Also avoid copying the uri std::strings around during dupe checking,
usually resulting in better performance regarding CPU and space.
* Make getOption RPC method return option for stopped downloads
* SessionSerializer: Save spent URIs as well as remaining ones
|
2013-10-19 11:07:13 by Adam Ciarcinski | Files touched by this commit (346) |
Log message:
Revbump after updating textproc/icu
|
2013-07-14 17:03:14 by Blue Rats | Files touched by this commit (3) |
Log message:
Make NLS optional and move it to options.mk, but enabled by default. Move
gettext-lib dependency to that option. Buildlink libiconv and pthread.
USE_TOOLS+=bison msgfmt msgmerge xgettext. USE_LIBTOOL=yes.
Bump PKGREVISION.
|
2013-06-09 04:11:34 by Ryo ONODERA | Files touched by this commit (6) |
Log message:
Update to 1.17.1
Changelog:
aria2 1.17.1
============
Release Note
------------
This release adds large file support for Android build and libuv
support for event polling mechanism. AppleTLS now supports Snow
Leopard (10.6). The experimental libaria2 C++ library API was added.
Changes
-------
* Add code to detect rst2html.py or rst2html
* AppleTLS: Properly support Snow Leopard (10.6)
Tested on 10.6.8 + XCode 4.2 (llvm-gcc-4.2, clang)
Contributed by Nils Maier
* Enable multicast loopback in BitTorrent local peer discovery
* Enable TLS1.1 with gnutls build
* Support off64_t for Android build
Android NDK R8e does not provide ftruncate64, but bionic has the
assembler code to access kernel function. We borrowed those
ftruncate64.S files from android source code repository. It turns
out that x86 asm.h in NDK R8e is also broken, so latest asm.h was
also borrowed.
* Check zlib availability usin AC_CHECK_LIB
This is workaround for zlib 1.2.3 which does not come with
pkg-config file.
* Treat response is completed if EOF is received before streamFilter
completes
This fixes the error with web server which has buggy chunked
encoding.
* uitos: Fix off-by-one error bug
* Add configure support for linking tcmalloc_minimal and/or jemalloc
Both tcmalloc_minimal and jemalloc outperform the native malloc
implemention on Windows (MSVCRT) in terms of committed memory
consumption (~-30%) and performance (e.g. far less page faults,
~-60%), depending, of course, on the actual workload. The longer
the download queue, the bigger the impact ;)
On *nix the picture is a little different... tcmalloc usually still
outperforms the native malloc implementation, but not that
significantly than on Windows. jemalloc however is only marginally
better than recent native Linux implementations, while it is already
used by some BSD as the native allocator.
tcmalloc is part of gperftools and very mature and tested by now. It
doesn't work on OSX in the default configuration, however.
http://code.google.com/p/gperftools/
jemalloc is the default allocator at least on FreeBSD and NetBSD and
used in Firefox. http://www.canonware.com/jemalloc/index.html
Contributed by Nils Maier
* Close GZipFiles in the d'tor
Contributed by Nils Maier
* Add libaria2, C++ library interface to aria2
The libaria2 is a C++ library and offers the core functionality of
aria2. The library takes care of all networking and downloading
stuff, so its usage is very straight forward right now. See
libaria2ex.cc in examples directory to see how to use API. By
default, libaria2 is not built. See libaria2 section in README to
how to enable it.
The APIs in this release is considered experimental.
* Add missing check for sigaction
* Fix cached data is not flushed when downloaded data is less than
16KiB
* LibUV: Implement LibuvEventPoll
LibUV event will use the best available polling method on a system,
kind of like aria2 does already with the different *EventPoll
implementations. However, libuv may support different/newer polling
mechanisms; for example on Windows it will use IO Completion Ports
which are superior to select() ;)
Contributed by Nils Maier
aria2 1.17.0
============
Release Note
------------
This release adds Mac OS X native SSL/TLS library support. The IPv6
asynchronous DNS is enabled by default and A/AAAA lookups are done in
parallel. The simple Happy Eyeballs algorithm was implemented to
mitigate long timeout when connecting to IPv6 host on dual-stack host.
--save-session option only saves the options specified by command-line
or RPC.
Changes
-------
* Updated Russian manual
Contributed by ITriskTI
* Updated Portuguese manual
Contributed by Gilberto dos Santos Alves
* Append --static to pkg-config arguments when ARIA2_STATIC=yes
* Save options directly specified for download in --save-session
This change makes --save-session save only options specified for
download, more specifically, options in command-line, -i file and
via RPC. The other options from conf file and default values are not
saved. This will drastically decrease the size of session file.
* Save URI returned only from FileEntry::getRemainingUris()
The currently used URIs are inserted back into remaining URI list in
FileEntry::putBackRequest(), which overlaps to some of the URIs in
spentUris_. If we save spent URIs, each time save is performed, the
number of URIs are increased due to this overlap. This change fixes
this bug.
* Print linked 3rd party libraries with version in `aria2c -v` output
* AppleTLS: Support credentials via KeyChain fingerprints
Contributed by Nils Maier
* AppleTLS: Implement AppleTLS and Apple Message Digest
Contributed by Nils Maier
* Use info level log for system trusted ca imports failure
This is because on some platforms (gnutls on cygwin for example),
library always fails for this function and getting ERROR every time
aria2c invoked is too hard.
* Don't add Windows native DLLs for Cygwin build
* Remove deprecated options: --enable-direct-io and --metalink-servers
* Deprecate --enable-async-dns6
The IPv6 asynchronous name resolver is enabled if the host has at
least one interface with IPv6 address configured (the loopback
address will not be counted), which is roughly the same behaviour of
the standard getaddrinfo(3). To disable IPv6 asynchronous name
resolver, use --disable-ipv6.
* Fix uninitialized UDPTrackerClient::numWatchers_
* Implement simple Happy Eyeballs for HTTP/FTP downloads
* Parallel A and AAAA record lookups with c-ares
But we don't wait for AAAA query response if A query response has
been received. If we got IPv4 lookup response, we don't wait for
IPv6 lookup response. This is because DNS server may drop AAAA query
and we have to wait for the long time before timeout. We don't do
the inverse, because, based on todays deployment of DNS server,
almost all of them can respond A query just fine.
|
2013-05-09 09:40:47 by Adam Ciarcinski | Files touched by this commit (620) |
Log message:
Massive revbump after updating graphics/ilmbase, graphics/openexr, textproc/icu.
|
2013-05-04 14:50:39 by Joerg Sonnenberger | Files touched by this commit (2) |
Log message:
size_type is a trait of the container, not the iterator.
|
2013-03-19 16:48:29 by Ryo ONODERA | Files touched by this commit (3) |
Log message:
Update to 1.16.4
Changelog:
aria2 1.16.4
============
Release Note
------------
This release fixes the bug that active downloads are not saved with
--save-session-interval and the bug that aria2 hangs when size of
download result exceeds its maximum. BitTorrent UDP tracker support
was added. If the filename specified using --save-session ends with
".gz", aria2 stores the session file in gzipped form. The -i option
can handle this gzipped file as well as plain text file. 1.15.2 based
Portuguese translated manual was added.
Changes
-------
* Make configure argument meaning more consistent and obvious.
Most other software uses --disable/--without for features it does
build or at least check by default.
Change aria2 configure options so that:
* --enable-*: do not build by default, unless --enable specified
* --disable-*: check and build by default, unless --disable specified
* --with-*: do not use by default, unless --with specified
* --without-*: check and use by default, unless without specified
Contributed by Nils Maier
* Allow for out-of-tree Sphinx builds
Contributed by Nils Maier
* Bring back datetime in console log
* Run checksum check if -V and -c are used and file is completed
With -c option, aria2 can continue download after the existing file
position. If it is not completed, then after completion aria2 runs
checksum checking if available. But if existing file has already
been completed, then CreateRequestCommand exits without issuing
checksum checking. And aria2 treats it download error because it
needs checksum verification but it has not been done. This change
fixes this by properly checking download state and issue checksum
checking before CreateRequestCommand.
* Support for gzipped -i and --save-session
Saved sessions may very large, as in hundreds and even thousands of
megabyte when dealing with large queues. Add support to save and
reload sessions to gzipped files, when libz is available.
The session serializer will output gzipped contents when the file
ends with .gz, while the input file reader (UriListParser) will
accept whatever is thrown at it.
Document -i/--save-session gzip behaviour
Contributed by Nils Maier
* Do not use a virtual varargs function
This stuff breaks in some compiler (configurations)
Contributed by Nils Maier
* Check for sys/signal.h and/or signal.h
mingw-w64 does not actually have sys/signal.h, while OSX currently
has a broken signal.h Better check the presence of both and use
sys/signal.h if present, else signal.h
Contributed by Nils Maier
* Hygiene: Fix some clang warnings, mostly unused private members.
Contributed by Nils Maier
* Fix bustage on OSX with ./configure CC=cc CXX=c++ (clang)
Contributed by Nils Maier
* Do not reference RequestGroups longer than necessary
There is an initial vector of SharedHandle<RequestGroup> to seed the
DownloadEngine. This vector was however kept alive via main.cc ->
MultiUrlRequestInfo up until the program exits, hence effetively
leaking all initial RequestGroups and associated object instances.
Hence, as a matter of dirty-workaround, drop the contents of that
initial vector as soon as it is not required any longer.
Contributed by Nils Maier
* Detect console with on Windows
Contributed by Nils Maier
* Fix infinite loop when size of downloadResults_ exceeds maxDownloadResult_
* Support BitTorrent UDP tracker
It shares UDP listening port with IPv4 DHT. At the moment, in order
to enable UDP tracker support, enable IPv4 DHT.
* Show correct end byte in error message when HTTP response range is not ok
Previously, unless HTTP pipelining is enabled, end byte in that
message is always 0. With this change, it shows correct end byte
sent to the HTTP server.
* Add Portuguese manual
This translation is based on aria2 version 1.15.2 manual.
Contributed by Gilberto dos Santos Alves
* Fix bug that active downloads are not saved with --save-session-interval
|