]> git.pld-linux.org Git - packages/unbound.git/commitdiff
- updated to 1.5.2 auto/th/unbound-1.5.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 26 Feb 2015 15:16:14 +0000 (16:16 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 26 Feb 2015 15:16:14 +0000 (16:16 +0100)
- removed obsolete IP_PMTUDISC_OMIT patch

unbound-IP_PMTUDISC_OMIT.patch [deleted file]
unbound.spec

diff --git a/unbound-IP_PMTUDISC_OMIT.patch b/unbound-IP_PMTUDISC_OMIT.patch
deleted file mode 100644 (file)
index dfe71db..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -dur unbound-1.5.1.orig/services/listen_dnsport.c unbound-1.5.1/services/listen_dnsport.c
---- unbound-1.5.1.orig/services/listen_dnsport.c       2014-09-16 15:49:21.000000000 +0200
-+++ unbound-1.5.1/services/listen_dnsport.c    2014-12-18 10:37:55.000000000 +0100
-@@ -368,19 +368,20 @@
-  * (and also uses the interface mtu to determine the size of the packets).
-  * So there won't be any EMSGSIZE error.  Against DNS fragmentation attacks.
-  * FreeBSD already has same semantics without setting the option. */
-+                int action, result = -1;
- #    if defined(IP_PMTUDISC_OMIT)
--              int action = IP_PMTUDISC_OMIT;
--#    else
--              int action = IP_PMTUDISC_DONT;
-+              action = IP_PMTUDISC_OMIT;
-+              result = setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
-+                                      &action, (socklen_t)sizeof(action));
- #    endif
--              if (setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER, 
--                      &action, (socklen_t)sizeof(action)) < 0) {
-+              if (result < 0) {
-+                      action = IP_PMTUDISC_DONT;
-+                      result = setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
-+                                      &action, (socklen_t)sizeof(action));
-+              }
-+              if (result < 0) {
-                       log_err("setsockopt(..., IP_MTU_DISCOVER, "
--#    if defined(IP_PMTUDISC_OMIT)
--                              "IP_PMTUDISC_OMIT"
--#    else
-                               "IP_PMTUDISC_DONT"
--#    endif
-                               "...) failed: %s",
-                               strerror(errno));
- #    ifndef USE_WINSOCK
index f60c6070d698d4ee965d87bbc30dda1a6fa6ae66..895a0541c4fddce601f9264130d9419d0b6c9628 100644 (file)
@@ -5,12 +5,12 @@
 Summary:       Recursive, validating DNS resolver
 Summary(pl.UTF-8):     Rekurencyjny, weryfikujÄ…cy resolver DNS
 Name:          unbound
-Version:       1.5.1
-Release:       3
+Version:       1.5.2
+Release:       1
 License:       BSD
 Group:         Applications/Network
 Source0:       http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: ed4c46476dcfb8a507cc08b1ba12a8f1
+# Source0-md5: 4aae09f78509eaf002f7869e19f29321
 Source1:       %{name}.init
 Source2:       %{name}.service
 Source3:       https://data.iana.org/root-anchors/icannbundle.pem
@@ -18,7 +18,6 @@ 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
@@ -115,7 +114,6 @@ Pythonowy interfejs do biblioteki unbound.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %configure \
This page took 0.237925 seconds and 4 git commands to generate.