summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-01-17 03:29:16 +0000
committertnn <tnn@pkgsrc.org>2008-01-17 03:29:16 +0000
commitd95b418603db497952fcf0df293343337abd117d (patch)
tree992eae096dd30c4c13edd5860320a8515e31f270 /net
parent6e5faaf8fb494371108b7707abc181a90d6e195b (diff)
downloadpkgsrc-d95b418603db497952fcf0df293343337abd117d.tar.gz
Import unfs3-0.9.20 as net/unfs3.
This is a portable NFSv3 server implemented entirely in userspace.
Diffstat (limited to 'net')
-rw-r--r--net/unfs3/DESCR3
-rw-r--r--net/unfs3/Makefile37
-rw-r--r--net/unfs3/PLIST6
-rw-r--r--net/unfs3/distinfo5
-rw-r--r--net/unfs3/files/exports7
5 files changed, 58 insertions, 0 deletions
diff --git a/net/unfs3/DESCR b/net/unfs3/DESCR
new file mode 100644
index 00000000000..a0bfffed305
--- /dev/null
+++ b/net/unfs3/DESCR
@@ -0,0 +1,3 @@
+UNFS3 is a user-space implementation of the NFSv3 server specification.
+It provides a daemon for the MOUNT and NFS protocols, which are used by
+NFS clients for accessing files on the server.
diff --git a/net/unfs3/Makefile b/net/unfs3/Makefile
new file mode 100644
index 00000000000..1652fef51cf
--- /dev/null
+++ b/net/unfs3/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/01/17 03:29:16 tnn Exp $
+#
+
+DISTNAME= unfs3-0.9.20
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=unfs3/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://unfs3.sourceforge.net/
+COMMENT= Userspace NFSv3 server
+
+GNU_CONFIGURE= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONF_FILES+= ${PREFIX}/share/examples/unfs3/exports \
+ ${PKG_SYSCONFDIR}/exports
+
+INSTALLATION_DIRS+= share/examples/unfs3
+
+SUBST_CLASSES+= exports
+SUBST_STAGE.exports= pre-configure
+SUBST_MESSAGE.exports= Fixing path to exports(5)
+SUBST_FILES.exports= daemon.c unfsd.8
+SUBST_SED.exports= -e 's,/etc/exports,${PKG_SYSCONFDIR}/exports,g'
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+BUILDLINK_TRANSFORM+= rm:-lrpcsoc
+CPPFLAGS+= -Dxp_sock=xp_fd
+.endif
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/exports \
+ ${DESTDIR}/${PREFIX}/share/examples/unfs3
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/unfs3/PLIST b/net/unfs3/PLIST
new file mode 100644
index 00000000000..fd843940c81
--- /dev/null
+++ b/net/unfs3/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/17 03:29:16 tnn Exp $
+man/man7/tags.7
+man/man8/unfsd.8
+sbin/unfsd
+share/examples/unfs3/exports
+@dirrm share/examples/unfs3
diff --git a/net/unfs3/distinfo b/net/unfs3/distinfo
new file mode 100644
index 00000000000..16f5f478fb0
--- /dev/null
+++ b/net/unfs3/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/01/17 03:29:16 tnn Exp $
+
+SHA1 (unfs3-0.9.20.tar.gz) = 8c73c0986a0085443b8667e8d65fc236101bcf61
+RMD160 (unfs3-0.9.20.tar.gz) = 5da636a8dfcacbd31d0a1a59b1f0554318062a13
+Size (unfs3-0.9.20.tar.gz) = 167376 bytes
diff --git a/net/unfs3/files/exports b/net/unfs3/files/exports
new file mode 100644
index 00000000000..af2a144b9ff
--- /dev/null
+++ b/net/unfs3/files/exports
@@ -0,0 +1,7 @@
+# $Id: exports,v 1.1.1.1 2008/01/17 03:29:16 tnn Exp $
+#
+# Please note that this file uses Linux exports(5) syntax, not BSD syntax.
+# See unfsd(8) or exports(5) on a Linux system for more examples.
+
+#/usr/src 0.0.0.0(ro)
+#/insecure 0.0.0.0(rw,no_root_squash)