feat: add aria2-next CMake build support with Aria2-Pro feature patches - #32
Open
reggae7717 wants to merge 4 commits into
Open
reggae7717 wants to merge 4 commits into
reggae7717 wants to merge 4 commits into
Conversation
- Add aria2-next CMake build path alongside existing Autotools build - Add dedicated build scripts for native and cross targets - Add aria2-pro feature patches adapted for aria2-next: - unlock connection-per-server limit - lower min-split-size/piece-length to 1 KiB - retry on slow speed, connection close, HTTP 400/403/406/unknown - disable Want-Digest HTTP header by default - filter implicit -R rpath flags from pkg-config imported targets - Update dependencies to aria2-next baseline versions - Fix OpenSSL arch selection, SQLite config, libssh2 bzip2 extraction - Update Dockerfile to ubuntu:24.04 with CMake build-arg support - Update CI workflow to include aria2-next matrix entry - Update README with aria2-next build instructions Co-authored-by: P3TERX <p3terx@users.noreply.github.com> Co-authored-by: myfreeer <myfreeer@users.noreply.github.com>
The Dockerfile sets ENV ARIA2_REF=master which overrides the ${var:-main}
default in the build scripts. Hardcode the values so the aria2-next build
always clones the correct branch regardless of Docker ENV.
reggae7717
force-pushed
the
feat/aria2-next-support
branch
from
August 19, 2026 17:42
832565c to
3db020d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add CMake build support for aria2-next — a maintained aria2 fork with extensive bug fixes, ED2K support, and modernized architecture — alongside the existing Autotools build.
Changes
Build system
ARIA2_BUILD_SYSTEM=cmake)aria2-next-gnu-linux-build.shand cross variantsdebian:12with CMake build-arg supportaria2-pro feature patches for aria2-next
0001— unlockmax-connection-per-serverlimit, lowermin-split-sizeto 1K, disableWant-Digestby default0002— retry on slow speed and connection close0003— retry on HTTP 400/403/406/unknown status codes0004— lowerpiece-lengthminimum to 1K0005— filter implicit-Rrpath flags from pkg-config imported targets (CMake fix)Dependency updates
--disable-dynamic-extensionsremoval.tar.bz2extraction (gzip → bzip2)lib64/pkgconfigpath for OpenSSL 3.x on x86_64--with-crypto=opensslto libssh2 configureDocumentation
Verification
git apply --checkagainst aria2-nextmain(commit8f1a1cde)bash -naria2-nextbinary (v2.5.6)--retry-on-400/403/406/unknownpresent in--help=#http