Date: Sun, 6 Aug 2006 00:36:35 GMT From: Denis Barov <dindin@freebsd.org.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/101451: [NEW PORT] net/smbnetfs SMBNetFS is a filesystem that allow you to use samba/microsoft network Message-ID: <200608060036.k760aZAl066132@www.freebsd.org> Resent-Message-ID: <200608060040.k760eIsS008632@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101451 >Category: ports >Synopsis: [NEW PORT] net/smbnetfs SMBNetFS is a filesystem that allow you to use samba/microsoft network >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 06 00:40:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Denis Barov >Release: 6.1-STABLE >Organization: volunterr >Environment: FreeBSD laptop.sardin.dindin.ru 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Jul 19 20:00:01 MSD 2006 root@laptop.sardin.dindin.ru:/usr/obj/usr/src/sys/LAPTOP i386 >Description: 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 :-) >How-To-Repeat: >Fix: # 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} 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 >Release-Note: >Audit-Trail: >Unformatted: in the same manner as the network neighborhood in Microsoft Windows X-REMOTE_ADDR-Is-Open-Proxy: Maybe X-Send-Pr-Version: www-2.3 in the same manner as the network neighborhood in Microsoft Windows
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608060036.k760aZAl066132>