summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2021-09-27 23:14:36 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2021-09-27 23:16:18 +0100
commitcbbd56c96583af043434af371f37e87fb80078e6 (patch)
tree4922476308e7b62d5dcf77e759cde7a49665b205
parent2561f9fe0eb9c0be1df48da1e2bd3d3feaa138c2 (diff)
downloaddnsmasq-cbbd56c96583af043434af371f37e87fb80078e6.tar.gz
Build Debian binaries with NFTset support.
-rw-r--r--debian/changelog1
-rw-r--r--debian/control2
-rw-r--r--debian/readme1
-rwxr-xr-xdebian/rules4
4 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index a080f25..53e10cb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
dnsmasq (2.87-1) unstable; urgency=low
* New upstream.
+ * Include new NFTset support in the build.
-- Simon Kelley <simon@thekelleys.org.uk> Wed, 08 Sep 2021 23:11:25 +0000
diff --git a/debian/control b/debian/control
index 0407eb3..563393a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Build-depends: gettext, libnetfilter-conntrack-dev [linux-any],
libidn2-dev, libdbus-1-dev (>=0.61), libgmp-dev,
nettle-dev (>=2.4-3), libbsd-dev [kfreebsd-any],
liblua5.2-dev, dh-runit, debhelper-compat (= 10),
- pkg-config
+ pkg-config, libnftables-dev
Maintainer: Simon Kelley <simon@thekelleys.org.uk>
Homepage: http://www.thekelleys.org.uk/dnsmasq/doc.html
Vcs-Git: http://thekelleys.org.uk/git/dnsmasq.git
diff --git a/debian/readme b/debian/readme
index 768662e..6120ff7 100644
--- a/debian/readme
+++ b/debian/readme
@@ -60,6 +60,7 @@ Notes on configuring dnsmasq as packaged for Debian.
nodbus : omit DBus support.
noconntrack : omit connection tracking support.
noipset : omit IPset support.
+ nonftset : omit nftset 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 70d4ea8..2354ea9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,10 @@ ifeq (,$(filter noidn, $(DEB_BUILD_OPTIONS)))
DEB_COPTS += -DHAVE_LIBIDN2
endif
+ifeq (,$(filter nonftset, $(DEB_BUILD_OPTIONS)))
+ DEB_COPTS += -DHAVE_NFTSET
+endif
+
ifeq (,$(filter noconntrack,$(DEB_BUILD_OPTIONS)))
ifeq ($(DEB_HOST_ARCH_OS),linux)
DEB_COPTS += -DHAVE_CONNTRACK