Re: [UPDATE] www/links+-2.26 -> 2.27

2022-08-11 Thread Omar Polo
On 2022/08/10 20:50:49 -0400, tro...@kagu-tsuchi.com wrote:
> Small bugfix update to 2.27
> 
> 
> Fri May 27 20:10:59 CEST 2022 mikulas:
> 
>   Compile the Windows version with libevent 2.0 (note that libevent 2.1
>   doesn't work on Windows 7)
> 
>   This fixes "Fatal error: too big handle" because Cygwin has too low
>   FD_SETSIZE (64)
> 
> Wed Apr 13 19:43:10 CEST 2022 Emir Yasin SARI :
> 
>   Updated the Turkish translation
> 
> Mon Apr 11 19:23:19 CEST 2022 mikulas:
> 
>   Allow the user to specify a numeric IPv6 address in the dns-over-https
>   box
> 
> 
> I have been running this for several weeks while it's been too hot to keep up
> with email so I just hadn't sent the diff.  And this time I remembered to run
> portcheck and port-lib-depends-check and update-plist, too.
> 
> Tim.

committed, thanks!



[UPDATE] www/links+-2.26 -> 2.27

2022-08-10 Thread trondd
Small bugfix update to 2.27


Fri May 27 20:10:59 CEST 2022 mikulas:

Compile the Windows version with libevent 2.0 (note that libevent 2.1
doesn't work on Windows 7)

This fixes "Fatal error: too big handle" because Cygwin has too low
FD_SETSIZE (64)

Wed Apr 13 19:43:10 CEST 2022 Emir Yasin SARI :

Updated the Turkish translation

Mon Apr 11 19:23:19 CEST 2022 mikulas:

Allow the user to specify a numeric IPv6 address in the dns-over-https
box


I have been running this for several weeks while it's been too hot to keep up
with email so I just hadn't sent the diff.  And this time I remembered to run
portcheck and port-lib-depends-check and update-plist, too.

Tim.

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.74
diff -u -p -r1.74 Makefile
--- Makefile29 May 2022 10:00:50 -  1.74
+++ Makefile11 Aug 2022 00:42:39 -
@@ -1,5 +1,5 @@
 COMMENT=   graphics and text browser
-VER=   2.26
+VER=   2.27
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.43
diff -u -p -r1.43 distinfo
--- distinfo29 May 2022 10:00:50 -  1.43
+++ distinfo11 Aug 2022 00:42:39 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.26.tar.gz) = xCpNuiHc+0UlA0E5SJzUfzCqDF+dBbN9Ti6q6pQ/4rE=
-SIZE (links-2.26.tar.gz) = 7104653
+SHA256 (links-2.27.tar.gz) = s+fzAudI9jlIBqqsKOqHjb+irzh0XZZQet9ooKVBuos=
+SIZE (links-2.27.tar.gz) = 7104851






Re: [UPDATE] www/links+-1.25 -> 1.26

2022-05-29 Thread Omar Polo
tro...@kagu-tsuchi.com wrote:
> Simple update to www/links+.  Mostly bug fixes, WEBP image support, and the
> ability to hand off gopher:// to an external application.

committed with graphics/libwebp added to LIB_DEPENDS and `webp' to
WANTLIB, thanks!




[UPDATE] www/links+-1.25 -> 1.26

2022-05-28 Thread trondd
Simple update to www/links+.  Mostly bug fixes, WEBP image support, and the
ability to hand off gopher:// to an external application.

Changelog:

=== RELEASE 2.26 ===
Wed Apr  6 18:13:16 CEST 2022 mikulas:

   Fix a display glitch if the list is empty and the user presses '*'

Sat Mar 26 11:09:12 CET 2022 mikulas:

   Add a possibility to pass gopher:// URLs to an external program

Sat Jan  1 14:46:06 CET 2022 Martin Michel :

   Updated the German translation
   Updated the initial bookmarks

Fri Dec 24 12:47:58 CET 2021 zi...@waifu.club:

   Fix a bug when form submit url contained '#'

Sun Dec  5 18:17:11 CET 2021 mikulas:

   Support WEBP images

Fri Dec  3 17:40:55 CET 2021 mikulas:

   Support DNS-over-HTTPS

Sun Nov 21 11:36:45 CET 2021 mikulas:

   Try multiple IPv4 addresses on systems that don't have getaddrinfo

Sun Nov 14 20:55:11 CET 2021 Timur Adamov :

   Handle the "TD" tag outside "TR" the same way as in other browsers

Tue Oct 19 18:42:50 CEST 2021 mikulas:

   Make it possible to bind a socket to a network interface
   It could be activated by specifying interface name in the "Bind to local
   IP address" box


Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.73
diff -u -p -r1.73 Makefile
--- Makefile11 Mar 2022 20:10:05 -  1.73
+++ Makefile28 May 2022 16:40:44 -
@@ -1,5 +1,5 @@
 COMMENT=   graphics and text browser
-VER=   2.25
+VER=   2.26
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.42
diff -u -p -r1.42 distinfo
--- distinfo19 Oct 2021 11:09:03 -  1.42
+++ distinfo28 May 2022 16:40:44 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.25.tar.gz) = XAs7C4/h88hpT1+3+9sZxjJ4rGiuRkbaabSWQLICg7E=
-SIZE (links-2.25.tar.gz) = 7094185
+SHA256 (links-2.26.tar.gz) = xCpNuiHc+0UlA0E5SJzUfzCqDF+dBbN9Ti6q6pQ/4rE=
+SIZE (links-2.26.tar.gz) = 7104653



Re: [UPDATE] www/links+-2.23 -> 2.25

2021-10-17 Thread Omar Polo


"TronDD"  writes:

> Bump.
>
> On Sun Oct 3, 2021 at 4:55 PM EDT, trondd wrote:
>> Small bugfix updates.
>>
>> === RELEASE 2.25 ===
>>
>> Fri Oct 1 18:27:25 CEST 2021 mikulas:
>>
>> Delete the expired Let's encrypt certificate from the builtin
>> certificate store
>>
>> Thu Sep 30 21:45:10 CET 2021 mikulas:
>>
>> Set the flag X509_V_FLAG_TRUSTED_FIRST, so that Let's encrypt works
>> with openssl-1.0.2
>>
>> === RELEASE 2.24 ===
>>
>> Mon Sep 13 18:31:27 CEST 2021 mikulas:
>>
>> Avoid a hang in the X driver if the program that converts a selection
>> stops responding. Use 10 second timeout.
>>
>> Fri Sep 10 18:37:30 CEST 2021 mikulas:
>>
>> Fix a crash in the X driver if some window asks for clipboard and is
>> closed before Links responds to this request
>>
>> Thu Aug 19 19:54:43 CEST 2021 Emir Yasin SARI :
>>
>> Updated the Turkish translation
>>
>> Sun Jul 4 18:02:44 CEST 2021 mikulas:
>>
>> Support the "id" attribute on COLGROUP, COL, TR, THEAD, TBODY, TFOOT
>> tags
>>
>> Tim.

The patch was mangled, but I managed to update using the one from your
first submission (which I'm going to re-attach for convenience.)

compiles fine, checked lib depends and plist for both flavors,
everything is fine.

tested both flavors quickly.  I missed links+, haven't used it in ages!
It handled some pages better than I would have expected :)


Index: Makefile
===
RCS file: /home/cvs/ports/www/links+/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile28 Jun 2021 07:35:35 -  1.71
+++ Makefile17 Oct 2021 18:35:32 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.71 2021/06/28 07:35:35 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.23
+VER=   2.25
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /home/cvs/ports/www/links+/distinfo,v
retrieving revision 1.41
diff -u -p -r1.41 distinfo
--- distinfo28 Jun 2021 07:35:35 -  1.41
+++ distinfo17 Oct 2021 18:35:52 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.23.tar.gz) = 1xGL2XgWCBKfSrXlb8rB/e6s+lwvQE0py/idqrhblR0=
-SIZE (links-2.23.tar.gz) = 7111783
+SHA256 (links-2.25.tar.gz) = XAs7C4/h88hpT1+3+9sZxjJ4rGiuRkbaabSWQLICg7E=
+SIZE (links-2.25.tar.gz) = 7094185



Re: [UPDATE] www/links+-2.23 -> 2.25

2021-10-17 Thread TronDD
Bump.

On Sun Oct 3, 2021 at 4:55 PM EDT, trondd wrote:
> Small bugfix updates.
>
> === RELEASE 2.25 ===
>
> Fri Oct 1 18:27:25 CEST 2021 mikulas:
>
> Delete the expired Let's encrypt certificate from the builtin
> certificate store
>
> Thu Sep 30 21:45:10 CET 2021 mikulas:
>
> Set the flag X509_V_FLAG_TRUSTED_FIRST, so that Let's encrypt works
> with openssl-1.0.2
>
> === RELEASE 2.24 ===
>
> Mon Sep 13 18:31:27 CEST 2021 mikulas:
>
> Avoid a hang in the X driver if the program that converts a selection
> stops responding. Use 10 second timeout.
>
> Fri Sep 10 18:37:30 CEST 2021 mikulas:
>
> Fix a crash in the X driver if some window asks for clipboard and is
> closed before Links responds to this request
>
> Thu Aug 19 19:54:43 CEST 2021 Emir Yasin SARI :
>
> Updated the Turkish translation
>
> Sun Jul 4 18:02:44 CEST 2021 mikulas:
>
> Support the "id" attribute on COLGROUP, COL, TR, THEAD, TBODY, TFOOT
> tags
>
> Tim.
>

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile 28 Jun 2021 07:35:35 - 1.71
+++ Makefile 3 Oct 2021 20:10:36 -
@@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.71 2021/06/28 07:35:35 sthen Exp $
 
COMMENT= graphics and text browser
-VER= 2.23
+VER= 2.25
DISTNAME= links-${VER}
PKGNAME= links+-${VER}
CATEGORIES= www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.41
diff -u -p -r1.41 distinfo
--- distinfo 28 Jun 2021 07:35:35 - 1.41
+++ distinfo 3 Oct 2021 20:10:36 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.23.tar.gz) =
1xGL2XgWCBKfSrXlb8rB/e6s+lwvQE0py/idqrhblR0=
-SIZE (links-2.23.tar.gz) = 7111783
+SHA256 (links-2.25.tar.gz) =
XAs7C4/h88hpT1+3+9sZxjJ4rGiuRkbaabSWQLICg7E=
+SIZE (links-2.25.tar.gz) = 7094185



[UPDATE] www/links+-2.23 -> 2.25

2021-10-03 Thread trondd
Small bugfix updates.

=== RELEASE 2.25 ===

Fri Oct  1 18:27:25 CEST 2021 mikulas:

Delete the expired Let's encrypt certificate from the builtin
certificate store

Thu Sep 30 21:45:10 CET 2021 mikulas:

Set the flag X509_V_FLAG_TRUSTED_FIRST, so that Let's encrypt works
with openssl-1.0.2

=== RELEASE 2.24 ===

Mon Sep 13 18:31:27 CEST 2021 mikulas:

Avoid a hang in the X driver if the program that converts a selection
stops responding. Use 10 second timeout.

Fri Sep 10 18:37:30 CEST 2021 mikulas:

Fix a crash in the X driver if some window asks for clipboard and is
closed before Links responds to this request

Thu Aug 19 19:54:43 CEST 2021 Emir Yasin SARI :

Updated the Turkish translation

Sun Jul  4 18:02:44 CEST 2021 mikulas:

Support the "id" attribute on COLGROUP, COL, TR, THEAD, TBODY, TFOOT
tags

Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile28 Jun 2021 07:35:35 -  1.71
+++ Makefile3 Oct 2021 20:10:36 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.71 2021/06/28 07:35:35 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.23
+VER=   2.25
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.41
diff -u -p -r1.41 distinfo
--- distinfo28 Jun 2021 07:35:35 -  1.41
+++ distinfo3 Oct 2021 20:10:36 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.23.tar.gz) = 1xGL2XgWCBKfSrXlb8rB/e6s+lwvQE0py/idqrhblR0=
-SIZE (links-2.23.tar.gz) = 7111783
+SHA256 (links-2.25.tar.gz) = XAs7C4/h88hpT1+3+9sZxjJ4rGiuRkbaabSWQLICg7E=
+SIZE (links-2.25.tar.gz) = 7094185



[UPDATE] www/links+ 2.22 -> 2.23

2021-06-27 Thread trondd
Simple update of links+ to 2.23  Brings cookie persistance, which
is enabled by default, but optional including timed cookie lifetime.

Tim.

=== RELEASE 2.23 ===

Tue May 18 20:35:55 CEST 2021 mikulas:

Fix a bug that the user could set floating-point parameters to nan
via command-line argument or config file option

Tue May 18 20:22:35 CEST 2021 mikulas:

Fix broken display if the user uses custom font and non-default
aspect ratio

Wed May 12 20:08:48 CEST 2021 mikulas:

Fix a bug that the code incorrectly assumed that mktime returns UTC

Sat May  1 17:56:50 CEST 2021 mikulas:

Add an option that enables cookie saving


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile
--- Makefile8 May 2021 19:35:46 -   1.70
+++ Makefile27 Jun 2021 18:43:27 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.70 2021/05/08 19:35:46 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.22
+VER=   2.23
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.40
diff -u -p -r1.40 distinfo
--- distinfo8 May 2021 19:35:46 -   1.40
+++ distinfo27 Jun 2021 18:43:27 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.22.tar.gz) = mR13zzUiOEef+8NuA6N+gjDFdXFjNQ4FupiKKJOeKEs=
-SIZE (links-2.22.tar.gz) = 7078957
+SHA256 (links-2.23.tar.gz) = 1xGL2XgWCBKfSrXlb8rB/e6s+lwvQE0py/idqrhblR0=
+SIZE (links-2.23.tar.gz) = 7111783



Re: [UPDATE] www/links+ 2.21 -> 2.22

2021-05-08 Thread trondd
Poke some more.

trondd  wrote:

> Whoops, I thought I resent this after things opened up from the release.
> Here we go then.
> 
> Tim.
> 
> trondd  wrote:
> 
> > trondd  wrote:
> > 
> > Poke to get in for release.  Otherwise, I'll let it go until after
> > the release lock.
> > 
> > Thanks.
> > Tim.
> > 
> > > Simple update to 2.22.  I don't think the terminal/console saving
> > > applies to OpenBSD.  They are within a __LINUX__ define and I'm not
> > > sure what it does to know if it should be supported or not...
> > > 
> > > Tim.
> > > 
> > > === RELEASE 2.22 ===
> > > 
> > > Sat Jan 23 18:11:41 CET 2021 mikulas:
> > > 
> > >   Save and restore the terminal using xterm escape codes
> > > 
> > > Sat Nov 28 19:27:47 CET 2020 mikulas:
> > > 
> > >   Save and restore the console using "cons.saver" from
> > >   Midnight Commander
> > > 
> > > Sat Nov 28 11:05:42 CET 2020 mikulas:
> > > 
> > >   Support UTF-8 frames
> > > 
> > > Sun Nov 22 17:20:29 CET 2020 Emir Yasin SARI :
> > > 
> > >   Updated the Turkish translation
> > > 
> > > Sat Aug 22 10:05:27 CEST 2020 Ing. Daniel G. Gionco 
> > > :
> > > 
> > >   Updated the Spanish translation
> > > 
> > > Wed Aug 12 20:04:38 CEST 2020 mikulas:
> > > 
> > >   Fixed a bug in displaying non-printable characters
> > >   (reported by Jean-Philippe MENGUAL )
> > > 
> > > 
> 

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.69
diff -u -p -r1.69 Makefile
--- Makefile17 Aug 2020 19:45:02 -  1.69
+++ Makefile28 Mar 2021 20:03:51 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.69 2020/08/17 19:45:02 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.21
+VER=   2.22
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.39
diff -u -p -r1.39 distinfo
--- distinfo17 Aug 2020 19:45:02 -  1.39
+++ distinfo28 Mar 2021 20:03:51 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.21.tar.gz) = 8OH9Exten/lDvMZn4KpjMQSHSa1LkhtvrdFOkZ2feaw=
-SIZE (links-2.21.tar.gz) = 7076375
+SHA256 (links-2.22.tar.gz) = mR13zzUiOEef+8NuA6N+gjDFdXFjNQ4FupiKKJOeKEs=
+SIZE (links-2.22.tar.gz) = 7078957



Re: [UPDATE] www/links+ 2.21 -> 2.22

2021-04-29 Thread trondd
Whoops, I thought I resent this after things opened up from the release.
Here we go then.

Tim.

trondd  wrote:

> trondd  wrote:
> 
> Poke to get in for release.  Otherwise, I'll let it go until after
> the release lock.
> 
> Thanks.
> Tim.
> 
> > Simple update to 2.22.  I don't think the terminal/console saving
> > applies to OpenBSD.  They are within a __LINUX__ define and I'm not
> > sure what it does to know if it should be supported or not...
> > 
> > Tim.
> > 
> > === RELEASE 2.22 ===
> > 
> > Sat Jan 23 18:11:41 CET 2021 mikulas:
> > 
> > Save and restore the terminal using xterm escape codes
> > 
> > Sat Nov 28 19:27:47 CET 2020 mikulas:
> > 
> > Save and restore the console using "cons.saver" from
> > Midnight Commander
> > 
> > Sat Nov 28 11:05:42 CET 2020 mikulas:
> > 
> > Support UTF-8 frames
> > 
> > Sun Nov 22 17:20:29 CET 2020 Emir Yasin SARI :
> > 
> > Updated the Turkish translation
> > 
> > Sat Aug 22 10:05:27 CEST 2020 Ing. Daniel G. Gionco :
> > 
> > Updated the Spanish translation
> > 
> > Wed Aug 12 20:04:38 CEST 2020 mikulas:
> > 
> > Fixed a bug in displaying non-printable characters
> > (reported by Jean-Philippe MENGUAL )
> > 
> > 


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.69
diff -u -p -r1.69 Makefile
--- Makefile17 Aug 2020 19:45:02 -  1.69
+++ Makefile28 Mar 2021 20:03:51 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.69 2020/08/17 19:45:02 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.21
+VER=   2.22
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.39
diff -u -p -r1.39 distinfo
--- distinfo17 Aug 2020 19:45:02 -  1.39
+++ distinfo28 Mar 2021 20:03:51 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.21.tar.gz) = 8OH9Exten/lDvMZn4KpjMQSHSa1LkhtvrdFOkZ2feaw=
-SIZE (links-2.21.tar.gz) = 7076375
+SHA256 (links-2.22.tar.gz) = mR13zzUiOEef+8NuA6N+gjDFdXFjNQ4FupiKKJOeKEs=
+SIZE (links-2.22.tar.gz) = 7078957



Re: [UPDATE] www/links+ 2.21 -> 2.22

2021-04-04 Thread trondd
trondd  wrote:

Poke to get in for release.  Otherwise, I'll let it go until after
the release lock.

Thanks.
Tim.

> Simple update to 2.22.  I don't think the terminal/console saving
> applies to OpenBSD.  They are within a __LINUX__ define and I'm not
> sure what it does to know if it should be supported or not...
> 
> Tim.
> 
> === RELEASE 2.22 ===
> 
> Sat Jan 23 18:11:41 CET 2021 mikulas:
> 
>   Save and restore the terminal using xterm escape codes
> 
> Sat Nov 28 19:27:47 CET 2020 mikulas:
> 
>   Save and restore the console using "cons.saver" from
>   Midnight Commander
> 
> Sat Nov 28 11:05:42 CET 2020 mikulas:
> 
>   Support UTF-8 frames
> 
> Sun Nov 22 17:20:29 CET 2020 Emir Yasin SARI :
> 
>   Updated the Turkish translation
> 
> Sat Aug 22 10:05:27 CEST 2020 Ing. Daniel G. Gionco :
> 
>   Updated the Spanish translation
> 
> Wed Aug 12 20:04:38 CEST 2020 mikulas:
> 
>   Fixed a bug in displaying non-printable characters
>   (reported by Jean-Philippe MENGUAL )
> 
> 

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.69
diff -u -p -r1.69 Makefile
--- Makefile17 Aug 2020 19:45:02 -  1.69
+++ Makefile28 Mar 2021 20:03:51 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.69 2020/08/17 19:45:02 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.21
+VER=   2.22
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.39
diff -u -p -r1.39 distinfo
--- distinfo17 Aug 2020 19:45:02 -  1.39
+++ distinfo28 Mar 2021 20:03:51 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.21.tar.gz) = 8OH9Exten/lDvMZn4KpjMQSHSa1LkhtvrdFOkZ2feaw=
-SIZE (links-2.21.tar.gz) = 7076375
+SHA256 (links-2.22.tar.gz) = mR13zzUiOEef+8NuA6N+gjDFdXFjNQ4FupiKKJOeKEs=
+SIZE (links-2.22.tar.gz) = 7078957



Re: [UPDATE] www/links+ 2.21 -> 2.22

2021-04-01 Thread Florian Viehweger
Am Sun, 28 Mar 2021 16:18:02 -0400
schrieb trondd :

> Simple update to 2.22.  I don't think the terminal/console saving
> applies to OpenBSD.  They are within a __LINUX__ define and I'm not
> sure what it does to know if it should be supported or not...
> 
> Tim.
> 
> === RELEASE 2.22 ===
> 
> Sat Jan 23 18:11:41 CET 2021 mikulas:
> 
>   Save and restore the terminal using xterm escape codes
> 
> Sat Nov 28 19:27:47 CET 2020 mikulas:
> 
>   Save and restore the console using "cons.saver" from
>   Midnight Commander
> 
> Sat Nov 28 11:05:42 CET 2020 mikulas:
> 
>   Support UTF-8 frames
> 
> Sun Nov 22 17:20:29 CET 2020 Emir Yasin SARI :
> 
>   Updated the Turkish translation
> 
> Sat Aug 22 10:05:27 CEST 2020 Ing. Daniel G. Gionco
> :
> 
>   Updated the Spanish translation
> 
> Wed Aug 12 20:04:38 CEST 2020 mikulas:
> 
>   Fixed a bug in displaying non-printable characters
>   (reported by Jean-Philippe MENGUAL )
> 
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/links+/Makefile,v
> retrieving revision 1.69
> diff -u -p -r1.69 Makefile
> --- Makefile  17 Aug 2020 19:45:02 -  1.69
> +++ Makefile  28 Mar 2021 20:03:51 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.69 2020/08/17 19:45:02 bcallah Exp $
>  
>  COMMENT= graphics and text browser
> -VER= 2.21
> +VER= 2.22
>  DISTNAME=links-${VER}
>  PKGNAME= links+-${VER}
>  CATEGORIES=  www
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/links+/distinfo,v
> retrieving revision 1.39
> diff -u -p -r1.39 distinfo
> --- distinfo  17 Aug 2020 19:45:02 -  1.39
> +++ distinfo  28 Mar 2021 20:03:51 -
> @@ -1,2 +1,2 @@
> -SHA256 (links-2.21.tar.gz) =
> 8OH9Exten/lDvMZn4KpjMQSHSa1LkhtvrdFOkZ2feaw= -SIZE
> (links-2.21.tar.gz) = 7076375 +SHA256 (links-2.22.tar.gz) =
> mR13zzUiOEef+8NuA6N+gjDFdXFjNQ4FupiKKJOeKEs= +SIZE
> (links-2.22.tar.gz) = 7078957
> 

Works fine with my usual workflow, thanks!

-- 
greetings,

Florian Viehweger



[UPDATE] www/links+ 2.21 -> 2.22

2021-03-28 Thread trondd
Simple update to 2.22.  I don't think the terminal/console saving
applies to OpenBSD.  They are within a __LINUX__ define and I'm not
sure what it does to know if it should be supported or not...

Tim.

=== RELEASE 2.22 ===

Sat Jan 23 18:11:41 CET 2021 mikulas:

Save and restore the terminal using xterm escape codes

Sat Nov 28 19:27:47 CET 2020 mikulas:

Save and restore the console using "cons.saver" from
Midnight Commander

Sat Nov 28 11:05:42 CET 2020 mikulas:

Support UTF-8 frames

Sun Nov 22 17:20:29 CET 2020 Emir Yasin SARI :

Updated the Turkish translation

Sat Aug 22 10:05:27 CEST 2020 Ing. Daniel G. Gionco :

Updated the Spanish translation

Wed Aug 12 20:04:38 CEST 2020 mikulas:

Fixed a bug in displaying non-printable characters
(reported by Jean-Philippe MENGUAL )



Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.69
diff -u -p -r1.69 Makefile
--- Makefile17 Aug 2020 19:45:02 -  1.69
+++ Makefile28 Mar 2021 20:03:51 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.69 2020/08/17 19:45:02 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.21
+VER=   2.22
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.39
diff -u -p -r1.39 distinfo
--- distinfo17 Aug 2020 19:45:02 -  1.39
+++ distinfo28 Mar 2021 20:03:51 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.21.tar.gz) = 8OH9Exten/lDvMZn4KpjMQSHSa1LkhtvrdFOkZ2feaw=
-SIZE (links-2.21.tar.gz) = 7076375
+SHA256 (links-2.22.tar.gz) = mR13zzUiOEef+8NuA6N+gjDFdXFjNQ4FupiKKJOeKEs=
+SIZE (links-2.22.tar.gz) = 7078957



Re: [UPDATE] www/links+ 2.20.2 -> 2.21

2020-08-17 Thread Brian Callahan


On Saturday, August 15, 2020 4:45 PM, trondd  wrote:

> Simple update to links 2.21 that includes a few bugfixes. Tested on
> amd64 for about a week and a quick build and test on aarch64.
>
> === RELEASE 2.21 ===
>
> Sun Aug 2 15:26:02 cet 2020 mikulas:
>
> Workaround for a crash on OS/2 caused by gcc3 bug
>
> Thu Apr 16 18:17:39 CEST 2020 Emir Yasin SARI bitig...@me.com:
>
> Updated Turkish translation
>
> Wed Jan 8 18:25:17 CET 2020 mikulas:
>
> Fix a bug that textarea was broken if it immediatelly followed
> a list
>
> Sun Nov 3 09:33:08 CET 2019 pluvano m...@pluvano.com:
>
> Delete the 4-pixel border in Xwindow
>
> Tue Oct 8 20:26:47 CEST 2019 mikulas:
>
> Fix a bug that an image would not be properly resized sometimes
>
> Tim.
>

Committed. Thanks.

~Brian



[UPDATE] www/links+ 2.20.2 -> 2.21

2020-08-15 Thread trondd
Simple update to links 2.21 that includes a few bugfixes.  Tested on
amd64 for about a week and a quick build and test on aarch64.


=== RELEASE 2.21 ===

Sun Aug  2 15:26:02 cet 2020 mikulas:

Workaround for a crash on OS/2 caused by gcc3 bug

Thu Apr 16 18:17:39 CEST 2020 Emir Yasin SARI :

Updated Turkish translation

Wed Jan  8 18:25:17 CET 2020 mikulas:

Fix a bug that textarea was broken if it immediatelly followed
a list

Sun Nov  3 09:33:08 CET 2019 pluvano :

Delete the 4-pixel border in Xwindow

Tue Oct  8 20:26:47 CEST 2019 mikulas:

Fix a bug that an image would not be properly resized sometimes


Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.68
diff -u -p -r1.68 Makefile
--- Makefile15 Mar 2020 00:51:43 -  1.68
+++ Makefile15 Aug 2020 20:19:52 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.68 2020/03/15 00:51:43 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.20.2
+VER=   2.21
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.38
diff -u -p -r1.38 distinfo
--- distinfo15 Mar 2020 00:51:43 -  1.38
+++ distinfo15 Aug 2020 20:19:52 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.20.2.tar.gz) = 8OwTsBnlUB7ymFi/YaO/ic7OCw8GW1BkviQrzoTmdb0=
-SIZE (links-2.20.2.tar.gz) = 7063295
+SHA256 (links-2.21.tar.gz) = 8OH9Exten/lDvMZn4KpjMQSHSa1LkhtvrdFOkZ2feaw=
+SIZE (links-2.21.tar.gz) = 7076375



Re: [UPDATE] www/links+ 2.20.1 -> 2.20.2

2020-03-14 Thread Brian Callahan




On 2020-03-14 8:37 PM, trondd wrote:

Update Links+ to the latest.  It's just a bug fix that probably doesn't
effect OpenBSD but gets it of my list so I'll catch the next release. :)

Bcallah sent this to me in December, and I'd been running it on amd64
since before then but it never ended up getting commited.


Oh right. This slipped under my radar. I'll commit now, thanks!

~Brian


=== RELEASE 2.20.2 ===

Wed Sep 18 18:39:07 CEST 2019 mikulas:

  If the user runs links on a framebuffer and switch to a differnt
  framebuffer, links would incorrectly respond to mouse clicks.

Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.67
diff -u -p -r1.67 Makefile
--- Makefile15 Sep 2019 00:20:10 -  1.67
+++ Makefile15 Mar 2020 00:33:08 -
@@ -1,7 +1,7 @@
  # $OpenBSD: Makefile,v 1.67 2019/09/15 00:20:10 bcallah Exp $
  
  COMMENT=	graphics and text browser

-VER=   2.20.1
+VER=   2.20.2
  DISTNAME= links-${VER}
  PKGNAME=  links+-${VER}
  CATEGORIES=   www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.37
diff -u -p -r1.37 distinfo
--- distinfo15 Sep 2019 00:20:10 -  1.37
+++ distinfo15 Mar 2020 00:33:08 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.20.1.tar.gz) = F2GSCOdbtFiQmCs3uDTHDPnFa2+fmKrbeH79aojbfoY=
-SIZE (links-2.20.1.tar.gz) = 7064204
+SHA256 (links-2.20.2.tar.gz) = 8OwTsBnlUB7ymFi/YaO/ic7OCw8GW1BkviQrzoTmdb0=
+SIZE (links-2.20.2.tar.gz) = 7063295





[UPDATE] www/links+ 2.20.1 -> 2.20.2

2020-03-14 Thread trondd
Update Links+ to the latest.  It's just a bug fix that probably doesn't
effect OpenBSD but gets it of my list so I'll catch the next release. :)

Bcallah sent this to me in December, and I'd been running it on amd64
since before then but it never ended up getting commited.

=== RELEASE 2.20.2 ===

Wed Sep 18 18:39:07 CEST 2019 mikulas:

 If the user runs links on a framebuffer and switch to a differnt
 framebuffer, links would incorrectly respond to mouse clicks.

Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.67
diff -u -p -r1.67 Makefile
--- Makefile15 Sep 2019 00:20:10 -  1.67
+++ Makefile15 Mar 2020 00:33:08 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.67 2019/09/15 00:20:10 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.20.1
+VER=   2.20.2
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.37
diff -u -p -r1.37 distinfo
--- distinfo15 Sep 2019 00:20:10 -  1.37
+++ distinfo15 Mar 2020 00:33:08 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.20.1.tar.gz) = F2GSCOdbtFiQmCs3uDTHDPnFa2+fmKrbeH79aojbfoY=
-SIZE (links-2.20.1.tar.gz) = 7064204
+SHA256 (links-2.20.2.tar.gz) = 8OwTsBnlUB7ymFi/YaO/ic7OCw8GW1BkviQrzoTmdb0=
+SIZE (links-2.20.2.tar.gz) = 7063295



Re: [UPDATE] www/links+ 1.19 -> 2.20.1

2019-09-14 Thread Brian Callahan




On 9/12/19 7:05 PM, TronDD wrote:

Update to 2.20.1 which includes a secrity fix for a DNS leak when using tor and
an OpenBSD specific libevent fix.

I've also disabled the new zstd support.

Tim.


Committed. Thanks.

~Brian


RELEASE 2.20.1 ===

Sun Sep  1 09:02:57 CEST 2019 mikulas:

Fixed an error "ERROR: event_base_loop failed: Bad file descriptor"
if the user quits the master instance on OpenBSD.

OpenBSD uses an old libevent-1.4.15 and it doesn't handle calling
event_reinit from event handler.

libevent-2.1.11 also doesn't allow calling event_reinit from event
handler, so it is fixed as well.

=== RELEASE 2.20 ===

Mon Aug 26 18:21:43 CEST 2019 mikulas:

Security bug fixed: when links was connected to tor, it would send real
dns requests outside the tor network when the displayed page contains
http://host.domain/;>.

This bug is present in links-2.15 to links-2.19.

Found by Shi Tian 

Sat Aug 24 15:21:03 CEST 2019 Shi Tian :

Fix a crash if:
External fonts are used
Rendering is optimized for LCD
The document contains some characters with zero width

Thu Aug 22 18:47:06 CEST 2019 mikulas:

Accept file urls in the form file://localhost/usr/bin/ or
file://hostname/usr/bin/ according to RFC 8089

Sat Aug 17 10:20:45 CEST 2019 mikulas:

Fixed a memory leak of the SSL structure

Sun Aug  4 15:01:06 CEST 2019 mikulas:

Try to open the file "/dev/input/mice" and use it instead of gpm.
(the user must be in the "input" group)
This results in smooth mouse movement on the framebuffer.

Sat Aug  3 18:20:54 CEST 2019 mikulas:

Report "Lynx/Links" user agent when searching on Google so that
Google returns non-css page

Sat Apr 27 19:17:07 CEST 2019 mikulas:

Support the zstd compression algorithm

Sun Apr 21 19:32:26 CEST 2019 mikulas:

Fix mouse dragging not being reported in xterm

Sun Apr  7 20:18:20 CEST 2019 mikulas:

Use proper cookie expiry



Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile
--- Makefile12 Jul 2019 20:50:48 -  1.66
+++ Makefile12 Sep 2019 22:41:49 -
@@ -1,7 +1,7 @@
  # $OpenBSD: Makefile,v 1.66 2019/07/12 20:50:48 sthen Exp $
  
  COMMENT=	graphics and text browser

-VER=   2.19
+VER=   2.20.1
  DISTNAME= links-${VER}
  PKGNAME=  links+-${VER}
  CATEGORIES=   www
@@ -21,7 +21,7 @@ LIB_DEPENDS=  archivers/bzip2 \
archivers/xz
  
  CONFIGURE_STYLE= gnu

-CONFIGURE_ARGS+= --with-ssl --without-brotli --without-lzip
+CONFIGURE_ARGS+= --with-ssl --without-brotli --without-lzip --without-zstd
  
  FLAVORS=	no_x11

  FLAVOR?=
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.36
diff -u -p -r1.36 distinfo
--- distinfo2 May 2019 03:01:25 -   1.36
+++ distinfo12 Sep 2019 22:41:49 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.19.tar.gz) = NymfgE8iyUW/Y+Iqe8RBi7uBRLQQwM7XC4Lr5vnjyCs=
-SIZE (links-2.19.tar.gz) = 7056633
+SHA256 (links-2.20.1.tar.gz) = F2GSCOdbtFiQmCs3uDTHDPnFa2+fmKrbeH79aojbfoY=
+SIZE (links-2.20.1.tar.gz) = 7064204





[UPDATE] www/links+ 1.19 -> 2.20.1

2019-09-12 Thread TronDD
Update to 2.20.1 which includes a secrity fix for a DNS leak when using tor and
an OpenBSD specific libevent fix.

I've also disabled the new zstd support.

Tim.

RELEASE 2.20.1 ===

Sun Sep  1 09:02:57 CEST 2019 mikulas:

Fixed an error "ERROR: event_base_loop failed: Bad file descriptor"
if the user quits the master instance on OpenBSD.

OpenBSD uses an old libevent-1.4.15 and it doesn't handle calling
event_reinit from event handler.

libevent-2.1.11 also doesn't allow calling event_reinit from event
handler, so it is fixed as well.

=== RELEASE 2.20 ===

Mon Aug 26 18:21:43 CEST 2019 mikulas:

Security bug fixed: when links was connected to tor, it would send real
dns requests outside the tor network when the displayed page contains
http://host.domain/;>.

This bug is present in links-2.15 to links-2.19.

Found by Shi Tian 

Sat Aug 24 15:21:03 CEST 2019 Shi Tian :

Fix a crash if:
External fonts are used
Rendering is optimized for LCD
The document contains some characters with zero width

Thu Aug 22 18:47:06 CEST 2019 mikulas:

Accept file urls in the form file://localhost/usr/bin/ or
file://hostname/usr/bin/ according to RFC 8089

Sat Aug 17 10:20:45 CEST 2019 mikulas:

Fixed a memory leak of the SSL structure

Sun Aug  4 15:01:06 CEST 2019 mikulas:

Try to open the file "/dev/input/mice" and use it instead of gpm.
(the user must be in the "input" group)
This results in smooth mouse movement on the framebuffer.

Sat Aug  3 18:20:54 CEST 2019 mikulas:

Report "Lynx/Links" user agent when searching on Google so that
Google returns non-css page

Sat Apr 27 19:17:07 CEST 2019 mikulas:

Support the zstd compression algorithm

Sun Apr 21 19:32:26 CEST 2019 mikulas:

Fix mouse dragging not being reported in xterm

Sun Apr  7 20:18:20 CEST 2019 mikulas:

Use proper cookie expiry



Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile
--- Makefile12 Jul 2019 20:50:48 -  1.66
+++ Makefile12 Sep 2019 22:41:49 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.66 2019/07/12 20:50:48 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.19
+VER=   2.20.1
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
@@ -21,7 +21,7 @@ LIB_DEPENDS=  archivers/bzip2 \
archivers/xz
 
 CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= --with-ssl --without-brotli --without-lzip
+CONFIGURE_ARGS+= --with-ssl --without-brotli --without-lzip --without-zstd
 
 FLAVORS=   no_x11
 FLAVOR?=
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.36
diff -u -p -r1.36 distinfo
--- distinfo2 May 2019 03:01:25 -   1.36
+++ distinfo12 Sep 2019 22:41:49 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.19.tar.gz) = NymfgE8iyUW/Y+Iqe8RBi7uBRLQQwM7XC4Lr5vnjyCs=
-SIZE (links-2.19.tar.gz) = 7056633
+SHA256 (links-2.20.1.tar.gz) = F2GSCOdbtFiQmCs3uDTHDPnFa2+fmKrbeH79aojbfoY=
+SIZE (links-2.20.1.tar.gz) = 7064204



Re: UPDATE: www/links+ -> 2.19

2019-05-01 Thread Brian Callahan




On 5/1/19 9:11 PM, trondd wrote:

Update Links+ to 2.19.  Nothing fancy in the diff.  Minor tweaks and fixes.

Sat Mar 30 21:56:02 CET 2019 mikulas:
 Fixed a crash on invalid IDN URL
 (found by lsxv...@gmail.com)
Tue Mar 12 23:02:33 CET 2019 mikulas:
 Make it possible to select other fonts, using fontconfig and freetype
Tue Feb 26 19:50:11 CET 2019 mikulas:
 Show certificate authority in the "Document info" box
Sat Feb  2 19:30:08 CET 2019 mikulas:
 Use international error messages
Sun Jan 27 18:57:34 CET 2019 mikulas:
 The -dump switch didn't report an error if write to stdout failed

Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile31 Jan 2019 11:37:09 -  1.64
+++ Makefile2 May 2019 01:02:46 -
@@ -1,7 +1,7 @@
  # $OpenBSD: Makefile,v 1.64 2019/01/31 11:37:09 edd Exp $
  
  COMMENT=	graphics and text browser

-VER=   2.18
+VER=   2.19
  DISTNAME= links-${VER}
  PKGNAME=  links+-${VER}
  CATEGORIES=   www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.35
diff -u -p -r1.35 distinfo
--- distinfo31 Jan 2019 11:37:09 -  1.35
+++ distinfo2 May 2019 01:02:46 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.18.tar.gz) = rTPQq/7JYnpd3DR0DsafHb7EV1KFgb8j/uT9yqkPIzI=
-SIZE (links-2.18.tar.gz) = 7287356
+SHA256 (links-2.19.tar.gz) = NymfgE8iyUW/Y+Iqe8RBi7uBRLQQwM7XC4Lr5vnjyCs=
+SIZE (links-2.19.tar.gz) = 7056633



Committed, with needed WANTLIB sync.

~Brian



UPDATE: www/links+ -> 2.19

2019-05-01 Thread trondd
Update Links+ to 2.19.  Nothing fancy in the diff.  Minor tweaks and fixes.

Sat Mar 30 21:56:02 CET 2019 mikulas:
Fixed a crash on invalid IDN URL
(found by lsxv...@gmail.com)
Tue Mar 12 23:02:33 CET 2019 mikulas:
Make it possible to select other fonts, using fontconfig and freetype
Tue Feb 26 19:50:11 CET 2019 mikulas:
Show certificate authority in the "Document info" box
Sat Feb  2 19:30:08 CET 2019 mikulas:
Use international error messages
Sun Jan 27 18:57:34 CET 2019 mikulas:
The -dump switch didn't report an error if write to stdout failed

Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.64
diff -u -p -r1.64 Makefile
--- Makefile31 Jan 2019 11:37:09 -  1.64
+++ Makefile2 May 2019 01:02:46 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.64 2019/01/31 11:37:09 edd Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.18
+VER=   2.19
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.35
diff -u -p -r1.35 distinfo
--- distinfo31 Jan 2019 11:37:09 -  1.35
+++ distinfo2 May 2019 01:02:46 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.18.tar.gz) = rTPQq/7JYnpd3DR0DsafHb7EV1KFgb8j/uT9yqkPIzI=
-SIZE (links-2.18.tar.gz) = 7287356
+SHA256 (links-2.19.tar.gz) = NymfgE8iyUW/Y+Iqe8RBi7uBRLQQwM7XC4Lr5vnjyCs=
+SIZE (links-2.19.tar.gz) = 7056633



Re: UPDATE: www/links+

2019-01-28 Thread trondd
On Mon, January 21, 2019 11:02 am, trondd wrote:
> On Sun, January 20, 2019 8:50 am, Edd Barrett wrote:
>> Hi,
>>
>> I found myself on the links+ website today, and noticed that there was a
>> newer version. Here's a diff for that.
>>
>> Thanks
>>
>
> Thanks.  I was planning to check my ports for updates this weekend but you
> beat me to it.
>
> The update looks good to me.
>
> Tim.
>

Ping.  Been using the new version daily for a week now.

Tim.


>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/www/links+/Makefile,v
>> retrieving revision 1.63
>> diff -u -p -u -r1.63 Makefile
>> --- Makefile 23 Sep 2018 20:12:32 -  1.63
>> +++ Makefile 20 Jan 2019 13:16:23 -
>> @@ -1,7 +1,7 @@
>>  # $OpenBSD: Makefile,v 1.63 2018/09/23 20:12:32 sthen Exp $
>>
>>  COMMENT=graphics and text browser
>> -VER=2.17
>> +VER=2.18
>>  DISTNAME=   links-${VER}
>>  PKGNAME=links+-${VER}
>>  CATEGORIES= www
>> @@ -32,9 +32,9 @@ LIB_DEPENDS+=  graphics/jpeg \
>>  x11/gnome/librsvg \
>>  graphics/tiff
>>  CONFIGURE_ARGS+= --with-x --enable-graphics
>> -WANTLIB+=   X11 jpeg>=62 m png>=2 tiff>=35
>> +WANTLIB+=   X11 jpeg>=62 m tiff>=35
>>  WANTLIB+=   cairo event fontconfig gdk_pixbuf-2.0 gio-2.0 glib-2.0
>> -WANTLIB+=   gobject-2.0 intl rsvg-2
>> +WANTLIB+=   gobject-2.0 intl png16 rsvg-2
>>
>>  MESSAGE=${PKGDIR}/MESSAGE.x11
>>  .endif
>> Index: distinfo
>> ===
>> RCS file: /cvs/ports/www/links+/distinfo,v
>> retrieving revision 1.34
>> diff -u -p -u -r1.34 distinfo
>> --- distinfo 23 Sep 2018 20:12:32 -  1.34
>> +++ distinfo 20 Jan 2019 12:20:14 -
>> @@ -1,2 +1,2 @@
>> -SHA256 (links-2.17.tar.gz) =
>> GA73DGASm1pZGjmj6jOSC6fRgagxCct1sXcuVM0367w=
>> -SIZE (links-2.17.tar.gz) = 7277344
>> +SHA256 (links-2.18.tar.gz) =
>> rTPQq/7JYnpd3DR0DsafHb7EV1KFgb8j/uT9yqkPIzI=
>> +SIZE (links-2.18.tar.gz) = 7287356
>>
>> --
>> Best Regards
>> Edd Barrett
>>
>> http://www.theunixzoo.co.uk
>>
>




Re: UPDATE: www/links+

2019-01-21 Thread trondd
On Sun, January 20, 2019 8:50 am, Edd Barrett wrote:
> Hi,
>
> I found myself on the links+ website today, and noticed that there was a
> newer version. Here's a diff for that.
>
> Thanks
>

Thanks.  I was planning to check my ports for updates this weekend but you
beat me to it.

The update looks good to me.

Tim.

> Index: Makefile
> ===
> RCS file: /cvs/ports/www/links+/Makefile,v
> retrieving revision 1.63
> diff -u -p -u -r1.63 Makefile
> --- Makefile  23 Sep 2018 20:12:32 -  1.63
> +++ Makefile  20 Jan 2019 13:16:23 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.63 2018/09/23 20:12:32 sthen Exp $
>
>  COMMENT= graphics and text browser
> -VER= 2.17
> +VER= 2.18
>  DISTNAME=links-${VER}
>  PKGNAME= links+-${VER}
>  CATEGORIES=  www
> @@ -32,9 +32,9 @@ LIB_DEPENDS+=   graphics/jpeg \
>   x11/gnome/librsvg \
>   graphics/tiff
>  CONFIGURE_ARGS+= --with-x --enable-graphics
> -WANTLIB+=X11 jpeg>=62 m png>=2 tiff>=35
> +WANTLIB+=X11 jpeg>=62 m tiff>=35
>  WANTLIB+=cairo event fontconfig gdk_pixbuf-2.0 gio-2.0 glib-2.0
> -WANTLIB+=gobject-2.0 intl rsvg-2
> +WANTLIB+=gobject-2.0 intl png16 rsvg-2
>
>  MESSAGE= ${PKGDIR}/MESSAGE.x11
>  .endif
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/links+/distinfo,v
> retrieving revision 1.34
> diff -u -p -u -r1.34 distinfo
> --- distinfo  23 Sep 2018 20:12:32 -  1.34
> +++ distinfo  20 Jan 2019 12:20:14 -
> @@ -1,2 +1,2 @@
> -SHA256 (links-2.17.tar.gz) = GA73DGASm1pZGjmj6jOSC6fRgagxCct1sXcuVM0367w=
> -SIZE (links-2.17.tar.gz) = 7277344
> +SHA256 (links-2.18.tar.gz) = rTPQq/7JYnpd3DR0DsafHb7EV1KFgb8j/uT9yqkPIzI=
> +SIZE (links-2.18.tar.gz) = 7287356
>
> --
> Best Regards
> Edd Barrett
>
> http://www.theunixzoo.co.uk
>




UPDATE: www/links+

2019-01-20 Thread Edd Barrett
Hi,

I found myself on the links+ website today, and noticed that there was a
newer version. Here's a diff for that.

Thanks

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.63
diff -u -p -u -r1.63 Makefile
--- Makefile23 Sep 2018 20:12:32 -  1.63
+++ Makefile20 Jan 2019 13:16:23 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.63 2018/09/23 20:12:32 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.17
+VER=   2.18
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
@@ -32,9 +32,9 @@ LIB_DEPENDS+= graphics/jpeg \
x11/gnome/librsvg \
graphics/tiff
 CONFIGURE_ARGS+= --with-x --enable-graphics
-WANTLIB+=  X11 jpeg>=62 m png>=2 tiff>=35
+WANTLIB+=  X11 jpeg>=62 m tiff>=35
 WANTLIB+=  cairo event fontconfig gdk_pixbuf-2.0 gio-2.0 glib-2.0
-WANTLIB+=  gobject-2.0 intl rsvg-2
+WANTLIB+=  gobject-2.0 intl png16 rsvg-2
 
 MESSAGE=   ${PKGDIR}/MESSAGE.x11
 .endif
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.34
diff -u -p -u -r1.34 distinfo
--- distinfo23 Sep 2018 20:12:32 -  1.34
+++ distinfo20 Jan 2019 12:20:14 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.17.tar.gz) = GA73DGASm1pZGjmj6jOSC6fRgagxCct1sXcuVM0367w=
-SIZE (links-2.17.tar.gz) = 7277344
+SHA256 (links-2.18.tar.gz) = rTPQq/7JYnpd3DR0DsafHb7EV1KFgb8j/uT9yqkPIzI=
+SIZE (links-2.18.tar.gz) = 7287356

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk



[UPDATE] www/links+-2.16 -> 2.17

2018-09-23 Thread trondd
Update to links+.  Relevant changes:

=== RELEASE 2.17 ===

Fri Sep  7 00:04:41 CEST 2018 mikulas:

Fix verifying SSL certificates for numeric IPv6 addresses

Thu Sep  6 22:07:03 CEST 2018 mikulas:

Delete the option -ftp.fast - it doesn't always work and ftp performance
is not an issue anymore

Passive ftp enabled by default because it will more likely work than
the port command

Wed Sep  5 22:39:11 CEST 2018 mikulas:

Add bold and monospaced Turkish letter 'i' without a dot

Thu Jul 26 07:34:24 CEST 2018 mikulas:

Support mouse scroll wheel in textarea

Thu Jul 26 05:24:17 CEST 2018 mikulas:

Delete the option -http-bugs.bug-302-redirect - RFC7231 allows the
"buggy" behavior and defines new codes 307 and 308 that retain the
post data

Wed Jul 18 21:00:23 CEST 2018 mikulas:

X11 - fixed colormap leak when creating a new window

Mon Jul 16 02:33:26 CEST 2018 mikulas:

Fixed an infinite loop that happened in graphics mode if the user
clicked on OK in "Miscellaneous options" dialog and more than one
windows were open.
This bug was introduced in Links 2.15.

Sun Jul 15 21:36:04 CEST 2018 mikulas:

Support 6x6x6 RGB palette in 256-bit color mode on framebuffer
The palette may be switched in the "video options" menu
The 8x8x4 palette has better image quality
The 6x6x6 palette preserves gray

Thu Jul 12 23:06:48 CEST 2018 mikulas:

Improve scrolling smoothness when the user drags the whole document

Sun Jun 17 15:31:28 CEST 2018 mikulas:

Set link color to yellow by default

Tue Jun  5 20:24:42 CEST 2018 mikulas:

Trust Content-Length on HTTP/1.0 redirect requests

This fixes hangs with misbehaving servers that honor Connection:
keep-alive but send out HTTP/1.0 reply without Connection: keep-alive.
Links thought that they don't support keep-alive and waited for the
connection to close (for example http://www.raspberrypi.org/)

Tue May 22 00:51:35 CEST 2018 mikulas:

Use keys 'H' and 'L' to select the top and bottom link on the current
page


Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.62
diff -u -p -r1.62 Makefile
--- Makefile9 Jul 2018 02:19:49 -   1.62
+++ Makefile23 Sep 2018 19:32:18 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.62 2018/07/09 02:19:49 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.16
+VER=   2.17
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.33
diff -u -p -r1.33 distinfo
--- distinfo9 Jul 2018 02:19:49 -   1.33
+++ distinfo23 Sep 2018 19:32:18 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.16.tar.gz) = g6tFV9mxIVcDhNG9J63xb5YrmwB7rFeArglOb/9rPWI=
-SIZE (links-2.16.tar.gz) = 7365133
+SHA256 (links-2.17.tar.gz) = GA73DGASm1pZGjmj6jOSC6fRgagxCct1sXcuVM0367w=
+SIZE (links-2.17.tar.gz) = 7277344
Index: patches/patch-https_c
===
RCS file: /cvs/ports/www/links+/patches/patch-https_c,v
retrieving revision 1.6
diff -u -p -r1.6 patch-https_c
--- patches/patch-https_c   26 Apr 2018 00:35:53 -  1.6
+++ patches/patch-https_c   23 Sep 2018 19:32:18 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-https_c,v 1.6 2018/04/26
 Index: https.c
 --- https.c.orig
 +++ https.c
-@@ -261,6 +261,11 @@ links_ssl *getSSL(void)
+@@ -264,6 +264,11 @@ links_ssl *getSSL(void)
RAND_write_file(cast_const_char 
f_randfile);
}
}



Re: [UPDATE] www/links+ -> 1.16

2018-07-08 Thread Brian Callahan



On 07/08/18 20:32, trondd wrote:

Poke.


Committed. Thanks.
I added --disable-lzip to CONFIGURE_ARGS since lzip got picked up 
automagically during configure.


~Brian


On Wed, June 27, 2018 7:45 pm, trondd wrote:

Update links+ to 1.16  Mostly some bugfixes found by overity.

Official changelog:

Sun Apr 29 17:12:24 CEST 2018 mikulas:

Improve handling of the DELETE key
Delete is used for both deleting and scrolling
If the last keypress was captured in a form field, DELETE deletes
If the last keypress was not captured DELETE scrolls

Sat Apr 28 21:49:08 CEST 2018 mikulas:

Implement the bracketed paste mode - a text can be pasted only to input
fields, the pasted text won't be misinterpreted as key commands

Sun Apr 22 17:28:05 CEST 2018 mikulas:

Fix bugs found by coverity:
* bad arguments to sizeof
* missing int->unsigned long long conversions in image scaling
* unchecked return of the close function
* a possible NULL pointer dereference in directfb.c
* a memory leak on invalid double number
* missing va_end
* non-working "No keepalive connection after POST request" option
and some other discrepancies which didn't result in any violation

Sat Apr 21 23:13:49 CEST 2018 mikulas:

Fix a crash in proxy authentication code (introduced in 2.15)

Thu Mar 29 20:06:50 CEST 2018 mikulas:

Fixed internal error "invalid set_handlers call" on framebuffer
if we suspend and terminate at the same time

Thu Mar 29 19:08:29 cet 2018 mikulas:

When compiled without SVG, rewrite wikipedia svg math urls with png urls


Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.61
diff -u -p -r1.61 Makefile
--- Makefile26 Apr 2018 00:35:53 -  1.61
+++ Makefile27 Jun 2018 23:36:02 -
@@ -1,7 +1,7 @@
  # $OpenBSD: Makefile,v 1.61 2018/04/26 00:35:53 bcallah Exp $

  COMMENT=  graphics and text browser
-VER=   2.15
+VER=   2.16
  DISTNAME= links-${VER}
  PKGNAME=  links+-${VER}
  CATEGORIES=   www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.32
diff -u -p -r1.32 distinfo
--- distinfo26 Apr 2018 00:35:53 -  1.32
+++ distinfo27 Jun 2018 23:36:02 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.15.tar.gz) = Z39ZS1jcUy5jkTzWG4XMGqbwOF4zO4h2brNBW0Gzo3U=
-SIZE (links-2.15.tar.gz) = 7358450
+SHA256 (links-2.16.tar.gz) = g6tFV9mxIVcDhNG9J63xb5YrmwB7rFeArglOb/9rPWI=
+SIZE (links-2.16.tar.gz) = 7365133







Re: [UPDATE] www/links+ -> 1.16

2018-07-08 Thread trondd
Poke.

On Wed, June 27, 2018 7:45 pm, trondd wrote:
> Update links+ to 1.16  Mostly some bugfixes found by overity.
>
> Official changelog:
>
> Sun Apr 29 17:12:24 CEST 2018 mikulas:
>
> Improve handling of the DELETE key
> Delete is used for both deleting and scrolling
> If the last keypress was captured in a form field, DELETE deletes
> If the last keypress was not captured DELETE scrolls
>
> Sat Apr 28 21:49:08 CEST 2018 mikulas:
>
> Implement the bracketed paste mode - a text can be pasted only to input
> fields, the pasted text won't be misinterpreted as key commands
>
> Sun Apr 22 17:28:05 CEST 2018 mikulas:
>
> Fix bugs found by coverity:
> * bad arguments to sizeof
> * missing int->unsigned long long conversions in image scaling
> * unchecked return of the close function
> * a possible NULL pointer dereference in directfb.c
> * a memory leak on invalid double number
> * missing va_end
> * non-working "No keepalive connection after POST request" option
> and some other discrepancies which didn't result in any violation
>
> Sat Apr 21 23:13:49 CEST 2018 mikulas:
>
> Fix a crash in proxy authentication code (introduced in 2.15)
>
> Thu Mar 29 20:06:50 CEST 2018 mikulas:
>
> Fixed internal error "invalid set_handlers call" on framebuffer
> if we suspend and terminate at the same time
>
> Thu Mar 29 19:08:29 cet 2018 mikulas:
>
> When compiled without SVG, rewrite wikipedia svg math urls with png urls
>
>
> Tim.
>
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/links+/Makefile,v
> retrieving revision 1.61
> diff -u -p -r1.61 Makefile
> --- Makefile  26 Apr 2018 00:35:53 -  1.61
> +++ Makefile  27 Jun 2018 23:36:02 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.61 2018/04/26 00:35:53 bcallah Exp $
>
>  COMMENT= graphics and text browser
> -VER= 2.15
> +VER= 2.16
>  DISTNAME=links-${VER}
>  PKGNAME= links+-${VER}
>  CATEGORIES=  www
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/links+/distinfo,v
> retrieving revision 1.32
> diff -u -p -r1.32 distinfo
> --- distinfo  26 Apr 2018 00:35:53 -  1.32
> +++ distinfo  27 Jun 2018 23:36:02 -
> @@ -1,2 +1,2 @@
> -SHA256 (links-2.15.tar.gz) = Z39ZS1jcUy5jkTzWG4XMGqbwOF4zO4h2brNBW0Gzo3U=
> -SIZE (links-2.15.tar.gz) = 7358450
> +SHA256 (links-2.16.tar.gz) = g6tFV9mxIVcDhNG9J63xb5YrmwB7rFeArglOb/9rPWI=
> +SIZE (links-2.16.tar.gz) = 7365133
>




[UPDATE] www/links+ -> 1.16

2018-06-27 Thread trondd
Update links+ to 1.16  Mostly some bugfixes found by overity.

Official changelog:

Sun Apr 29 17:12:24 CEST 2018 mikulas:

Improve handling of the DELETE key
Delete is used for both deleting and scrolling
If the last keypress was captured in a form field, DELETE deletes
If the last keypress was not captured DELETE scrolls

Sat Apr 28 21:49:08 CEST 2018 mikulas:

Implement the bracketed paste mode - a text can be pasted only to input
fields, the pasted text won't be misinterpreted as key commands

Sun Apr 22 17:28:05 CEST 2018 mikulas:

Fix bugs found by coverity:
* bad arguments to sizeof
* missing int->unsigned long long conversions in image scaling
* unchecked return of the close function
* a possible NULL pointer dereference in directfb.c
* a memory leak on invalid double number
* missing va_end
* non-working "No keepalive connection after POST request" option
and some other discrepancies which didn't result in any violation

Sat Apr 21 23:13:49 CEST 2018 mikulas:

Fix a crash in proxy authentication code (introduced in 2.15)

Thu Mar 29 20:06:50 CEST 2018 mikulas:

Fixed internal error "invalid set_handlers call" on framebuffer
if we suspend and terminate at the same time

Thu Mar 29 19:08:29 cet 2018 mikulas:

When compiled without SVG, rewrite wikipedia svg math urls with png urls


Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.61
diff -u -p -r1.61 Makefile
--- Makefile26 Apr 2018 00:35:53 -  1.61
+++ Makefile27 Jun 2018 23:36:02 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.61 2018/04/26 00:35:53 bcallah Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.15
+VER=   2.16
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.32
diff -u -p -r1.32 distinfo
--- distinfo26 Apr 2018 00:35:53 -  1.32
+++ distinfo27 Jun 2018 23:36:02 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.15.tar.gz) = Z39ZS1jcUy5jkTzWG4XMGqbwOF4zO4h2brNBW0Gzo3U=
-SIZE (links-2.15.tar.gz) = 7358450
+SHA256 (links-2.16.tar.gz) = g6tFV9mxIVcDhNG9J63xb5YrmwB7rFeArglOb/9rPWI=
+SIZE (links-2.16.tar.gz) = 7365133



Re: [UPDATE] www/links+ to 1.15

2018-04-25 Thread Brian Callahan


On 04/25/18 20:18, trondd wrote:

Ping for hackathon!


I've committed this, without the SEPARATE_BUILD=Yes (I agree with 
sthen@'s analysis) and with --without-brotli added to CONFIGURE_ARGS 
since links+ will pick it up automagically if you have archivers/brotli 
installed.


~Brian


On Sun, April 15, 2018 11:30 am, trondd wrote:

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-4

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
--- Makefile30 Nov 2016 19:42:15 -  1.60
+++ Makefile14 Apr 2018 20:54:22 -
@@ -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
--- distinfo30 Nov 2016 19:42:15 -  1.31
+++ distinfo14 Apr 2018 20:54:22 -
@@ -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_c3 Sep 2016 09:33:19 -   1.16
+++ patches/patch-html_c14 Apr 2018 20:54:22 -
@@ -1,7 +1,8 @@
  $OpenBSD: patch-html_c,v 1.16 2016/09/03 09:33:19 sthen Exp $
 html.c.origFri 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 -  1.5
+++ patches/patch-https_c   14 Apr 2018 20:54:22 -
@@ -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.cMon 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);
}
}







Re: [UPDATE] www/links+ to 1.15

2018-04-25 Thread trondd
Ping for hackathon!

On Sun, April 15, 2018 11:30 am, trondd wrote:
> 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-4
>
> 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 -  1.60
> +++ Makefile  14 Apr 2018 20:54:22 -
> @@ -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 -  1.31
> +++ distinfo  14 Apr 2018 20:54:22 -
> @@ -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 -   1.16
> +++ patches/patch-html_c  14 Apr 2018 20:54:22 -
> @@ -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 -  1.5
> +++ patches/patch-https_c 14 Apr 2018 20:54:22 -
> @@ -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);
>   }
>   }
>




Re: [UPDATE] www/links+ to 1.15

2018-04-16 Thread Stuart Henderson
On 2018/04/16 16:34, trondd wrote:
> On Mon, April 16, 2018 7:01 am, Stuart Henderson wrote:
> > On 2018/04/15 16:48, trondd wrote:
> >> What is the policy around setting SEPARATE_BUILD?  Any GNU build?  Not
> >> just builds that require it?
> >
> > It's useful for large ports where you might want to "make clean=build"
> > and they take a long time to extract/patch.
> >
> > Otherwise it's pointless and can make extra work for updates because
> > upstreams often don't test out-of-tree builds (and especially "make
> > test" in that case) regularly.
> >
> 
> I don't consider links+ to be a large port.  It builds either way, so I
> don't have a strong opinion about it.
> 
> Whatever it takes to get it commited.
> 

At the moment what it'll take is getting the clang 6 fallout under
control before we start committing other things again, other things
are pretty much all on hold at present.



Re: [UPDATE] www/links+ to 1.15

2018-04-16 Thread trondd
On Mon, April 16, 2018 7:01 am, Stuart Henderson wrote:
> On 2018/04/15 16:48, trondd wrote:
>> What is the policy around setting SEPARATE_BUILD?  Any GNU build?  Not
>> just builds that require it?
>
> It's useful for large ports where you might want to "make clean=build"
> and they take a long time to extract/patch.
>
> Otherwise it's pointless and can make extra work for updates because
> upstreams often don't test out-of-tree builds (and especially "make
> test" in that case) regularly.
>

I don't consider links+ to be a large port.  It builds either way, so I
don't have a strong opinion about it.

Whatever it takes to get it commited.



Re: [UPDATE] www/links+ to 1.15

2018-04-16 Thread Stuart Henderson
On 2018/04/15 16:48, trondd wrote:
> What is the policy around setting SEPARATE_BUILD?  Any GNU build?  Not
> just builds that require it?

It's useful for large ports where you might want to "make clean=build"
and they take a long time to extract/patch.

Otherwise it's pointless and can make extra work for updates because
upstreams often don't test out-of-tree builds (and especially "make
test" in that case) regularly.



Re: [UPDATE] www/links+ to 1.15

2018-04-16 Thread Anthony J. Bentley
trondd writes:
> What is the policy around setting SEPARATE_BUILD?  Any GNU build?  Not
> just builds that require it?

I don't know that there is any "policy", other than "set SEPARATE_BUILD
if needed, and don't set it if it breaks".

Certainly if it works, it's nice to have even when it's not strictly
needed. But I doubt anybody will be sweeping the whole tree for it
anytime soon, probably...

-- 
Anthony J. Bentley



Re: [UPDATE] www/links+ to 1.15

2018-04-15 Thread trondd
On Sun, April 15, 2018 12:36 pm, Klemens Nanni wrote:
> On Sun, Apr 15, 2018 at 11:30:22AM -0400, trondd wrote:
>> 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-4
>>
>> 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
> Builds fine on amd64, lightly run tested.
>
> OK kn with SEPARATE_BUILD=Yes set.
>

Sorry for the multi-post.  Network issue on my end.

What is the policy around setting SEPARATE_BUILD?  Any GNU build?  Not
just builds that require it?

Tim.




Re: [UPDATE] www/links+ to 1.15

2018-04-15 Thread Klemens Nanni
On Sun, Apr 15, 2018 at 11:30:22AM -0400, trondd wrote:
> 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-4
> 
> 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
Builds fine on amd64, lightly run tested.

OK kn with SEPARATE_BUILD=Yes set.



[UPDATE] www/links+ to 1.15

2018-04-15 Thread trondd
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-4

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
--- Makefile30 Nov 2016 19:42:15 -  1.60
+++ Makefile14 Apr 2018 20:54:22 -
@@ -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
--- distinfo30 Nov 2016 19:42:15 -  1.31
+++ distinfo14 Apr 2018 20:54:22 -
@@ -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_c3 Sep 2016 09:33:19 -   1.16
+++ patches/patch-html_c14 Apr 2018 20:54:22 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-html_c,v 1.16 2016/09/03 09:33:19 sthen Exp $
 html.c.origFri 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 -  1.5
+++ patches/patch-https_c   14 Apr 2018 20:54:22 -
@@ -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.cMon 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);
}
}



Re: Backport links+-2.0.14 to -stable (was: Re: [UPDATE] www/links+ to 2.14)

2016-12-01 Thread trondd
On Thu, December 1, 2016 5:07 am, Jeremie Courreges-Anglas wrote:
> Jeremie Courreges-Anglas  writes:
>
>> Should this be backported to -stable?
>
> It appears so, as discussed with Tim.  Could someone give this a shot
> on -stable?  Please include the output of
> ''make port-lib-depends-check''.
>

# make port-lib-depends-check

links+2.14(www/links+):
Extra: iconv.6


If you remove the gettext MODULE and add intl to WANTLIB, that goes away. 
This was done with the update to 2.13 previously in -current.  But for
-stable, the less churn the better.

Tim.



Re: Backport links+-2.0.14 to -stable (was: Re: [UPDATE] www/links+ to 2.14)

2016-12-01 Thread trondd
On Thu, December 1, 2016 5:07 am, Jeremie Courreges-Anglas wrote:
> Jeremie Courreges-Anglas  writes:
>
>> trondd  writes:
>>
>>> Update links+ to 2.14
>>>
>>> Fixes some security related issues:
>>>
>>> * Limit keepalive of ciphers with 64-bit block size to mitigate
>>> the SWEET32 attack
>>> * Improved tor hardening - when the user toggles the "Only Proxies"
>>> option
>>> (i.e. when connecting to tor), we reset certain other options to their
>>> default values, so that it is not possible to identify user behind tor
>>> based on the selected options.
>>> * Security bug fixed: Don't load or render the content of
>>> "407 Proxy Authentication Required" reply when using https proxy.
>>> This avoids the FalseCONNECT attack.
>>> Also, don't allow 401 and 407 responses to set cookies.
>>
>> Should this be backported to -stable?
>
> It appears so, as discussed with Tim.  Could someone give this a shot
> on -stable?  Please include the output of
> ''make port-lib-depends-check''.
>

I built it on -stable last night, but with my own diff.  It built and ran
without X.  I won't have access to a -stable system with X until later
today.  I don't recall any problem with lib-depends-check.  I can run your
diff on another non-gui -stable right now and double check the depends.

Tim.



Backport links+-2.0.14 to -stable (was: Re: [UPDATE] www/links+ to 2.14)

2016-12-01 Thread Jeremie Courreges-Anglas
Jeremie Courreges-Anglas  writes:

> trondd  writes:
>
>> Update links+ to 2.14
>>
>> Fixes some security related issues:
>>
>> * Limit keepalive of ciphers with 64-bit block size to mitigate
>> the SWEET32 attack
>> * Improved tor hardening - when the user toggles the "Only Proxies" option
>> (i.e. when connecting to tor), we reset certain other options to their
>> default values, so that it is not possible to identify user behind tor
>> based on the selected options.
>> * Security bug fixed: Don't load or render the content of
>> "407 Proxy Authentication Required" reply when using https proxy.
>> This avoids the FalseCONNECT attack.
>> Also, don't allow 401 and 407 responses to set cookies.
>
> Should this be backported to -stable?

It appears so, as discussed with Tim.  Could someone give this a shot
on -stable?  Please include the output of
''make port-lib-depends-check''.


Index: Makefile
===
RCS file: /d/cvs/ports/www/links+/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile17 Jan 2016 17:29:10 -  1.58
+++ Makefile1 Dec 2016 09:58:08 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.58 2016/01/17 17:29:10 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.12
-REVISION=  0
+VER=   2.14
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
@@ -34,7 +33,7 @@ LIB_DEPENDS+= graphics/jpeg \
 CONFIGURE_ARGS+= --with-x --enable-graphics
 WANTLIB+=  X11 jpeg>=62 m png>=2 tiff>=35
 WANTLIB += cairo event gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
-WANTLIB += rsvg-2
+WANTLIB += rsvg-2 fontconfig
 
 MESSAGE=   ${PKGDIR}/MESSAGE.x11
 .endif
Index: distinfo
===
RCS file: /d/cvs/ports/www/links+/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo6 Oct 2015 22:43:50 -   1.29
+++ distinfo1 Dec 2016 09:51:54 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.12.tar.gz) = Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
-SIZE (links-2.12.tar.gz) = 7032939
+SHA256 (links-2.14.tar.gz) = IvqNy1pguP/WEd4x69THntzkcmN6NVS6tAF5XakdQ4c=
+SIZE (links-2.14.tar.gz) = 7142389
Index: patches/patch-html_c
===
RCS file: /d/cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.15
diff -u -p -r1.15 patch-html_c
--- patches/patch-html_c20 Sep 2015 08:01:09 -  1.15
+++ patches/patch-html_c1 Dec 2016 09:53:25 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-html_c,v 1.15 2015/09/20 08:01:09 landry Exp $
 html.c.origSat Jul 25 13:41:36 2015
-+++ html.c Sun Sep 20 09:33:31 2015
-@@ -970,6 +970,7 @@ static void html_a(unsigned char *a)
+--- html.c.origWed Nov 16 23:49:10 2016
 html.c Thu Dec  1 10:53:25 2016
+@@ -987,6 +987,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: /d/cvs/ports/www/links+/patches/patch-https_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-https_c
--- patches/patch-https_c   6 Oct 2015 22:43:50 -   1.3
+++ patches/patch-https_c   1 Dec 2016 09:56:30 -
@@ -1,11 +1,11 @@
 $OpenBSD: patch-https_c,v 1.3 2015/10/06 22:43:50 sthen Exp $
 https.c.orig   Thu Sep 17 18:28:56 2015
-+++ https.cTue Oct  6 10:49:16 2015
-@@ -87,6 +87,10 @@ SSL *getSSL(void)
-   if (RAND_load_file(cast_const_char f_randfile, -1))
-   RAND_write_file(cast_const_char f_randfile);
+--- https.c.orig   Sat Nov 19 19:52:07 2016
 https.cThu Dec  1 10:56:17 2016
+@@ -88,6 +88,10 @@ links_ssl *getSSL(void)
+   RAND_write_file(cast_const_char 
f_randfile);
+   }
}
-+#elif defined(HAVE_RAND_FILE_NAME) && defined(HAVE_RAND_LOAD_FILE) && 
defined(HAVE_RAND_WRITE_FILE)
++#elif defined(HAVE_RAND_EGD) && defined(HAVE_RAND_FILE_NAME) && 
defined(HAVE_RAND_LOAD_FILE) && defined(HAVE_RAND_WRITE_FILE)
 +  const unsigned char *f = (const unsigned char 
*)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
 +  if (RAND_load_file(cast_const_char f_randfile, -1))
 +  RAND_write_file(cast_const_char f_randfile);

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [UPDATE] www/links+ to 2.14

2016-11-30 Thread Jeremie Courreges-Anglas
trondd  writes:

> Update links+ to 2.14
>
> Fixes some security related issues:
>
> * Limit keepalive of ciphers with 64-bit block size to mitigate
> the SWEET32 attack
> * Improved tor hardening - when the user toggles the "Only Proxies" option
> (i.e. when connecting to tor), we reset certain other options to their
> default values, so that it is not possible to identify user behind tor
> based on the selected options.
> * Security bug fixed: Don't load or render the content of
> "407 Proxy Authentication Required" reply when using https proxy.
> This avoids the FalseCONNECT attack.
> Also, don't allow 401 and 407 responses to set cookies.

Should this be backported to -stable?

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



[UPDATE] www/links+ to 2.14

2016-11-29 Thread trondd
Update links+ to 2.14

Fixes some security related issues:

* Limit keepalive of ciphers with 64-bit block size to mitigate
the SWEET32 attack
* Improved tor hardening - when the user toggles the "Only Proxies" option
(i.e. when connecting to tor), we reset certain other options to their
default values, so that it is not possible to identify user behind tor
based on the selected options.
* Security bug fixed: Don't load or render the content of
"407 Proxy Authentication Required" reply when using https proxy.
This avoids the FalseCONNECT attack.
Also, don't allow 401 and 407 responses to set cookies.


And some improvements and fixes:

* Use keys 'P' and 'L' to scroll up and down
* Fix a memory leak when copying the current url to clipboard
(the bug was introduced in Links 2.13)
* Fix crash when the user pressed Ctrl-G on a form field
(the bug was introduced in Links 2.13)
* Workaround for a bug in librsvg that makes mathematics on Wikipedia
unreadable

Full changelog:
http://links.twibright.com/download/ChangeLog

Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile3 Sep 2016 09:33:19 -   1.59
+++ Makefile30 Nov 2016 01:40:50 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.59 2016/09/03 09:33:19 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.13
+VER=   2.14
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.30
diff -u -p -r1.30 distinfo
--- distinfo3 Sep 2016 09:33:19 -   1.30
+++ distinfo30 Nov 2016 01:40:50 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.13.tar.gz) = vNBotbR/YE+RCRxUHUad8q+2vWYEzd1vBZoX7JzrdK4=
-SIZE (links-2.13.tar.gz) = 7133136
+SHA256 (links-2.14.tar.gz) = IvqNy1pguP/WEd4x69THntzkcmN6NVS6tAF5XakdQ4c=
+SIZE (links-2.14.tar.gz) = 7142389
Index: patches/patch-https_c
===
RCS file: /cvs/ports/www/links+/patches/patch-https_c,v
retrieving revision 1.4
diff -u -p -r1.4 patch-https_c
--- patches/patch-https_c   3 Sep 2016 09:33:19 -   1.4
+++ patches/patch-https_c   30 Nov 2016 01:40:50 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-https_c,v 1.4 2016/09/03 09:33:19 sthen Exp $
 https.c.orig   Sun Jun 26 18:52:02 2016
-+++ https.cThu Sep  1 20:15:20 2016
-@@ -89,6 +89,11 @@ SSL *getSSL(void)
+--- https.c.orig   Sat Nov 19 13:52:07 2016
 https.cMon Nov 28 22:16:21 2016
+@@ -88,6 +88,11 @@ links_ssl *getSSL(void)
RAND_write_file(cast_const_char 
f_randfile);
}
}



Re: Update www/links+ 2.12 -> 2.13

2016-09-03 Thread Stuart Henderson
On 2016/09/02 16:04, tro...@kagu-tsuchi.com wrote:
> Seems to make no difference if gettext is in LIB_DEPENDS or not. It
> still shows up when I run 'make port-lib-depends-check' so I assume
> it's a transitive dependency.

Ah yes, that looks correct.

> Their Chagelog mentions removing
> gettext back in 2000,  Was there a reason to leave it as a
> LIB_DEPENDS or was that just to shove me in the right direction?

We used to need gettext in MODULES to cater for static library
architectures, in most cases where a port itself uses gettext this
should be changed to LIB_DEPENDS (which is what I assumed was
happening here). So it looks like it was just missed in a previous
update.

> Thanks for the help.
> Tim.
> 
> P.S. Sorry if this isn't threading properly, mail client problems. :(

Committed, thanks for the update.



Re: Update www/links+ 2.12 -> 2.13

2016-09-02 Thread trondd
Seems to make no difference if gettext is in LIB_DEPENDS or not. It
still shows up when I run 'make port-lib-depends-check' so I assume
it's a transitive dependency.  Their Chagelog mentions removing
gettext back in 2000,  Was there a reason to leave it as a
LIB_DEPENDS or was that just to shove me in the right direction?

Thanks for the help.
Tim.

P.S. Sorry if this isn't threading properly, mail client problems. :(

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile17 Jan 2016 17:29:10 -  1.58
+++ Makefile2 Sep 2016 18:53:21 -
@@ -1,14 +1,15 @@
 # $OpenBSD: Makefile,v 1.58 2016/01/17 17:29:10 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.12
-REVISION=  0
+VER=   2.13
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
 
 HOMEPAGE=  http://links.twibright.com/
 
+MAINTAINER=Tim Meunier 
+
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
 
@@ -26,15 +27,14 @@ FLAVORS=no_x11
 FLAVOR?=
 
 .if !${FLAVOR:Mno_x11}
-MODULES+=  devel/gettext
 LIB_DEPENDS+=  graphics/jpeg \
graphics/png \
x11/gnome/librsvg \
graphics/tiff
 CONFIGURE_ARGS+= --with-x --enable-graphics
 WANTLIB+=  X11 jpeg>=62 m png>=2 tiff>=35
-WANTLIB += cairo event gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
-WANTLIB += rsvg-2
+WANTLIB+=  cairo event fontconfig gdk_pixbuf-2.0 gio-2.0 glib-2.0
+WANTLIB+=  gobject-2.0 intl rsvg-2
 
 MESSAGE=   ${PKGDIR}/MESSAGE.x11
 .endif
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo6 Oct 2015 22:43:50 -   1.29
+++ distinfo2 Sep 2016 18:53:21 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.12.tar.gz) = Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
-SIZE (links-2.12.tar.gz) = 7032939
+SHA256 (links-2.13.tar.gz) = vNBotbR/YE+RCRxUHUad8q+2vWYEzd1vBZoX7JzrdK4=
+SIZE (links-2.13.tar.gz) = 7133136
Index: patches/patch-html_c
===
RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.15
diff -u -p -r1.15 patch-html_c
--- patches/patch-html_c20 Sep 2015 08:01:09 -  1.15
+++ patches/patch-html_c2 Sep 2016 18:53:21 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-html_c,v 1.15 2015/09/20 08:01:09 landry Exp $
 html.c.origSat Jul 25 13:41:36 2015
-+++ html.c Sun Sep 20 09:33:31 2015
-@@ -970,6 +970,7 @@ static void html_a(unsigned char *a)
+--- html.c.origFri 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)
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.3
diff -u -p -r1.3 patch-https_c
--- patches/patch-https_c   6 Oct 2015 22:43:50 -   1.3
+++ patches/patch-https_c   2 Sep 2016 18:53:21 -
@@ -1,11 +1,12 @@
 $OpenBSD: patch-https_c,v 1.3 2015/10/06 22:43:50 sthen Exp $
 https.c.orig   Thu Sep 17 18:28:56 2015
-+++ https.cTue Oct  6 10:49:16 2015
-@@ -87,6 +87,10 @@ SSL *getSSL(void)
-   if (RAND_load_file(cast_const_char f_randfile, -1))
-   RAND_write_file(cast_const_char f_randfile);
+--- https.c.orig   Sun Jun 26 18:52:02 2016
 https.cThu Sep  1 20:15:20 2016
+@@ -89,6 +89,11 @@ SSL *getSSL(void)
+   RAND_write_file(cast_const_char 
f_randfile);
+   }
}
 +#elif defined(HAVE_RAND_FILE_NAME) && defined(HAVE_RAND_LOAD_FILE) && 
defined(HAVE_RAND_WRITE_FILE)
++  unsigned char f_randfile[PATH_MAX];
 +  const unsigned char *f = (const unsigned char 
*)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
 +  if (RAND_load_file(cast_const_char f_randfile, -1))
 +  RAND_write_file(cast_const_char f_randfile);



Re: Update www/links+ 2.12 -> 2.13

2016-09-02 Thread Stuart Henderson
On 2016/09/01 20:39, tro...@kagu-tsuchi.com wrote:
> Take 2.  Fix WANTLIB and take MAINTAINER.
> port-lib-depends-check still squawks about "Extra: iconv.6" and I am
> not sure where that comes from.

Remove the gettext MODULES line and replace it with LIB_DEPENDS and
add intl to WANTLIB.



Update www/links+ 2.12 -> 2.13

2016-09-01 Thread trondd
Take 2.  Fix WANTLIB and take MAINTAINER.
port-lib-depends-check still squawks about "Extra: iconv.6" and I am
not sure where that comes from.

Tim.

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile17 Jan 2016 17:29:10 -  1.58
+++ Makefile2 Sep 2016 00:30:16 -
@@ -1,14 +1,15 @@
 # $OpenBSD: Makefile,v 1.58 2016/01/17 17:29:10 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.12
-REVISION=  0
+VER=   2.13
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
 
 HOMEPAGE=  http://links.twibright.com/
 
+MAINTAINER=Tim Meunier 
+
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
 
@@ -33,8 +34,8 @@ LIB_DEPENDS+= graphics/jpeg \
graphics/tiff
 CONFIGURE_ARGS+= --with-x --enable-graphics
 WANTLIB+=  X11 jpeg>=62 m png>=2 tiff>=35
-WANTLIB += cairo event gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
-WANTLIB += rsvg-2
+WANTLIB+=  cairo event fontconfig gdk_pixbuf-2.0 gio-2.0 glib-2.0
+WANTLIB+=  gobject-2.0 rsvg-2
 
 MESSAGE=   ${PKGDIR}/MESSAGE.x11
 .endif
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo6 Oct 2015 22:43:50 -   1.29
+++ distinfo2 Sep 2016 00:30:16 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.12.tar.gz) = Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
-SIZE (links-2.12.tar.gz) = 7032939
+SHA256 (links-2.13.tar.gz) = vNBotbR/YE+RCRxUHUad8q+2vWYEzd1vBZoX7JzrdK4=
+SIZE (links-2.13.tar.gz) = 7133136
Index: patches/patch-html_c
===
RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.15
diff -u -p -r1.15 patch-html_c
--- patches/patch-html_c20 Sep 2015 08:01:09 -  1.15
+++ patches/patch-html_c2 Sep 2016 00:30:16 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-html_c,v 1.15 2015/09/20 08:01:09 landry Exp $
 html.c.origSat Jul 25 13:41:36 2015
-+++ html.c Sun Sep 20 09:33:31 2015
-@@ -970,6 +970,7 @@ static void html_a(unsigned char *a)
+--- html.c.origFri 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)
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.3
diff -u -p -r1.3 patch-https_c
--- patches/patch-https_c   6 Oct 2015 22:43:50 -   1.3
+++ patches/patch-https_c   2 Sep 2016 00:30:16 -
@@ -1,11 +1,12 @@
 $OpenBSD: patch-https_c,v 1.3 2015/10/06 22:43:50 sthen Exp $
 https.c.orig   Thu Sep 17 18:28:56 2015
-+++ https.cTue Oct  6 10:49:16 2015
-@@ -87,6 +87,10 @@ SSL *getSSL(void)
-   if (RAND_load_file(cast_const_char f_randfile, -1))
-   RAND_write_file(cast_const_char f_randfile);
+--- https.c.orig   Sun Jun 26 18:52:02 2016
 https.cThu Sep  1 20:15:20 2016
+@@ -89,6 +89,11 @@ SSL *getSSL(void)
+   RAND_write_file(cast_const_char 
f_randfile);
+   }
}
 +#elif defined(HAVE_RAND_FILE_NAME) && defined(HAVE_RAND_LOAD_FILE) && 
defined(HAVE_RAND_WRITE_FILE)
++  unsigned char f_randfile[PATH_MAX];
 +  const unsigned char *f = (const unsigned char 
*)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
 +  if (RAND_load_file(cast_const_char f_randfile, -1))
 +  RAND_write_file(cast_const_char f_randfile);



Re: Update www/links+ 2.12 -> 2.13

2016-09-01 Thread Adam Wolk
On Tue, Aug 30, 2016 at 09:14:52AM -0400, trondd wrote:
> On Mon, August 22, 2016 9:53 am, trondd wrote:
> > On Wed, August 17, 2016 8:24 pm, tro...@kagu-tsuchi.com wrote:
> >> Here's another patch to update www/links+ from 2.12 to 2.13 including
> >> the
> >> updated patch.
> >>
> >> Thanks to Gerald Hanuer for getting the ball rolling.
> >>
> >> Tim.
> >
> > Bump.
> >
> 
> Ping one more time.  Will I have to take MAINTAINER to get some attention? :D
> 

Hi,

Grabbing the MAINTAINER is a nice idea :)

I tested the port. Seems to work fine but port-lib-depends-check
started to complain on fontconig, might want to try with an updated
ports tree and redoing the WANTLIB?

links+-2.13(www/links+):
Missing: fontconfig.11 (/usr/local/bin/links) (system lib)
Extra:  iconv.6
WANTLIB += fontconfig
*** Error 1 in target 'port-lib-depends-check' (ignored)



Re: Update www/links+ 2.12 -> 2.13

2016-08-30 Thread trondd
On Mon, August 22, 2016 9:53 am, trondd wrote:
> On Wed, August 17, 2016 8:24 pm, tro...@kagu-tsuchi.com wrote:
>> Here's another patch to update www/links+ from 2.12 to 2.13 including
>> the
>> updated patch.
>>
>> Thanks to Gerald Hanuer for getting the ball rolling.
>>
>> Tim.
>
> Bump.
>

Ping one more time.  Will I have to take MAINTAINER to get some attention? :D

>>
>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/www/links+/Makefile,v
>> retrieving revision 1.58
>> diff -u -p -r1.58 Makefile
>> --- Makefile 17 Jan 2016 17:29:10 -  1.58
>> +++ Makefile 18 Aug 2016 00:05:09 -
>> @@ -1,8 +1,7 @@
>>  # $OpenBSD: Makefile,v 1.58 2016/01/17 17:29:10 sthen Exp $
>>
>>  COMMENT=graphics and text browser
>> -VER=2.12
>> -REVISION=   0
>> +VER=2.13
>>  DISTNAME=   links-${VER}
>>  PKGNAME=links+-${VER}
>>  CATEGORIES= www
>> Index: distinfo
>> ===
>> RCS file: /cvs/ports/www/links+/distinfo,v
>> retrieving revision 1.29
>> diff -u -p -r1.29 distinfo
>> --- distinfo 6 Oct 2015 22:43:50 -   1.29
>> +++ distinfo 18 Aug 2016 00:05:09 -
>> @@ -1,2 +1,2 @@
>> -SHA256 (links-2.12.tar.gz) =
>> Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
>> -SIZE (links-2.12.tar.gz) = 7032939
>> +SHA256 (links-2.13.tar.gz) =
>> vNBotbR/YE+RCRxUHUad8q+2vWYEzd1vBZoX7JzrdK4=
>> +SIZE (links-2.13.tar.gz) = 7133136
>> Index: patches/patch-html_c
>> ===
>> RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
>> retrieving revision 1.15
>> diff -u -p -r1.15 patch-html_c
>> --- patches/patch-html_c 20 Sep 2015 08:01:09 -  1.15
>> +++ patches/patch-html_c 18 Aug 2016 00:05:09 -
>> @@ -1,7 +1,7 @@
>>  $OpenBSD: patch-html_c,v 1.15 2015/09/20 08:01:09 landry Exp $
>>  html.c.orig Sat Jul 25 13:41:36 2015
>> -+++ html.c  Sun Sep 20 09:33:31 2015
>> -@@ -970,6 +970,7 @@ static void html_a(unsigned char *a)
>> +--- html.c.orig Fri Jun 17 16:33:57 2016
>>  html.c  Wed Aug 17 19:55:29 2016
>> +@@ -987,6 +987,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.3
>> diff -u -p -r1.3 patch-https_c
>> --- patches/patch-https_c6 Oct 2015 22:43:50 -   1.3
>> +++ patches/patch-https_c18 Aug 2016 00:05:09 -
>> @@ -1,11 +1,12 @@
>>  $OpenBSD: patch-https_c,v 1.3 2015/10/06 22:43:50 sthen Exp $
>>  https.c.origThu Sep 17 18:28:56 2015
>> -+++ https.c Tue Oct  6 10:49:16 2015
>> -@@ -87,6 +87,10 @@ SSL *getSSL(void)
>> -if (RAND_load_file(cast_const_char f_randfile, -1))
>> -RAND_write_file(cast_const_char f_randfile);
>> +--- https.c.origSun Jun 26 18:52:02 2016
>>  https.c Wed Aug 17 19:57:40 2016
>> +@@ -89,6 +89,11 @@ SSL *getSSL(void)
>> +RAND_write_file(cast_const_char 
>> f_randfile);
>> +}
>>  }
>>  +#elif defined(HAVE_RAND_FILE_NAME) && defined(HAVE_RAND_LOAD_FILE) &&
>> defined(HAVE_RAND_WRITE_FILE)
>> ++   unsigned char f_randfile[PATH_MAX];
>>  +   const unsigned char *f = (const unsigned char
>> *)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
>>  +   if (RAND_load_file(cast_const_char f_randfile, -1))
>>  +   RAND_write_file(cast_const_char f_randfile);
>>
>




Re: Update www/links+ 2.12 -> 2.13

2016-08-22 Thread trondd
On Wed, August 17, 2016 8:24 pm, tro...@kagu-tsuchi.com wrote:
> Here's another patch to update www/links+ from 2.12 to 2.13 including the
> updated patch.
>
> Thanks to Gerald Hanuer for getting the ball rolling.
>
> Tim.

Bump.

>
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/links+/Makefile,v
> retrieving revision 1.58
> diff -u -p -r1.58 Makefile
> --- Makefile  17 Jan 2016 17:29:10 -  1.58
> +++ Makefile  18 Aug 2016 00:05:09 -
> @@ -1,8 +1,7 @@
>  # $OpenBSD: Makefile,v 1.58 2016/01/17 17:29:10 sthen Exp $
>
>  COMMENT= graphics and text browser
> -VER= 2.12
> -REVISION=0
> +VER= 2.13
>  DISTNAME=links-${VER}
>  PKGNAME= links+-${VER}
>  CATEGORIES=  www
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/links+/distinfo,v
> retrieving revision 1.29
> diff -u -p -r1.29 distinfo
> --- distinfo  6 Oct 2015 22:43:50 -   1.29
> +++ distinfo  18 Aug 2016 00:05:09 -
> @@ -1,2 +1,2 @@
> -SHA256 (links-2.12.tar.gz) = Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
> -SIZE (links-2.12.tar.gz) = 7032939
> +SHA256 (links-2.13.tar.gz) = vNBotbR/YE+RCRxUHUad8q+2vWYEzd1vBZoX7JzrdK4=
> +SIZE (links-2.13.tar.gz) = 7133136
> Index: patches/patch-html_c
> ===
> RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
> retrieving revision 1.15
> diff -u -p -r1.15 patch-html_c
> --- patches/patch-html_c  20 Sep 2015 08:01:09 -  1.15
> +++ patches/patch-html_c  18 Aug 2016 00:05:09 -
> @@ -1,7 +1,7 @@
>  $OpenBSD: patch-html_c,v 1.15 2015/09/20 08:01:09 landry Exp $
>  html.c.orig  Sat Jul 25 13:41:36 2015
> -+++ html.c   Sun Sep 20 09:33:31 2015
> -@@ -970,6 +970,7 @@ static void html_a(unsigned char *a)
> +--- html.c.orig  Fri Jun 17 16:33:57 2016
>  html.c   Wed Aug 17 19:55:29 2016
> +@@ -987,6 +987,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.3
> diff -u -p -r1.3 patch-https_c
> --- patches/patch-https_c 6 Oct 2015 22:43:50 -   1.3
> +++ patches/patch-https_c 18 Aug 2016 00:05:09 -
> @@ -1,11 +1,12 @@
>  $OpenBSD: patch-https_c,v 1.3 2015/10/06 22:43:50 sthen Exp $
>  https.c.orig Thu Sep 17 18:28:56 2015
> -+++ https.c  Tue Oct  6 10:49:16 2015
> -@@ -87,6 +87,10 @@ SSL *getSSL(void)
> - if (RAND_load_file(cast_const_char f_randfile, -1))
> - RAND_write_file(cast_const_char f_randfile);
> +--- https.c.orig Sun Jun 26 18:52:02 2016
>  https.c  Wed Aug 17 19:57:40 2016
> +@@ -89,6 +89,11 @@ SSL *getSSL(void)
> + RAND_write_file(cast_const_char 
> f_randfile);
> + }
>   }
>  +#elif defined(HAVE_RAND_FILE_NAME) && defined(HAVE_RAND_LOAD_FILE) &&
> defined(HAVE_RAND_WRITE_FILE)
> ++unsigned char f_randfile[PATH_MAX];
>  +const unsigned char *f = (const unsigned char
> *)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
>  +if (RAND_load_file(cast_const_char f_randfile, -1))
>  +RAND_write_file(cast_const_char f_randfile);
>




Update www/links+ 2.12 -> 2.13

2016-08-17 Thread trondd
Here's another patch to update www/links+ from 2.12 to 2.13 including the
updated patch.

Thanks to Gerald Hanuer for getting the ball rolling.

Tim.

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile17 Jan 2016 17:29:10 -  1.58
+++ Makefile18 Aug 2016 00:05:09 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.58 2016/01/17 17:29:10 sthen Exp $
 
 COMMENT=   graphics and text browser
-VER=   2.12
-REVISION=  0
+VER=   2.13
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo6 Oct 2015 22:43:50 -   1.29
+++ distinfo18 Aug 2016 00:05:09 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.12.tar.gz) = Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
-SIZE (links-2.12.tar.gz) = 7032939
+SHA256 (links-2.13.tar.gz) = vNBotbR/YE+RCRxUHUad8q+2vWYEzd1vBZoX7JzrdK4=
+SIZE (links-2.13.tar.gz) = 7133136
Index: patches/patch-html_c
===
RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.15
diff -u -p -r1.15 patch-html_c
--- patches/patch-html_c20 Sep 2015 08:01:09 -  1.15
+++ patches/patch-html_c18 Aug 2016 00:05:09 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-html_c,v 1.15 2015/09/20 08:01:09 landry Exp $
 html.c.origSat Jul 25 13:41:36 2015
-+++ html.c Sun Sep 20 09:33:31 2015
-@@ -970,6 +970,7 @@ static void html_a(unsigned char *a)
+--- html.c.origFri Jun 17 16:33:57 2016
 html.c Wed Aug 17 19:55:29 2016
+@@ -987,6 +987,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.3
diff -u -p -r1.3 patch-https_c
--- patches/patch-https_c   6 Oct 2015 22:43:50 -   1.3
+++ patches/patch-https_c   18 Aug 2016 00:05:09 -
@@ -1,11 +1,12 @@
 $OpenBSD: patch-https_c,v 1.3 2015/10/06 22:43:50 sthen Exp $
 https.c.orig   Thu Sep 17 18:28:56 2015
-+++ https.cTue Oct  6 10:49:16 2015
-@@ -87,6 +87,10 @@ SSL *getSSL(void)
-   if (RAND_load_file(cast_const_char f_randfile, -1))
-   RAND_write_file(cast_const_char f_randfile);
+--- https.c.orig   Sun Jun 26 18:52:02 2016
 https.cWed Aug 17 19:57:40 2016
+@@ -89,6 +89,11 @@ SSL *getSSL(void)
+   RAND_write_file(cast_const_char 
f_randfile);
+   }
}
 +#elif defined(HAVE_RAND_FILE_NAME) && defined(HAVE_RAND_LOAD_FILE) && 
defined(HAVE_RAND_WRITE_FILE)
++  unsigned char f_randfile[PATH_MAX];
 +  const unsigned char *f = (const unsigned char 
*)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
 +  if (RAND_load_file(cast_const_char f_randfile, -1))
 +  RAND_write_file(cast_const_char f_randfile);



Re: [Update] www/links+ to 2.12

2015-10-06 Thread trondd
On Tue, October 6, 2015 5:51 am, Stuart Henderson wrote:
>
> Needs 'update-patches' as well, otherwise looks good to me.
>

Whoops, missed that.  Apparently the patches will still apply even with
the wrong line numbers.

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- Makefile20 Sep 2015 08:01:09 -  1.56
+++ Makefile6 Oct 2015 22:16:51 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.56 2015/09/20 08:01:09 landry Exp $

 COMMENT=   graphics and text browser
-VER=   2.11
+VER=   2.12
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo20 Sep 2015 08:01:09 -  1.28
+++ distinfo6 Oct 2015 22:16:51 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.11.tar.gz) = FbjJLcCuG8W/7ZmBZTIgG/nFCwQ4Q323ZhsOmra1CKU=
-SIZE (links-2.11.tar.gz) = 7026691
+SHA256 (links-2.12.tar.gz) = Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
+SIZE (links-2.12.tar.gz) = 7032939
cvs server: Diffing patches
Index: patches/patch-https_c
===
RCS file: /cvs/ports/www/links+/patches/patch-https_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-https_c
--- patches/patch-https_c   20 Sep 2015 08:01:09 -  1.2
+++ patches/patch-https_c   6 Oct 2015 22:16:51 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-https_c,v 1.2 2015/09/20 08:01:09 landry Exp $
 https.c.orig   Mon Aug 24 23:28:45 2015
-+++ https.cSun Sep 20 09:36:31 2015
-@@ -76,6 +76,10 @@ SSL *getSSL(void)
+--- https.c.orig   Thu Sep 17 13:28:56 2015
 https.cMon Oct  5 20:44:07 2015
+@@ -87,6 +87,10 @@ SSL *getSSL(void)
if (RAND_load_file(cast_const_char f_randfile, -1))
RAND_write_file(cast_const_char f_randfile);
}




Re: [Update] www/links+ to 2.12

2015-10-06 Thread Stuart Henderson
On 2015/10/05 21:03, trondd wrote:
> Easy update to links+ to 2.12
> 
> Adds SSL client certificates, and a warning if SSLv2 or v3 are in use (or
> to disallow them), and a bug fix for cookies.
> 
> Running on amd64.  I don't have a way to test the new SSL features, though.

Needs 'update-patches' as well, otherwise looks good to me.

The SSLv2/3 warnings won't do anything as the protocols are disabled in
libressl anyway.



Re: [Update] www/links+ to 2.12

2015-10-06 Thread Stuart Henderson
On 2015/10/06 18:26, trondd wrote:
> On Tue, October 6, 2015 5:51 am, Stuart Henderson wrote:
> >
> > Needs 'update-patches' as well, otherwise looks good to me.
> >
> 
> Whoops, missed that.  Apparently the patches will still apply even with
> the wrong line numbers.

Thanks - they do apply, but it's good practice to regenerate them if they
change.  btw, PATCH_DEBUG=Yes in mk.conf makes these more obvious.



[Update] www/links+ to 2.12

2015-10-05 Thread trondd
Easy update to links+ to 2.12

Adds SSL client certificates, and a warning if SSLv2 or v3 are in use (or
to disallow them), and a bug fix for cookies.

Running on amd64.  I don't have a way to test the new SSL features, though.

Tim.


Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- Makefile20 Sep 2015 08:01:09 -  1.56
+++ Makefile6 Oct 2015 00:49:56 -
@@ -1,7 +1,7 @@
 # $OpenBSD: Makefile,v 1.56 2015/09/20 08:01:09 landry Exp $

 COMMENT=   graphics and text browser
-VER=   2.11
+VER=   2.12
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
 CATEGORIES=www
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.28
diff -u -p -r1.28 distinfo
--- distinfo20 Sep 2015 08:01:09 -  1.28
+++ distinfo6 Oct 2015 00:49:56 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.11.tar.gz) = FbjJLcCuG8W/7ZmBZTIgG/nFCwQ4Q323ZhsOmra1CKU=
-SIZE (links-2.11.tar.gz) = 7026691
+SHA256 (links-2.12.tar.gz) = Lj2mGT3p1u5xvEvqsXFp7MWNfL8uIBkqP1GO2ffyLjM=
+SIZE (links-2.12.tar.gz) = 7032939



Re: UPDATE: www/links+ 2.9 = 2.10

2015-07-25 Thread trondd
On Mon, July 20, 2015 2:59 pm, Brian Callahan wrote:


 On 07/20/15 14:53, trondd wrote:
 On July 20, 2015 1:12:52 PM EDT, Brian Callahan bcal...@devio.us
 wrote:

 People only using lynx these days? :-)
 Ping.


Finally got to trying this version.  Built and seems to run fine on a July
10 snapshot.

Tim.



Re: UPDATE: www/links+ 2.9 = 2.10

2015-07-20 Thread trondd
On July 20, 2015 1:12:52 PM EDT, Brian Callahan bcal...@devio.us wrote: 

People only using lynx these days? :-)
Ping.

I use links+ but I am
A) on vacation at the moment, and
B) unable to check it in for you anyway.

Tim.



Re: UPDATE: www/links+ 2.9 = 2.10

2015-07-20 Thread Brian Callahan


On 07/20/15 14:53, trondd wrote:
 On July 20, 2015 1:12:52 PM EDT, Brian Callahan bcal...@devio.us wrote: 

 People only using lynx these days? :-)
 Ping.
 
 I use links+ but I am
 A) on vacation at the moment, and
 B) unable to check it in for you anyway.

Why do I need you to check it in for me? I am capable of typing cvs
all by myself thank you very much.



Re: UPDATE: www/links+ 2.9 = 2.10

2015-07-20 Thread Brian Callahan


On 07/16/15 11:05, Brian Callahan wrote:
 Hi ports --
 
 Attached is an update to www/links+.
 Noticeable changes:
 * Uses libevent (albeit with some deprecated macros)
 * SVG support via librsvg
 * Upstream now checks for libressl so the rand_egd patch goes away.
 
 Works well here.
 
 OK?
 
 ~Brian
 

People only using lynx these days? :-)
Ping.



UPDATE: www/links+ 2.9 = 2.10

2015-07-16 Thread Brian Callahan
Hi ports --

Attached is an update to www/links+.
Noticeable changes:
* Uses libevent (albeit with some deprecated macros)
* SVG support via librsvg
* Upstream now checks for libressl so the rand_egd patch goes away.

Works well here.

OK?

~Brian
Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.54
diff -u -p -r1.54 Makefile
--- Makefile	21 Apr 2015 18:42:41 -	1.54
+++ Makefile	16 Jul 2015 14:23:22 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.54 2015/04/21 18:42:41 sthen Exp $
 
 COMMENT=	graphics and text browser
-VER=		2.9
-REVISION=	0
+VER=		2.10
 DISTNAME=	links-${VER}
 PKGNAME=	links+-${VER}
 CATEGORIES=	www
@@ -13,7 +12,7 @@ MAINTAINER=	Brian Callahan bcallah@open
 # GPLv2+
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=	bz2 c crypto lzma pthread ssl z
+WANTLIB += bz2 c crypto event lzma pthread ssl z
 
 MASTER_SITES=	http://links.twibright.com/download/
 
@@ -27,13 +26,18 @@ FLAVORS=	no_x11
 FLAVOR?=
 
 .if !${FLAVOR:Mno_x11}
+MODULES+=	devel/gettext
 LIB_DEPENDS+=	graphics/jpeg \
 		graphics/png \
-		graphics/tiff
+		graphics/tiff \
+		x11/gnome/librsvg
 CONFIGURE_ARGS+= --with-x --enable-graphics
-WANTLIB+=	X11 jpeg=62 m png=2 tiff=35
+WANTLIB += X11 cairo gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0
+WANTLIB += jpeg m png rsvg-2 tiff
 MESSAGE=	${PKGDIR}/MESSAGE.x11
 .endif
+
+MAKE_FLAGS=	CFLAGS=${CFLAGS} -DEVENT_DEPRECATED
 
 NO_TEST=	Yes
 
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.27
diff -u -p -r1.27 distinfo
--- distinfo	1 Jan 2015 15:19:49 -	1.27
+++ distinfo	16 Jul 2015 14:23:22 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.9.tar.gz) = 4tThk+sxR/DXReKNN9UQ7bIml3B+Mpy+Nhu3kDe64zI=
-SIZE (links-2.9.tar.gz) = 4543241
+SHA256 (links-2.10.tar.gz) = KMhy3qCx9Z998/rSgs84CFHJIUMEVRMQcFp4YNTMd+g=
+SIZE (links-2.10.tar.gz) = 6859714
Index: patches/patch-html_c
===
RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.14
diff -u -p -r1.14 patch-html_c
--- patches/patch-html_c	1 Jan 2015 15:19:49 -	1.14
+++ patches/patch-html_c	16 Jul 2015 14:23:22 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-html_c,v 1.14 2015/01/01 15:19:49 bcallah Exp $
 html.c.orig	Sun Dec  7 13:39:00 2014
-+++ html.c	Fri Dec 26 11:41:31 2014
-@@ -981,6 +981,7 @@ static void html_a(unsigned char *a)
+--- html.c.orig	Thu May 28 08:12:02 2015
 html.c	Thu Jul 16 09:07:46 2015
+@@ -970,6 +970,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: patches/patch-https_c
diff -N patches/patch-https_c
--- patches/patch-https_c	19 Apr 2014 14:43:49 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,17 +0,0 @@
-$OpenBSD: patch-https_c,v 1.1 2014/04/19 14:43:49 bcallah Exp $
 https.c.orig	Sat Apr 19 10:12:04 2014
-+++ https.c	Sat Apr 19 10:12:16 2014
-@@ -36,11 +36,8 @@ SSL *getSSL(void)
- 		unsigned os_pool_size;
- 
- 		const unsigned char *f = (const unsigned char *)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
--		if (f  RAND_egd(cast_const_char f)  0) {
--			/* Not an EGD, so read and write to it */
--			if (RAND_load_file(cast_const_char f_randfile, -1))
--RAND_write_file(cast_const_char f_randfile);
--		}
-+		if (RAND_load_file(cast_const_char f_randfile, -1))
-+			RAND_write_file(cast_const_char f_randfile);
- 
- 		os_seed_random(os_pool, os_pool_size);
- 		if (os_pool_size) RAND_add(os_pool, os_pool_size, os_pool_size);


Re: UPDATE: www/links+ 2.8 = 2.9

2014-12-30 Thread Brian Callahan

On 12/26/14 12:09, Brian Callahan wrote:
 Hi ports --

 Christmas this year brings us multiple text-based browser updates.
 Here's a diff for links+
 Changelog is here:
 http://links.twibright.com/download/ChangeLog

 Also reap some things that don't matter any more: upstream provides a
 proper configure file and there's no more SDL option.

 Works well on amd64 and i386.

 OK?

 ~Brian


I have user reports of this working ok. Will commit in a day or two if I
don't hear anything.



Re: UPDATE: www/links+ 2.8 = 2.9

2014-12-29 Thread dienadel

Works well on amd64 and i386.

Been using it on amd64 and zaurus.  I couldn't apply the diff against 
the latest snapshot ports tarball, but I think it has to do with how I 
grabbed the diff from email.

Tim.



UPDATE: www/links+ 2.8 = 2.9

2014-12-26 Thread Brian Callahan

Hi ports --

Christmas this year brings us multiple text-based browser updates. 
Here's a diff for links+

Changelog is here:
http://links.twibright.com/download/ChangeLog

Also reap some things that don't matter any more: upstream provides a 
proper configure file and there's no more SDL option.


Works well on amd64 and i386.

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.51
diff -u -p -r1.51 Makefile
--- Makefile	19 Apr 2014 14:43:49 -	1.51
+++ Makefile	26 Dec 2014 16:58:05 -
@@ -1,31 +1,26 @@
 # $OpenBSD: Makefile,v 1.51 2014/04/19 14:43:49 bcallah Exp $
 
 COMMENT=	graphics and text browser
-
-VER=		2.8
+VER=		2.9
 DISTNAME=	links-${VER}
 PKGNAME=	links+-${VER}
-REVISION=	0
-
 CATEGORIES=	www
 
 HOMEPAGE=	http://links.twibright.com/
-
 MAINTAINER=	Brian Callahan bcal...@openbsd.org
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=	bz2=10 c crypto lzma m ssl z
+WANTLIB=	bz2 c crypto lzma m ssl z
 
 MASTER_SITES=	http://links.twibright.com/download/
 
 LIB_DEPENDS=	archivers/bzip2 \
 		archivers/xz
 
-AUTOCONF_VERSION=2.13
-CONFIGURE_STYLE= autoconf
-CONFIGURE_ARGS+= --with-ssl --without-sdl
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --with-ssl
 USE_GROFF =	Yes
 
 FLAVORS=	no_x11
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.26
diff -u -p -r1.26 distinfo
--- distinfo	22 Oct 2013 16:50:39 -	1.26
+++ distinfo	26 Dec 2014 16:58:05 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.8.tar.gz) = UHCnWa9/EHyk+VcoM7jwhs2ffCHvXh/OhIKiiDp0PHo=
-SIZE (links-2.8.tar.gz) = 4533116
+SHA256 (links-2.9.tar.gz) = 4tThk+sxR/DXReKNN9UQ7bIml3B+Mpy+Nhu3kDe64zI=
+SIZE (links-2.9.tar.gz) = 4543241
Index: patches/patch-html_c
===
RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.13
diff -u -p -r1.13 patch-html_c
--- patches/patch-html_c	22 Oct 2013 16:50:39 -	1.13
+++ patches/patch-html_c	26 Dec 2014 16:58:05 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-html_c,v 1.13 2013/10/22 16:50:39 bcallah Exp $
 html.c.orig	Tue Oct 22 01:26:16 2013
-+++ html.c	Tue Oct 22 01:27:45 2013
-@@ -961,6 +961,7 @@ static void html_a(unsigned char *a)
+--- html.c.orig	Sun Dec  7 13:39:00 2014
 html.c	Fri Dec 26 11:41:31 2014
+@@ -981,6 +981,7 @@ static void html_a(unsigned char *a)
  			format_.target = stracpy(format_.target_base);
  		}
  		/*format_.attr ^= AT_BOLD;*/


UPDATE: www/links+ 2.7=2.8

2013-10-22 Thread Brian Callahan

Hi ports --

Attached is update for links+ to 2.8
Changelog can be found at:
http://links.twibright.com/download/ChangeLog

Works for me on amd64/loongson/macppc.
Take maintainer too, because why not.

OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.49
diff -u -p -u -p -r1.49 Makefile
--- Makefile	11 Mar 2013 11:44:42 -	1.49
+++ Makefile	22 Oct 2013 15:37:08 -
@@ -2,7 +2,7 @@
 
 COMMENT=	graphics and text browser
 
-VER=		2.7
+VER=		2.8
 DISTNAME=	links-${VER}
 PKGNAME=	links+-${VER}
 
@@ -10,12 +10,14 @@ CATEGORIES=	www
 
 HOMEPAGE=	http://links.twibright.com/
 
+MAINTAINER=	Brian Callahan bcal...@openbsd.org
+
 # GPLv2+
 PERMIT_PACKAGE_CDROM=	Yes
 
 WANTLIB=	bz2=10 c crypto lzma m ssl z
 
-MASTER_SITES=	${HOMEPAGE}download/
+MASTER_SITES=	http://links.twibright.com/download/
 
 LIB_DEPENDS=	archivers/bzip2 \
 		archivers/xz
@@ -33,7 +35,7 @@ LIB_DEPENDS+=	graphics/jpeg \
 		graphics/png \
 		graphics/tiff
 CONFIGURE_ARGS+= --with-x --enable-graphics
-WANTLIB+=	X11 jpeg=62 png=2 pthread-stubs tiff=35 xcb
+WANTLIB+=	X11 jpeg=62 png=2 tiff=35
 MESSAGE=	${PKGDIR}/MESSAGE.x11
 .endif
 
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.25
diff -u -p -u -p -r1.25 distinfo
--- distinfo	5 Jan 2013 11:06:40 -	1.25
+++ distinfo	22 Oct 2013 15:37:08 -
@@ -1,2 +1,2 @@
-SHA256 (links-2.7.tar.gz) = L/T0v6XuHRHV4u7TkxGCTWWqBhDaY7Ir9LFHk8j0iqU=
-SIZE (links-2.7.tar.gz) = 4258441
+SHA256 (links-2.8.tar.gz) = UHCnWa9/EHyk+VcoM7jwhs2ffCHvXh/OhIKiiDp0PHo=
+SIZE (links-2.8.tar.gz) = 4533116
Index: patches/patch-html_c
===
RCS file: /cvs/ports/www/links+/patches/patch-html_c,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 patch-html_c
--- patches/patch-html_c	10 Apr 2012 11:59:44 -	1.12
+++ patches/patch-html_c	22 Oct 2013 15:37:08 -
@@ -1,11 +1,11 @@
 $OpenBSD: patch-html_c,v 1.12 2012/04/10 11:59:44 sthen Exp $
 html.c.orig	Wed Apr  4 22:27:07 2012
-+++ html.c	Tue Apr 10 11:55:43 2012
-@@ -957,6 +957,7 @@ static void html_a(unsigned char *a)
- 			format.target = stracpy(format.target_base);
+--- html.c.orig	Tue Oct 22 01:26:16 2013
 html.c	Tue Oct 22 01:27:45 2013
+@@ -961,6 +961,7 @@ static void html_a(unsigned char *a)
+ 			format_.target = stracpy(format_.target_base);
  		}
- 		/*format.attr ^= AT_BOLD;*/
-+		format.attr |= AT_UNDERLINE;
+ 		/*format_.attr ^= AT_BOLD;*/
++		format_.attr |= AT_UNDERLINE;
  		set_link_attr();
  	} else if (!ev) kill_html_stack_item(html_top);
- 	if ((al = get_attr_val(a, name))) {
+ 	if ((al = get_attr_val(a, cast_uchar name))) {


Re: UPDATE: www/links+ 2.7=2.8

2013-10-22 Thread Juan Francisco Cantero Hurtado
On Tue, Oct 22, 2013 at 11:58:07AM -0400, Brian Callahan wrote:
 Hi ports --
 
 Attached is update for links+ to 2.8
 Changelog can be found at:
 http://links.twibright.com/download/ChangeLog
 
 Works for me on amd64/loongson/macppc.
 Take maintainer too, because why not.
 
 OK?

OK juanfra@

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



UPDATE: www/links+

2012-02-27 Thread Federico G. Schwindt
Update to 2.5. I've kept part of the diff and updated the comment.
Tested on amd64.
Comments? OK?

f.-

Index: Makefile
===
RCS file: /cvs/ports/www/links+/Makefile,v
retrieving revision 1.43
diff -u -p -r1.43 Makefile
--- Makefile21 Jul 2011 18:36:36 -  1.43
+++ Makefile27 Feb 2012 11:19:38 -
@@ -2,10 +2,9 @@
 
 COMMENT=   graphics and text browser
 
-VER=   2.2
+VER=   2.5
 DISTNAME=  links-${VER}
 PKGNAME=   links+-${VER}
-REVISION=  2
 
 CATEGORIES=www
 
Index: distinfo
===
RCS file: /cvs/ports/www/links+/distinfo,v
retrieving revision 1.22
diff -u -p -r1.22 distinfo
--- distinfo10 Oct 2008 23:08:26 -  1.22
+++ distinfo27 Feb 2012 11:19:38 -
@@ -1,5 +1,5 @@
-MD5 (links-2.2.tar.gz) = yZN/ntAGHyZJcxgvhx+2Zw==
-RMD160 (links-2.2.tar.gz) = GDED/bHQu0quRZFRhuduswviT7Q=
-SHA1 (links-2.2.tar.gz) = haemVf9Zn38nP3mZ2H+KEfI+ZKA=
-SHA256 (links-2.2.tar.gz) = CVuudOB+Jb88fgFry7pigBeyAhaBMVsKzStpwvMZHqE=
-SIZE (links-2.2.tar.gz) = 4186804
+MD5 (links-2.5.tar.gz) = LYhbLiYB4ir7AhY0B6n2fw==
+RMD160 (links-2.5.tar.gz) = yQ4g9IVIsZGaMwyYOtbyWhCsX84=
+SHA1 (links-2.5.tar.gz) = +7ey6bHYWYY9STxS9lBqNK7Hu40=
+SHA256 (links-2.5.tar.gz) = n9++Qajcp9PsT9N2lNhSCYcv63YxvQXiWFrV1siZenk=
+SIZE (links-2.5.tar.gz) = 4226809
Index: patches/patch-dip_c
===
RCS file: /cvs/ports/www/links+/patches/patch-dip_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-dip_c
--- patches/patch-dip_c 21 Jul 2011 18:36:36 -  1.1
+++ patches/patch-dip_c 27 Feb 2012 11:19:38 -
@@ -1,17 +1,11 @@
 $OpenBSD: patch-dip_c,v 1.1 2011/07/21 18:36:36 jasper Exp $
 
 From John Bowler jbow...@acm.org via NetBSD pkg/44940:
-It's two bugs: one, the obvious one, in the two calls to
-png_set_rgb_to_gray() in dip.c; that should be *DIVIDED* by 256,
-not multiplied!
-   

 
-The other is that there is *NO* error handling, no call to setjmp();
+
+There is *NO* error handling, no call to setjmp();
 so when png_error is called the call stack ends up destroyed and,
 apparently, the program dies in create_read_struct_2, right after
 the comment that explains why libpng is about to call abort() ;-)
-   

 
-The attached patch fixes both problems, but links will still error
-out on a png_error (just with an OOM message, not an abort()).
 
 --- dip.c.orig Sat Jul  7 23:23:39 2007
 +++ dip.c  Thu Jul 21 20:31:14 2011
@@ -24,21 +18,3 @@ out on a png_error (just with an OOM mes
info_ptr=png_create_info_struct(png_ptr);
png_set_read_fn(png_ptr,work,(png_rw_ptr)read_stored_data);
png_read_info(png_ptr, info_ptr);
-@@ -1462,7 +1464,7 @@ unsigned char *png_data, int png_length, struct style 
-   if (color_type==PNG_COLOR_TYPE_PALETTE){
-   png_set_expand(png_ptr);
- #ifdef HAVE_PNG_SET_RGB_TO_GRAY
--  png_set_rgb_to_gray(png_ptr,1,54.0*256,183.0*256);
-+  png_set_rgb_to_gray(png_ptr,1,54.0/256,183.0/256);
- #else
-   goto end;
- #endif
-@@ -1473,7 +1475,7 @@ unsigned char *png_data, int png_length, struct style 
-   if (color_type==PNG_COLOR_TYPE_RGB ||
-   color_type==PNG_COLOR_TYPE_RGB_ALPHA){
- #ifdef HAVE_PNG_SET_RGB_TO_GRAY
--  png_set_rgb_to_gray(png_ptr, 1, 54.0*256, 183.0*256);
-+  png_set_rgb_to_gray(png_ptr, 1, 54.0/256, 183.0/256);
- #else
-   goto end;
- #endif
Index: patches/patch-png_c
===
RCS file: patches/patch-png_c
diff -N patches/patch-png_c
--- patches/patch-png_c 8 Jul 2011 20:38:01 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,42 +0,0 @@
-$OpenBSD: patch-png_c,v 1.1 2011/07/08 20:38:01 naddy Exp $
-
-Fix build with png-1.5.
-
 png.c.orig Wed Jul  6 11:27:06 2011
-+++ png.c  Wed Jul  6 11:28:03 2011
-@@ -48,7 +48,7 @@ void img_my_png_warning(png_structp a, png_const_charp
- /* Error for from-web PNG images. */
- void img_my_png_error(png_structp png_ptr, png_const_charp error_string)
- {
--  longjmp(png_ptr-jmpbuf,1);
-+  png_longjmp(png_ptr,1);
- }
- 
- void png_info_callback(png_structp png_ptr, png_infop info_ptr)
-@@ -203,7 +203,7 @@ void png_start(struct cached_image *cimg)
- #ifdef DEBUG
-   if (!info_ptr) internal (png_create_info_struct failed\n);
- #endif /*