git: e3b4d14a724c - main - filesystems/unionfs: Update pkg-message

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Fri, 09 May 2025 15:29:03 UTC
The branch main has been updated by 0mp:

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

commit e3b4d14a724c8a919a02e3713dde62b343e497f7
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-05-09 15:26:01 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-05-09 15:28:10 +0000

    filesystems/unionfs: Update pkg-message
    
    It is fusefs now.
    
    PR:             285529
    Reported by:    Sergey Kiselev <root@dc365.ru>
    Reported by:    arrowd
---
 filesystems/unionfs/Makefile             |  1 +
 filesystems/unionfs/files/pkg-message.in | 22 +++++++++++++---------
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/filesystems/unionfs/Makefile b/filesystems/unionfs/Makefile
index 4db9d90fc34c..a05141ee3233 100644
--- a/filesystems/unionfs/Makefile
+++ b/filesystems/unionfs/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	unionfs
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.2
+PORTREVISION=	1
 CATEGORIES=	filesystems
 PKGNAMEPREFIX=	fusefs-
 
diff --git a/filesystems/unionfs/files/pkg-message.in b/filesystems/unionfs/files/pkg-message.in
index 4859a839c805..447a92224e7b 100644
--- a/filesystems/unionfs/files/pkg-message.in
+++ b/filesystems/unionfs/files/pkg-message.in
@@ -1,20 +1,24 @@
 [
 { type: install
   message: <<EOM
-You will need to load the kernel module 'fuse' to use this package. To load
-this at boot time, add the following line to /boot/loader.conf:
+You will need to load the kernel module fusefs(4) to use this package. To load
+it when system starts, add "fusefs" to "kld_list" in rc.conf(5).
+For example, you can use sysrc(8):
 
-fuse_load="YES"
+    sysrc kld_list+="fusefs"
 
-If you want unprivileged users to be able to use unionfs, add the following
-line to /etc/sysctl.conf:
+To load the module immediately, use:
 
-vfs.usermount=1
+    kldload fusefs
 
-You can enable them immediately with:
+If you want unprivileged users to be able to use unionfs(8),
+add the following sysctl.conf(5):
 
-kldload fuse
-sysctl vfs.usermount=1
+    vfs.usermount=1
+
+Or run sysctl(8) directly on the command-line for an immediate effect:
+
+    sysctl vfs.usermount=1
 EOM
 }
 ]