FreeBSD Bugzilla – Attachment 137280 Details for
Bug 182721
net/mDNSResponder port lacks startup script for mDNSResponderPosix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.txt
file.txt (text/plain), 1.58 KB, created by
Nuno Subtil
on 2013-10-05 23:40:00 UTC
(
hide
)
Description:
file.txt
Filename:
MIME Type:
Creator:
Nuno Subtil
Created:
2013-10-05 23:40:00 UTC
Size:
1.58 KB
patch
obsolete
>From 1e34014d095a6a66386d191933f28c1f9df681dc Mon Sep 17 00:00:00 2001 >From: Nuno Subtil <subtil@gmail.com> >Date: Sat, 5 Oct 2013 15:04:34 -0700 >Subject: [PATCH] net/mDNSResponder: Add startup script > >Adds an rc.d startup script to start mDNSResponderPosix at boot. >--- > net/mDNSResponder/Makefile | 2 +- > net/mDNSResponder/files/mdnsresponder.in | 22 ++++++++++++++++++++++ > 2 files changed, 23 insertions(+), 1 deletion(-) > create mode 100644 net/mDNSResponder/files/mdnsresponder.in > >diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile >index f352536..c34da72 100644 >--- a/net/mDNSResponder/Makefile >+++ b/net/mDNSResponder/Makefile >@@ -19,7 +19,7 @@ INSTALL_WRKSRC= ${WRKSRC}/mDNSPosix > MAKE_ARGS= os=freebsd LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man > USES= bison gmake > USE_LDCONFIG= yes >-USE_RC_SUBR= mdnsd >+USE_RC_SUBR= mdnsd mdnsresponder > > EXTRA_BIN= bin/mDNSClientPosix bin/mDNSIdentify bin/mDNSNetMonitor \ > bin/mDNSProxyResponderPosix bin/mDNSResponderPosix >diff --git a/net/mDNSResponder/files/mdnsresponder.in b/net/mDNSResponder/files/mdnsresponder.in >new file mode 100644 >index 0000000..97fc6f1 >--- /dev/null >+++ b/net/mDNSResponder/files/mdnsresponder.in >@@ -0,0 +1,22 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+ >+# PROVIDE: mdnsresponder >+# REQUIRE: DAEMON >+# KEYWORD: shutdown >+ >+. /etc/rc.subr >+ >+name=mdnsresponder >+rcvar=mdnsresponder_enable >+ >+load_rc_config $name >+ >+: ${mdnsresponder_enable="NO"} >+: ${mdnsresponder_pidfile="/var/run/${name}.pid"} >+ >+command="%%PREFIX%%/bin/mDNSResponderPosix" >+command_args="-b -P ${mdnsresponder_pidfile}" >+ >+run_rc_command $* >-- >1.8.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 182721
: 137280