Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2024 16:09:39 GMT
From:      Dries Michiels <driesm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 76e58290d714 - main - multimedia/jellyfin: export PATH so jellyfin can find ffmpeg
Message-ID:  <202403041609.424G9d9t028293@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=76e58290d714bf02e7bbd4703404e53879c308b9

commit 76e58290d714bf02e7bbd4703404e53879c308b9
Author:     Michiel van Baak Jansen <michiel@vanbaak.eu>
AuthorDate: 2024-03-04 15:12:57 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-03-04 16:09:31 +0000

    multimedia/jellyfin: export PATH so jellyfin can find ffmpeg
    
    PR:     277161
---
 multimedia/jellyfin/Makefile          | 1 +
 multimedia/jellyfin/files/jellyfin.in | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/multimedia/jellyfin/Makefile b/multimedia/jellyfin/Makefile
index e5a4ab026d72..1dd696d2f431 100644
--- a/multimedia/jellyfin/Makefile
+++ b/multimedia/jellyfin/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	jellyfin
 DISTVERSION=	10.8.13
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	https://github.com/Thefrank/jellyfin-server-freebsd/releases/download/v${DISTVERSION}/
 DISTFILES=	jellyfin-combined_${DISTVERSION}_freebsd-${ARCH}.tar.gz \
diff --git a/multimedia/jellyfin/files/jellyfin.in b/multimedia/jellyfin/files/jellyfin.in
index 2bebe5580663..86ee201c0ff0 100755
--- a/multimedia/jellyfin/files/jellyfin.in
+++ b/multimedia/jellyfin/files/jellyfin.in
@@ -41,6 +41,8 @@ command="/usr/sbin/daemon"
 
 start_precmd=${name}_precmd
 jellyfin_precmd() {
+    export PATH="/sbin:/bin:/usr/sbin:/usr/bin:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin"
+
     if [ ! -d ${jellyfin_exec_dir} ]; then
         install -d -o ${jellyfin_user} -g ${jellyfin_group} ${jellyfin_exec_dir}
     fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403041609.424G9d9t028293>