openbsd-ports/net/dnsmasq/patches/patch-man_dnsmasq_8
ajacoutot 8dd372af01 Update to dnsmasq-2.76.
from Brad (maintainer)
2016-05-22 08:05:29 +00:00

38 lines
1.4 KiB
Plaintext

$OpenBSD: patch-man_dnsmasq_8,v 1.22 2016/05/22 08:05:29 ajacoutot Exp $
--- man/dnsmasq.8.orig Sat May 14 16:36:15 2016
+++ man/dnsmasq.8 Tue May 17 01:54:13 2016
@@ -151,13 +151,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 defaults to "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.
@@ -1860,7 +1859,7 @@ in the configuration file included. Secondly, the file
therein is updated when dnsmasq recieves SIGHUP.
.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
@@ -2308,7 +2307,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