2012-01-14 16:15:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.31 2012/01/14 15:15:16 ryoon Exp $
|
2007-10-17 11:42:39 +02:00
|
|
|
#
|
|
|
|
|
2012-01-14 16:15:16 +01:00
|
|
|
DISTNAME= aria2-1.14.1
|
2007-10-17 11:42:39 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aria2/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-10-17 11:42:39 +02:00
|
|
|
HOMEPAGE= http://aria2.sourceforge.net/
|
Update to version 0.15.2. This release features extensive bug fixes and
significant feature enhancements; it also now builds on OpenSolaris
(tested with NexentaOS by development community).
I urge all users to upgrade.
A _partial_ list of changes:
- Added and/or updated Danish, Greek, Spanish, Catalan,
Norwegian Nynorsk, Bulgarian, French, Catalan, and Japanese
translations.
- Man page fixes.
- Fixed: numCommand is less than the value specified in -C option.
- Myriad bug fixes.
- Now uses name attribute in Metalink as local filename in
BitTorrent downloads. BUG#2033999
- Fixed memory leaks in test code.
- Fixed wrong argument passing to BitfieldMan::isBitSet()
- Initialized _directIOAllowed
- Fixed memory leak in gzip decoder and metalink parser state
machine.
- Plug many other memory leaks and fix unmatch malloc/free calls.
- Removed max chunk size check. This change fixes BUG#2040169
- Fixed the bug that causes segmentaion fault when resuming
download using metalink without size tag. Reproducible only
using HTTP URI.
- Removed writable check when socket's send buffer is full in
BitTorrent downloads to lower CPU usage.
- Fixed broken gzip inflation.
Turn off segmented downloading if gzip content is smaller than
or equal to 1MiB and inflate the data on the fly, because HTTP
response header doesn't contain the length of inflated
file we can't determin where the chunk of data should be written.
On the other hand, if gzip content is larger than 1MB, then
turn off on the fly inflation, because some servers returns
"content-type: gzip" for *.tgz, *.gz files.
- Added gzip decompressor via libz.
- Cache last calculated average download/upload speed.
- Supported absolute/relative path in Location header field.
- Use File::exists() instead of File::isFile() to allow non-
regular file such as block special files.
- Added a message "aria2 doesn't verify signature" to log message
when signature file is saved.
- Added the ability to save signature when download is completed
if signature is available. The filename of signature file is
the path to download file followed by ".sig". If it already
exists, then signature will not be saved.
- Improve accuracy of documentation and rename some options to be
more descriptive of their functions/purposes.
- Added the ability to retrieve signature from Metalink file.
A retrieved signature is stored in Signature class and it is
held by DownloadContext class. Note that aria2 doesn't
verify signature.
- Added --bt-seed option. If --bt-seed=true is given at the
command-line, aria2 seeds previously downloaded files
without validating piece hashes.
- Fixed the compile error on Nexenta OS(GNU/Solaris OS).
(Don't define `struct addrinfo' when __sun is defined)
- Fixed the bug that UTF-8 encoded URL is not URL-encoded
- Properly differentiate between ftp errors and actual zero-byte
files (now supports ftp servers which do not recognize SIZE
raw command).
2008-08-19 16:41:58 +02:00
|
|
|
COMMENT= Multi-threaded, multi-protocol, flexible download accelerator
|
2011-03-02 14:22:38 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2007-10-17 11:42:39 +02:00
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LANGUAGES= c c++
|
Update to version 0.13.1+2. This update includes myriad bug fixes
and feature enhancements--way too many for this commit message.
While here, deprecate aria2-metalink option. Aria2 now supports
building with libexpat, so we do that by default now.
Some of the more significant changes:
-------------------------------------
* Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
installed. Fixed compilation on: x84-64 platform, Mac OSX, g++-4.3,
and without c-ares/ares.
* Added Simplified Chinese translation. Also updated the following
translations: Polish, Dutch, German, Thai, Indonesian,
Norwegian Nynorsk, Hungarian, Finnish, Hebrew.
* Changed inactive connection timeout to 120.
To accept more mulually interested peers, disconnect peer when there
is no interest between us after certain time passed.
Lengthened DNS timeout to 30. I think old value '10' will be a
little bit short when some DNS servers are offline and several
DNS servers are tried. It should be configured by
command-line option.
* Fixed the bug that prevents aria2 from stopping other than by pressing
Ctrl-C in BitTorrent download. It is reproducible using --seed-time
option. aria2 doesn't stop even after --seed-time is satisfied and
continues to output blank lines in the console.
* Added Message Stream Encryption(MSE) support.
Currently, aria2 accepts incoming connections with Obfuscation Header
and legacy BitTorrent Header and establishes connections with
Obfuscation Header first and if failed then retry with legacy
BitTorrent header. If plain text and ARC4 is provided, aria2 always
choose ARC4. The new option to change the default behavior is planned.
For tracker extension, "supportcrypto=1" is added statically.
* Added the ability to load nodes from torrent file. These nodes are
added to the routing table when downloading that torrent.
* Added the ability to stop aria2 itself when given time has passed
from start. Use --stop option to specify time in minutes.
When 0 is given, this feature is disabled.
before calling RequestGroupMan::fillRequestGroupFromReserver().
Without this modification, the result list shows "ERR" when aria2 is
stopped by --stop option. It should be "INPR".
Bootstrap through node added by port message.
Currently bootstrap is executed if the number of buckets in routing
table is 1.
* Added DHT functionality, compatible with mainline.
DHT is disabled by default. To enable it, give --enable-dht to aria2c.
You may need to specify entry point to DHT network using
--dht-entry-point. DHT uses UDP port to listen incoming message.
Use --dht-listen-port to specify port number. Make sure that your
firewall configuration can pass through UDP traffic to the port.
The routing table is saved in $HOME/.aria2/dht.dat. Request peers though
DHT only when download hasn't finished.
2008-04-16 02:09:39 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2007-10-17 11:42:39 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-bittorrent
|
Update to version 0.13.1+2. This update includes myriad bug fixes
and feature enhancements--way too many for this commit message.
While here, deprecate aria2-metalink option. Aria2 now supports
building with libexpat, so we do that by default now.
Some of the more significant changes:
-------------------------------------
* Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
installed. Fixed compilation on: x84-64 platform, Mac OSX, g++-4.3,
and without c-ares/ares.
* Added Simplified Chinese translation. Also updated the following
translations: Polish, Dutch, German, Thai, Indonesian,
Norwegian Nynorsk, Hungarian, Finnish, Hebrew.
* Changed inactive connection timeout to 120.
To accept more mulually interested peers, disconnect peer when there
is no interest between us after certain time passed.
Lengthened DNS timeout to 30. I think old value '10' will be a
little bit short when some DNS servers are offline and several
DNS servers are tried. It should be configured by
command-line option.
* Fixed the bug that prevents aria2 from stopping other than by pressing
Ctrl-C in BitTorrent download. It is reproducible using --seed-time
option. aria2 doesn't stop even after --seed-time is satisfied and
continues to output blank lines in the console.
* Added Message Stream Encryption(MSE) support.
Currently, aria2 accepts incoming connections with Obfuscation Header
and legacy BitTorrent Header and establishes connections with
Obfuscation Header first and if failed then retry with legacy
BitTorrent header. If plain text and ARC4 is provided, aria2 always
choose ARC4. The new option to change the default behavior is planned.
For tracker extension, "supportcrypto=1" is added statically.
* Added the ability to load nodes from torrent file. These nodes are
added to the routing table when downloading that torrent.
* Added the ability to stop aria2 itself when given time has passed
from start. Use --stop option to specify time in minutes.
When 0 is given, this feature is disabled.
before calling RequestGroupMan::fillRequestGroupFromReserver().
Without this modification, the result list shows "ERR" when aria2 is
stopped by --stop option. It should be "INPR".
Bootstrap through node added by port message.
Currently bootstrap is executed if the number of buckets in routing
table is 1.
* Added DHT functionality, compatible with mainline.
DHT is disabled by default. To enable it, give --enable-dht to aria2c.
You may need to specify entry point to DHT network using
--dht-entry-point. DHT uses UDP port to listen incoming message.
Use --dht-listen-port to specify port number. Make sure that your
firewall configuration can pass through UDP traffic to the port.
The routing table is saved in $HOME/.aria2/dht.dat. Request peers though
DHT only when download hasn't finished.
2008-04-16 02:09:39 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-metalink
|
2007-10-17 11:42:39 +02:00
|
|
|
CONFIGURE_ARGS+= --with-included-gettext=no
|
Update to version 0.13.1+2. This update includes myriad bug fixes
and feature enhancements--way too many for this commit message.
While here, deprecate aria2-metalink option. Aria2 now supports
building with libexpat, so we do that by default now.
Some of the more significant changes:
-------------------------------------
* Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
installed. Fixed compilation on: x84-64 platform, Mac OSX, g++-4.3,
and without c-ares/ares.
* Added Simplified Chinese translation. Also updated the following
translations: Polish, Dutch, German, Thai, Indonesian,
Norwegian Nynorsk, Hungarian, Finnish, Hebrew.
* Changed inactive connection timeout to 120.
To accept more mulually interested peers, disconnect peer when there
is no interest between us after certain time passed.
Lengthened DNS timeout to 30. I think old value '10' will be a
little bit short when some DNS servers are offline and several
DNS servers are tried. It should be configured by
command-line option.
* Fixed the bug that prevents aria2 from stopping other than by pressing
Ctrl-C in BitTorrent download. It is reproducible using --seed-time
option. aria2 doesn't stop even after --seed-time is satisfied and
continues to output blank lines in the console.
* Added Message Stream Encryption(MSE) support.
Currently, aria2 accepts incoming connections with Obfuscation Header
and legacy BitTorrent Header and establishes connections with
Obfuscation Header first and if failed then retry with legacy
BitTorrent header. If plain text and ARC4 is provided, aria2 always
choose ARC4. The new option to change the default behavior is planned.
For tracker extension, "supportcrypto=1" is added statically.
* Added the ability to load nodes from torrent file. These nodes are
added to the routing table when downloading that torrent.
* Added the ability to stop aria2 itself when given time has passed
from start. Use --stop option to specify time in minutes.
When 0 is given, this feature is disabled.
before calling RequestGroupMan::fillRequestGroupFromReserver().
Without this modification, the result list shows "ERR" when aria2 is
stopped by --stop option. It should be "INPR".
Bootstrap through node added by port message.
Currently bootstrap is executed if the number of buckets in routing
table is 1.
* Added DHT functionality, compatible with mainline.
DHT is disabled by default. To enable it, give --enable-dht to aria2c.
You may need to specify entry point to DHT network using
--dht-entry-point. DHT uses UDP port to listen incoming message.
Use --dht-listen-port to specify port number. Make sure that your
firewall configuration can pass through UDP traffic to the port.
The routing table is saved in $HOME/.aria2/dht.dat. Request peers though
DHT only when download hasn't finished.
2008-04-16 02:09:39 +02:00
|
|
|
CONFIGURE_ARGS+= --with-libexpat
|
|
|
|
CONFIGURE_ARGS+= --without-libxml2
|
2007-10-17 11:42:39 +02:00
|
|
|
|
2007-11-07 09:08:18 +01:00
|
|
|
GCC_REQD+= 3.4
|
2007-10-17 11:42:39 +02:00
|
|
|
TEST_TARGET= check
|
2007-11-07 09:08:18 +01:00
|
|
|
USE_FEATURES= getopt_long snprintf
|
|
|
|
|
2007-10-17 11:42:39 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
|
|
|
.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
|
2011-03-02 14:22:38 +01:00
|
|
|
BUILDLINK_DEPMETHOD.cppunit= build
|
2009-01-25 08:05:14 +01:00
|
|
|
BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2
|
2007-10-17 11:42:39 +02:00
|
|
|
. include "../../devel/cppunit/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-xmltest
|
2007-11-23 08:46:34 +01:00
|
|
|
.endif
|
2007-10-17 11:42:39 +02:00
|
|
|
|
Update to version 0.13.1+2. This update includes myriad bug fixes
and feature enhancements--way too many for this commit message.
While here, deprecate aria2-metalink option. Aria2 now supports
building with libexpat, so we do that by default now.
Some of the more significant changes:
-------------------------------------
* Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
installed. Fixed compilation on: x84-64 platform, Mac OSX, g++-4.3,
and without c-ares/ares.
* Added Simplified Chinese translation. Also updated the following
translations: Polish, Dutch, German, Thai, Indonesian,
Norwegian Nynorsk, Hungarian, Finnish, Hebrew.
* Changed inactive connection timeout to 120.
To accept more mulually interested peers, disconnect peer when there
is no interest between us after certain time passed.
Lengthened DNS timeout to 30. I think old value '10' will be a
little bit short when some DNS servers are offline and several
DNS servers are tried. It should be configured by
command-line option.
* Fixed the bug that prevents aria2 from stopping other than by pressing
Ctrl-C in BitTorrent download. It is reproducible using --seed-time
option. aria2 doesn't stop even after --seed-time is satisfied and
continues to output blank lines in the console.
* Added Message Stream Encryption(MSE) support.
Currently, aria2 accepts incoming connections with Obfuscation Header
and legacy BitTorrent Header and establishes connections with
Obfuscation Header first and if failed then retry with legacy
BitTorrent header. If plain text and ARC4 is provided, aria2 always
choose ARC4. The new option to change the default behavior is planned.
For tracker extension, "supportcrypto=1" is added statically.
* Added the ability to load nodes from torrent file. These nodes are
added to the routing table when downloading that torrent.
* Added the ability to stop aria2 itself when given time has passed
from start. Use --stop option to specify time in minutes.
When 0 is given, this feature is disabled.
before calling RequestGroupMan::fillRequestGroupFromReserver().
Without this modification, the result list shows "ERR" when aria2 is
stopped by --stop option. It should be "INPR".
Bootstrap through node added by port message.
Currently bootstrap is executed if the number of buckets in routing
table is 1.
* Added DHT functionality, compatible with mainline.
DHT is disabled by default. To enable it, give --enable-dht to aria2c.
You may need to specify entry point to DHT network using
--dht-entry-point. DHT uses UDP port to listen incoming message.
Use --dht-listen-port to specify port number. Make sure that your
firewall configuration can pass through UDP traffic to the port.
The routing table is saved in $HOME/.aria2/dht.dat. Request peers though
DHT only when download hasn't finished.
2008-04-16 02:09:39 +02:00
|
|
|
.include "options.mk"
|
2007-10-17 11:42:39 +02:00
|
|
|
|
Update to version 0.15.2. This release features extensive bug fixes and
significant feature enhancements; it also now builds on OpenSolaris
(tested with NexentaOS by development community).
I urge all users to upgrade.
A _partial_ list of changes:
- Added and/or updated Danish, Greek, Spanish, Catalan,
Norwegian Nynorsk, Bulgarian, French, Catalan, and Japanese
translations.
- Man page fixes.
- Fixed: numCommand is less than the value specified in -C option.
- Myriad bug fixes.
- Now uses name attribute in Metalink as local filename in
BitTorrent downloads. BUG#2033999
- Fixed memory leaks in test code.
- Fixed wrong argument passing to BitfieldMan::isBitSet()
- Initialized _directIOAllowed
- Fixed memory leak in gzip decoder and metalink parser state
machine.
- Plug many other memory leaks and fix unmatch malloc/free calls.
- Removed max chunk size check. This change fixes BUG#2040169
- Fixed the bug that causes segmentaion fault when resuming
download using metalink without size tag. Reproducible only
using HTTP URI.
- Removed writable check when socket's send buffer is full in
BitTorrent downloads to lower CPU usage.
- Fixed broken gzip inflation.
Turn off segmented downloading if gzip content is smaller than
or equal to 1MiB and inflate the data on the fly, because HTTP
response header doesn't contain the length of inflated
file we can't determin where the chunk of data should be written.
On the other hand, if gzip content is larger than 1MB, then
turn off on the fly inflation, because some servers returns
"content-type: gzip" for *.tgz, *.gz files.
- Added gzip decompressor via libz.
- Cache last calculated average download/upload speed.
- Supported absolute/relative path in Location header field.
- Use File::exists() instead of File::isFile() to allow non-
regular file such as block special files.
- Added a message "aria2 doesn't verify signature" to log message
when signature file is saved.
- Added the ability to save signature when download is completed
if signature is available. The filename of signature file is
the path to download file followed by ".sig". If it already
exists, then signature will not be saved.
- Improve accuracy of documentation and rename some options to be
more descriptive of their functions/purposes.
- Added the ability to retrieve signature from Metalink file.
A retrieved signature is stored in Signature class and it is
held by DownloadContext class. Note that aria2 doesn't
verify signature.
- Added --bt-seed option. If --bt-seed=true is given at the
command-line, aria2 seeds previously downloaded files
without validating piece hashes.
- Fixed the compile error on Nexenta OS(GNU/Solaris OS).
(Don't define `struct addrinfo' when __sun is defined)
- Fixed the bug that UTF-8 encoded URL is not URL-encoded
- Properly differentiate between ftp errors and actual zero-byte
files (now supports ftp servers which do not recognize SIZE
raw command).
2008-08-19 16:41:58 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
Update to version 0.13.1+2. This update includes myriad bug fixes
and feature enhancements--way too many for this commit message.
While here, deprecate aria2-metalink option. Aria2 now supports
building with libexpat, so we do that by default now.
Some of the more significant changes:
-------------------------------------
* Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
installed. Fixed compilation on: x84-64 platform, Mac OSX, g++-4.3,
and without c-ares/ares.
* Added Simplified Chinese translation. Also updated the following
translations: Polish, Dutch, German, Thai, Indonesian,
Norwegian Nynorsk, Hungarian, Finnish, Hebrew.
* Changed inactive connection timeout to 120.
To accept more mulually interested peers, disconnect peer when there
is no interest between us after certain time passed.
Lengthened DNS timeout to 30. I think old value '10' will be a
little bit short when some DNS servers are offline and several
DNS servers are tried. It should be configured by
command-line option.
* Fixed the bug that prevents aria2 from stopping other than by pressing
Ctrl-C in BitTorrent download. It is reproducible using --seed-time
option. aria2 doesn't stop even after --seed-time is satisfied and
continues to output blank lines in the console.
* Added Message Stream Encryption(MSE) support.
Currently, aria2 accepts incoming connections with Obfuscation Header
and legacy BitTorrent Header and establishes connections with
Obfuscation Header first and if failed then retry with legacy
BitTorrent header. If plain text and ARC4 is provided, aria2 always
choose ARC4. The new option to change the default behavior is planned.
For tracker extension, "supportcrypto=1" is added statically.
* Added the ability to load nodes from torrent file. These nodes are
added to the routing table when downloading that torrent.
* Added the ability to stop aria2 itself when given time has passed
from start. Use --stop option to specify time in minutes.
When 0 is given, this feature is disabled.
before calling RequestGroupMan::fillRequestGroupFromReserver().
Without this modification, the result list shows "ERR" when aria2 is
stopped by --stop option. It should be "INPR".
Bootstrap through node added by port message.
Currently bootstrap is executed if the number of buckets in routing
table is 1.
* Added DHT functionality, compatible with mainline.
DHT is disabled by default. To enable it, give --enable-dht to aria2c.
You may need to specify entry point to DHT network using
--dht-entry-point. DHT uses UDP port to listen incoming message.
Use --dht-listen-port to specify port number. Make sure that your
firewall configuration can pass through UDP traffic to the port.
The routing table is saved in $HOME/.aria2/dht.dat. Request peers though
DHT only when download hasn't finished.
2008-04-16 02:09:39 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2009-03-09 00:41:33 +01:00
|
|
|
.include "../../net/libcares/buildlink3.mk"
|
Update to version 0.13.1+2. This update includes myriad bug fixes
and feature enhancements--way too many for this commit message.
While here, deprecate aria2-metalink option. Aria2 now supports
building with libexpat, so we do that by default now.
Some of the more significant changes:
-------------------------------------
* Fixed compile error without gnutls/libgcrypt/libgpg-error and openSSL
installed. Fixed compilation on: x84-64 platform, Mac OSX, g++-4.3,
and without c-ares/ares.
* Added Simplified Chinese translation. Also updated the following
translations: Polish, Dutch, German, Thai, Indonesian,
Norwegian Nynorsk, Hungarian, Finnish, Hebrew.
* Changed inactive connection timeout to 120.
To accept more mulually interested peers, disconnect peer when there
is no interest between us after certain time passed.
Lengthened DNS timeout to 30. I think old value '10' will be a
little bit short when some DNS servers are offline and several
DNS servers are tried. It should be configured by
command-line option.
* Fixed the bug that prevents aria2 from stopping other than by pressing
Ctrl-C in BitTorrent download. It is reproducible using --seed-time
option. aria2 doesn't stop even after --seed-time is satisfied and
continues to output blank lines in the console.
* Added Message Stream Encryption(MSE) support.
Currently, aria2 accepts incoming connections with Obfuscation Header
and legacy BitTorrent Header and establishes connections with
Obfuscation Header first and if failed then retry with legacy
BitTorrent header. If plain text and ARC4 is provided, aria2 always
choose ARC4. The new option to change the default behavior is planned.
For tracker extension, "supportcrypto=1" is added statically.
* Added the ability to load nodes from torrent file. These nodes are
added to the routing table when downloading that torrent.
* Added the ability to stop aria2 itself when given time has passed
from start. Use --stop option to specify time in minutes.
When 0 is given, this feature is disabled.
before calling RequestGroupMan::fillRequestGroupFromReserver().
Without this modification, the result list shows "ERR" when aria2 is
stopped by --stop option. It should be "INPR".
Bootstrap through node added by port message.
Currently bootstrap is executed if the number of buckets in routing
table is 1.
* Added DHT functionality, compatible with mainline.
DHT is disabled by default. To enable it, give --enable-dht to aria2c.
You may need to specify entry point to DHT network using
--dht-entry-point. DHT uses UDP port to listen incoming message.
Use --dht-listen-port to specify port number. Make sure that your
firewall configuration can pass through UDP traffic to the port.
The routing table is saved in $HOME/.aria2/dht.dat. Request peers though
DHT only when download hasn't finished.
2008-04-16 02:09:39 +02:00
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
Update to version 0.15.2. This release features extensive bug fixes and
significant feature enhancements; it also now builds on OpenSolaris
(tested with NexentaOS by development community).
I urge all users to upgrade.
A _partial_ list of changes:
- Added and/or updated Danish, Greek, Spanish, Catalan,
Norwegian Nynorsk, Bulgarian, French, Catalan, and Japanese
translations.
- Man page fixes.
- Fixed: numCommand is less than the value specified in -C option.
- Myriad bug fixes.
- Now uses name attribute in Metalink as local filename in
BitTorrent downloads. BUG#2033999
- Fixed memory leaks in test code.
- Fixed wrong argument passing to BitfieldMan::isBitSet()
- Initialized _directIOAllowed
- Fixed memory leak in gzip decoder and metalink parser state
machine.
- Plug many other memory leaks and fix unmatch malloc/free calls.
- Removed max chunk size check. This change fixes BUG#2040169
- Fixed the bug that causes segmentaion fault when resuming
download using metalink without size tag. Reproducible only
using HTTP URI.
- Removed writable check when socket's send buffer is full in
BitTorrent downloads to lower CPU usage.
- Fixed broken gzip inflation.
Turn off segmented downloading if gzip content is smaller than
or equal to 1MiB and inflate the data on the fly, because HTTP
response header doesn't contain the length of inflated
file we can't determin where the chunk of data should be written.
On the other hand, if gzip content is larger than 1MB, then
turn off on the fly inflation, because some servers returns
"content-type: gzip" for *.tgz, *.gz files.
- Added gzip decompressor via libz.
- Cache last calculated average download/upload speed.
- Supported absolute/relative path in Location header field.
- Use File::exists() instead of File::isFile() to allow non-
regular file such as block special files.
- Added a message "aria2 doesn't verify signature" to log message
when signature file is saved.
- Added the ability to save signature when download is completed
if signature is available. The filename of signature file is
the path to download file followed by ".sig". If it already
exists, then signature will not be saved.
- Improve accuracy of documentation and rename some options to be
more descriptive of their functions/purposes.
- Added the ability to retrieve signature from Metalink file.
A retrieved signature is stored in Signature class and it is
held by DownloadContext class. Note that aria2 doesn't
verify signature.
- Added --bt-seed option. If --bt-seed=true is given at the
command-line, aria2 seeds previously downloaded files
without validating piece hashes.
- Fixed the compile error on Nexenta OS(GNU/Solaris OS).
(Don't define `struct addrinfo' when __sun is defined)
- Fixed the bug that UTF-8 encoded URL is not URL-encoded
- Properly differentiate between ftp errors and actual zero-byte
files (now supports ftp servers which do not recognize SIZE
raw command).
2008-08-19 16:41:58 +02:00
|
|
|
|
2007-10-17 11:42:39 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|