git: d13466abaf97 - main - ftp/tftp-hpa: make the rc script service jails aware

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Mon, 10 Jun 2024 11:28:12 UTC
The branch main has been updated by netchild:

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

commit d13466abaf976cd31b169a17625e5040ff921ed3
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2024-06-10 11:27:34 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2024-06-10 11:28:03 +0000

    ftp/tftp-hpa: make the rc script service jails aware
---
 ftp/tftp-hpa/Makefile       | 2 +-
 ftp/tftp-hpa/files/tftpd.in | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ftp/tftp-hpa/Makefile b/ftp/tftp-hpa/Makefile
index 48bc753f4ad9..be8fb2d9a4c5 100644
--- a/ftp/tftp-hpa/Makefile
+++ b/ftp/tftp-hpa/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tftp-hpa
 PORTVERSION=	5.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	ftp
 MASTER_SITES=	KERNEL_ORG/software/network/tftp/tftp-hpa
 
diff --git a/ftp/tftp-hpa/files/tftpd.in b/ftp/tftp-hpa/files/tftpd.in
index 967b9cf07f00..8d178301840b 100644
--- a/ftp/tftp-hpa/files/tftpd.in
+++ b/ftp/tftp-hpa/files/tftpd.in
@@ -19,6 +19,7 @@ command_args="-P $pidfile -l"
 
 load_rc_config $name
 : ${tftpd_enable:="NO"}
+: ${tftpd_svcj_options:="net_basic"}
 : ${tftpd_flags:="-s %%PREFIX%%/tftp"}
 
 run_rc_command "$1"