mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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>
This commit is contained in:
committed by
Yousong Zhou
parent
fd7094027c
commit
961a1b5190
+2
-1
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=aria2
|
||||
PKG_VERSION:=1.32.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/aria2/aria2/releases/download/release-$(PKG_VERSION)/
|
||||
@@ -44,6 +44,7 @@ define Package/aria2
|
||||
TITLE:=lightweight download utility
|
||||
URL:=https://aria2.github.io/
|
||||
DEPENDS:=+zlib +libstdcpp +ARIA2_SFTP:libssh2 +ARIA2_ASYNC_DNS:libcares +ARIA2_COOKIE:libsqlite3 +ARIA2_LIBXML2:libxml2 +ARIA2_EXPAT:libexpat +ARIA2_OPENSSL:libopenssl +ARIA2_GNUTLS:libgnutls
|
||||
USERID:=aria2=6800:aria2=6800
|
||||
endef
|
||||
|
||||
define Package/aria2/description
|
||||
|
||||
Reference in New Issue
Block a user