openbsd-ports/net/dnsmasq/patches/patch-src_config_h
2012-08-18 21:34:33 +00:00

24 lines
781 B
Plaintext

$OpenBSD: patch-src_config_h,v 1.10 2012/08/18 21:34:33 sthen Exp $
--- src/config.h.orig Mon Aug 6 15:12:04 2012
+++ src/config.h Tue Aug 7 13:53:00 2012
@@ -34,8 +34,8 @@
#define HOSTSFILE "/etc/hosts"
#define ETHERSFILE "/etc/ethers"
#define DEFLEASE 3600 /* default lease time, 1 hour */
-#define CHUSER "nobody"
-#define CHGRP "dip"
+#define CHUSER "_dnsmasq"
+#define CHGRP "_dnsmasq"
#define TFTP_MAX_CONNECTIONS 50 /* max simultaneous connections */
#define LOG_MAX 5 /* log-queue length */
#define RANDFILE "/dev/urandom"
@@ -145,7 +145,7 @@ RESOLVFILE
# if defined(__FreeBSD__)
# define CONFFILE "/usr/local/etc/dnsmasq.conf"
# else
-# define CONFFILE "/etc/dnsmasq.conf"
+# define CONFFILE "${SYSCONFDIR}/dnsmasq.conf"
# endif
#endif