ports/101451: [NEW PORT] net/smbnetfs SMBNetFS is a filesystem that allow you to use samba/microsoft network
Denis Barov
dindin at freebsd.org.ua
Tue Aug 8 08:20:24 UTC 2006
The following reply was made to PR ports/101451; it has been noted by GNATS.
From: Denis Barov <dindin at freebsd.org.ua>
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: Tue, 08 Aug 2006 12:11:24 +0400
-----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 at 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 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'
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 at 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-----
More information about the freebsd-ports-bugs
mailing list