Module Name:    src
Committed By:   plunky
Date:           Sun Feb 27 13:05:38 UTC 2011

Modified Files:
        src/external/apache2/mDNSResponder/usr.sbin/mdnsd: Makefile mdnsd.8

Log Message:
since the mDNSResponder daemon is installed as mdnsd, there is some
confusion in the manpage. Not to mention the examples including
commands that don't exist on NetBSD (killall, sudo), so do a bit of
cleanup (and don't copy from dist, just keep it here)

mDNSResponder -> mdnsd
mdnsd -> mDNSResponder
mDNS -> dns-sd
killall -> pkill
% sudo -> #
syslog(8) -> syslogd(8)
example for syslog -> /dev/null
Xr for pkill, syslogd, dns-sd


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
    src/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
cvs rdiff -u -r1.1 -r1.2 \
    src/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile
diff -u src/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile:1.5 src/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile:1.6
--- src/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile:1.5	Sun Oct 18 17:43:11 2009
+++ src/external/apache2/mDNSResponder/usr.sbin/mdnsd/Makefile	Sun Feb 27 13:05:38 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2009/10/18 17:43:11 tron Exp $
+#	$NetBSD: Makefile,v 1.6 2011/02/27 13:05:38 plunky Exp $
 
 PROG=	mdnsd
 
@@ -16,9 +16,4 @@
 
 MAN=	mdnsd.8
 
-mdnsd.8: mDNSResponder.8
-	${TOOL_CAT} < $? > $@
-
-CLEANFILES+=	mdnsd.8
-                               
 .include <bsd.prog.mk>

Index: src/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8
diff -u src/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8:1.1 src/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8:1.2
--- src/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8:1.1	Sun Feb 27 13:01:05 2011
+++ src/external/apache2/mDNSResponder/usr.sbin/mdnsd/mdnsd.8	Sun Feb 27 13:05:38 2011
@@ -1,3 +1,5 @@
+.\"	$NetBSD: mdnsd.8,v 1.2 2011/02/27 13:05:38 plunky Exp $
+.\" 
 .\" -*- tab-width: 4 -*-
 .\" 
 .\" Copyright (c) 2003-2004 Apple Computer, Inc. All Rights Reserved.
@@ -47,12 +49,12 @@
 .\"
 .\"
 .\"
-.Dd April 2004              \" Date
-.Dt mDNSResponder 8         \" Document Title
+.Dd February 27, 2011       \" Date
+.Dt mdnsd 8                 \" Document Title
 .Os Darwin                  \" Operating System
 .\"
 .Sh NAME
-.Nm mDNSResponder
+.Nm mdnsd
 .Nd Multicast and Unicast DNS daemon    \" Name Description for whatis database
 .\" 
 .Sh SYNOPSIS
@@ -61,7 +63,7 @@
 .Sh DESCRIPTION
 .Nm
 (also known as
-.Nm mdnsd
+.Nm mDNSResponder
 on some systems)
 is a daemon invoked at boot time to implement Multicast DNS and DNS Service Discovery. On
 Mac OS X 10.6 (Snow Leopard), 
@@ -85,7 +87,8 @@
 .Pp
 .Ss LOGGING
 There are several methods with which to examine 
-.Nm Ns 's internal state for debugging and diagnostic purposes. The syslog(1)
+.Nm Ns 's internal state for debugging and diagnostic purposes. The
+.Xr syslogd 8
 logging levels map as follows:
 .Pp
 .Dl Error - Error messages
@@ -98,26 +101,23 @@
 A SIGUSR1 signal toggles additional logging, with Warning and Notice
 enabled by default:
 .Pp
-.Dl % sudo killall -USR1 mDNSResponder
-.Pp
-Once this logging is enabled, users can additionally use syslog(1)
-to change the log filter for the process. For example, to enable log levels Emergency - Debug:
-.Pp
-.Dl % sudo syslog -c mDNSResponder -d
+.Dl # pkill -USR1 mdnsd
 .Pp
 A SIGUSR2 signal toggles packet logging:
 .Pp
-.Dl % sudo killall -USR2 mDNSResponder
+.Dl # pkill -USR2 mdnsd
 .Pp
 A SIGINFO signal will dump a snapshot summary of the internal state to 
 .Pa /var/log/system.log Ns :
 .Pp
-.Dl % sudo killall -INFO mDNSResponder
+.Dl # pkill -INFO mdnsd
 .Sh FILES
-.Pa /usr/sbin/mDNSResponder \" Pathname
+.Pa /usr/sbin/mdnsd \" Pathname
 .\"
 .Sh SEE ALSO
-.Xr mDNS 1
+.Xr dns-sd 1 ,
+.Xr pkill 1 ,
+.Xr syslogd 8
 .Pp
 For information on Multicast DNS, see
 .Pa http://www.multicastdns.org/

Reply via email to