Import unfs3-0.9.20 as net/unfs3.

This is a portable NFSv3 server implemented entirely in userspace.
This commit is contained in:
tnn 2008-01-17 03:29:16 +00:00
parent 6e5faaf8fb
commit d95b418603
5 changed files with 58 additions and 0 deletions

3
net/unfs3/DESCR Normal file
View file

@ -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.

37
net/unfs3/Makefile Normal file
View file

@ -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"

6
net/unfs3/PLIST Normal file
View file

@ -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

5
net/unfs3/distinfo Normal file
View file

@ -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

7
net/unfs3/files/exports Normal file
View file

@ -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)