Commit Graph

38 Commits

Author SHA1 Message Date
DavidFair
35d6c14653
Fix sed failing on Docker builds for CentOS/Fedora (#10285) 2023-09-30 23:11:20 -04:00
Brian J. Murrell
9d5e6108fb
Make startup script more portable
Make the creation of the startup script more portable and future-proof.
2023-09-12 07:57:09 -04:00
Gandihar
0e6f955912 Add a small Bash script to launch Jellyfin, instead of a symlink.
- The symlink causes a problem with SELinux because it understands symlinks.
  - This shell script automatically gets the correct SELinux context.
2023-08-29 17:10:41 -06:00
Dennis M. Pöpperl
2abd4c0c9c Remove restart.sh dependencies from packaging 2023-01-23 20:02:41 +01:00
Shadowghost
6292e0127d Remove restart.sh from packaging 2023-01-19 10:32:11 +01:00
nyanmisaka
bb7bf8378b Add jellyfin to the render and video groups for HWA
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-01-04 04:29:38 +08:00
Bond-009
622dfaaedf
Fix fedora and centos nightly (#8875) 2022-12-08 05:19:42 -07:00
Bond-009
a2babfd0d3
Fix nightly builds (#8870) 2022-12-07 17:51:29 -07:00
Joshua M. Boniface
c7edf8b565 Backport pull request #8257 from jellyfin/release-10.8.z
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-13 21:46:36 -04:00
Cody Robibero
40d3d8fb37 bump Jellyfin to 10.9 2022-07-13 21:00:56 -06:00
Cody Robibero
1ee1a05fc7 Merge pull request #7614 from mihawk90/fedora-spec-rework
(cherry picked from commit cb6e6879e27d7fadc788295f0524d69b3a42c02c)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:14 -04:00
Brian J. Murrell
543b0127b3 Fix build on EL7
Add /usr/local/bin to $PATH.

Update fedora/Makefile with enhancements from jellyfin-web.
2021-12-14 17:50:58 -05:00
Brian J. Murrell
148fcb1bb8 Put low port privilege into an optional subpackage
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-30 01:18:27 -05:00
Cody Robibero
4fc3de9b75
Fix builds for dotnet6 (#6595)
* 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-25 06:21:48 -06:00
Claus Vium
06242121c5
Merge pull request #4615 from strugee/fix-restart.sh 2021-09-06 13:53:23 +02:00
dkanada
995b370017
Merge pull request #4663 from joshuaboniface/bump-version-10.8.0
Bump version to 10.8.0 for next release
2021-02-09 11:38:31 +09:00
Joe Ceresini
530c4dc11b Use variables for version, and fix conflict 2021-01-05 00:32:46 -05:00
Joshua M. Boniface
5f2cd11199 Bump version to 10.8.0 for next release 2020-12-04 21:56:24 -05:00
AJ Jordan
b528816b2a
Add sudo to package dependencies
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-29 04:15:11 -05:00
Joshua M. Boniface
922b02733b
Revert "Enable jellyfin.service unit on Fedora fresh install" 2020-11-24 17:25:50 -05:00
Bill Thornton
4f96e2f256
Merge pull request #4554 from joshuaboniface/fix-restart
Run explicit service start if restart failed
2020-11-23 14:15:18 -05:00
Joshua M. Boniface
91dd95faa3 Add at to the dependencies on Fedora (as in Deb) 2020-11-22 18:32:34 -05:00
Joshua M. Boniface
5f135a4b46 Use --now to the enable to start too 2020-11-22 17:01:13 -05:00
Joshua M. Boniface
be4e485bd3 Make use of the $1 flag to set installed only 2020-11-22 16:58:07 -05:00
Joshua M. Boniface
d88504c1d6 Set systemctl enabled on Jellyfin service
This was not set for Fedora; I do not recall if this was just an oversight or was
explicitly removed in the past; open to feedback there.

Reported in the LUP Bug-A-Thon
2020-11-22 16:49:12 -05:00
crobibero
1d96167e8d Fix builders 2020-11-16 17:05:31 -07:00
crobibero
185fac0677 Upgrade all netcore3.1 to net5.0 2020-11-15 13:31:47 -07:00
Joshua M. Boniface
88bc2fa3ec Just make everything under libdir/jf a wildcard
I don't know if this will actually work but maybe it will.
2020-10-04 19:50:54 -04:00
crobibero
03d4e90728 add new files to rpm build 2020-09-09 18:52:12 -06:00
crobibero
583f47ea28 Remove GenerateDocumentationFile 2020-09-04 07:04:06 -06:00
crobibero
44fb76bbcf include xml docs when publishing 2020-08-29 10:42:12 -06:00
Joshua M. Boniface
0424d09b8d Merge pull request #4001 from brianjmurrell/patch-1
Add an empty %files section to main package

(cherry picked from commit c3ef1f56f6b1fc4d7e0accaa2178df078f2afd08)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
2020-08-28 10:46:21 -04:00
Joshua M. Boniface
a511e0ac0b Bump master version to 10.7.0 for next release 2020-07-27 19:10:40 -04:00
Joshua M. Boniface
a327e4ccac
Update fedora/jellyfin.spec
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-25 22:13:21 -04:00
Joshua M. Boniface
b0e80b486b Use jellyfin.org everywhere 2020-04-09 11:40:04 -04:00
Joshua M. Boniface
9eab678487 Improve Fedora spec and add metapackage 2020-04-09 11:25:42 -04:00
Joshua M. Boniface
891aa7c255 Update info in Fedora spec 2020-03-23 23:00:35 -04:00
Joshua M. Boniface
6028bc0f79 Port Fedora and CentOS builds and remove web build
Simplifies a number of aspects of the RPM build, including moving
.copr/Makefile into the "fedora/" folder (and leaving a symlink),
removing the jellyfin-web build components, and renaming it
jellyfin-server like Debian did.
2020-03-23 17:32:07 -04:00