Commit graph

50 commits

Author SHA1 Message Date
Josef Zila
fd3648a7b4
transmission: add access to web interface files to procd jail
Signed-off-by: Josef Zila <josefzila@gmail.com>
(cherry picked from commit 9a82c952b4)
2020-06-18 14:53:16 -07:00
Rosen Penev
054b87df40
transmission: add a disabled notification
Helps to see that transmission must be enabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 89fc95c4fc)
2020-06-18 14:52:37 -07:00
Rosen Penev
8cb9367313
transmission: update to 3.0
remove upstreamed patches. Refresh remaining one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 93485dd317)
2020-06-18 14:51:49 -07:00
Jan Pavlinec
615d909a22
transmission: init script check syscall list for seccomp
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-05-27 11:26:36 +02:00
Francesco G
d12b473616
transmission: add init file STOP directive
Transmission should stop early on system shutdown to avoid
for example fstab unmount disks when transmission is writing.

Signed-off-by: Francesco G <gfrancesco@users.noreply.github.com>
(cherry picked from commit 4fcc44bc89)
2020-04-14 14:21:30 -07:00
Daniel Golle
54372522f6
transmission: add syscalls to seccomp filter
Syscalls observered when running on arm32. Add them to seccomp rule.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 3724ed3d68)
2020-04-14 14:20:18 -07:00
Richard Yu
10b93cd531
transmission: add service triggers and bump PKG_RELEASE
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
(cherry picked from commit c6c8ceb0b4)
2020-04-14 14:20:11 -07:00
Richard Yu
0ba4820b83
transmission: update config options
add missing 'peer_id_ttl_hours' and remove 'scrape_paused_torrents'
which is not exist in transmission wiki.

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
(cherry picked from commit 53fd02d62c)
2020-04-14 14:20:04 -07:00
Rosen Penev
670f336d79
transmission: Sync with master
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-10 18:07:42 -08:00
Daniel Golle
e67c395464 transmission: bump PKG_RELEASE
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-12-09 02:40:23 +01:00
Daniel Golle
a79d6df674 transmission: sync with master branch
Fixes to init-script were not cherry-picked properly, sync it with
version found in master branch.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2019-11-28 18:38:11 +01:00
Rosen Penev
88c37cb6fe
transmission: Disable webseeding
It causes 100% CPU usage in certain situations. Just disable it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 6d9ee2ec86)
2019-11-24 19:09:01 -08:00
Rosen Penev
e8438eb67a
transmission: Fix tracker issue with some firewalls
Some firewalls mandate a minimum size of 4k for SYN packets, which
transmission does not do by default. Upstream issue here:

https://github.com/transmission/transmission/issues/964

Cleanup:

Fixed license info.

Removed two unnecessary patches.

Ran shell script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 730a1697fe)
2019-11-24 19:08:20 -08:00
Jan Pavlinec
937b19ebb7
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from bf2f1a0263)
2019-09-26 19:36:27 -07:00
Sven Eckelmann
1142f52078
treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
(cherry-picked from bbb1ea7345)
2019-09-26 19:36:25 -07:00
Richard Yu
6b49b9c566
Revert "transmission-web: set conflicts with transmission-web-control"
This reverts commit 18c9a03770.

To fix "make menuconfig" shows "recursive dependency detected".

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-05-07 00:14:28 +08:00
Rosen Penev
7fea6570e5
Merge pull request #8842 from ysc3839/tr-web-control
transmission-web-control: add new package
2019-05-03 09:37:47 -07:00
Rosen Penev
f4f665c7db
transmission: Fix compilation under uClibc-ng
Upstream has a patch for this dated 2016.

Also ran the init script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-01 10:41:27 -07:00
Richard Yu
18c9a03770
transmission-web: set conflicts with transmission-web-control
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-04-30 02:36:06 +08:00
Richard Yu
eaeadff317
transmission: add PKGARCH:=all for transmission-web
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2019-04-18 16:36:17 +08:00
Rosen Penev
70c34ef472 transmission: Add LTO support to shave off 35KB off of the ipk
Minor Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-02-15 18:07:31 -08:00
Andrii Korzh
582f697afd transmission: Allow user to configure web ui home directory
Signed-off-by: Andrii Korzh <andrii.korzh@gmail.com>
2018-07-12 15:40:07 +03:00
Rosen Penev
a46d0ffb83 transmission: Update to 2.94
Mainly a bugfix for XSS. Patches have been refreshed.

Added an upstream fix for TLS verification. Now enabled by default.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-05-27 15:18:12 -07:00
Rosen Penev
cfc6d23f9b transmission: Add rpc_host_whitelist support.
It was requested as it can be useful under certain circumstances.

Disabled rpc_whitelist by default. Not only is there a firewall, but it denies access when IP address of the device is changed.

Added group support in UCI. Fixes cases where group does not match the user (nobody:nogroup).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-04-06 13:33:30 -07:00
Rosen Penev
abdd061cf4 transmission: Fix HTTPS and mobile devices.
HTTPS verification is totally broken in Transmission. Unclear why. Disabling as a result.

Safari exposes a JavaScript bug that makes it not load. Fixed.

Portcheck was backported to HTTPS for testing initially. Seems like a good idea.

