pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/unfs3 Provide an rc script. PKGREVISION++



details:   https://anonhg.NetBSD.org/pkgsrc/rev/019b7b72c4d0
branches:  trunk
changeset: 538150:019b7b72c4d0
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jan 30 09:39:13 2008 +0000

description:
Provide an rc script. PKGREVISION++

diffstat:

 net/unfs3/Makefile       |   4 +++-
 net/unfs3/PLIST          |   3 ++-
 net/unfs3/files/unfsd.sh |  21 +++++++++++++++++++++
 3 files changed, 26 insertions(+), 2 deletions(-)

diffs (58 lines):

diff -r 97f41ddbfef5 -r 019b7b72c4d0 net/unfs3/Makefile
--- a/net/unfs3/Makefile        Wed Jan 30 08:27:57 2008 +0000
+++ b/net/unfs3/Makefile        Wed Jan 30 09:39:13 2008 +0000
@@ -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 @@
 
 CONF_FILES+=           ${PREFIX}/share/examples/unfs3/exports \
                            ${PKG_SYSCONFDIR}/exports
+RCD_SCRIPTS=           unfsd
 
 INSTALLATION_DIRS+=    share/examples/unfs3
 
diff -r 97f41ddbfef5 -r 019b7b72c4d0 net/unfs3/PLIST
--- a/net/unfs3/PLIST   Wed Jan 30 08:27:57 2008 +0000
+++ b/net/unfs3/PLIST   Wed Jan 30 09:39:13 2008 +0000
@@ -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 -r 97f41ddbfef5 -r 019b7b72c4d0 net/unfs3/files/unfsd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unfs3/files/unfsd.sh  Wed Jan 30 09:39:13 2008 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index