git: 5c457fb00e61 - main - archivers/py-borgbackup11: fix pkg-message instructions

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 21:46:58 UTC
The branch main has been updated by mandree:

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

commit 5c457fb00e613885e4aab48afd69a6fe129a3d6d
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-04-18 21:46:06 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-04-18 21:46:06 +0000

    archivers/py-borgbackup11: fix pkg-message instructions
    
    which were suggesting to add the loader.conf variable fusefs_load
    to rc.conf instead via sysrc.
    
    Reported by:    zero1@zaclys.net
    PR:             278429
    MFH:            2024Q2
---
 archivers/py-borgbackup11/Makefile    |  2 +-
 archivers/py-borgbackup11/pkg-message | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/archivers/py-borgbackup11/Makefile b/archivers/py-borgbackup11/Makefile
index 533f2913ab8a..ba593f705f1f 100644
--- a/archivers/py-borgbackup11/Makefile
+++ b/archivers/py-borgbackup11/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	borgbackup
 DISTVERSION=	1.1.18
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/archivers/py-borgbackup11/pkg-message b/archivers/py-borgbackup11/pkg-message
index 8fcc0ba5f821..52b4e6aa0e07 100644
--- a/archivers/py-borgbackup11/pkg-message
+++ b/archivers/py-borgbackup11/pkg-message
@@ -2,17 +2,21 @@
 { type: install
   message: <<EOM
 In order to mount locally a remote archive or an entire repository as a FUSE
-filesystem, it is required to load fusefs module:
+filesystem, it is required to load fusefs module, for instance, as root, run:
 
-# kldload fusefs
+	kldload fusefs
 
-To load the module at boot time, add
+To load the module at boot time, you can add it to the kld_list variable
+in /etc/rc.conf or related files, for instance, by running
 
-fusefs_load="YES"
+	sysrc kld_list+=fusefs
 
-to /boot/loader.conf by running:
+as root.  Alternatively, to load the module earlier, you can manually add
+
+	fusefs_load="YES"
+
+to /boot/loader.conf.local or /boot/loader.conf with a text editor.
 
-sysrc fusefs_load="YES"
 
 Also, if you plan to mount borg repositories as non root user, you need to run