ports/101451: [NEW PORT] net/smbnetfs SMBNetFS is a filesystem that allow you to use samba microsoft network
Денис Баров
dindin at dindin.ru
Sun Aug 6 01:00:43 UTC 2006
The following reply was made to PR ports/101451; it has been noted by GNATS.
From: "=?KOI8-R?B?5MXOydMg4sHSz9c=?=" <dindin at dindin.ru>
To: bug-followup at FreeBSD.org, dindin at freebsd.org.ua
Cc:
Subject: Re: ports/101451: [NEW PORT] net/smbnetfs SMBNetFS is a filesystem that allow you to use samba microsoft network
Date: Sun, 6 Aug 2006 04:56:46 +0400
------=_Part_15196_4521275.1154825806226
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 at 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 at 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 at dirrm share/doc/smbnetfs
END-of-net/smbnetfs/pkg-plist
exit
------=_Part_15196_4521275.1154825806226
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<pre>Fixed sourceforge download.<br>
# This is a shell archive. Save it in a file, remove anything before<br># this line, and then unpack it by entering "sh file". Note, it may<br># create directories; files and directories will be owned by you and
<br># have default permissions.<br>#<br># This archive contains:<br>#<br># net/smbnetfs<br># net/smbnetfs/Makefile<br># net/smbnetfs/distinfo<br># net/smbnetfs/pkg-descr<br># net/smbnetfs/files<br># net/smbnetfs/files/pkg-
<a href="http://message.in">message.in</a><br># net/smbnetfs/files/pkg-message.in.bak<br># net/smbnetfs/pkg-plist<br>#<br>echo c - net/smbnetfs<br>mkdir -p net/smbnetfs > /dev/null 2>&1<br>echo x - net/smbnetfs/Makefile
<br>sed 's/^X//' >net/smbnetfs/Makefile << 'END-of-net/smbnetfs/Makefile'<br>X# New ports collection makefile for: net/smbnetfs<br>X# Date created: 06 August 2006<br>X# Whom: Denis Barov<br>X# $FreeBSD$<br>
X#<br>X<br>XPORTNAME= smbnetfs<br>XPORTVERSION= 0.3.6<br>XCATEGORIES= net<br>XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}<br>XMASTER_SITE_SUBDIR= ${PORTNAME}<br>XDISTNAME= ${PORTNAME}-${PORTVERSION}<br>X<br>XMAINTAINER=
<a href="mailto:dindin at freebsd.org.ua">dindin at freebsd.org.ua</a><br>XCOMMENT= Mount smb shares<br>X<br>XLIB_DEPENDS= fuse.2:${PORTSDIR}/sysutils/fusefs-libs<br>XRUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
<br>XBUILD_DEPENDS= fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs<br>X<br>XUSE_BZIP2= yes<br>X<br>XGNU_CONFIGURE= yes<br>XCONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"<br>XSUB_FILES= pkg-message
<br>X<br>X.include <<a href="http://bsd.port.pre.mk">bsd.port.pre.mk</a>><br>X<br>X.if ${OSVERSION} < 600000<br>XIGNORE= depends on kernel module that requires FreeBSD 6 or later<br>X.endif<br>X<br>Xpost-install:
<br>X @${CAT} ${PKGMESSAGE}<br>X<br>X.include <<a href="http://bsd.port.post.mk">bsd.port.post.mk</a>><br>END-of-net/smbnetfs/Makefile<br>echo x - net/smbnetfs/distinfo<br>sed 's/^X//' >net/smbnetfs/distinfo << 'END-of-net/smbnetfs/distinfo'
<br>XMD5 (smbnetfs-0.3.6.tar.bz2) = 22e922e50c3ffaada89e463d57526ef4<br>XSHA256 (smbnetfs-0.3.6.tar.bz2) = f63c56302b533aa9138ee84ce59e8014baec86c7105184679c51f574f2db7749<br>XSIZE (smbnetfs-0.3.6.tar.bz2) = 101942<br>END-of-net/smbnetfs/distinfo
<br>echo x - net/smbnetfs/pkg-descr<br>sed 's/^X//' >net/smbnetfs/pkg-descr << 'END-of-net/smbnetfs/pkg-descr'<br>XSMBNetFS is a filesystem that allow you to use samba/microsoft network <br>Xin the same manner as the network neighborhood in Microsoft Windows.
<br>X<br>XFeaturies:<br>X * you can use Samba/Microsoft network as a regular unix filesystem<br>X * workgroup/computer/share entries are dynamically created<br>X * windows domain supported<br>X * kerberos support (New)
<br>X * user defined workgroup/link/hosts are supported<br>X * national character supported<br>X * in config files you can specify different user/password to access <br>Xdifferent network shares<br>X * you can access any computer in the world by "cd mountpoint/ip-addr"
<br>Xcommand, where "ip-addr" is the IP address of the desired computer. Do <br>Xnot warry that there is no file with such name :-)<br>X * command "cd mountpoint/username:password at computer_or_ip" allows
<br>Xyou to access "computer_or_ip" as user "username" with password <br>X"password" (this is insecure, but usefull)<br>X<br>X<br>XWWW: <a href="http://sourceforge.net/projects/smbnetfs">http://sourceforge.net/projects/smbnetfs
</a><br>END-of-net/smbnetfs/pkg-descr<br>echo c - net/smbnetfs/files<br>mkdir -p net/smbnetfs/files > /dev/null 2>&1<br>echo x - net/smbnetfs/files/pkg-<a href="http://message.in">message.in</a><br>sed 's/^X//' >net/smbnetfs/files/pkg-
<a href="http://message.in">message.in</a> << 'END-of-net/smbnetfs/files/pkg-<a href="http://message.in">message.in</a>'<br>XBasic Instructions:<br>X<br>XAfter kldload fuse.ko (see sysutils/fusefs-kmod documentation) and setting
<br>X<br>X # sysctl vfs.usermount=1 <br>X<br>Xyou should make .smb directory in your homedir:<br>X<br>X % mkdir ~/.smb<br>X<br>XCopy your smb.conf (usually in %%PREFIX%%/etc/) and %%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf to this directory:
<br>X<br>X % cp %%PREFIX%%/smb.conf %%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf ~/.smb/<br>X<br>XMake mountpoint for smb network and mount it:<br>X <br>X % mkdir ~/mountpoint<br>X % smbnetfs ~/mountpoint<br>X<br>XNow you can get access to smb shares in your network, for example:
<br>X<br>X % cd ~/mountpoint/ip-addr<br>END-of-net/smbnetfs/files/pkg-<a href="http://message.in">message.in</a><br>echo x - net/smbnetfs/files/pkg-message.in.bak<br>sed 's/^X//' >net/smbnetfs/files/pkg-message.in.bak << 'END-of-net/smbnetfs/files/pkg-
message.in.bak'<br>XBasic Instructions:<br>X<br>XAfter kldload fuse.ko (see sysutils/fusefs-kmod documentation) and setting <br>X<br>X # sysctl vfs.usermount=1 <br>X<br>Xyou should make .smb directory in your homedir:<br>
X<br>X % mkdir ~/.smb<br>X<br>XCopy your smb.conf (usually in %%PREFIX%%/etc/) and %%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf to this directory:<br>X<br>X % cp %%PREFIX%%/smb.conf %%PREFIX%%/share/doc/smbnetfs/smbnetfs.conf ~/.smb/
<br>X<br>XMake mountpoint for smb network and mount it:<br>X <br>X % mkdir ~/mountpoint<br>X % smbnetfs ~/mountpoint<br>X<br>XNow you can get access to smb shares in your network, for example:<br>X<br>X % cd ~/mountpoint/ip-addr
<br>END-of-net/smbnetfs/files/pkg-message.in.bak<br>echo x - net/smbnetfs/pkg-plist<br>sed 's/^X//' >net/smbnetfs/pkg-plist << 'END-of-net/smbnetfs/pkg-plist'<br>Xbin/smbnetfs<br>Xshare/doc/smbnetfs/INSTALL<br>Xshare/doc/smbnetfs/RUSSIAN.FAQ
<br>Xshare/doc/smbnetfs/smbnetfs.conf<br>Xshare/nls/POSIX<br>Xshare/nls/en_US.US-ASCII<br>X at dirrm share/doc/smbnetfs<br>END-of-net/smbnetfs/pkg-plist<br>exit<br></pre>
------=_Part_15196_4521275.1154825806226--
More information about the freebsd-ports-bugs
mailing list