openbsd-ports/net/dnsmasq/patches/patch-src_config_h
sthen 2440544c0c Update to 2.51, various updates and rolls in the security fixes for
CVE-2009-2957 and CVE-2009-2958 relating to tftp (these were fixed in
2.50; we had them as patches in -current before).

ok rui@
2009-12-27 19:34:33 +00:00

21 lines
634 B
Plaintext

$OpenBSD: patch-src_config_h,v 1.7 2009/12/27 19:34:33 sthen Exp $
--- src/config.h.orig Fri Oct 9 14:13:11 2009
+++ src/config.h Thu Dec 24 14:21:01 2009
@@ -55,13 +55,13 @@
# if defined(__FreeBSD__)
# define CONFFILE "/usr/local/etc/dnsmasq.conf"
# else
-# define CONFFILE "/etc/dnsmasq.conf"
+# define CONFFILE "${SYSCONFDIR}/dnsmasq.conf"
# endif
#endif
#define DEFLEASE 3600 /* default lease time, 1 hour */
-#define CHUSER "nobody"
-#define CHGRP "dip"
+#define CHUSER "_dnsmasq"
+#define CHGRP "_dnsmasq"
#define DHCP_SERVER_PORT 67
#define DHCP_CLIENT_PORT 68
#define DHCP_SERVER_ALTPORT 1067