- Another dns64 fixup
This commit is contained in:
parent
42a7ed2926
commit
55f1ad68ab
11
unbound-1.8.3-dns64-again.patch
Normal file
11
unbound-1.8.3-dns64-again.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -Naur dns64/dns64.c dns64/dns64.c
|
||||||
|
--- dns64/dns64.c 2018-12-11 04:46:02.000000000 -0500
|
||||||
|
+++ dns64/dns64.c 2018-12-12 12:39:30.589057421 -0500
|
||||||
|
@@ -628,6 +628,7 @@
|
||||||
|
|
||||||
|
/* Store the response in cache. */
|
||||||
|
if ( (!iq || !iq->started_no_cache_store) &&
|
||||||
|
+ qstate->return_msg && qstate->return_msg->rep &&
|
||||||
|
!dns_cache_store(qstate->env, &qstate->qinfo, qstate->return_msg->rep,
|
||||||
|
0, 0, 0, NULL, qstate->query_flags))
|
||||||
|
log_err("out of memory");
|
@ -34,7 +34,7 @@
|
|||||||
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
Summary: Validating, recursive, and caching DNS(SEC) resolver
|
||||||
Name: unbound
|
Name: unbound
|
||||||
Version: 1.8.3
|
Version: 1.8.3
|
||||||
Release: 1%{?extra_version:.%{extra_version}}%{?dist}
|
Release: 2%{?extra_version:.%{extra_version}}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://www.unbound.net/
|
Url: https://www.unbound.net/
|
||||||
Source: https://www.unbound.net/downloads/%{name}-%{version}%{?extra_version}.tar.gz
|
Source: https://www.unbound.net/downloads/%{name}-%{version}%{?extra_version}.tar.gz
|
||||||
@ -55,6 +55,8 @@ Source15: unbound-anchor.timer
|
|||||||
Source16: unbound-munin.README
|
Source16: unbound-munin.README
|
||||||
Source17: unbound-anchor.service
|
Source17: unbound-anchor.service
|
||||||
|
|
||||||
|
Patch1: unbound-1.8.3-dns64-again.patch
|
||||||
|
|
||||||
BuildRequires: gcc, make
|
BuildRequires: gcc, make
|
||||||
BuildRequires: flex, openssl-devel
|
BuildRequires: flex, openssl-devel
|
||||||
BuildRequires: libevent-devel expat-devel
|
BuildRequires: libevent-devel expat-devel
|
||||||
@ -149,6 +151,7 @@ Python 3 modules and extensions for unbound
|
|||||||
%setup -qcn %{pkgname}
|
%setup -qcn %{pkgname}
|
||||||
|
|
||||||
pushd %{pkgname}
|
pushd %{pkgname}
|
||||||
|
%patch1
|
||||||
|
|
||||||
# only for snapshots
|
# only for snapshots
|
||||||
# autoreconf -iv
|
# autoreconf -iv
|
||||||
@ -420,6 +423,9 @@ popd
|
|||||||
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key
|
%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 12 2018 Paul Wouters <pwouters@redhat.com> - 1.8.3-2
|
||||||
|
- Another dns64 fixup
|
||||||
|
|
||||||
* Wed Dec 12 2018 Paul Wouters <pwouters@redhat.com> - 1.8.3-1
|
* Wed Dec 12 2018 Paul Wouters <pwouters@redhat.com> - 1.8.3-1
|
||||||
- Updated to 1.8.3 with fixes the dns64 bug and has some other minor fixes
|
- Updated to 1.8.3 with fixes the dns64 bug and has some other minor fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user