openbsd-ports/net/dnsmasq/patches/patch-src_config_h

24 lines
780 B
Plaintext
Raw Normal View History

2013-04-19 22:38:33 -04:00
$OpenBSD: patch-src_config_h,v 1.12 2013/04/20 02:38:33 brad Exp $
--- src/config.h.orig Thu Mar 7 15:59:28 2013
+++ src/config.h Fri Mar 8 20:42:51 2013
2012-08-18 17:34:33 -04:00
@@ -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"
2013-04-19 22:38:33 -04:00
@@ -161,7 +161,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