ports/net/dnsmasq/patches/patch-man_dnsmasq_8

37 lines
1.3 KiB
Text

Index: man/dnsmasq.8
--- man/dnsmasq.8.orig
+++ man/dnsmasq.8
@@ -166,13 +166,12 @@ Specify an alternate path for dnsmasq to record its pr
.TP
.B \-u, --user=<username>
Specify the userid to which dnsmasq will change after startup. Dnsmasq must normally be started as root, but it will drop root
-privileges after startup by changing id to another user. Normally this user is "nobody" but that
+privileges after startup by changing id to another user. Normally this user is "_dnsmasq" but that
can be over-ridden with this switch.
.TP
.B \-g, --group=<groupname>
Specify the group which dnsmasq will run
-as. The default is "dip", if available, to facilitate access to
-/etc/ppp/resolv.conf which is not normally world readable.
+as. This defaults to "_dnsmasq".
.TP
.B \-v, --version
Print the version number.
@@ -2231,7 +2230,7 @@ dig +short chaos txt cachesize.bind
.SH CONFIG FILE
At startup, dnsmasq reads
-.I /etc/dnsmasq.conf,
+.I ${SYSCONFDIR}/dnsmasq.conf,
if it exists. (On
FreeBSD, the file is
.I /usr/local/etc/dnsmasq.conf
@@ -2681,7 +2680,7 @@ dnsmasq has no direct way of determining the charset i
assume that it is the system default.
.SH FILES
-.IR /etc/dnsmasq.conf
+.IR ${SYSCONFDIR}/dnsmasq.conf
.IR /usr/local/etc/dnsmasq.conf