mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Compile-in IPSET by default.
This commit is contained in:
6
debian/rules
vendored
6
debian/rules
vendored
@@ -33,10 +33,8 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(filter noipset,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter noipset,$(DEB_BUILD_OPTIONS)))
|
||||||
ifeq ($(DEB_BUILD_ARCH_OS),linux)
|
COPTS += -DNO_IPSET
|
||||||
COPTS += -DHAVE_IPSET
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
|
ifneq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
|
||||||
|
|||||||
@@ -135,12 +135,12 @@ RESOLVFILE
|
|||||||
#define HAVE_TFTP
|
#define HAVE_TFTP
|
||||||
#define HAVE_SCRIPT
|
#define HAVE_SCRIPT
|
||||||
#define HAVE_AUTH
|
#define HAVE_AUTH
|
||||||
|
#define HAVE_IPSET
|
||||||
/* #define HAVE_LUASCRIPT */
|
/* #define HAVE_LUASCRIPT */
|
||||||
/* #define HAVE_BROKEN_RTC */
|
/* #define HAVE_BROKEN_RTC */
|
||||||
/* #define HAVE_DBUS */
|
/* #define HAVE_DBUS */
|
||||||
/* #define HAVE_IDN */
|
/* #define HAVE_IDN */
|
||||||
/* #define HAVE_CONNTRACK */
|
/* #define HAVE_CONNTRACK */
|
||||||
/* #define HAVE_IPSET */
|
|
||||||
|
|
||||||
|
|
||||||
/* Default locations for important system files. */
|
/* Default locations for important system files. */
|
||||||
@@ -327,7 +327,7 @@ HAVE_SOCKADDR_SA_LEN
|
|||||||
#undef HAVE_AUTH
|
#undef HAVE_AUTH
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_LINUX_NETWORK
|
#if defined(NO_IPSET) || !defined(HAVE_LINUX_NETWORK)
|
||||||
#undef HAVE_IPSET
|
#undef HAVE_IPSET
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user