aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2024-04-18 21:28:10 +0000
committerMatthias Andree <mandree@FreeBSD.org>2024-04-18 21:36:32 +0000
commit69dfc6cd49309b7990db0d931b44633d58bcf739 (patch)
tree0347336c1fcbbf7772342a40c0919db85f599448
parent1ac65cf22787496b194b399a3dd90afad81cb95a (diff)
downloadports-69dfc6cd49309b7990db0d931b44633d58bcf739.tar.gz
ports-69dfc6cd49309b7990db0d931b44633d58bcf739.zip
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 (cherry picked from commit 334e8e98b3a625df06b3a5c3d44b0cbc01c77f31)
-rw-r--r--archivers/py-borgbackup/Makefile2
-rw-r--r--archivers/py-borgbackup/pkg-message16
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