pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/unbound Apply a fix from upstream:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75aa540a5006
branches:  trunk
changeset: 405607:75aa540a5006
user:      he <he%pkgsrc.org@localhost>
date:      Tue Dec 03 08:08:58 2019 +0000

description:
Apply a fix from upstream:
  https://github.com/NLnetLabs/unbound/pull/122
which fixes
  https://github.com/NLnetLabs/unbound/issues/125

Briefly: TCP socket timeouts would effectively be disabled after
the exchange of the initial DNS query/response.

Bump PKGREVISION.

diffstat:

 net/unbound/Makefile                      |   3 ++-
 net/unbound/distinfo                      |   3 ++-
 net/unbound/patches/patch-util_netevent.c |  21 +++++++++++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 0e596d7c2b57 -r 75aa540a5006 net/unbound/Makefile
--- a/net/unbound/Makefile      Tue Dec 03 02:09:06 2019 +0000
+++ b/net/unbound/Makefile      Tue Dec 03 08:08:58 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.72 2019/11/19 10:10:44 he Exp $
+# $NetBSD: Makefile,v 1.73 2019/12/03 08:08:58 he Exp $
 
 DISTNAME=      unbound-1.9.5
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  http://www.nlnetlabs.nl/downloads/unbound/
 
diff -r 0e596d7c2b57 -r 75aa540a5006 net/unbound/distinfo
--- a/net/unbound/distinfo      Tue Dec 03 02:09:06 2019 +0000
+++ b/net/unbound/distinfo      Tue Dec 03 08:08:58 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.54 2019/11/19 10:10:44 he Exp $
+$NetBSD: distinfo,v 1.55 2019/12/03 08:08:58 he Exp $
 
 SHA1 (unbound-1.9.5.tar.gz) = e5a417fe46e5f2911b91e5ec6bbedc2ed14d9d0b
 RMD160 (unbound-1.9.5.tar.gz) = a49319ccc743709687792a57f1796acfa22e791e
 SHA512 (unbound-1.9.5.tar.gz) = 0b198b49165b25c93899ca41fead67c479e5b6fd255f7e2af6930f4b9898c73d8a72caf376fce9a2a33199d0764db58388371c3fdbd442999ddfdb0b8b5394ea
 Size (unbound-1.9.5.tar.gz) = 5686689 bytes
 SHA1 (patch-configure) = eabd0c478e92ebe37adf143849389e0e792dc77f
+SHA1 (patch-util_netevent.c) = 3fba509f23d74fce18e45ffe1fcdb97ad609be46
diff -r 0e596d7c2b57 -r 75aa540a5006 net/unbound/patches/patch-util_netevent.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unbound/patches/patch-util_netevent.c Tue Dec 03 08:08:58 2019 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-util_netevent.c,v 1.1 2019/12/03 08:08:58 he Exp $
+
+Apply fix from
+  https://github.com/NLnetLabs/unbound/pull/122
+which fixes
+  https://github.com/NLnetLabs/unbound/issues/125
+
+Briefly: TCP socket timeouts would effectively be disabled after
+the exchange of the initial DNS query/response.
+
+--- util/netevent.c.orig       2019-11-19 06:51:50.000000000 +0000
++++ util/netevent.c
+@@ -1001,7 +1001,7 @@ tcp_callback_writer(struct comm_point* c
+               tcp_req_info_handle_writedone(c->tcp_req_info);
+       } else {
+               comm_point_stop_listening(c);
+-              comm_point_start_listening(c, -1, -1);
++              comm_point_start_listening(c, -1, c->tcp_timeout_msec);
+       }
+ }
+ 



Home | Main Index | Thread Index | Old Index