diff --git a/debian/changelog b/debian/changelog index 38ecd4c..71cc5d8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ dnsmasq (2.66-1) unstable; urgency=low * New upstream. + * Add support for noipset in DEB_BUILD_OPTIONS. - -- Simon Kelley Fri, 14 Dec 2012 11:58:41 +0000 + -- Simon Kelley Fri, 22 Feb 2013 21:52:13 +0000 dnsmasq (2.65-1) unstable; urgency=low diff --git a/debian/readme b/debian/readme index 0e3eb0e..cb5f7c9 100644 --- a/debian/readme +++ b/debian/readme @@ -59,6 +59,7 @@ Notes on configuring dnsmasq as packaged for Debian. noipv6 : omit IPv6 support. nodbus : omit DBus support. noconntrack : omit connection tracking support. + noipset : omit IPset support. nortc : compile alternate mode suitable for systems without an RTC. noi18n : omit translations and internationalisation support. noidn : omit international domain name support, must be diff --git a/debian/rules b/debian/rules index 00028c6..b1cbb17 100755 --- a/debian/rules +++ b/debian/rules @@ -33,6 +33,12 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux) endif endif +ifeq (,$(filter noipset,$(DEB_BUILD_OPTIONS))) +ifeq ($(DEB_BUILD_ARCH_OS),linux) + COPTS += -DHAVE_IPSET +endif +endif + ifneq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS))) COPTS += -DNO_DHCP6 endif