Bug 101451 - [NEW PORT] net/smbnetfs SMBNetFS is a filesystem that allow you to use samba/microsoft network
Summary: [NEW PORT] net/smbnetfs SMBNetFS is a filesystem that allow you to use samba/...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-06 01:40 UTC by dindin
Modified: 2006-08-28 21:42 UTC (History)
0 users

See Also:


Attachments
file.shar (4.84 KB, text/plain)
2006-08-06 01:40 UTC, dindin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dindin 2006-08-06 01:40:12 UTC
SMBNetFS is a filesystem that allow you to use samba/microsoft network
in the same manner as the network neighborhood in Microsoft Windows.

Featuries:
    * you can use Samba/Microsoft network as a regular unix filesystem
    * workgroup/computer/share entries are dynamically created
    * windows domain supported
    * kerberos support (New)
    * user defined workgroup/link/hosts are supported
    * national character supported
    * in config files you can specify different user/password to access
different network shares
    * you can access any computer in the world by "cd mountpoint/ip-addr"
command, where "ip-addr" is the IP address of the desired computer. Do
not warry that there is no file with such name :-)
Comment 1 Denis Barov 2006-08-06 01:56:46 UTC
Fixed sourceforge download.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/smbnetfs
#	net/smbnetfs/Makefile
#	net/smbnetfs/distinfo
#	net/smbnetfs/pkg-descr
#	net/smbnetfs/files
#	net/smbnetfs/files/pkg-message.in
#	net/smbnetfs/files/pkg-message.in.bak
#	net/smbnetfs/pkg-plist
#
echo c - net/smbnetfs
mkdir -p net/smbnetfs > /dev/null 2>&1
echo x - net/smbnetfs/Makefile
sed 's/^X//' >net/smbnetfs/Makefile << 'END-of-net/smbnetfs/Makefile'
X# New ports collection makefile for:	net/smbnetfs
X# Date created: 			06 August 2006
X# Whom:					Denis Barov
X# $FreeBSD$
X#
X
XPORTNAME=	smbnetfs
XPORTVERSION=	0.3.6
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=     ${PORTNAME}
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	dindin@freebsd.org.ua
XCOMMENT=	Mount smb shares
X
XLIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs
XRUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
XBUILD_DEPENDS=	fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs
X
XUSE_BZIP2=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV+=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"
XSUB_FILES=      pkg-message
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 600000
XIGNORE=		depends on kernel module that requires FreeBSD 6 or later
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-net/smbnetfs/Makefile
echo x - net/smbnetfs/distinfo
sed 's/^X//' >net/smbnetfs/distinfo << 'END-of-net/smbnetfs/distinfo'
XMD5 (smbnetfs-0.3.6.tar.bz2) = 22e922e50c3ffaada89e463d57526ef4
XSHA256 (smbnetfs-0.3.6.tar.bz2) =
f63c56302b533aa9138ee84ce59e8014baec86c7105184679c51f574f2db7749
XSIZE (smbnetfs-0.3.6.tar.bz2) = 101942
END-of-net/smbnetfs/distinfo
echo x - net/smbnetfs/pkg-descr
sed 's/^X//' >net/smbnetfs/pkg-descr << 'END-of-net/smbnetfs/pkg-descr'
XSMBNetFS is a filesystem that allow you to use samba/microsoft network
Xin the same manner as the network neighborhood in Microsoft Windows.
X
XFeaturies:
X    * you can use Samba/Microsoft network as a regular unix filesystem
X    * workgroup/computer/share entries are dynamically created
X    * windows domain supported
X    * kerberos support (New)
X    * user defined workgroup/link/hosts are supported
X    * national character supported
X    * in config files you can specify different user/password to access
Xdifferent network shares
X    * you can access any computer in the world by "cd mountpoint/ip-addr"
Xcommand, where "ip-addr" is the IP address of the desired computer. Do
Xnot warry that there is no file with such name :-)
X    * command "cd mountpoint/username:password@computer_or_ip" allows
Xyou to access "computer_or_ip" as user "username" with password
X"password" (this is insecure, but usefull)
X
X
XWWW: http://sourceforge.net/projects/smbnetfs
END-of-net/smbnetfs/pkg-descr
echo c - net/smbnetfs/files
mkdir -p net/smbnetfs/files > /dev/null 2>&1
echo x - net/smbnetfs/files/pkg-message.in
sed 's/^X//' >net/smbnetfs/files/pkg-message.in <<
'END-of-net/smbnetfs/files/pkg-message.in'
XBasic Instructions:
X
XAfter kldload fuse.ko (see sysutils/fusefs-kmod documentation) and setting
X
X	# sysctl vfs.usermount=1
X
Xyou should make .smb directory in your homedir:
X
X	% mkdir ~/.smb
X
XCopy your smb.conf (usually in %%PREFIX%%/etc/) and
%%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf to this directory:
X
X	% cp %%PREFIX%%/smb.conf %%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf ~/.smb/
X
XMake mountpoint for smb network and mount it:
X	
X	% mkdir ~/mountpoint
X	% smbnetfs ~/mountpoint
X
XNow you can get access to smb shares in your network, for example:
X
X	% cd ~/mountpoint/ip-addr
END-of-net/smbnetfs/files/pkg-message.in
echo x - net/smbnetfs/files/pkg-message.in.bak
sed 's/^X//' >net/smbnetfs/files/pkg-message.in.bak <<
'END-of-net/smbnetfs/files/pkg-message.in.bak'
XBasic Instructions:
X
XAfter kldload fuse.ko (see sysutils/fusefs-kmod documentation) and setting
X
X	# sysctl vfs.usermount=1
X
Xyou should make .smb directory in your homedir:
X
X	% mkdir ~/.smb
X
XCopy your smb.conf (usually in %%PREFIX%%/etc/) and
%%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf to this directory:
X
X	% cp %%PREFIX%%/smb.conf %%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf ~/.smb/
X
XMake mountpoint for smb network and mount it:
X	
X	% mkdir ~/mountpoint
X	% smbnetfs ~/mountpoint
X
XNow you can get access to smb shares in your network, for example:
X
X	% cd ~/mountpoint/ip-addr
END-of-net/smbnetfs/files/pkg-message.in.bak
echo x - net/smbnetfs/pkg-plist
sed 's/^X//' >net/smbnetfs/pkg-plist << 'END-of-net/smbnetfs/pkg-plist'
Xbin/smbnetfs
Xshare/doc/smbnetfs/INSTALL
Xshare/doc/smbnetfs/RUSSIAN.FAQ
Xshare/doc/smbnetfs/smbnetfs.conf
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X@dirrm share/doc/smbnetfs
END-of-net/smbnetfs/pkg-plist
exit
Comment 2 dindin 2006-08-08 09:11:24 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fixed lib depend from smbclient. Some cleanup.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net/smbnetfs
#	net/smbnetfs/Makefile
#	net/smbnetfs/distinfo
#	net/smbnetfs/pkg-descr
#	net/smbnetfs/files
#	net/smbnetfs/files/pkg-message.in
#	net/smbnetfs/pkg-plist
#
echo c - net/smbnetfs
mkdir -p net/smbnetfs > /dev/null 2>&1
echo x - net/smbnetfs/Makefile
sed 's/^X//' >net/smbnetfs/Makefile << 'END-of-net/smbnetfs/Makefile'
X# New ports collection makefile for:	net/smbnetfs
X# Date created: 			06 August 2006
X# Whom:					Denis Barov
X# $FreeBSD$
X#
X
XPORTNAME=	smbnetfs
XPORTVERSION=	0.3.6
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=     ${PORTNAME}
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	dindin@freebsd.org.ua
XCOMMENT=	Mount smb shares
X
XLIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs \
X		smbclient.0:${PORTSDIR}/net/samba-libsmbclient
XRUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
XBUILD_DEPENDS=	fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs
X
XUSE_BZIP2=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV+=	CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"
XSUB_FILES=      pkg-message
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 600000
XIGNORE=		depends on kernel module that requires FreeBSD 6 or later
X.endif
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-net/smbnetfs/Makefile
echo x - net/smbnetfs/distinfo
sed 's/^X//' >net/smbnetfs/distinfo << 'END-of-net/smbnetfs/distinfo'
XMD5 (smbnetfs-0.3.6.tar.bz2) = 22e922e50c3ffaada89e463d57526ef4
XSHA256 (smbnetfs-0.3.6.tar.bz2) =
Xf63c56302b533aa9138ee84ce59e8014baec86c7105184679c51f574f2db7749
XSIZE (smbnetfs-0.3.6.tar.bz2) = 101942
END-of-net/smbnetfs/distinfo
echo x - net/smbnetfs/pkg-descr
sed 's/^X//' >net/smbnetfs/pkg-descr << 'END-of-net/smbnetfs/pkg-descr'
XSMBNetFS is a filesystem that allow you to use samba/microsoft network
Xin the same manner as the network neighborhood in Microsoft Windows.
X
XFeaturies:
X    * you can use Samba/Microsoft network as a regular unix filesystem
X    * workgroup/computer/share entries are dynamically created
X    * windows domain supported
X    * kerberos support (New)
X    * user defined workgroup/link/hosts are supported
X    * national character supported
X    * in config files you can specify different user/password to access
Xdifferent network shares
X    * you can access any computer in the world by "cd mountpoint/ip-addr"
Xcommand, where "ip-addr" is the IP address of the desired computer. Do
Xnot warry that there is no file with such name :-)
X    * command "cd mountpoint/username:password@computer_or_ip" allows
Xyou to access "computer_or_ip" as user "username" with password
X"password" (this is insecure, but usefull)
X
X
XWWW: http://sourceforge.net/projects/smbnetfs
END-of-net/smbnetfs/pkg-descr
echo c - net/smbnetfs/files
mkdir -p net/smbnetfs/files > /dev/null 2>&1
echo x - net/smbnetfs/files/pkg-message.in
sed 's/^X//' >net/smbnetfs/files/pkg-message.in <<
'END-of-net/smbnetfs/files/pkg-message.in'
X===>  Basic Instructions:
X
XAfter kldload fuse.ko (see sysutils/fusefs-kmod documentation) and setting
X
X	# sysctl vfs.usermount=1
X
Xyou should make .smb directory in your homedir:
X
X	% mkdir ~/.smb
X
XCopy your smb.conf (usually in %%PREFIX%%/etc/) and
X%%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf to this directory:
X
X	% cp %%PREFIX%%/smb.conf %%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf
~/.smb/
X
XMake mountpoint for smb network and mount it:
X	
X	% mkdir ~/mountpoint
X	% smbnetfs ~/mountpoint
X
XNow you can get access to smb shares in your network, for example:
X
X	% cd ~/mountpoint/ip-addr
END-of-net/smbnetfs/files/pkg-message.in
echo x - net/smbnetfs/pkg-plist
sed 's/^X//' >net/smbnetfs/pkg-plist << 'END-of-net/smbnetfs/pkg-plist'
Xbin/smbnetfs
Xshare/doc/smbnetfs/INSTALL
Xshare/doc/smbnetfs/RUSSIAN.FAQ
Xshare/doc/smbnetfs/smbnetfs.conf
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X@dirrm share/doc/smbnetfs
END-of-net/smbnetfs/pkg-plist
exit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRNhHLG+mQl54BTf2AQLapgQAyvWnv7S0Fu1KDfOtfpHMjZEh4sXA/FoN
pm7tskfKCtZnW+s3hq0aEz9Rm8m8FSMnyHNBdh1PfHCV+kf2Fx1ZZJZschD99tSb
V3X2kEMcUTJaUCgMWptu4zCo7lubclumQKVyFOBTE1fDKOxBPa50DjFhaGnG4PZr
AIHLzuiaDt0=
=qtfZ
-----END PGP SIGNATURE-----
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2006-08-28 21:42:23 UTC
State Changed
From-To: open->closed

New port added as sysutils/fusefs-smbnetfs