mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Add rc script for mDNSResponderPosix
- Bump PORTREVISION for package change PR: ports/182721 Submitted by: Nuno Subtil <subtil@gmail.com>
This commit is contained in:
parent
0b76da7f50
commit
8c85aa23bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332470
@ -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
|
||||
|
22
net/mDNSResponder/files/mdnsresponder.in
Normal file
22
net/mDNSResponder/files/mdnsresponder.in
Normal file
@ -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 $*
|
Loading…
Reference in New Issue
Block a user