summaryrefslogtreecommitdiff
path: root/dnsmasq.spec
diff options
context:
space:
mode:
authorJan Palus2022-09-26 20:08:33 (GMT)
committerJan Palus2022-09-26 20:10:42 (GMT)
commitb1fdd9c85d698366cc464a5ab01cd3dbbdec5f4c (patch)
tree07a843e4b287cba6ae7815c897ad7b0ceeba3d39 /dnsmasq.spec
parent7f874ea232b378b132040000d010369efbea3277 (diff)
downloaddnsmasq-b1fdd9c85d698366cc464a5ab01cd3dbbdec5f4c.zip
dnsmasq-b1fdd9c85d698366cc464a5ab01cd3dbbdec5f4c.tar.gz
up to 2.87 (fixes CVE-2022-0934)auto/th/dnsmasq-2.87-1
Diffstat (limited to 'dnsmasq.spec')
-rw-r--r--dnsmasq.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/dnsmasq.spec b/dnsmasq.spec
index 449982c..204f8db 100644
--- a/dnsmasq.spec
+++ b/dnsmasq.spec
@@ -5,18 +5,19 @@
%bcond_without dbus # DBus interface
%bcond_without idn # IDN via libidn2
%bcond_without conntrack # conntrack support
+%bcond_without nftables # nftables support
%bcond_with lua # Lua support
Summary: A lightweight caching server (DNS, DHCP)
Summary(pl.UTF-8): Lekki buforujÄ…cy serwer nazw (DNS) i DHCP
Name: dnsmasq
-Version: 2.86
+Version: 2.87
Release: 1
License: GPL v2
Group: Networking/Daemons
# TODO: http://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.xz
Source0: https://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.gz
-# Source0-md5: 33c8fbe71961145f311bbd5d7765b7d9
+# Source0-md5: 97d8807f678896283d7af246b28d234b
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.service
@@ -28,6 +29,7 @@ BuildRequires: gmp-devel
%{?with_conntrack:BuildRequires: libnetfilter_conntrack-devel}
%{?with_lua:BuildRequires: lua52-devel}
BuildRequires: nettle-devel
+%{?with_nftables:BuildRequires: nftables-devel}
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.671
Requires(post,preun): /sbin/chkconfig
@@ -37,7 +39,7 @@ Requires: rc-scripts
Provides: caching-nameserver
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define copts -DHAVE_DNSSEC%{?with_dbus: -DHAVE_DBUS}%{?with_idn: -DHAVE_LIBIDN2}%{?with_conntrack: -DHAVE_CONNTRACK}%{?with_lua: -DHAVE_LUASCRIPT}
+%define copts -DHAVE_DNSSEC%{?with_dbus: -DHAVE_DBUS}%{?with_idn: -DHAVE_LIBIDN2}%{?with_conntrack: -DHAVE_CONNTRACK}%{?with_lua: -DHAVE_LUASCRIPT}%{?with_nftables: -DHAVE_NFTSET}
%description
Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP