git: 334e8e98b3a6 - main - archivers/py-borgbackup: fix pkg-message instructions

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

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

commit 334e8e98b3a625df06b3a5c3d44b0cbc01c77f31
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-04-18 21:28:10 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-04-18 21:34:53 +0000

    archivers/py-borgbackup: 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-borgbackup/Makefile    |  2 +-
 archivers/py-borgbackup/pkg-message | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/archivers/py-borgbackup/Makefile b/archivers/py-borgbackup/Makefile
index 1f4db77205be..0da3be670eb8 100644
--- a/archivers/py-borgbackup/Makefile
+++ b/archivers/py-borgbackup/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	borgbackup
 DISTVERSION=	1.2.8
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/archivers/py-borgbackup/pkg-message b/archivers/py-borgbackup/pkg-message
index 8fcc0ba5f821..52b4e6aa0e07 100644
--- a/archivers/py-borgbackup/pkg-message
+++ b/archivers/py-borgbackup/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