Date: Mon, 14 Nov 2022 08:38:46 GMT From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9b8077fb4653 - main - audio/gonic: add missing mandatory option in rc script Message-ID: <202211140838.2AE8ck8j098938@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b8077fb4653dafeb71f0e2c80dd418406d5943c commit 9b8077fb4653dafeb71f0e2c80dd418406d5943c Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-11-14 08:37:29 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-11-14 08:38:14 +0000 audio/gonic: add missing mandatory option in rc script --- audio/gonic/Makefile | 2 +- audio/gonic/files/gonic.in | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/audio/gonic/Makefile b/audio/gonic/Makefile index bfa23d9ff9e4..42e669ba74df 100644 --- a/audio/gonic/Makefile +++ b/audio/gonic/Makefile @@ -1,6 +1,6 @@ PORTNAME= gonic PORTVERSION= 0.14.0 -PORTREVISION= 4 +PORTREVISION= 5 DISTVERSIONPREFIX= v CATEGORIES= audio net diff --git a/audio/gonic/files/gonic.in b/audio/gonic/files/gonic.in index c59253083c58..154f544c447d 100644 --- a/audio/gonic/files/gonic.in +++ b/audio/gonic/files/gonic.in @@ -15,6 +15,7 @@ load_rc_config "${name}" # other variables: # gonic_scan_interval # gonic_music_path +# gonic_podcast_path : ${gonic_enable:="NO"} : ${gonic_user:="gonic"} @@ -22,11 +23,12 @@ load_rc_config "${name}" : ${gonic_proxy_prefix:="/"} : ${gonic_db_path:="/var/db/gonic/gonic.db"} : ${gonic_listen_addr:="0.0.0.0:4747"} +: ${gonic_cache_path:="/var/cache/gonic"} pidfile=/var/run/gonic.pid procname="%%PREFIX%%/bin/gonic" command="/usr/sbin/daemon" -command_args="-cf -p ${pidfile} ${procname} ${gonic_music_path:+-music-path=${gonic_music_path}} ${gonic_proxy_prefix:+-proxy-prefix=${gonic_proxy_prefix}} ${gonic_listen_addr:+-listen-addr=${gonic_listen_addr}} ${gonic_scan_interval:+-scan-interval=${gonic_scan_interval}} ${gonic_db_path:+-db-path=${gonic_db_path}} ${gonic_args}" +command_args="-cf -p ${pidfile} ${procname} ${gonic_music_path:+-music-path=${gonic_music_path}} ${gonic_podcast_path:+-podcast-path=${gonic_podcast_path}} ${gonic_cache_path:+-cache-path=${gonic_cache_path}} ${gonic_proxy_prefix:+-proxy-prefix=${gonic_proxy_prefix}} ${gonic_listen_addr:+-listen-addr=${gonic_listen_addr}} ${gonic_scan_interval:+-scan-interval=${gonic_scan_interval}} ${gonic_db_path:+-db-path=${gonic_db_path}} ${gonic_args}" gonic_startprecmd() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211140838.2AE8ck8j098938>