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
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
# $NetBSD: options.mk,v 1.15 2014/03/29 04:15:09 ryoon Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.aria2
|
|
|
|
PKG_OPTIONS_GROUP.ssl= gnutls ssl
|
|
PKG_OPTIONS_REQUIRED_GROUPS= ssl
|
|
|
|
PKG_SUPPORTED_OPTIONS= nls sqlite
|
|
PKG_SUGGESTED_OPTIONS= nls sqlite ssl
|
|
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)
|
|
CONFIGURE_ARGS+= --with-openssl
|
|
CONFIGURE_ARGS+= --with-gnutls=no
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-gnutls
|
|
CONFIGURE_ARGS+= --with-openssl=no
|
|
. include "../../security/gnutls/buildlink3.mk"
|
|
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
|