Am 23.12.2014 um 22:00 schrieb Simon Kelley: > Try > > local=/virt/ > > the extended domain=.... syntax is broken in some recent dnsmasq releases.
And the inotify stuff apparently broke builds on non-Linux systems (in 2.73test2). FreeBSD doesn't have that (nor sys/inotify.h), you need to move the #include inside the #ifdef, and if you want an equivalent, check out BSD's kqueue instead (different model and API). > cc -O2 -pipe -march=athlon64 -Wall -Wno-unused-value -DHAVE_DNSSEC > -fstack-protector -fno-strict-aliasing -O2 -pipe -march=athlon64 -Wall > -Wno-unused-value -DHAVE_DNSSEC -fstack-protector -fno-strict-aliasing > -DLOCALEDIR='"/usr/local/share/locale"' -DVERSION='"2.73test2"' > -I/usr/local/include -I/usr/local/include -I/usr/local/include -c > inotify.c > inotify.c:18:25: error: sys/inotify.h: No such file or directory > /wrkdirs/usr/ports/dns/dnsmasq-devel/work/dnsmasq-2.73test2/Makefile:150: > recipe for target 'inotify.o' failed > gmake[1]: *** [inotify.o] Error 1 The fix is simple enough, patch attached. Best, Matthias
--- src/inotify.c.orig 2014-12-23 15:46:08 UTC +++ src/inotify.c @@ -15,9 +15,9 @@ */ #include "dnsmasq.h" -#include <sys/inotify.h> #ifdef HAVE_LINUX_NETWORK +#include <sys/inotify.h> /* the strategy is to set a inotify on the directories containing resolv files, for any files in the directory which are close-write
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss