sthen 16bc27b856 import ports/sysutils/usmb; ok and readdir fix from syl@ (who also fixed
various fuse problems found in the course of porting/testing).


usmb lets you mount SMB shares as unprivileged users via FUSE, in the
vein of Windows' Map Network Drive facility. It differs from the other
FUSE SMB filesystems (fusesmb, SMB for FUSE) in that it doesn't have
Network Neighbourhood functionality: this means that you can mount
shares that you can't see via NetBIOS browsing.

(Note: unprivileged mounting requires both kern.usermount=1 and access
to /dev/fuse0).
2014-06-05 15:40:09 +00:00

38 lines
874 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2014/06/05 15:40:09 sthen Exp $
COMMENT= mount SMB shares from userland via FUSE
DISTNAME= usmb-20130204
CATEGORIES= sysutils
HOMEPAGE= http://ametros.net/code.html
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c fuse glib-2.0 lib/samba/smbclient xml2
# http://repo.or.cz/w/usmb.git/snapshot/aa94e132c12faf1a00f547ea4a96b5728612dea6.tar.gz
MASTER_SITES= http://spacehopper.org/mirrors/
MODULES= devel/gettext
BUILD_DEPENDS= textproc/gsed
LIB_DEPENDS= devel/glib2 \
net/samba \
textproc/libxml
SEPARATE_BUILD= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-samba=${LOCALBASE}
NO_TEST= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/{doc,examples}/usmb/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/usmb/
${INSTALL_DATA} ${WRKSRC}/usmb.conf ${PREFIX}/share/examples/usmb/
.include <bsd.port.mk>