Commit Graph

36 Commits

Author SHA1 Message Date
Huangbin Zhan 0ec746ccb6 treewide: add conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-05-09 06:06:43 +08:00
Rosen Penev a5e7d0a904
aria2: Build with MIPS16
All the computationally expensive stuff is in the libraries, not the
package itself.

Saves several kilobytes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-23 18:42:30 -08:00
Xingwang Liao 2384acdc9d
aria2: Update to 1.35.0
* remove OpenSSL patch, it has already merged to the source.

Signed-off-by: Xingwang Liao <kuoruan@gmail.com>
2019-10-08 11:40:49 +08:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Jeffery To 3f247ef455 aria2: Update init script
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.

This also lets procd trigger the validation function directly, and
removes some unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-03-28 00:05:43 +08:00
Rosen Penev cabf977d38 aria2: Fix the faulty patch again
The previous solution was incorrect. The issue was that the macro was not
defined as the header defining it was not included. GCC warns if -Wunder
is passed and does not error by default, leading to the confusion.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-25 01:16:05 -08:00
Rosen Penev d304dab571 aria2: Fix faulty patch
The if condition was wrong and caused compilation errors with 1.1.
Potentially broke 1.0.2.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-06 19:59:09 -08:00
Peter Wagner 7cf1c9e11c aria2: immediate assign value
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-01-03 01:10:56 +01:00
Peter Wagner c579202935 aria2: fix "Illegal instruction" crash on ar71xx
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-01-02 22:52:40 +01:00
James Qian a07454d026 aria2: fix some typo
Signed-off-by: James Qian <sotux82@gmail.com>
2018-12-15 21:16:23 +08:00
Deng Qingfang 8d04517d60 aria2: enable build-parallel
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2018-12-04 08:49:27 +08:00
Deng Qingfang 2d58169f14 aria2: size optimizations
Reduce binary size by about 22%

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2018-12-04 08:45:32 +08:00
Hsing-Wang Liao be5feb784a aria2: Bump 1.34.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2018-05-21 10:38:24 +08:00
Hsing-Wang Liao e66bfeafae aria2: Bump 1.33.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-10-22 17:01:59 +08:00
Hsing-Wang Liao df615166ba aria2: Add missing 'or' in section validate function
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-25 14:33:54 +08:00
Hsing-Wang Liao f76693c9d5 aria2: Add some build config options
======================== ========================================
features                  dependency
======================== ========================================
HTTPS                    OSX or GnuTLS or OpenSSL or Windows
SFTP                     libssh2
BitTorrent               None. Optional: libnettle+libgmp or
                         libgcrypt or OpenSSL
Metalink                 libxml2 or Expat.
Checksum                 None. Optional: OSX or libnettle or
                         libgcrypt or OpenSSL or Windows
gzip, deflate in HTTP    zlib
Async DNS                C-Ares
Firefox3/Chromium cookie libsqlite3
XML-RPC                  libxml2 or Expat.
JSON-RPC over WebSocket  libnettle or libgcrypt or OpenSSL
======================== ========================================

Add 'CONFIG_' to 'PKG_CONFIG_DEPENDS'.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-25 13:51:45 +08:00
Hsing-Wang Liao 961a1b5190 aria2: Rewrite init script
* Add aria2 user and group.
* Use procd to start service.
* Add more supported options.

Compatible with previous version.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-08-25 13:51:45 +08:00
kuoruan 5f8dcde38b aria2: Update to v1.32.0
Signed-off-by: kuoruan <kuoruan@gmail.com>
2017-05-25 11:11:43 +08:00
Hsing-Wang Liao 3e3236f3c1 aria2: Update to v1.31.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-02-20 09:27:10 +08:00
Hsing-Wang Liao 20e9787ef9 aria2: Add more feature choices and switch default XML parser library to Libxml2
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-02-19 22:48:00 +08:00
leonghui 35f3f59c87 aria2: update to 1.30.0
Maintainer: @kuoruan
Compile tested: mips
Run tested: mips

Issue with magnet links not starting is fixed: https://github.com/aria2/aria2/issues/793
2016-12-29 21:03:03 +08:00
Hsing-Wang Liao 1ee74fafad aria2: update to 1.28.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-10-21 21:52:58 +08:00
Hsing-Wang Liao 2fe6c4a29e aria2: update to 1.27.1
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-09-19 18:12:16 +08:00
Hsing-Wang Liao 2439216217 aria2: update to 1.26.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-08-22 18:21:22 +08:00
Hsing-Wang Liao 335e32681f aria2: fix bugs and make some changes
* Fix aria2c failed to start after change daemon user, issue #2985;
* Change default download dir;
* Clear exist log file when aria2 start;
* Add log level option;
* Change dir owner when start.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-07-24 16:02:19 +08:00
Hsing-Wang Liao 4b28f01597 aria2: update to 1.25.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-07-16 11:07:11 +08:00
Hsing-Wang Liao 5246efe3d8 aria2: update init file
This update is from #2961, thank @hostkit.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-07-16 11:05:57 +08:00
Hsing-Wang Liao b8d8ffab3c aria2: fix md5sum
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-06-21 08:01:08 +08:00
Hsing-Wang Liao dc131d4710 aria2: update to v1.24.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-06-20 13:38:24 +08:00
Hannu Nyman dd31bada67 aria2: explicitely disable libuv support
If libuv is present within the build environment, aria2 will fail to build
with the following error:

    LibuvEventPoll.cc: In member function 'virtual void aria2::LibuvEventPoll::poll(const timeval&)':
    LibuvEventPoll.cc:144:59: error: invalid conversion from 'void (*)(uv_timer_t*, int) {aka void (*)(uv_timer_s*, int)}' to 'uv_timer_cb {aka void (*)(uv_timer_s*)}' [-fpermissive]
         uv_timer_start(timer, timer_callback, timeout, timeout);
                                                               ^
    In file included from LibuvEventPoll.h:43:0,
                     from LibuvEventPoll.cc:44:
    .../staging_dir/target-arm_xscale_musl-1.1.14_eabi/usr/include/uv.h:770:44: note:   initializing argument 2 of 'int uv_timer_start(uv_timer_t*, uv_timer_cb, uint64_t, uint64_t)'
     UV_EXTERN int uv_timer_start(uv_timer_t* handle,
                                                ^
    Makefile:2271: recipe for target 'LibuvEventPoll.lo' failed
    make[6]: *** [LibuvEventPoll.lo] Error 1

Explicitely disable the libuv support in `configure` to avoid picking up this
unwanted dependency.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Patch modified to resolve conflict caused by #2804
This closes #2776
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-03 10:02:06 +03:00
Hsing-Wang Liao 773fe036ee aria2: Add SFTP support choice
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-06-03 10:23:35 +08:00
Hsing-Wang Liao 726df676bf aria2: Add maintainer
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-06-02 16:28:32 +08:00
Hsing-Wang Liao 8ee05d3f05 aria2: Add files in order to use LuCI
* Add config file.
* Add init.d file.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-06-02 16:26:02 +08:00
kuoruan 251c1867e6 aria2: Add xml library choice
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 10:18:49 +08:00
kuoruan 3424ffc8d2 aria2: update to 1.23.0
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-30 09:23:17 +08:00
Cezary Jackiewicz 35e235ab07 Import aria2 from oldpackages, update to 1.18.7 2014-07-22 22:38:10 +02:00