Upstream released new version

Enable DNS over TLS
This commit is contained in:
Ruben Kerkhof 2018-05-31 16:05:17 +02:00
commit 818e8b424d
3 changed files with 27 additions and 16 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/dnsdist-1.0.0.tar.bz2
/dnsdist-1.1.0.tar.bz2
/dnsdist-1.2.0.tar.bz2
/dnsdist-1.3.0.tar.bz2

View File

@ -1,27 +1,30 @@
%global _hardened_build 1
%ifarch %{nodejs_arches}
%global uglify 1
%endif
Name: dnsdist
Version: 1.2.0
Version: 1.3.0
Release: 1%{?dist}
Summary: Highly DNS-, DoS- and abuse-aware loadbalancer
Group: System Environment/Daemons
License: GPLv2
URL: http://dnsdist.org
URL: https://dnsdist.org
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
BuildRequires: boost-devel
BuildRequires: gcc-c++
#ppc64 buildroot doesn't have libatomic, so require it
#https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/FSMMBCD2C2SPO4D66O35EGUTF7YXEPBA/
BuildRequires: libatomic
BuildRequires: libedit-devel
BuildRequires: libsodium-devel
BuildRequires: lua-devel
%ifnarch %{power64} aarch64 s390 s390x
%ifarch %{arm} %{ix86} x86_64 %{mips} aarch64
BuildRequires: luajit-devel
%else
BuildRequires: lua-devel
%endif
BuildRequires: openssl-devel
BuildRequires: protobuf-devel
BuildRequires: re2-devel
BuildRequires: readline-devel
@ -49,18 +52,20 @@ sed -i '/^ExecStart/ s/dnsdist/dnsdist -u dnsdist -g dnsdist/' dnsdist.service.i
%build
%configure \
--sysconfdir=%{_sysconfdir}/%{name} \
--disable-static \
--disable-dependency-tracking \
--disable-silent-rules \
--enable-dnscrypt \
--enable-libsodium \
%ifnarch %{power64} aarch64 s390 s390x
--with-luajit \
--sysconfdir=%{_sysconfdir}/%{name} \
--disable-static \
--disable-dependency-tracking \
--disable-silent-rules \
--enable-dnscrypt \
--enable-dns-over-tls \
--enable-libsodium \
--enable-libssl \
%ifarch %{arm} %{ix86} x86_64 %{mips} aarch64
--with-luajit \
%else
--with-lua \
--with-lua \
%endif
--enable-unit-tests
--enable-unit-tests
rm html/js/*
%if 0%{?uglify}
make min_js
@ -101,10 +106,15 @@ exit 0
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_unitdir}/%{name}.service
%{_unitdir}/%{name}@.service
%dir %{_sysconfdir}/%{name}/
%changelog
* Thu May 31 2018 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.3.0-1
- Upstream released new version
- Enable DNS over TLS
* Tue Aug 22 2017 Sander Hoentjen <sander@hoentjen.eu> - 1.2.0-1
- Update to 1.2.0
- Fixes CVE-2017-7557

View File

@ -1 +1 @@
SHA512 (dnsdist-1.2.0.tar.bz2) = 93f8c5f18462d3291c973a690f6ac2b3c5791d9947bee83d9250b503b7526de365bdcb530f3b082e51ae168a9129e77d5558af7cc3b9d2e98a585af53783c237
SHA512 (dnsdist-1.3.0.tar.bz2) = 35c5dd1f5104ed7f043ce04cbaac14e2eebb2b61ed827e838f5ac0ee1fd4afd4310853df8a193abc37654d2438b10297c611d4b05d8d1bd5e50424d1409851dc