summaryrefslogtreecommitdiff
path: root/net/unfs3
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2008-01-30 09:39:13 +0000
committertnn <tnn@pkgsrc.org>2008-01-30 09:39:13 +0000
commitcbf5599c00dc267b4615f004520289cfc2949879 (patch)
tree347e33c2449cf310e741387b6002cb421cbdd8f6 /net/unfs3
parent7eeb6a3b8c23f300e552b7c0ecdbb77ddf2306d6 (diff)
downloadpkgsrc-cbf5599c00dc267b4615f004520289cfc2949879.tar.gz
Provide an rc script. PKGREVISION++
Diffstat (limited to 'net/unfs3')
-rw-r--r--net/unfs3/Makefile4
-rw-r--r--net/unfs3/PLIST3
-rw-r--r--net/unfs3/files/unfsd.sh21
3 files changed, 26 insertions, 2 deletions
diff --git a/net/unfs3/Makefile b/net/unfs3/Makefile
index 6ce53e550a0..772a8418296 100644
--- a/net/unfs3/Makefile
+++ b/net/unfs3/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2008/01/17 04:00:47 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2008/01/30 09:39:13 tnn Exp $
#
DISTNAME= unfs3-0.9.20
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=unfs3/}
@@ -14,6 +15,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
CONF_FILES+= ${PREFIX}/share/examples/unfs3/exports \
${PKG_SYSCONFDIR}/exports
+RCD_SCRIPTS= unfsd
INSTALLATION_DIRS+= share/examples/unfs3
diff --git a/net/unfs3/PLIST b/net/unfs3/PLIST
index fd843940c81..21d29975bd5 100644
--- a/net/unfs3/PLIST
+++ b/net/unfs3/PLIST
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/17 03:29:16 tnn Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/01/30 09:39:13 tnn Exp $
man/man7/tags.7
man/man8/unfsd.8
sbin/unfsd
+share/examples/rc.d/unfsd
share/examples/unfs3/exports
@dirrm share/examples/unfs3
diff --git a/net/unfs3/files/unfsd.sh b/net/unfs3/files/unfsd.sh
new file mode 100644
index 00000000000..f3ba00a07da
--- /dev/null
+++ b/net/unfs3/files/unfsd.sh
@@ -0,0 +1,21 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: unfsd.sh,v 1.1 2008/01/30 09:39:13 tnn Exp $
+#
+# PROVIDE: unfsd
+# REQUIRE: DAEMON rpcbind
+
+if [ -f /etc/rc.subr ]
+then
+ . /etc/rc.subr
+fi
+
+name="unfsd"
+rcvar="${name}"
+command="@PREFIX@/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+command_args="-i ${pidfile}"
+
+load_rc_config $name
+load_rc_config_var rpcbind rpcbind
+run_rc_command "$1"