summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/smbfs/Makefile43
-rw-r--r--net/smbfs/distinfo1
-rw-r--r--net/smbfs/pkg-comment1
-rw-r--r--net/smbfs/pkg-descr11
-rw-r--r--net/smbfs/pkg-plist13
6 files changed, 70 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 2cf1b76c6854..1222f138c629 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -259,6 +259,7 @@
SUBDIR += sharity-light
SUBDIR += sing
SUBDIR += slirp
+ SUBDIR += smbfs
SUBDIR += smbtcpdump
SUBDIR += smm++
SUBDIR += sniffit
diff --git a/net/smbfs/Makefile b/net/smbfs/Makefile
new file mode 100644
index 000000000000..9766e1a48ca6
--- /dev/null
+++ b/net/smbfs/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: smbfs
+# Date created: 2th Dec 2000
+# Whom: Jaedoc Lee <tokky@fdns.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= smbfs
+PORTVERSION= 1.3.3
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.butya.kz/pub/smbfs/
+
+MAINTAINER= tokky@fdns.org
+
+.if defined(WITH_ICONV)
+pre-fetch:
+ @${ECHO}
+ @${ECHO} "Using iconv library"
+ @${ECHO}
+
+LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv
+
+post-configure:
+ @${SED} -e 's/# USE_ICONV=yes/USE_ICONV=yes/g' < ${WRKSRC}/config.mk.in > ${WRKSRC}/config.mk
+.else
+pre-fetch:
+ @${ECHO}
+ @${ECHO} "Not Using iconv library"
+ @${ECHO}
+ @${ECHO} "You may set iconv library (make WITH_ICONV=yes)"
+ @${ECHO} "to compile smbfs with the supplied iconv."
+ @${ECHO}
+
+post-configure:
+ @${CP} ${WRKSRC}/config.mk.in ${WRKSRC}/config.mk
+.endif
+
+post-install:
+ cd ${WRKSRC} && make makedev
+ @${INSTALL_DATA} ${WRKSRC}/examples/dot.nsmbrc ${LOCALBASE}/etc/nsmb.conf.sample
+ @${INSTALL_SCRIPT} ${WRKSRC}/examples/smbfs.sh.sample ${LOCALBASE}/etc/rc.d/smbfs.sh.sample
+
+.include <bsd.port.mk>
diff --git a/net/smbfs/distinfo b/net/smbfs/distinfo
new file mode 100644
index 000000000000..21d87067d83e
--- /dev/null
+++ b/net/smbfs/distinfo
@@ -0,0 +1 @@
+MD5 (smbfs-1.3.3.tar.gz) = 9d043b0e74b247f264d849cdf78a5fd1
diff --git a/net/smbfs/pkg-comment b/net/smbfs/pkg-comment
new file mode 100644
index 000000000000..2a6946341523
--- /dev/null
+++ b/net/smbfs/pkg-comment
@@ -0,0 +1 @@
+SMB/CIFS protocol and SMB/CIFS file system implementation
diff --git a/net/smbfs/pkg-descr b/net/smbfs/pkg-descr
new file mode 100644
index 000000000000..2054346aa85f
--- /dev/null
+++ b/net/smbfs/pkg-descr
@@ -0,0 +1,11 @@
+This is native SMB/CIFS filesystem (smbfs for short) for FreeBSD.
+It is a complete, kernel side implementation of SMB requester and filesystem.
+
+Please note, that this version of smbfs has been tested with recent
+FreeBSD-current and FreeBSD 4.X.
+
+I'm would be very grateful for any feedback, bug reports etc.
+
+smbfs has been tested with the following SMB servers:
+
+Samba, Windows 95/98/ME/2000/NT4.0(SPs 4, 5, 6), IBM LanManager, NetApp.
diff --git a/net/smbfs/pkg-plist b/net/smbfs/pkg-plist
new file mode 100644
index 000000000000..177d2a2e4397
--- /dev/null
+++ b/net/smbfs/pkg-plist
@@ -0,0 +1,13 @@
+@cwd /
+dev/net/nsmb0
+modules/smbfs.ko
+sbin/mount_smbfs
+@cwd /usr/local
+bin/smbutil
+etc/nsmb.conf.sample
+etc/rc.d/smbfs.sh.sample
+lib/libsmb.a
+man/man1/smbutil.1.gz
+man/man8/mount_smbfs.8.gz
+@cwd /dev
+@dirrm net