GNOME Bugzilla – Bug 700219
dnsmasq path not configurable
Last modified: 2014-01-03 19:51:30 UTC
The paths of other binaries like iptables are configurable via: --with-iptables=/usr/bin/iptables This is not the case for dnsmasq, necessitating patching in order to support a non-sbin path.
Created attachment 243976 [details] [review] patch adding --with-dnsmasq Here's a naive patch adding --with-dnsmasq support. I would probably be happiest if NetworkManager would just use the PATH to find any binary it needs (that's not known to reside in libexec).
Review of attachment 243976 [details] [review]: Instead of "strlen (try_first)" let's just use: if (try_first && try_first[0] && g_file_test...) Other than that, looks fine.
Created attachment 265188 [details] [review] build: add --with-dnsmasq, to specify dnsmasq path simplified version...
(In reply to comment #3) > Created an attachment (id=265188) [details] [review] > build: add --with-dnsmasq, to specify dnsmasq path > > simplified version... I think, this is good. ACK
Attachment 265188 [details] pushed as 691422a - build: add --with-dnsmasq, to specify dnsmasq path