transmission: Update to 2.93 + fixes [v2]

DNS rebinding protection introduced a new option. Use it to disable it as OpenWrt does not need it.

Adjusted Makefile to use the release instead of a git version. Also cleaned up and added LICENSE entries.

Eliminated useless patches. The syslog one actually doesn't log much. No need to mask the os release anymore either.

Added group entry to init script. Otherwise files end up being owned by user:root which is bogus.

v2: Previous maintainer relied on git version of Transmission for mbedtls support. Backport it to the stable instead.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2018-01-28 10:04:19 -08:00
parent 3b3fed7fb8
commit 1d36e57072
7 changed files with 440 additions and 91 deletions

View File

@@ -49,6 +49,7 @@ config transmission
option rpc_authentication_required false
option rpc_bind_address '0.0.0.0'
option rpc_enabled true
option rpc_host_whitelist_enabled false
option rpc_password ''
option rpc_port 9091
option rpc_url '/transmission/'

View File

@@ -95,7 +95,7 @@ transmission() {
speed_limit_down speed_limit_down_enabled speed_limit_up \
speed_limit_up_enabled start_added_torrents trash_original_torrent_files \
umask upload_slots_per_torrent utp_enabled scrape_paused_torrents \
watch_dir_enabled
watch_dir_enabled rpc_host_whitelist_enabled
append_params_quotes "$cfg" \
blocklist_url bind_address_ipv4 bind_address_ipv6 download_dir incomplete_dir \
@@ -113,6 +113,7 @@ transmission() {
procd_set_param command $cmdline
procd_set_param respawn retry=60
procd_set_param user "$user"
procd_set_param group "$user"
procd_set_param nice "$nice"
if test -z "$USE";then
procd_set_param limits core="0 0"