git: c751a4589501 - main - ftp/smbftpd: make the rc script service jails aware

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

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

commit c751a45895017481aa8792b0d72adebdf4aeaf33
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-07-10 13:34:49 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-07-10 13:39:45 +0000

    ftp/smbftpd: make the rc script service jails aware
    
    PR:             279641
    Approved by:    maintainer timeout (1 month)
---
 ftp/smbftpd/Makefile         | 2 +-
 ftp/smbftpd/files/smbftpd.in | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ftp/smbftpd/Makefile b/ftp/smbftpd/Makefile
index d83ebecc6a2c..83f6ec45b9c7 100644
--- a/ftp/smbftpd/Makefile
+++ b/ftp/smbftpd/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	smbftpd
 PORTVERSION=	2.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	ftp
 MASTER_SITES=	SF/${PORTNAME}/SmbFTPD/${PORTVERSION}	\
 		http://www.twbsd.org/download/download.php?file=smbftpd/
diff --git a/ftp/smbftpd/files/smbftpd.in b/ftp/smbftpd/files/smbftpd.in
index e4bd5cc2e6fb..f08cf4f4f23f 100644
--- a/ftp/smbftpd/files/smbftpd.in
+++ b/ftp/smbftpd/files/smbftpd.in
@@ -23,6 +23,7 @@ pidfile=/var/run/smbftpd.pid
 procname=%%PREFIX%%/sbin/smbftpd
 
 smbftpd_enable=${smbftpd_enable:-"NO"}
+: ${smbftpd_svcj_options:="net_basic"}
 command_args="-D -s ${smbftpd_config}"
 
 run_rc_command "$1"