pkgsrc/net/aria2/options.mk

36 lines
906 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.13 2012/04/25 15:59:59 drochner 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= sqlite
PKG_SUGGESTED_OPTIONS= ssl sqlite
.include "../../mk/bsd.options.mk"
###
### 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"
.else
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
###
### firefox3 cookie support via sqlite3
###
.if !empty(PKG_OPTIONS:Msqlite)
CONFIGURE_ARGS+= --with-sqlite3
CONFIGURE_ARGS+= --with-sqlite3-prefix=${BUILDLINK_PREFIX.sqlite}
. include "../../databases/sqlite3/buildlink3.mk"
USE_TOOLS+= pkg-config
.else
CONFIGURE_ARGS+= --with-sqlite3=no
.endif