[packages/unbound] Fix crash on compile/runtime kernel version mismatch
jajcus
jajcus at pld-linux.org
Thu Dec 18 10:50:49 CET 2014
commit 7371929d9131b878fa38e0508ad7fcea3ba3df1c
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Dec 18 10:48:40 2014 +0100
Fix crash on compile/runtime kernel version mismatch
When unbound was built with linux-libc-headers-3.17 and run under kernel
3.14 it would fail with 'error: setsockopt(..., IP_MTU_DISCOVER,
IP_PMTUDISC_OMIT...) failed: Invalid argument'
Patch added to try IP_PMTUDISC_DONT when IP_PMTUDISC_OMIT fails.
https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=634
unbound.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/unbound.spec b/unbound.spec
index c77bdbe..54115ba 100644
--- a/unbound.spec
+++ b/unbound.spec
@@ -6,7 +6,7 @@ Summary: Recursive, validating DNS resolver
Summary(pl.UTF-8): Rekurencyjny, weryfikujący resolver DNS
Name: unbound
Version: 1.5.1
-Release: 1
+Release: 2
License: BSD
Group: Applications/Network
Source0: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
@@ -18,6 +18,7 @@ Source3: https://data.iana.org/root-anchors/icannbundle.pem
Source4: ftp://ftp.internic.net/domain/named.cache
# Source4-md5: 89241448b08af70dd5715e7ef12d71f6
Patch0: %{name}-default_trust_anchor.patch
+Patch1: %{name}-IP_PMTUDISC_OMIT.patch
URL: http://unbound.net/
BuildRequires: expat-devel
BuildRequires: libevent-devel
@@ -114,6 +115,7 @@ Pythonowy interfejs do biblioteki unbound.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%configure \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/unbound.git/commitdiff/7371929d9131b878fa38e0508ad7fcea3ba3df1c
More information about the pld-cvs-commit
mailing list