pkgsrc/net/aria2/options.mk

46 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.19 2020/05/21 07:56:37 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.aria2
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
PKG_OPTIONS_GROUP.ssl= gnutls ssl
PKG_OPTIONS_REQUIRED_GROUPS= ssl
PKG_SUPPORTED_OPTIONS= nls sqlite
PKG_SUGGESTED_OPTIONS= nls sqlite ssl
Update to 0.18.4 Changelog: aria2 1.18.4 ============ Release Note ------------ This release adds new RPC authorization mechanism using --rpc-secret option. The existing --rpc-user and --rpc-passwd options are now deprecated, and all applications using RPC API is strongly encouraged to migrate to the new mechanism. See RPC INTERFACE section in aria2 manual page for the details. The new RPC method, aria2.saveSession, was added, which tells aria2 server to save session file immediately. There are several enhancements and bug fixes. See the changes for the details. Changes ------- * Added support for RPC channel encryption in aria2rpc Patch from David Macek * Add aria2.saveSession RPC method This method saves the current session to a file specified by --save-session option. This method returns "OK" if it succeeds. * Add numStoppedTotal key to aria2.getGlobalStat() RPC method response It shows the number of stopped downloads in the current session and not capped by --max-download-result option. On the other hand, the existing numStopped key also shows the number of stopped downloads, but it is capped by --max-download-result option. * Better handling of 30x HTTP status codes Reference: http://greenbytes.de/tech/tc/httpredirects/ * Implement new RPC authorization using --rpc-secret option Add future deprecation warning to --rpc-user and --rpc-passwd. Warn if neither --rpc-secret nor a combination of --rpc-user/rpc-passwd is set. * Add --enable-color option to enable/disable terminal color output * Add DSCP support * gnutls: Don't fail handshake if returned error is not fatal * Add workaround GnuTLS bug with OCSP status extension and non-blocking socket GnuTLS version 3.1.3 - 3.1.18 and 3.2.0 - 3.2.8, inclusive, has this bug. For these versions, we disable OCSP status extension. * Make GnuTLS log level dependent on the aria2 ones aria2 1.18.3 ============ Release Note ------------ This release fixes the bug which may cause assertion failure after multi-file downloads (e.g., multi-file metalink or torrent) are performed several times due to the bad handling of --bt-max-open-files option. Changes ------- * Fix crash if unpause failed before assigning BtProgressInfoFile object * Enable and check PIE in makerelease-osx * Fix bug that numOpenFile_ is not reduced when MultiDiskAdaptor is deleted This bug caused assertion error in RequestGroupMan::ensureMaxOpenFileLimit
2014-03-29 05:15:09 +01:00
PLIST_VARS+= nls
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mnls)
.include "../../devel/gettext-lib/buildlink3.mk"
PLIST.nls= yes
.else
CONFIGURE_ARGS+= --disable-nls
.endif
###
### SSL/TLS implementation
###
.if !empty(PKG_OPTIONS:Mssl)
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-openssl
CONFIGURE_ARGS+= --with-gnutls=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
. include "../../security/openssl/buildlink3.mk"
Update to 1.18.10 * Fix "-sqlite ssl" build (pkg-config required). * Fix -nls build (PLIST problem). Changelog: aria2 1.18.10 ============= Release Note ------------ This releases fixes several bugs reported since the last release. Changes ------- * Add encoding specifier to Russian man page Fixes GH-341 * Mingw: Use _wgetenv to get user's home directory Fixes GH-342 * Handle linux getrandom returning EINTR on interrupts/signals Also handle ENOTSUP failures where aria2 was build with linux headers newer than the actual running kernel. Fixes GH-336 aria2 1.18.9 ============ Release Note ------------ This releases fixes memory leak with OpenSSL and crash on OSX when proxy is used. We added several new features. Adler32 checksum is now available in --checksum option and hash element in Metalink files. We added --bt-detach-seed-only option, which excludes seed-only downloads when counting concurrent active downloads (-j option). We disabled SSLv3 by default. If you ever want to enable it or further tune the TLS protocols to enable, use new --min-tls-version option. --bt-force-encryption option was added to make requiring BitTorrent full encryption easier. From this release, we build Android binary using API level 16. Changes ------- * Support HTTP date ending "+0000" as well as "GMT". Closes GH-330 * Revise getRandom facilities Use one of the following to provide random bytes: - Windows CryptGenRandom - Linux getrandom (syscall interface to urandom, without nasty corner cases such as file descriptor exhaustion or re-linked /dev/urandom) - std::device_random (C++ random device, which usually will be urandom) This also equalizes util::getRandom and SimpleRandomizer (the former will now use the latter) instead of having essentially two different PRNG interfaces with potentially different quality. Closes GH-320 * Added debug log of all Metalink URLs with final priorities Patch from Dan Fandrich * Use gcc-4.9 and android-16 API level for android build * Add --bt-force-encryption option This option requires BitTorrent message payload encryption with arc4. This is a shorthand of --bt-requre-crypto --bt-min-crypto-level=arc4. If true is given, deny legacy BitTorrent handshake and only use Obfuscation handshake and always encrypt message payload. This option defaults to false. * TLS: Fix memory leak with OpenSSL Based on the patch submitted by midnight2k * Warn about insecure SSL connections. Fixed GH-313 * Add --min-tls-version option The --min-tls-version option specifies minimum SSL/TLS version to enable. Possible Values: SSLv3, TLSv1, TLSv1.1, TLSv1.2 Default: TLSv1 * LibsslTLSContext: Disable SSLv3 and enable ECDHE cipher suites * Add Dockerfile.mingw Dockerfile.mingw builds aria2 Windows binary. It is probably the easiest way to build the Windows binary. * Fix crash when JSON batch response vector is empty * Fix doc: Wrong rpc secret token prefix * Add --bt-detach-seed-only option This option excludes seed only downloads when counting concurrent active downloads (-j option). This means that if -j3 is given and this option is turned on and 3 downloads are active and one of those enters seed mode, then it is excluded from active download count (thus it becomes 2), and the next download waiting in queue gets started. But be aware that seeding item is still recognized as active download in RPC method. * mingw: Use MoveFileExW for better atomic move * Work around libintl's vprintf macro messing with OutputFile::vprintf Patch from David Macek * Fix crash on OSX when proxy is used See GH-275 * Support Adler32 checksum Adler32 checksum is available for --checksum option and hash element in Metalink files. Currently, we use Adler32 implementation in Zlib.
2015-04-14 17:50:38 +02:00
USE_TOOLS+= pkg-config
aria2: Update to 1.35.0 pkgsrc changes: - Address several pkglint suggestions (NFCI) Changes: 1.35.0 ====== Release Note ------------ This release fixes several bugs. See Changes for details. Changes ------- * Update mingw build dependencies (GH-1469) * Update android build dependencies (GH-1467) Update android build dependencies. Use android NDK r20 and build aarch64 binary. * Drop SSLv3.0 and TLSv1.0 and add TLSv1.3 (GH-1385) TLSv1.3 support is added for GNUTLS and OpenSSL. * Platform: Fix compilation without deprecated OpenSSL APIs (GH-1315) Patch from Rosen Penev * Remove linux getrandom and use C++ stdlib instead (GH-1306) * Don't send Accept Metalink header if Metalink is disabled (GH-1300) * gnutls: Fix bug that commonName is always empty (GH-1214) * Fix openssl API version logic for libressl 2.7.x Patch from Ben Chaney (GH-1213) * Fix build failure when InternalDHKeyExchange is used 1.34.0 ====== Release Note ------------ This release fixes several bugs. See Changes for details. Changes ------- * mingw: Use SetFileTime to avoid DST adjustment (GH-1079) * UnknownLengthPieceStorage: return piece length (GH-1065) show something in console status when downloading items with unknown content length Patch from kwkam * WinConsoleFile: fix colour properly (GH-1058) Patch from kwkam * util: also detect xdg_* env variables on windows (GH-1057) so if people like to keep FHS they could define XDG_* for it Patch from kwkam * MacOS: Allocate once (apfs compat) * Fix bug that signal handler does not work with libaria2 (GH-1053) This commit fixes the bug that signal handler does not work with libaria2 when aria2::RUN_ONCE is passed to aria2::run(). * Retry on HTTP 502 (GH-1038) Patch from nicolov 1.33.1 ====== Release Note ------------ This release fixes a bug that causes high CPU usage in mingw build. Changes ------- * mingw: Fix high CPU usage in BitTorrent downloads This commit fixes high CPU usage in BitTorrent downloads. Only mingw build is affected by this bug. Thank you kwkam for identifying the cause of the issue, and helping debugging this patch. 1.33.0 ====== Release Note ------------ This release fixes several bugs, and add new features. Changes ------- * Include arm in a filename of android zip * Upgrade base image of Dockerfile.mingw to ubuntu:16.04 * wintls: Potential fix for undecrypted read (GH-1021) * libaria2: Return last error code from DownloadHandle::getErrorCode (GH-991) * Windows: pass writefds also as exceptfds to select() winsock notifies connect() failures on exceptfds instead of writefds. Fixes GH-969 and GH-975 * libuv: use pkg-config * FeatureConfig: align text * Update Dockerfile.mingw (GH-970) avoid docker cache when using git Patch from qweaszxcdf * Add --peer-agent option (GH-947) Add --peer-agent for setting the version/user agent used in the extended handshake protocol for bittorrent. Patch from Kurt Kartaltepe * OSX: Allow to specify a build * OSX: update c-ares * [Docs, libaria2] Fix type of obj pushed into options vector (GH-941) aria::KeyVals is a vector of pair of std strings, therefore the type of object being pushed should be std::pair<std::string, std::string>, however in the docs, the type of the said object is KeyVals. If one follows the docs, their code will fail to compile. Patch from geetam * AppleTLS: Silence cipher suite selection * Unbreak build OSX build * Update macOS versions * Add --bt-load-saved-metadata option (GH-909) Before getting torrent metadata from DHT when downloading with magnet link, first try to read file saved by --bt-save-metadata option. If it is successful, then skip downloading metadata from DHT. By default, this feature is turned off. * Fix regression in bfc54d0 (GH-917) Don't save control file if --auto-save-interval is 0. * Fix infinite loop bug when file is not found
2020-01-01 17:21:02 +01:00
.elif !empty(PKG_OPTIONS:Mgnutls)
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-gnutls
CONFIGURE_ARGS+= --with-openssl=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
. include "../../security/gnutls/buildlink3.mk"
Update aria2 to 1.10.0. aria2 1.10.0 ============ This release adds an option to limit the number of connections to the same host in each download. aria2 now chooses server which is least used in aria2c instance. This release also adds Chromium cookie support and HTTP only conditional download support which is download file only when the local file is older than remote file. aria2 now can handle %2F in FTP URI properly. HTTP/1.1 chunked decoder was fixed. For Linux, aria2 uses fallocate by default if it is usable. aria2 1.9.5 ============ This release fixes the bug that causes corrupted file. It also fixes assertion error in DefaultPeerStorage class. Now aria2 doesn't reset referer to "" on redirect. log and log-level option can be used in aria2.changeGlobalOption XML-RPC method. This means you can dynamically start or stop logging and change log file and log level. aria2 1.9.4 ============ This release fixes the bug that connection reuse on FTP does not work if FTP server changes root directory based on account. It also fixes the bug that reading Metalink document from pipe (-M- option) does not work when aria2 is built with expat or old libxml2(2.7.6 or earlier). Now aria2 does not emit error if given Metalink document is empty(no file element). The response of aria2.tellStopped XML-RPC method now has more information: totalLength, completedLength, uploadLength, bitfield and so on. aria2 1.9.3 ============ This release fixes the bug that aria2 cuts filename after ';' if filename in Content-Disposition header includes ';'. It also fixes the bug that name attribute of file element in Metalink file is not properly sanitized. aria2 1.9.2 ============ This release adds kqueue, port_associate/port_getn and poll() support for socket event notification to eliminate 1024 file descriptor limitation of select() call. The bug that aria2.unpause and aria2.unpauseAll XML-RPC method fail when -s1 is given in command-line argument was fixed. aria2 1.9.1 ============ This release adds the ability to save unfinished downloads as text file. aria2 can read the file with -i option on restart. This release also adds the ability to download file from scratch when aria2 sees resume is not supported by remote server. This feature is disabled by default. See --always-resume option for details. --no-proxy option accepts IPv4 network address with CIDR block. aria2 now doesn't send "Accept-Encoding: deflate, gzip" by default. --http-accept-gzip option was added to toggle this behavior. aria2 now treats lines starting "#" in -i list as comments. Several XML-RPC methods were added: aria2.pause, aria2.unpause, aria2.shutdown, and their families. The new exist status code '8' was added. The bug that makes aria2 hang when system time changes while aria2 is running was fixed on MinGW32, Mac OS X and the system which has clock_gettime(). Several other bugs also have been fixed. aria2 1.9.0 ============ This release adds Metalink4 support and BitTorrent Local Peer Discovery. aria2.changeUri XML-RPC method was added. It enables you to add/remove URIs to existing downloads dynamically. The user and password for proxy server now can be specified in command-line separately. We refactored the code based on profiler results, so aria2 now runs more efficiently than ever. Russian and Simplified Chinese translation were updated. aria2 1.8.3 ============ This release fixes the bug that --file-allocation=falloc doesn't work with single file download. It also fixes the bug that the return value of aria2 is unreliable if error occurs before download begins. When custom request headers specified by --header option now override built-in headers if they have same name. aria2 1.8.2 ============ s release fixes the bug that causes segmentation fault with --max-file-not-found option involved. Now aria2 can handle redirected URI which is not properly percent encoded. In MinGW32 build, console readout is now always cut by 80 characters. 'bittorrent' key is added to the response of tellStatus XML-RPC method. The associated value of the key is a struct and contains data retrieved from .torrent file, such as name, announce-list, comment, etc. aria2 1.8.1 ============ This release fixes the bug that causes segmentation fault if unknown options exist in aria2.conf file and user cannot include empty line in aria2.conf. Following new command line options are added: --http-no-cache, --bt-metadata-only and --human-readable option. --dir option now treats "" as ".". --all-proxy, --http-proxy, --https-proxy and --ftp-proxy option accept empty string "". When "" is given, it erases previously defined proxy. aria2.getSessionInfo XML-RPC method was added. aria2.tellWaiting and aria2.tellStopped XML-RPC method accept a negative integer as offset. For example, in aria2.tellWaiting, 'offset' == -1 points last download in the waiting queue and 'offset' == -2 points the download before the last download, and so on. 'dir' and 'files' key were added to the response struct of aria2.tellStatus XML-RPC method. The value associated with 'files' key is the list of files. Its element is the same struct used in aria2.getFiles XML-RPC method. 'uris' key was added to the response struct of aria2.getFiles XML-RPC method. The value associated with 'uris' key is the list of URIs. Its element is the same struct used in aria2.getUris XML-RPC method. aria2 now returns gzip compressed XML-RPC response if XML-RPC client accepts gzip content encoding. aria2 1.8.0 ============ This release fixes the bug that configure script fails to detect GnuTLS library if --without-sqlite3 is given. The new XML-RPC methods are added: aria2.getOption, aria2.getGetGlobalOption, aria2.changePosition, aria2.tellStopped and system.multicall. --bt-save-metadata option is added. This option saves metadata as .torrent file. This option has effect only when BitTorrent Magnet URI is used. aria2-1.7.2 ============ This release fixes the bug that aria2 listens wrong port in BitTorrent/FTP downloads when --interface option is used. If --metalink-file='-' is given, aria2 now reads Metalink file from stdin. Magnet URI is printed in the output of -S option. DHT is now enabled by default. DHT doesn't start while aria2 only handles HTTP/FTP downloads. On the first torrent download begins, aria2 initiates DHT functionality. After that, DHT runs until aria2 exits aria2 1.7.1 ============ This release fixes the bug that --bt-prioritize-piece=tail is not working. aria2 1.7.0 ============ This release adds BitTorrent Magnet URI support. 3 options were added: the ability to bind to particular interface, disabling IPv6 and prioritizing piece in BitTorrent downloads. In configure script, if --with-PACKAGE and --enable-FEATURE are given but PACKAGE is missing in the system or FEATURE cannot be enabled in the current configuration, the script now prints error message and exits. --http-auth-scheme option was removed since it is useless. Updated Russian, Ukrainian, German and French translations. aria2 1.6.3 ============ This release fixes reported bugs and updates Polish, Catalan, French, Italian, Russian and Japanese translations. aria2 1.6.2 ============ This release fixes segmentation fault error if URI to download contains printf format string and logging is enabled. The build scripts are updated to automake 1.11 and autoconf 2.64. Updated Ukrainian translation. aria2 1.6.1 ============ This release fixes memory leak in HTTP/FTP download. It also fixes the bug that the option values changed by XML-RPC changeOption and changeGlobalOption methods are cleared. Now User-agent and Peer ID include version number. Updated Simplified Chinese translations. aria2 1.6.0 ============ This release changes the default behavior of XML-RPC server. Now it listens only on local loopback interface by default for security reasons. If you want to connect to aria2c from remote hosts, use --xml-rpc-listen-all option. The XML-RPC client sample script written in Ruby are now included in the archive under doc/xmlrpc directory. These scripts are licensed under MIT License. The help category tags are now start "#" to distinguish them from keyword search. Several help category tags were added: #xml-rpc, #cookie, #hook and #file. --retry-wait option was removed because it doesn't work properly under the architecture. Updated Bulgarian, Russian, Slovak and Japanese translations. aria2 1.5.2 ============ This release fixes the bug that when the first attempt to establishing connection fails, aria2 don't try to connect another address and a download immediately fails. -S output was enhanced: exact file size is now printed. For -S with torrent file, meta data such as comment, comment.utf-8, created by and creation date are now printed. Ukrainian and Russian translations were updated. aria2 1.5.1 ============ This release fixes linker error in unit test code on 32bit systems. The unit test failure on mingw32 was also fixed. The file I/O error handlings were written. aria2 1.5.0 ============ This release adds WEB-Seeding support for multi-file torrent. --bt-stop-timeout option was added. This function stops BitTorrent download if the download speed is 0 in consecutive given seconds. aria2 now tries all resolved addresses to connect to remote servers in HTTP(S)/FTP until it gets connected. For XML-RPC, two new methods were added: aria2.tellWaiting and aria2.getVersion. The error code is available in the response of aria2.tellStatus methods for stopped/completed downloads. --use-head is now disabled by default since using HEAD request causes problems in some web sites. The behavior of -D option has been changed: If -D is specified, the current working directory is set to / and stdin, stdout and stderr are redirected to /dev/null. This release fixes the bug that zombie processes are created when commands specified in --on-download-* options are executed and the bug that http-user, http-passwd, ftp-user and ftp-passwd are ignored when they are given via XML-RPC. Updated Russian, Italian, Danish, Bulgarian, Japanese and Ukrainian translations. aria2 1.4.1 ============ This release fixes the compile error without the development package of c-ares library installed. The compile error under MinGW was fixed. aria2.tellStatus XML-RPC method now returns "uploadLength" and "numSeeders". Ukrainian translation was updated. aria2 1.4.0 ============ This release adds XML-RPC interface and the ability to run command when download started/stopped and the ability to save cookies. The current XML-RPC API allows users to add http(s)/ftp/torrent/Metalink download and change options dynamically. The APIs such as reporting download progress, file paths, URIs and peer information are also available. For complete API specification, see XML-RPC INTERFACE section in man page and http://apps.sourceforge.net/trac/aria2/wiki/XmlrpcInterface. The console readout was slightly updated and now includes the number of seeders the client has connected to. Slovak translation was added. Ukrainian and Brazilian Portuguese translation were updated. aria2 1.3.3 ============ This release fixes the bug that --check-integrity option doesn't work properly if a file including last piece is missing and increases internal receive buffer for FTP in order to receive big banner. Ukrainian, Russian and Simplified Chinese translations were updated. aria2 1.3.2 ============ This release fixes the bug that prevents certain BitTorrent downloads from finishing and possible segmentation fault when gzip decoding is involved and infinite loop bug if last "0" chunk-size marker is not received in chunked encoding transfer. aria2 now supports WEB-Seeding(HTTP-Seeding) for single file torrent. Ukrainian translation was updated. aria2 1.3.1 ============ This release fixes the bug that aria2 wrongly determines that specified share ratio is reached because of miscalculation of upload bytes and the bug that upload limit exceeds the value specified in --seed-ratio option depending on the timing of the execution of SeedCheckCommand. aria2 1.3.0 ============ This release adds the ability to specify the output filenames in BitTorrent downloads and the option to limit overall download speed and dry run mode which just checks the availability of the remote file. -i list option can now take new options: select-file and index-out. The default behavior of sending HTTP Authorization header is reverted back to version 1.1.2 style. The bug in AdaptiveURISelector was fixed. You can now seed read-only files in BitTorrent. --file-allocation option can take new parameter 'falloc'. If it is given and you are using newer file systems such as ext4, btrfs or xfs, large(few GiB) files are allocated almost instantly. The performance optimization has been done and aria2 runs more efficiently. Indonesian, Russian, Italian, Ukrainian, Simplified Chinese, Japanese, Spanish and Norwegian Nynorsk translations were updated.
2010-07-25 15:11:14 +02:00
USE_TOOLS+= pkg-config
.endif
aria2: Update to 1.35.0 pkgsrc changes: - Address several pkglint suggestions (NFCI) Changes: 1.35.0 ====== Release Note ------------ This release fixes several bugs. See Changes for details. Changes ------- * Update mingw build dependencies (GH-1469) * Update android build dependencies (GH-1467) Update android build dependencies. Use android NDK r20 and build aarch64 binary. * Drop SSLv3.0 and TLSv1.0 and add TLSv1.3 (GH-1385) TLSv1.3 support is added for GNUTLS and OpenSSL. * Platform: Fix compilation without deprecated OpenSSL APIs (GH-1315) Patch from Rosen Penev * Remove linux getrandom and use C++ stdlib instead (GH-1306) * Don't send Accept Metalink header if Metalink is disabled (GH-1300) * gnutls: Fix bug that commonName is always empty (GH-1214) * Fix openssl API version logic for libressl 2.7.x Patch from Ben Chaney (GH-1213) * Fix build failure when InternalDHKeyExchange is used 1.34.0 ====== Release Note ------------ This release fixes several bugs. See Changes for details. Changes ------- * mingw: Use SetFileTime to avoid DST adjustment (GH-1079) * UnknownLengthPieceStorage: return piece length (GH-1065) show something in console status when downloading items with unknown content length Patch from kwkam * WinConsoleFile: fix colour properly (GH-1058) Patch from kwkam * util: also detect xdg_* env variables on windows (GH-1057) so if people like to keep FHS they could define XDG_* for it Patch from kwkam * MacOS: Allocate once (apfs compat) * Fix bug that signal handler does not work with libaria2 (GH-1053) This commit fixes the bug that signal handler does not work with libaria2 when aria2::RUN_ONCE is passed to aria2::run(). * Retry on HTTP 502 (GH-1038) Patch from nicolov 1.33.1 ====== Release Note ------------ This release fixes a bug that causes high CPU usage in mingw build. Changes ------- * mingw: Fix high CPU usage in BitTorrent downloads This commit fixes high CPU usage in BitTorrent downloads. Only mingw build is affected by this bug. Thank you kwkam for identifying the cause of the issue, and helping debugging this patch. 1.33.0 ====== Release Note ------------ This release fixes several bugs, and add new features. Changes ------- * Include arm in a filename of android zip * Upgrade base image of Dockerfile.mingw to ubuntu:16.04 * wintls: Potential fix for undecrypted read (GH-1021) * libaria2: Return last error code from DownloadHandle::getErrorCode (GH-991) * Windows: pass writefds also as exceptfds to select() winsock notifies connect() failures on exceptfds instead of writefds. Fixes GH-969 and GH-975 * libuv: use pkg-config * FeatureConfig: align text * Update Dockerfile.mingw (GH-970) avoid docker cache when using git Patch from qweaszxcdf * Add --peer-agent option (GH-947) Add --peer-agent for setting the version/user agent used in the extended handshake protocol for bittorrent. Patch from Kurt Kartaltepe * OSX: Allow to specify a build * OSX: update c-ares * [Docs, libaria2] Fix type of obj pushed into options vector (GH-941) aria::KeyVals is a vector of pair of std strings, therefore the type of object being pushed should be std::pair<std::string, std::string>, however in the docs, the type of the said object is KeyVals. If one follows the docs, their code will fail to compile. Patch from geetam * AppleTLS: Silence cipher suite selection * Unbreak build OSX build * Update macOS versions * Add --bt-load-saved-metadata option (GH-909) Before getting torrent metadata from DHT when downloading with magnet link, first try to read file saved by --bt-save-metadata option. If it is successful, then skip downloading metadata from DHT. By default, this feature is turned off. * Fix regression in bfc54d0 (GH-917) Don't save control file if --auto-save-interval is 0. * Fix infinite loop bug when file is not found
2020-01-01 17:21:02 +01:00
###
### firefox3 cookie support via sqlite3
###
.if !empty(PKG_OPTIONS:Msqlite)
CONFIGURE_ARGS+= --with-sqlite3
. include "../../databases/sqlite3/buildlink3.mk"
USE_TOOLS+= pkg-config
.else
CONFIGURE_ARGS+= --with-sqlite3=no
.endif