aboutsummaryrefslogtreecommitdiff
path: root/fedora
AgeCommit message (Collapse)Author
2024-03-18Remove legacy build utilities (#11162)Cody Robibero
2024-01-17Refactor Dockerfile and build (#10603)Gauvino
* Fix fedora * Fix RID Linux * Fix package and image versions * Fix buildling and optimize docker images ``` * Removed find obj * Changed curl command and added gpg * Added to Contributors * Removed apt-transport-https package * Removed RASPI * Update Intel drivers version * Update Dockerfile for CentOS, Fedora, and portable deployments - Changed Jammy docker image to Built-in Jammy Microsoft .NET SDK image - Switched from using "Yum" to "Dnf" for CentOS and Fedora - Added "dnf clean all" and "rm -rf /var/cache/dnf" to the end of CentOS and Fedora Dockerfiles - Added "apt-get clean", "apt-get autoremove", "rm -rf /var/lib/apt/lists/*" to the end of the Debian/Ubuntu Dockerfiles - Added ${DOTNET_VERSION} in every Dockerfile except CentOS/Fedora - Removed previous warning comment for dotnet publish build in parallel - Arranged package installation * Re-arranged Dockerfile package installation * Re-align * Remove curl * Remove curl
2023-11-16Fix README.md, debian/control, jellyfin.specUruk
```
2023-11-14Update to .NET 8Bond_009
2023-11-06Backport pull request #10454 from jellyfin/release-10.8.zShadowghost
Add MALLOC_TRIM_THRESHOLD_ to default ENV Original-merge: 9d565bbb83ef5757fd995a5932422b740dbc6c93 Merged-by: Joshua M. Boniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-10-05Merge pull request #10330 from nyanmisaka/fix-ffmpeg-opt-fedoraBond-009
2023-10-03Fix JELLYFIN_FFMPEG_OPT is not enabled in fedora ExecStartNyanmisaka
2023-09-30Fix sed failing on Docker builds for CentOS/Fedora (#10285)DavidFair
2023-09-25Merge pull request #10212 from brianjmurrell/patch-5Joshua M. Boniface
Make startup script more portable
2023-09-12Avoid shell expansion issues (#10211)Brian J. Murrell
2023-09-12Make startup script more portableBrian J. Murrell
Make the creation of the startup script more portable and future-proof.
2023-08-29Add a small Bash script to launch Jellyfin, instead of a symlink.Gandihar
- The symlink causes a problem with SELinux because it understands symlinks. - This shell script automatically gets the correct SELinux context.
2023-01-23Remove restart.sh dependencies from packagingDennis M. Pöpperl
2023-01-19Remove restart.sh from packagingShadowghost
2023-01-04Add jellyfin to the render and video groups for HWAnyanmisaka
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2022-12-08Fix fedora and centos nightly (#8875)Bond-009
2022-12-07Fix nightly builds (#8870)Bond-009
2022-09-23Backport pull request #8321 from jellyfin/release-10.8.zAJ Jordan
Fix systemd not breaking whitespace in env vars Original-merge: 125ee883117af3ad5c7e2369f8be84089a782b57 Merged-by: Joshua M. Boniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-08-24JELLYFIN_NOWEBAPP_OPT is now --nowebclientBrian J. Murrell
--noautorunwebapp has been renamed --nowebclient.
2022-08-13Backport pull request #8257 from jellyfin/release-10.8.zJoshua M. Boniface
Use separate args for dotnet publish commands Original-merge: d260f308106db648014a0bb3fd1911c838f899ce Merged-by: Joshua M. Boniface <joshua@boniface.me> Backported-by: Joshua Boniface <joshua@boniface.me>
2022-08-13Backport pull request #8219 from jellyfin/release-10.8.znyanmisaka
Move Fedora service hardening options to override config Original-merge: 1d4755894eaf5293e1d67dbca5e5c90566963572 Merged-by: Joshua M. Boniface <joshua@boniface.me> Backported-by: Joshua Boniface <joshua@boniface.me>
2022-07-13bump Jellyfin to 10.9Cody Robibero
2022-06-30Backport pull request #8038 from jellyfin/release-10.8.zJoshua Boniface
Remove mount and unmount permissions for jellyfin group from sudoers Authored-by: Shadowghost <Ghost_of_Stone@web.de> Merged-by: Claus Vium <cvium@users.noreply.github.com> Original-merge: 9cebdfdec0ab9a7ae978b4ef1c117cb8867ab4ab
2022-06-29Merge pull request #7614 from mihawk90/fedora-spec-reworkCody Robibero
(cherry picked from commit cb6e6879e27d7fadc788295f0524d69b3a42c02c) Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-03-19Merge pull request #6985 from joshuaboniface/unharden-for-lxcJoshua M. Boniface
2022-03-15Add SuccessExitStatus for exit 143Joshua M. Boniface
Fixes #3182
2021-12-30Fix fedora build versionBill Thornton
2021-12-24Merge branch 'master' into unharden-for-lxcCody Robibero
2021-12-14Fix build on EL7Brian J. Murrell
Add /usr/local/bin to $PATH. Update fedora/Makefile with enhancements from jellyfin-web.
2021-12-12Unify and standardize unit files between deb/rpmJoshua M. Boniface
Ensures that the RPM service unit has all the tweaks from the Deb service unit, and some in the other direction too.
2021-12-11Merge pull request #5894 from brianjmurrell/bmurrell/setcap-low-portCody Robibero
2021-12-11Run bump_version in make srpmBrian J. Murrell
Also add an "rpms" target that builds the RPMs using mock in a target environment. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2021-11-30Put low port privilege into an optional subpackageBrian J. Murrell
Move "AmbientCapabilities=CAP_NET_BIND_SERVICE" to the "[Service]" section of the optional "lowport" unit drop-in file and package that drop-in in a separate, optionally installable jellyfin-server-lowports subpackage. This isolates the CAP_NET_BIND_SERVICE capability to only installations that desire it. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2021-11-29Merge remote-tracking branch 'origin/master' into HEADBrian J. Murrell
2021-09-25Fix builds for dotnet6 (#6595)Cody Robibero
* Target net6.0 * Use new Enum.TryParse(ReadOnlySpan<char>) overload * Replace RNGCryptoServiceProvider with RandomNumberGenerator * ci - target net6.0 (#6594) * Update deployment for dotnet6 * Use generic 6.0.x preview for CI * Update direct dotnet download links Co-authored-by: Bond_009 <bond.009@outlook.com>
2021-09-06Merge pull request #4615 from strugee/fix-restart.shClaus Vium
2021-08-18Merge pull request #5606 from lmnotran/feature/delay-service-startJoshua M. Boniface
Delay starting service until after network is online
2021-04-22Allow to bind to priveleged ports (i.e. 80/443)Brian J. Murrell
Add "AmbientCapabilities=CAP_NET_BIND_SERVICE" to the "[Service]" section of the unit file to allow the server to bind to ports 80 and 443. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2021-04-11Enable Workstation GC modecvium
2021-03-24Delay starting services until after network is onlineMason Tran
2021-02-09Merge pull request #4663 from joshuaboniface/bump-version-10.8.0dkanada
Bump version to 10.8.0 for next release
2021-01-05Use variables for version, and fix conflictJoe Ceresini
2020-12-04Bump version to 10.8.0 for next releaseJoshua M. Boniface
2020-12-04Use a service unit, not a scope unit, to restartAJ Jordan
Reportedly `systemd-run --scope` still got killed by the service manager; see #4615. The suspected cause is that `scope` units are run by the `systemd-run` process itself and inherit the caller's execution environment (see systemd-run(1)). To fix this, we use a systemd `service` unit instead, which is run and managed by PID 1 - hopefully this will isolate us sufficiently so that we don't get terminated along with `jellyfin.service`.
2020-12-04Use systemd-run(1) in restart.shAJ Jordan
systemd-run(1) runs `systemctl restart` in an isolated systemd unit that is not subject to process termination as jellyfin.service is shut down. We adjust the sudoers configuration for this new usage, removing the old config, since restart.sh is the only user of the sudoers policy. Additionally we change `systemctl start` to `systemctl restart` since there was a race condition where jellyfin.service was not fully stopped by the time this ran, so `systemctl start` became a noop. `systemctl restart` on the other hand works whether jellyfin.service is stopped or not. The at(1) hack (and the usage of `start` instead of `restart`) is left in for other init systems since I cannot test on those systems, and because I don't know of any systemd-run(1) equivalent (although it may be a non-issue since alternate init systems do not keep track of daemon children nearly as aggressively as systemd does).
2020-11-29Add sudo to package dependenciesAJ Jordan
It's used in the restart.sh script. For Debian, this is a Recommends because virtually everyone will need this (default APT policy is to install recommended packages so this works ok), but technically you can configure the server to run as root and then you wouldn't need it. For Fedora... frankly I got confused by their Weak Dependencies etc. so I just made it a hard dependency.
2020-11-29Don't restart with sudo(8) if it's not availableAJ Jordan
Some environments, like system containers, have no reason to have sudo(8) installed. In these environments restart.sh will silently fail because /usr/bin/sudo does not exist to execute, so test that sudo exists and don't try to use it otherwise. Note also that hardcoding sudo's path is wrong: it can be installed in other places. On FreeBSD, for example, it is /usr/local/bin/sudo when installed from ports.
2020-11-29Remove useless which(1) calls in restart.shAJ Jordan
at(1) runs commandlines with /bin/sh anyway, which resolves paths. No need to do it ourselves.
2020-11-29Fix restart.sh to look at what's actually bootedAJ Jordan
The old code was wrong because e.g. systemd can be *installed* on the system, but not actually used as PID1. In that case we would pick `systemctl`, but it wouldn't actually work because PID1 was some other init system.
2020-11-24Revert "Enable jellyfin.service unit on Fedora fresh install"Joshua M. Boniface