Re: unbreak and update dnscrypt-proxy 2.1.5

2023-08-11 Thread Theo Buehler
On Fri, Aug 11, 2023 at 01:37:03PM -0700, Nam Nguyen wrote:
> It was marked BROKEN because it broke with the recently updated go
> 1.21.
> 
> This new 2.1.5 release was specifically made to compile with go 1.21 and
> new quic-go.
> 
> changelog:
> https://github.com/DNSCrypt/dnscrypt-proxy/releases/tag/2.1.5
> 
> I tested basic usage. This feature "New configuration directive:
> tls_key_log_file" is broken because of dropping permissions and creating
> the file with root. I will report upstream.

This keylog feature spreads like a cancer... There are plans to turn it
into an RFC. Amusingly, it underlies the glorious nginx hack to support
QUIC with vanilla OpenSSL (which won't have usable QUIC support anytime
soon.)

ok tb



unbreak and update dnscrypt-proxy 2.1.5

2023-08-11 Thread Nam Nguyen
It was marked BROKEN because it broke with the recently updated go
1.21.

This new 2.1.5 release was specifically made to compile with go 1.21 and
new quic-go.

changelog:
https://github.com/DNSCrypt/dnscrypt-proxy/releases/tag/2.1.5

I tested basic usage. This feature "New configuration directive:
tls_key_log_file" is broken because of dropping permissions and creating
the file with root. I will report upstream.

OK?

Index: Makefile
===
RCS file: /cvs/ports/net/dnscrypt-proxy/Makefile,v
retrieving revision 1.64
diff -u -p -u -p -r1.64 Makefile
--- Makefile10 Aug 2023 07:50:55 -  1.64
+++ Makefile11 Aug 2023 20:04:42 -
@@ -1,9 +1,8 @@
-BROKEN =   The version of quic-go you're using can't be built on Go 1.21 
yet.
 COMMENT =  flexible DNS proxy with support for encrypted DNS protocols
 
 GH_ACCOUNT =   jedisct1
 GH_PROJECT =   dnscrypt-proxy
-GH_TAGNAME =   2.1.4
+GH_TAGNAME =   2.1.5
 
 CATEGORIES =   net
 
Index: distinfo
===
RCS file: /cvs/ports/net/dnscrypt-proxy/distinfo,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 distinfo
--- distinfo28 Feb 2023 20:33:19 -  1.36
+++ distinfo11 Aug 2023 20:04:42 -
@@ -1,2 +1,2 @@
-SHA256 (dnscrypt-proxy-2.1.4.tar.gz) = 
BfCj6Mj0icr5WRnip1oexFmO3TQo0rndNXyrpq2yYH0=
-SIZE (dnscrypt-proxy-2.1.4.tar.gz) = 6897787
+SHA256 (dnscrypt-proxy-2.1.5.tar.gz) = 
BExNuaPHvc+Ib/j4PEsTfS/TemVHepK/6Gv2lYfqc1U=
+SIZE (dnscrypt-proxy-2.1.5.tar.gz) = 4065395