Makefile was also fixed to use the external libnatpmp. Smaller binary.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-03-01 22:46:07 -08:00
Rosen Penev
ae3e314674 transmission: Restored config_overwrite due to popular demand.
libnatpmp was added as a dependancy to avoid built-in version.

Makefile went through a few adjustments to make it simpler.

CMake support is not happening since Travis is using a broken Ubuntu install.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-13 11:59:20 -08:00
Rosen Penev
e0a5ed9f76 transmission: Fix port test + other fixes.
Ran the transmission init script through shellcheck and fixed errors. Also cleaned up a bit.

Removed ionice support. Will reintroduce if procd adds support.

Removed config_overwrite debugging variable. No need for it.

Enabled TLS verify by default. Added a dependancy to ca-bundle as a result. This is a default in current trunk.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-02-01 20:27:07 -08:00
Rosen Penev
1e8905176d transmission: Use external libminiupnpc instead of internal.
The original patch that forced internal usage hid an actual issue in the build system. Replace patch with upstream one.

Also reorganized the Makefile a bit and removed some cruft.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-01-28 13:13:40 -08:00
Rosen Penev
1d36e57072 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>
2018-01-28 10:04:19 -08:00
Hannu Nyman
3b3fed7fb8 Revert "transmission: Update to 2.93 + fixes"
This reverts commit 606f615048.

The commit broke the patches:
> Applying ./patches/020-use-internal-miniupnp.patch using plaintext:
> patching file configure.ac
> Hunk #1 succeeded at 378 (offset -8 lines).
>
> Applying ./patches/040-fix-for-mbedtls.patch using plaintext:
> patching file configure.ac
> Hunk #1 FAILED at 154.
> 1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
2018-01-28 19:09:38 +02:00
Rosen Penev
606f615048 transmission: Update to 2.93 + fixes
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.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-01-27 18:26:40 -08:00
Rosen Penev
c11bb018e5 transmission: Update to latest git and fix syslog.
The init script runs transmission with the foreground parameter for procd to control it. However, if transmission is ran in the foreground, nothing is logged to syslog. Added a patch to remove this restriction.

Also added a sysctl file that removes these warnings:

UDP Failed to set receive buffer: requested 4194304, got 262142 (tr-udp.c:75)
UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:80)
UDP Failed to set send buffer: requested 1048576, got 262142 (tr-udp.c:86)
UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:91)

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2017-11-22 14:36:41 -08:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Daniel Engberg
677492e02c net/transmission: Refresh patches and minor tweaks
Refresh patches
Add patch to spoof git-version as release
Switch to xz tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-08 21:07:30 +01:00
Cezary Jackiewicz
ba55878959 transmission: conversion polarssl to mbedtls
Maintainer: me / @obsy
Compile tested: x86, LEDE
Run tested: X86/geode, LEDE

Description:
- up to current git version: 35fea28d1a37875ef7480ac061754df617805b19
- replace polarssl via mbedtls

Closes https://github.com/openwrt/packages/issues/3731

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
2017-01-08 19:23:51 +01:00
Alexander Ryzhov
20e3133c6c transmission: fix source URL
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2016-11-01 08:50:42 +03:00
Felix Fietkau
3759a36711 transmission: add missing zlib dependency for openssl variants
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-24 14:57:09 +02:00
Maxim Storchak
e08324cb1d transmission: fix transmission-web dependencies
Fixes #2835

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2016-06-13 14:06:54 +03:00
Cezary Jackiewicz
24aca0746b transmission: split packages depending on selected cryptography library
transmission: Shortening the title

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
2016-04-16 08:44:23 +02:00
Cezary Jackiewicz
c7f3f3e7d0 transmission: update to 2.92, refresh patches 2016-03-12 10:55:42 +01:00
Maxim Storchak
e32fceab45 transmission: add nice and ionice support, store persistent config, add transmission user and group
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2015-08-02 21:54:34 +03:00
Nikos Mavrogiannopoulos
18be1b77cf transmission: bumped version
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-21 12:00:02 +02:00
Nikos Mavrogiannopoulos
49bfb73dfd transmission: increase the number of retries for respawn
The default 5 per hour is too small for transmission which may
crash quite some times.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-17 22:03:40 +02:00
Nikos Mavrogiannopoulos
6161f40875 Optimized /proc/meminfo parsing
Suggested by @jow-

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-14 21:21:04 +02:00
Nikos Mavrogiannopoulos
6091831a5b transmission: make the memory percentage allowed configurable
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-13 00:28:47 +02:00
Nikos Mavrogiannopoulos
e797b5ff78 transmission: use procd
That allows to restart transmission when it crashes, to limit
the memory used by it, as well as be jailed in the directories
it is supposed to access.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-06-13 00:19:02 +02:00
Steven Barth
4eee291cca Merge pull request #1089 from obsy/master
transmission: fix build problem with fallocate64
2015-03-31 10:39:20 +02:00
Cezary Jackiewicz
bf47948dc3 transmission: fix build problem with fallocate64 2015-03-29 12:35:33 +02:00
Daniel Golle
70344eea14 transmission: fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-03-29 06:04:50 +02:00
Maxim Storchak
b459aad260 transmission: import from packages, update to latest
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2014-07-13 13:53:55 +03:00