Commit graph

10 commits

Author SHA1 Message Date
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
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
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
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