aboutsummaryrefslogtreecommitdiff
path: root/net/transmission
Commit message (Collapse)AuthorAge
* transmission: update to version 4.0.5Josef Schlehofer2024-04-30
| | | | | | | Release notes: https://github.com/transmission/transmission/releases/tag/4.0.5 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* transmission: update to 4.0.4Andrew Sim2023-10-24
| | | | | | | Update Transamission to 4.0.4 stable release Changelog: https://github.com/transmission/transmission/releases/tag/4.0.4 Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
* transmission: fix depends on libmbedtlsLiangbin Lian2023-09-23
| | | | | | If a firmware build with curl without mbedtls, install transmission from openwrt official repo will fail to start Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
* transmission: add copy_file_range syscall to seccompMarius Dinu2023-07-24
| | | | | | | | | | | | Fixes this crash: root@RPi3OpenWrt:/# grep -i seccomp /var/log/audit/audit.log type=SECCOMP msg=audit(1689503903.597:16): auid=4294967295 uid=224 gid=1012 ses=4294967295 pid=1752 comm="transmission-da" exe="/usr/bin/transmission-daemon" sig=31 arch=c00000b7 syscall=285 compat=0 ip=0x7fa3b0eefc code=0x80000000 root@RPi3OpenWrt:/# ausyscall 285 copy_file_range root@RPi3OpenWrt:/# Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
* transmission: add ftruncate syscall to seccompMarius Dinu2023-07-18
| | | | | | Fixes many crashes. Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
* transmission: Fix env variables passingLeonid Bogdanov2023-06-11
| | | | | | | It's not possible to configure custom Transmission web home as corresponding env var gets overwritten by the command that sets CA bundle env var. Signed-off-by: Leonid Bogdanov <leonidbogdanov86@gmail.com>
* transmission: add missing nls.mk includeMarius Dinu2023-05-21
| | | | | | Fixes issue #21016. Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
* transmission: add missing ftruncate64 syscallDaniel Golle2023-05-19
| | | | | | | Transmission 4.0.3 started using the ftruncate64 syscall. Add it to the list of allowed syscalls. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: add new syscall needed with musl 1.2.4Daniel Golle2023-05-18
| | | | | | | Apparently the "revcmsg" syscall is now needed, add it to the list of allowed syscalls. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: Update to v4.03Andrew Sim2023-05-15
| | | | | | | | Update transmission to latest stable v4.0.3 release Changelog: https://github.com/transmission/transmission/releases/tag/4.0.3 Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=ltoAndre Heider2023-04-08
| | | | | | | | | | See commit 07730ff3 "treewide: add support for "lto" in PKG_BUILD_FLAGS" on the main repository. Note: Some packages only added `-flto` to CFLAGS and not LDFLAGS. This fixes it and properly enables LTO. Signed-off-by: Andre Heider <a.heider@gmail.com>
* treewide: refactor to use PKG_BUILD_FLAGS:=gc-sectionsAndre Heider2023-04-08
| | | | | | | | | | | | See commit da370098 "treewide: add support for "gc-sections" in PKG_BUILD_FLAGS" on the main repository. Note: This only touches packages which use all three parts (-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by this build flag. Some packages only use a subset, and these are left unchanged for now. Signed-off-by: Andre Heider <a.heider@gmail.com>
* transmission: update to version 4.0.2Daniel Golle2023-03-20
| | | | | | | See release notes for more details: https://github.com/transmission/transmission/releases/tag/4.0.2 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: update to version 4.0.1Daniel Golle2023-03-07
| | | | | | | | | | | | This is a major release, both in numbering and in effort! It's been in active development for over a year and has a huge list of changes -- over a thousand commits -- since Transmission 3.00. For more information about the release see https://github.com/transmission/transmission/releases/tag/4.0.0 https://github.com/transmission/transmission/releases/tag/4.0.1 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: retrieve boolean config opts using `config_get_bool`Salim B2023-02-13
| | | | | | | | | | | | | | The tranmission UCI config options - `config_overwrite` - `incomplete_dir_enabled` - `watch_dir_enabled` are all booleans, so we have to retrieve them using `config_get_bool` in order to make sure they are properly interpreted in case the user sets them to a keyword (`true`/`false`, `on`/`off` etc.) and not an integer (`0`/`1`). Signed-off-by: Salim B <git@salim.space>
* transmission: get rid of iconv dependencyRosen Penev2022-07-10
| | | | | | No need for an external one. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: add 'incomplete' and 'watch' dirs to ujail mountsAlexander Egorenkov2022-04-13
| | | | | | | | | | | | | | | To fix the errors: Sun Apr 10 14:19:41 2022 daemon.err transmission-daemon[29831]: [2022-04-10 14:19:41.098] watchdir Failed to open directory "/mnt/sda1/openwrt/transmission/watch" (2): No such file or directory (watchdir.c:358) and Sun Apr 10 14:20:18 2022 daemon.err transmission-daemon[30175]: [2022-04-10 14:20:18.641] Couldn't create "/mnt/sda1/openwrt/transmission/incomplete": Permission denied (file-posix.c:243) References: - https://github.com/openwrt/packages/issues/17674 Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
* transmission: add ca_bundle support with procd-ujailMatthew Hagan2022-01-09
| | | | | | | | | | | | | | | | | | | | | | | | With procd-ujail enabled, it is not possible to use HTTPS URLs, for example when either for downloading torrent files or blocklists. The followig example occurs when downloading a URL from the "Upload Torrent Files" dialogue box: Error adding "https://releases.ubuntu.com/21.10/ubuntu-21.10-desktop-amd64.iso.torrent": gotMetadataFromURL: http error 0: No Response syslog will also hint that no CA_BUNDLE is being used: transmission-daemon[6683]: [2021-12-30 20:01:30.990] web will verify tracker certs using envvar CURL_CA_BUNDLE: none (web.c:455) This patch rectifies this issue by adding a ca_bundle configurable, enabled by default. This explicitly fixes the ca_bundle file location to /etc/ssl/certs/ca-certificates.crt and adds this file to the procd jail. On subsequent testing, HTTPS URL download functionality is restored. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
* transmission: include default 'web_home' dir in jailDaniel Golle2021-11-20
| | | | | | | | | Fixes 'transmission-web' for users which didn't manually configure the 'web_home' option. Assume transmission's default in case 'web_home' isn't defined and mount the directory so it can be accessed from inside the jail. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: add a bunch of syscalls to seccomp filterDaniel Golle2021-11-20
| | | | | | | | | | Add missing "inotify_add_watch", "inotify_init1" and "inotify_rm_watch" syscalls to seccomp filter which are needed in case watch_dir feature of transmission is used. Fixes #16972 Reported-by: @siwind Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: update seccomp config fileRen Zongjia2021-10-28
| | | | | | | Add missing syscalls found using utrace. Signed-off-by: Ren Zongjia <acooler15@foxmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: build with wolfSSL againRosen Penev2021-10-14
| | | | | | The problem was discovered and is now patched with an upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* transmission: add two more syscalls to seccomp filterDaniel Golle2021-09-25
| | | | | | | | Testing showed that additional syscalls are needed on ARMv7. Add "clock_gettime64" and "statx" which seem to be used now instead of "clock_gettime" and "stat" syscalls which are already listed. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: add mount triggerDaniel Golle2021-08-08
| | | | | | | Restart transmission once an underlaying mountpoint becomes available. Add myself as maintainer. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: apply DSCP to UDP sockets tooRui Salvaterra2021-08-01
| | | | | | | | | Backport a pending patch in order to DSCP-mark UDP traffic. This allows for correct binning of traffic in diffserv-capable routers. Additionally, remove Rosen Penev from the maintainers list, as per his request. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* transmission: bump PKG_RELEASEDaniel Golle2021-07-10
| | | | | | | | The commit updating the seccomp filter didn't bump PKG_RELEASE. Do that now. Fixes: 1141ee1e5 ("transmission: add new syscalls to seccomp filter)" Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* transmission: add new syscalls to seccomp filterDaniel Golle2021-07-10
| | | | | | | | Testing showed that additional syscalls are needed on ARMv7. Add "getegid32", "geteuid32", "getgid32" and "getrandom" as they are all innocent. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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>