109.2. aria2-1.37.0
Download utility for HTTP(S), FTP, SFTP, BitTorrent and Metalink, with a JSON-RPC interface
1.37.0-1 · GPL-2.0-or-later · 3.1 SBU · 4.7 MiB, 4 files · 41_system, 977 of 1047 · ports/core/transfer/aria2
Homepage: https://aria2.github.io/
aria2 is a command-line download utility for HTTP(S), FTP, SFTP, BitTorrent and Metalink that splits one download over several connections. Its JSON-RPC interface is how kiwix-desktop downloads ZIM archives from the online catalogue: libkiwix starts aria2c as a child with RPC enabled and drives it.
Depends on: gnutls, libgcrypt, libxml2, sqlite, c-ares, libssh2, zlib, ca-certificates.
Required by (1): kiwix-desktop.
Sources: aria2-1.37.0.tar.xz (1.6 MiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
--without-openssl, line 16: openssl--without-libnettle, line 17: nettle--without-libgmp, line 18: gmp--without-libexpat, line 21: expat--without-jemalloc, line 26: jemalloc
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install aria2'
build.sh:
./configure \
--prefix=/usr \
--disable-nls \
--with-gnutls \
--without-openssl \
--without-libnettle \
--without-libgmp \
--with-libgcrypt \
--with-libxml2 \
--without-libexpat \
--with-sqlite3 \
--with-libcares \
--with-libssh2 \
--with-libz \
--without-jemalloc \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
ARIA2_STATIC=no
make
make DESTDIR=$PKG install
rm -rf "$PKG/usr/share/doc"
--with-gnutls— With--without-openssl,--with-libgcrypt,--without-libnettleand--without-libgmp: gnutls is the TLS library and libgcrypt the crypto, for the BitTorrent message digests, its Diffie-Hellman handshake and Metalink checksums. configure otherwise takes whichever it finds first, and aria2 1.37’s OpenSSL and nettle code compiles against neither OpenSSL 4, which makes the certificate name types opaque and const, nor nettle 4, whose digest functions take no length.--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt— The trust store HTTPS is verified against, the bundle ca-certificates installs.--with-libxml2— With--without-libexpat: Metalink and XML-RPC through libxml2.--with-sqlite3— Reads Firefox and Chromium cookie stores (--load-cookies) through sqlite.--with-libcares— Asynchronous DNS through c-ares.--with-libssh2— SFTP through libssh2.--disable-nls— No message catalogues; the image is English only (see Size and language policy).
Programs: aria2c.
Directories: /usr/share/licenses/aria2.