Date: Sat, 2 Nov 2013 12:08:06 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332470 - in head/net/mDNSResponder: . files Message-ID: <201311021208.rA2C86vP058819@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Nov 2 12:08:06 2013 New Revision: 332470 URL: http://svnweb.freebsd.org/changeset/ports/332470 Log: - Add rc script for mDNSResponderPosix - Bump PORTREVISION for package change PR: ports/182721 Submitted by: Nuno Subtil <subtil@gmail.com> Added: head/net/mDNSResponder/files/mdnsresponder.in (contents, props changed) Modified: head/net/mDNSResponder/Makefile Modified: head/net/mDNSResponder/Makefile ============================================================================== --- head/net/mDNSResponder/Makefile Sat Nov 2 11:56:16 2013 (r332469) +++ head/net/mDNSResponder/Makefile Sat Nov 2 12:08:06 2013 (r332470) @@ -3,7 +3,7 @@ PORTNAME= mDNSResponder PORTVERSION= 379.38.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net dns MASTER_SITES= http://opensource.apple.com/tarballs/${PORTNAME}/ @@ -20,7 +20,7 @@ INSTALL_WRKSRC= ${WRKSRC}/mDNSPosix MAKE_ARGS= LOCALBASE=${PREFIX} MANPATH=${MANPREFIX}/man os=freebsd USES= bison gmake USE_LDCONFIG= yes -USE_RC_SUBR= mdnsd +USE_RC_SUBR= mdnsd mdnsresponder EXTRA_BIN= mDNSClientPosix mDNSIdentify mDNSNetMonitor mDNSProxyResponderPosix mDNSResponderPosix EXTRA_MAN1= dns-sd.1 Added: head/net/mDNSResponder/files/mdnsresponder.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/mDNSResponder/files/mdnsresponder.in Sat Nov 2 12:08:06 2013 (r332470) @@ -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 $*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311021208.rA2C86vP058819>