Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2024 14:32:37 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6b1ce0429253 - main - sysutils/restic: Add pkg-message about FUSE mount
Message-ID:  <202404031432.433EWbj2025920@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

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

commit 6b1ce04292531070e315c0de3960ad0f06ae29ee
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-04-03 14:26:53 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-03 14:31:27 +0000

    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
---
 sysutils/restic/Makefile    |  2 +-
 sysutils/restic/pkg-message | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletion(-)

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
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404031432.433EWbj2025920>