aboutsummaryrefslogtreecommitdiff
path: root/net/transmission
Commit message (Collapse)AuthorAge
* transmission: add syscalls needed on PPC to seccomp rulesDaniel Golle2021-01-06
| | | | | | | Add fadvise64_64 and fchmod syscalls needed on PowerPC platforms to seccomp rules of transmission-daemon. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: do not use wolfSSLRosen Penev2020-12-31
| | | | | | | There's some kind of crash internally in wolfSSL. It doesn't seem like anyone knows how to fix it. Just disable it for now. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: jail: add allow 'getuid' syscallDaniel Golle2020-12-20
| | | | | | transmission needs 'getuid', at least on mips_24kc. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: convert seccomp filter rules to OCI formatDaniel Golle2020-11-17
| | | | | | | procd-seccomp switched to OCI-compliant seccomp parser instead of our (legacy, OpenWrt-specific) format. Convert ruleset to new format. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: remove variants and use libcurl's TLS libraryRosen Penev2020-10-26
| | | | | | | Allows the Makefile to be cleaned up and to have fewer dependencies. There's no need for multiple TLS libraries to be installed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: fix mbedtls searchRosen Penev2020-10-13
| | | | | | | mbedcrypto should be searched, not mbedtls. Also, there is no pkgconfig file with mbedtls. Fixed that as well. Removed Makefile hacks. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: fix compilation with full NLSRosen Penev2020-09-29
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: add access to web interface files to procd jailJosef Zila2020-06-18
| | | | Signed-off-by: Josef Zila <josefzila@gmail.com>
* transmission: add a disabled notificationRosen Penev2020-06-15
| | | | | | Helps to see that transmission must be enabled. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: init script check syscall list for seccompJan Pavlinec2020-05-26
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* transmission: update to 3.0Rosen Penev2020-05-24
| | | | | | remove upstreamed patches. Refresh remaining one. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: add init file STOP directiveFrancesco G2020-04-07
| | | | | | | 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>
* Revert "transmission: mount /etc/resolv.conf in jail"Daniel Golle2020-03-13
| | | | | | | This reverts commit 9778e2f66ff7b1f06e841a416f295e6e3b74c377. /etc/resolv.conf is now mounted by default by procd/ujail. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: mount /etc/resolv.conf in jailDaniel Golle2020-03-12
| | | | | | | transmission needs to have name resolution to be able to resolve the trackers' hostnames. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: add syscalls to seccomp filterDaniel Golle2020-03-08
| | | | | | Syscalls observered when running on arm32. Add them to seccomp rule. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: add service triggers and bump PKG_RELEASERichard Yu2020-01-18
| | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* transmission: update config optionsRichard Yu2020-01-18
| | | | | | | 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>
* transmission: Fix message_level settingRosen Penev2020-01-08
| | | | | | | | --log-error in the init script was overriding it. Added several optimizations to the init script for speed and correctness. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: fix typo in jail setupDaniel Golle2020-01-09
| | | | | Fixes: 609109fa9 ("transmission: add seccomp filter and improve jail") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: fix directory creation in init scriptDaniel Golle2020-01-05
| | | | | | | | | | Things were done in the wrong order, leading to config_dir not being chown'ed and subdirectories not being created in case of download_dir being inside config_dir. Fixes: 609109fa9 ("transmission: add seccomp filter and improve jail") Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: add seccomp filter and improve jailDaniel Golle2020-01-04
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: Disable webseedingRosen Penev2019-11-24
| | | | | | It causes 100% CPU usage in certain situations. Just disable it. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: fix command param issue and use default respawn settingsRichard Yu2019-09-27
| | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* transmission: Merge all the command line params in one lineRosen Penev2019-09-26
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: Fix typo in init scriptRosen Penev2019-09-25
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Merge pull request #9940 from neheb/tr2Rosen Penev2019-09-23
|\ | | | | transmission: Fix tracker issue with some firewalls
| * transmission: Fix tracker issue with some firewallsRosen Penev2019-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | treewide: add PKG_CPE_ID for better cvescanner coverageJan Pavlinec2019-09-17
|/ | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* treewide: Change .*GPL.*+ licenses to SPDX compatible identifierSven Eckelmann2019-09-10
| | | | | | | | 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>
* Revert "transmission-web: set conflicts with transmission-web-control"Richard Yu2019-05-07
| | | | | | | | This reverts commit 18c9a03770793e084eab5601d51b21ca4b374f75. To fix "make menuconfig" shows "recursive dependency detected". Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* Merge pull request #8842 from ysc3839/tr-web-controlRosen Penev2019-05-03
|\ | | | | transmission-web-control: add new package
| * transmission-web: set conflicts with transmission-web-controlRichard Yu2019-04-30
| | | | | | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* | transmission: Fix compilation under uClibc-ngRosen Penev2019-05-01
|/ | | | | | | | Upstream has a patch for this dated 2016. Also ran the init script through shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: add PKGARCH:=all for transmission-webRichard Yu2019-04-18
| | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* transmission: Add LTO support to shave off 35KB off of the ipkRosen Penev2019-02-15
| | | | | | Minor Makefile cleanups. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: Allow user to configure web ui home directoryAndrii Korzh2018-07-12
| | | | Signed-off-by: Andrii Korzh <andrii.korzh@gmail.com>
* transmission: Update to 2.94Rosen Penev2018-05-27
| | | | | | | | 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>
* transmission: Add rpc_host_whitelist support.Rosen Penev2018-04-06
| | | | | | | | | | 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>
* transmission: Fix HTTPS and mobile devices.Rosen Penev2018-03-01
| | | | | | | | | | | | 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>
* transmission: Restored config_overwrite due to popular demand.Rosen Penev2018-02-13
| | | | | | | | | | 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>
* transmission: Fix port test + other fixes.Rosen Penev2018-02-01
| | | | | | | | | | | | 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>
* transmission: Use external libminiupnpc instead of internal.Rosen Penev2018-01-28
| | | | | | | | 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>
* transmission: Update to 2.93 + fixes [v2]Rosen Penev2018-01-28
| | | | | | | | | | | | | | 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>
* Revert "transmission: Update to 2.93 + fixes"Hannu Nyman2018-01-28
| | | | | | | | | | | | | | This reverts commit 606f615048286f432175f5133cbeb14f9db9257f. 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
* transmission: Update to 2.93 + fixesRosen Penev2018-01-27
| | | | | | | | | | | | 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>
* transmission: Update to latest git and fix syslog.Rosen Penev2017-11-22
| | | | | | | | | | | | | 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>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | 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>
* net/transmission: Refresh patches and minor tweaksDaniel Engberg2017-01-08
| | | | | | | | Refresh patches Add patch to spoof git-version as release Switch to xz tarball Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* transmission: conversion polarssl to mbedtlsCezary Jackiewicz2017-01-08
| | | | | | | | | | | | | | 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>
* transmission: fix source URLAlexander Ryzhov2016-11-01
| | | | Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>