Commit Graph

65 Commits

Author SHA1 Message Date
Doron Behar
0af425f77b transmission: use finalAttrs 2023-10-05 11:45:01 +03:00
Kirill Radzikhovskyy
a19f1accc3 transmission, transmission_4: set mainProgram 2023-09-23 20:54:30 +10:00
Vladimír Čunát
69867f9de4
transmission: drop myself from .meta.maintainers
I rarely used it in the past few years,
and there's so much of other things to do around nixos.org
2023-05-31 12:47:35 +02:00
Ricardo M. Correia
ce251cd8a9 transmission: remove myself from maintainers 2023-03-28 14:22:35 +00:00
Antoine Pietri
e49dc26761 transmission: use gentoo patch to load legacy openssl provider
Previous patch had a memory leak, see:
https://github.com/NixOS/nixpkgs/issues/207047

The gentoo downstream patch is a lot simpler and does not seem to cause
a memory leak.
2023-02-22 01:07:13 +01:00
Antoine Pietri
85c48a38b4 Revert "transmission: use openssl_legacy"
This reverts commit 52fe5d3bb6.

The patch prevents a segfault in EVP_CIPHER_CTX_set_key_length() when
adding a new torrent. This should have been fixed by switching the
dependency to the legacy openssl package. However, when installing the
Qt version, `transmission-qt` still ends up picking up a non-legacy
openssl via the Qt dependency.
2023-02-18 19:45:50 +01:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
ajs124
52fe5d3bb6 transmission: use openssl_legacy
instead of broken debian/ubuntu patch
2023-01-06 18:03:18 +01:00
Weijia Wang
d5031db736 transmission: fix build on aarch64-darwin 2022-12-09 03:07:31 +01:00
Nick Cao
720cb40e64
transmission: build with openssl 3.0 2022-10-19 14:07:10 +08:00
Vladimír Čunát
f4fc992f1f
transmission-gtk: fixup build on darwin
Hopefully the explicit linker flag isn't really needed (anymore?)
2022-05-09 09:28:43 +02:00
Julien Moutinho
f8d3946708 transmission: remove apparmor rule already included in abstractions/nameservice 2021-10-18 19:35:43 +02:00
Vladimír Čunát
ec4a159100
transmission: fixes to make one test work again
Broken by 37134b607 (PR #134007).
2021-09-27 17:28:35 +02:00
Angus Trau
37134b6072 transmission: fix missing optional dependencies 2021-08-16 14:41:33 +10:00
Simon Thoby
f02264af82 nixos/services/torrent/transmission.nix: add the web UI files to apparmor allowed paths 2021-05-23 19:31:21 +02:00
Vladimír Čunát
850880e854
Merge #123005: apparmor: fix profile building on darwin 2021-05-14 18:16:58 +02:00
Julien Moutinho
8184d8b0f2 apparmor: fix profile building on darwin 2021-05-14 17:37:33 +02:00
Vladimír Čunát
5663b2b2d3
Merge branch 'master' into staging-next
(a trivial conflict in transmission)
2021-05-09 09:31:55 +02:00
Léo Gaspard
423af9cd95 transmission: add link to nixos test 2021-05-08 21:40:48 +02:00
Julien Moutinho
b280e64078 transmission: move apparmor profile to Nixpkgs 2021-04-23 07:20:14 +02:00
Jonas Heinrich
ec6d5ef4f0
libtransmission: init at 3.00 (#118998) 2021-04-17 12:12:09 +02:00
Samuel Gräfenstein
a4efd8c3e1
gnome3.gtk -> gtk3
Fix building with `config.allowAliases = false;`.
2021-03-17 00:00:21 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Jan Tojnar
2596c96f87
Revert "transmission: Remove $out/share/doc"
This reverts commit 25bc56fcb8.
2020-07-16 04:38:08 +02:00
adisbladis
25bc56fcb8
transmission: Remove $out/share/doc
This is a very common path that often collides with other packages.
2020-07-14 22:03:14 +02:00
Alyssa Ross
3abe43e22d transmission: install documentation
The risk of collisions is gone now because documentation is correctly
installed into $out/share/doc/transmission instead of $out/share/doc
as before.
2020-06-29 13:56:27 +00:00
adisbladis
83018f4fc6
transmission: 2.94 -> 3.00 2020-05-23 20:05:44 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
worldofpeace
b0c2aea20b
treewide: drop adding hicolor-icon-theme where possible
This was either for the setup-hook to remove caches or added
even though the respective icon theme propagated it.
2019-09-18 22:47:26 +02:00
Jan Tojnar
72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +02:00
Frederik Rietdijk
099c13da1b Merge staging-next into master (#44009)
* substitute(): --subst-var was silently coercing to "" if the variable does not exist.

* libffi: simplify using `checkInputs`

* pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix

* utillinux: 2.32 -> 2.32.1

https://lkml.org/lkml/2018/7/16/532

* busybox: 1.29.0 -> 1.29.1

* bind: 9.12.1-P2 -> 9.12.2

https://ftp.isc.org/isc/bind9/9.12.2/RELEASE-NOTES-bind-9.12.2.html

* curl: 7.60.0 -> 7.61.0

* gvfs: make tests run, but disable

* ilmbase: disable tests on i686. Spooky!

* mdds: fix tests

* git: disable checks as tests are run in installcheck

* ruby: disable tests

* libcommuni: disable checks as tests are run in installcheck

* librdf: make tests run, but disable

* neon, neon_0_29: make tests run, but disable

* pciutils: 3.6.0 -> 3.6.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pciutils/versions.

* mesa: more include fixes

mostly from void-linux (thanks!)

* npth: 1.5 -> 1.6

minor bump

* boost167: Add lockfree next_prior patch

* stdenv: cleanup darwin bootstrapping

Also gets rid of the full python and some of it's dependencies in the
stdenv build closure.

* Revert "pciutils: use standardized equivalent for canonicalize_file_name"

This reverts commit f8db20fb3a.
Patching should no longer be needed with 3.6.1.

* binutils-wrapper: Try to avoid adding unnecessary -L flags

(cherry picked from commit f3758258b8895508475caf83e92bfb236a27ceb9)
Signed-off-by: Domen Kožar <domen@dev.si>

* libffi: don't check on darwin

libffi usages in stdenv broken darwin. We need to disable doCheck for that case.

* "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook

* python.pkgs.pytest: setupHook to prevent creation of .pytest-cache folder, fixes #40273

When `py.test` was run with a folder as argument, it would not only
search for tests in that folder, but also create a .pytest-cache folder.
Not only is this state we don't want, but it was also causing
collisions.

* parity-ui: fix after merge

* python.pkgs.pytest-flake8: disable test, fix build

* Revert "meson: 0.46.1 -> 0.47.0"

With meson 0.47.0 (or 0.47.1, or git)
things are very wrong re:rpath handling
resulting in at best missing libs but
even corrupt binaries :(.

When we run patchelf it masks the problem
by removing obviously busted paths.
Which is probably why this wasn't noticed immediately.

Unfortunately the binary already
has a long series of paths scribbled
in a space intended for a much smaller string;
in my testing it was something like
lengths were 67 with 300+ written to it.

I think we've reported the relevant issues upstream,
but unfortunately it appears our patches
are what introduces the overwrite/corruption
(by no longer being correct in what they assume)

This doesn't look so bad to fix but it's
not something I can spend more time on
at the moment.

--

Interestingly the overwritten string data
(because it is scribbled past the bounds)
remains in the binary and is why we're suddenly
seeing unexpected references in various builds
-- notably this is is the reason we're
seeing the "extra-utils" breakage
that entirely crippled NixOS on master
(and probably on staging before?).

Fixes #43650.

This reverts commit 305ac4dade.

(cherry picked from commit 273d68eff8)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-24 15:04:48 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
R. RyanTM
66aedd583e transmission-gtk: 2.93 -> 2.94
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/transmission-gtk/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-create -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-create --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-create help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-edit -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-edit --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-show -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-show --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-daemon -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-daemon --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-daemon help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-remote -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-remote --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-remote help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-cli -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-cli --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-gtk -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/transmission-gtk --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-create-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-create-wrapped --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-create-wrapped help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-edit-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-edit-wrapped --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-show-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-show-wrapped --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-daemon-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-daemon-wrapped --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-daemon-wrapped help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-remote-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-remote-wrapped --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-remote-wrapped help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-cli-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-cli-wrapped --help’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-gtk-wrapped -h’ got 0 exit code
- ran ‘/nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94/bin/.transmission-gtk-wrapped --help’ got 0 exit code
- found 2.94 with grep in /nix/store/2icg48qc0virpl18pf2kycp9n2kav4s1-transmission-gtk-2.94
- directory tree listing: https://gist.github.com/4473480bb991ef18fee4200012b9a449
2018-05-02 21:37:30 +02:00
Robin Gloster
a2a922d5c8
transmission: 2.92 -> 2.93 2018-02-26 12:22:09 +01:00
Andreas Rammhold
50f48fce09
transmission: fix RCE via dns rebinding attach
For further details see [1] & [2].

[1] https://github.com/transmission/transmission/pull/468
[2] http://www.openwall.com/lists/oss-security/2018/01/12/1
2018-01-15 00:22:31 +01:00
gnidorah
a9746ab839
transmission_gtk: use wrapGAppsHook 2017-12-04 17:32:11 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
John Ericson
4c0d7da183 Get rid of all with { inherit... } and just used let inherit...
The old forms presumably predates, or were made in ignorance of,
`let inherit`. This way is better style as the scoping as more lexical,
something which Nix can (or might already!) take advantage of.
2017-03-30 03:05:05 -04:00
Matthew Bauer
6695954d48
transmission: fix building on Darwin
This sets "--disable-mac" so that we use GTK instead of the macOS
backend. The macOS backend should work but currently it breaks with xcbuild.
2017-01-07 17:59:14 -06:00
Matthew Bauer
976aed886b
transmission: add enableDaemon flag 2017-01-07 17:59:05 -06:00
Matthew Bauer
30eed55410
transmission: add enableCli flag 2017-01-07 17:58:52 -06:00
Matthew Bauer
cae067f17a
transmission: add enableSystemd flag
This flag can be used to enable systemd daemon support in transmission.
2017-01-07 17:58:40 -06:00
obadz
70286f1348 transmission: fix build with systemd 230 2016-05-28 13:49:19 +01:00
Joachim Fasting
4393e6f619 transmission: build transmission-cli
As of version 2.92, transmission-cli is no longer built by default (it
is deprecated).  This breaks the bittorrent vmtest.  For now, explicitly
enable the cli.
2016-03-13 07:08:01 +01:00
Christoph Hrdinka
c5695bc8be transmission: 2.90 -> 2.92 2016-03-08 15:40:17 +01:00
Domen Kožar
756604cc08 transmission: 2.84 -> 2.90 2016-02-29 13:08:33 +00:00
Eelco Dolstra
916793cf13 Merge branch 'master' into systemd-219
Conflicts:
	nixos/modules/system/boot/systemd.nix
	pkgs/applications/networking/p2p/transmission/default.nix
	pkgs/development/libraries/libseccomp/default.nix
	pkgs/os-specific/linux/systemd/default.nix
	pkgs/top-level/all-packages.nix
2015-09-07 21:28:33 +02:00
Eelco Dolstra
9013dc5826 inotifyTools -> inotify-tools
Fixes #9456.
2015-09-01 10:52:47 +02:00
Eelco Dolstra
bfedb4940c transmission: Fix build
http://hydra.nixos.org/build/22182663
2015-05-13 16:05:34 +02:00
Kosyrev Serge
b9cc04329b fix 404 URLs (close #6105) 2015-02-02 22:05:51 +01:00