git: 69c8b49c8087 - main - ftp/fastdfs: make the rc scripts service jails aware

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Wed, 10 Jul 2024 13:40:36 UTC
The branch main has been updated by netchild:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69c8b49c8087bcdc80e572c3e3a289151d12658c

commit 69c8b49c8087bcdc80e572c3e3a289151d12658c
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-07-10 13:32:23 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-07-10 13:39:44 +0000

    ftp/fastdfs: make the rc scripts service jails aware
    
    PR:             279640
    Approved by:    maintainer timeout (1 month)
---
 ftp/fastdfs/Makefile               | 1 +
 ftp/fastdfs/files/fdfs_storaged.in | 1 +
 ftp/fastdfs/files/fdfs_trackerd.in | 1 +
 3 files changed, 3 insertions(+)

diff --git a/ftp/fastdfs/Makefile b/ftp/fastdfs/Makefile
index 27fad127ba6e..eb5918a71ee2 100644
--- a/ftp/fastdfs/Makefile
+++ b/ftp/fastdfs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fastdfs
 PORTVERSION=	6.0.6
+PORTREVISION=	1
 CATEGORIES=	ftp
 
 MAINTAINER=	daniel@blodan.se
diff --git a/ftp/fastdfs/files/fdfs_storaged.in b/ftp/fastdfs/files/fdfs_storaged.in
index 75099f468214..8d63067969ee 100644
--- a/ftp/fastdfs/files/fdfs_storaged.in
+++ b/ftp/fastdfs/files/fdfs_storaged.in
@@ -35,6 +35,7 @@ fdfs_storaged_poststart()
 # read configuration and set defaults
 load_rc_config "$name"
 : ${fdfs_storaged_enable="NO"}
+: ${fdfs_storaged_svcj_options:="net_basic"}
 : ${fdfs_storaged_config="%%PREFIX%%/etc/fdfs/storage.conf"}
 
 command_args="${fdfs_storaged_config}"
diff --git a/ftp/fastdfs/files/fdfs_trackerd.in b/ftp/fastdfs/files/fdfs_trackerd.in
index 82e8973c034f..1f4dc74f23a6 100644
--- a/ftp/fastdfs/files/fdfs_trackerd.in
+++ b/ftp/fastdfs/files/fdfs_trackerd.in
@@ -35,6 +35,7 @@ fdfs_trackerd_poststart()
 # read configuration and set defaults
 load_rc_config "$name"
 : ${fdfs_trackerd_enable="NO"}
+: ${fdfs_trackerd_svcj_options:="net_basic"}
 : ${fdfs_trackerd_config="%%PREFIX%%/etc/fdfs/tracker.conf"}
 
 command_args="${fdfs_trackerd_config}"