Easy update for links+ to 1.15.  Built against clang 6.

Full changelog at http://links.twibright.com/download/ChangeLog
Some notable udates:

Rewrite google docs URLs to the download link, so that the file can be
viewed in external viewer

Support international domain names

Fix reading one byte beyond allocated space in case of corrupted
UTF-8 data - CVE-2017-11114

Use built-in SSL certificates (ed. Optional)
This improves tor hardening (the tor exit node could not differentiate
links users from each other based on installed certificates)
It also makes it possible to use certificate verification on systems
with no default certificate store

Report IP addresses in the "Document info" box.

Implement a small connection timeout when connecting to a host with
multiple addresses, so that there is faster fallback from IPv6 to IPv4.

Avoid memcpy with NULL source argument and zero length (it doesn't
crash, but it's formally incorrect and the sanitizer warns about it)

Make the "dns-prefetch" link prefetch just dns, not the whole document

Fix compilation failure on OpenBSD because OpenBSD removed
the timeout_* macros from libevent

Use OpenSSL functions X509_check_host and X509_check_ip if available

Use session cache on https


Tim.


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.60
diff -u -p -r1.60 Makefile
--- Makefile    30 Nov 2016 19:42:15 -0000      1.60
+++ Makefile    14 Apr 2018 20:54:22 -0000
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.60 2016/11/30 19:42:15 fcambus Exp $
 
 COMMENT=       graphics and text browser
-VER=           2.14
+VER=           2.15
 DISTNAME=      links-${VER}
 PKGNAME=       links+-${VER}
 CATEGORIES=    www
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.31
diff -u -p -r1.31 distinfo
--- distinfo    30 Nov 2016 19:42:15 -0000      1.31
+++ distinfo    14 Apr 2018 20:54:22 -0000
@@ -1,2 +1,2 @@
-SHA256 (links-2.14.tar.gz) = IvqNy1pguP/WEd4x69THntzkcmN6NVS6tAF5XakdQ4c=
-SIZE (links-2.14.tar.gz) = 7142389
+SHA256 (links-2.15.tar.gz) = Z39ZS1jcUy5jkTzWG4XMGqbwOF4zO4h2brNBW0Gzo3U=
+SIZE (links-2.15.tar.gz) = 7358450
Index: patches/patch-html_c
===================================================================
RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.16
diff -u -p -r1.16 patch-html_c
--- patches/patch-html_c        3 Sep 2016 09:33:19 -0000       1.16
+++ patches/patch-html_c        14 Apr 2018 20:54:22 -0000
@@ -1,7 +1,8 @@
 $OpenBSD: patch-html_c,v 1.16 2016/09/03 09:33:19 sthen Exp $
---- html.c.orig        Fri Jun 17 16:33:57 2016
-+++ html.c     Thu Sep  1 20:13:58 2016
-@@ -987,6 +987,7 @@ static void html_a(unsigned char *a)
+Index: html.c
+--- html.c.orig
++++ html.c
+@@ -1004,6 +1004,7 @@ static void html_a(unsigned char *a)
                        format_.target = stracpy(format_.target_base);
                }
                /*format_.attr ^= AT_BOLD;*/
Index: patches/patch-https_c
===================================================================
RCS file: /cvs/ports/www/links+/patches/patch-https_c,v
retrieving revision 1.5
diff -u -p -r1.5 patch-https_c
--- patches/patch-https_c       30 Nov 2016 19:42:15 -0000      1.5
+++ patches/patch-https_c       14 Apr 2018 20:54:22 -0000
@@ -1,7 +1,8 @@
 $OpenBSD: patch-https_c,v 1.5 2016/11/30 19:42:15 fcambus Exp $
---- https.c.orig       Sat Nov 19 13:52:07 2016
-+++ https.c    Mon Nov 28 22:16:21 2016
-@@ -88,6 +88,11 @@ links_ssl *getSSL(void)
+Index: https.c
+--- https.c.orig
++++ https.c
+@@ -261,6 +261,11 @@ links_ssl *getSSL(void)
                                        RAND_write_file(cast_const_char 
f_randfile);
                        }
                }

Reply via email to