diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-04-03 14:26:53 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2024-04-03 14:31:27 +0000 |
commit | 6b1ce04292531070e315c0de3960ad0f06ae29ee (patch) | |
tree | d3dfb2d5a9391579a31a7291420e89bf35db8c98 | |
parent | 0ab48d13ccccefe5cafcf3cbd979fd4968dbb7be (diff) | |
download | ports-6b1ce04292531070e315c0de3960ad0f06ae29ee.tar.gz ports-6b1ce04292531070e315c0de3960ad0f06ae29ee.zip |
sysutils/restic: Add pkg-message about FUSE mount
Add pkg-message about mounting restic repositories with FUSE at install
time. Copied from archivers/py-borgbackup
-rw-r--r-- | sysutils/restic/Makefile | 2 | ||||
-rw-r--r-- | sysutils/restic/pkg-message | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/sysutils/restic/Makefile b/sysutils/restic/Makefile index e81f2df20bae..271a596b1450 100644 --- a/sysutils/restic/Makefile +++ b/sysutils/restic/Makefile @@ -1,7 +1,7 @@ PORTNAME= restic DISTVERSIONPREFIX= v DISTVERSION= 0.16.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org diff --git a/sysutils/restic/pkg-message b/sysutils/restic/pkg-message new file mode 100644 index 000000000000..d14c0b91c10f --- /dev/null +++ b/sysutils/restic/pkg-message @@ -0,0 +1,28 @@ +[ +{ 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: + +# kldload fusefs + +To load the module at boot time, add + +fusefs_load="YES" + +to /boot/loader.conf by running: + +sysrc fusefs_load="YES" + +Also, if you plan to mount restic repositories as non root user, you need to run + +# sysctl vfs.usermount=1 + +and add the line + +vfs.usermount=1 + +to /etc/sysctl.conf to ensure the setting is loaded at boot time. +EOM +} +] |