Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
P3TERX committed May 2, 2020
1 parent 8a317f3 commit 80e683c
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@
[![GitHub forks](https://img.shields.io/github/forks/P3TERX/aria2-builder.svg?style=flat-square&label=Forks&logo=github)](https://github.com/P3TERX/aria2-builder/fork)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/P3TERX/aria2-builder/Aria2%20Builder?label=Actions&logo=github&style=flat-square)

Aria2 static builds for GNU/Linux

## Downloads
Aria2 static builds for GNU/Linux with custom patches.

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/P3TERX/aria2-builder?style=for-the-badge)](https://github.com/P3TERX/aria2-builder/releases/latest)

## Changes

* option `max-connection-per-server`: change maximum value to ``
* option `min-split-size`: change minimum value to `1K`
* option `piece-length`: change minimum value to `1K`
* download: retry on slow speed and connection close
* download: add option `retry-on-400` to retry on http 400 bad request, which only effective if `retry-wait` > 0
* download: add option `retry-on-403` to retry on http 403 forbidden, which only effective if `retry-wait` > 0
* download: add option `retry-on-406` to retry on http 406 not acceptable, which only effective if `retry-wait` > 0
* download: add option `retry-on-unknown` to retry on unknown status code, which only effective if `retry-wait` > 0

## Installing

### Automatic script
Expand Down Expand Up @@ -54,7 +63,7 @@ DOCKER_BUILDKIT=1 docker build \
github.com/P3TERX/aria2-builder
```

**`dest`** can define the output directory. If there are no changes, two archive files will be generated in the current directory after the work is completed.
**`dest`** can define the output directory. If there are no changes, there will be an archive file in the current directory when the build is completed.
```
$ ls -l
-rw-r--r-- 1 p3terx p3terx 3744106 Jan 17 20:24 aria2-1.35.0-static-linux-amd64.tar.gz
Expand All @@ -68,7 +77,7 @@ DOCKER_BUILDKIT=1 docker build \
-o type=local,dest=. \
github.com/P3TERX/aria2-builder
```
> **`BUILDER_IMAGE`** variable defines the system image used for the build. In general, platforms other than `armhf` don't require it.
> **`BUILDER_IMAGE`** variable defines the system image used for the build. In general, platforms other than `armhf` don't require it.
> **`BUILD_SCRIPT`** variable defines the script used for the cross build.
## External links
Expand All @@ -91,6 +100,7 @@ DOCKER_BUILDKIT=1 docker build \
### Credits

* [q3aql/aria2-static-builds](https://github.com/q3aql/aria2-static-builds)
* [myfreeer/aria2-build-msys2](https://github.com/myfreeer/aria2-build-msys2)

## Licence

Expand Down

0 comments on commit 80e683c

Please sign in to comment.