susmb lets you mount SMB/CIFS shares via FUSE, in the vein of the

Map Network Drive functionality in Windows.

This is a fork of sysutils/usmb (unmaintained upstream), adding privdrop and 
unveil(), and doing away with the XML configuration file.

Comments sthen@ and Hiltjo Posthuma (new upstream), OK sthen@
This commit is contained in:
pascal
2026-02-23 20:12:29 +00:00
parent d88db877cd
commit e3ae73180b
4 changed files with 39 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
COMMENT = mount SMB shares via FUSE
DISTNAME = susmb-0.9
CATEGORIES = sysutils
HOMEPAGE = https://codemadness.org/git/susmb/
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
# GPLv3
PERMIT_PACKAGE = Yes
# uses unveil()
WANTLIB += c fuse smbclient
SITES = https://codemadness.org/releases/susmb/
LIB_DEPENDS = net/samba
MAKE_FLAGS = SMBCLIENT_CFLAGS="`pkg-config --cflags smbclient`" \
SMBCLIENT_LDFLAGS="`pkg-config --libs smbclient`" \
FUSE_CFLAGS="`pkg-config --cflags fuse`" \
FUSE_LDFLAGS="`pkg-config --libs fuse`"
FAKE_FLAGS = PREFIX="${TRUEPREFIX}"
NO_TEST = Yes
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (susmb-0.9.tar.gz) = W0pQrpwXtx7ewfKDZDKTqvfo1agSYknItgB7ydo8bSM=
SIZE (susmb-0.9.tar.gz) = 24543
+2
View File
@@ -0,0 +1,2 @@
susmb lets you mount SMB/CIFS shares via FUSE, in the vein of the
Map Network Drive functionality in Windows.
+5
View File
@@ -0,0 +1,5 @@
@bin bin/susmb
@man man/man1/susmb.1
share/doc/susmb/
share/doc/susmb/LICENSE
share/doc/susmb/README