[Bug 273817] net/xapsd: Fails to parse HTTP header and exits when using Go 1.20, should use 1.19

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Sep 2023 10:35:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273817

            Bug ID: 273817
           Summary: net/xapsd: Fails to parse HTTP header and exits when
                    using Go 1.20, should use 1.19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: me@ianmcdowell.net
                CC: PopularMoment@protonmail.com
             Flags: maintainer-feedback?(PopularMoment@protonmail.com)
                CC: PopularMoment@protonmail.com

This port relies on go:module, which is currently using Go version 1.20. When
using that version of Go, the xapsd daemon is not able to request a certificate
and exits with an error.

Go 1.20 broke parsing an HTTP header returned from the Apple server used for
push certificates.

For details, see this issue in their project:
https://github.com/freswa/dovecot-xaps-daemon/issues/24

I was able to get the daemon working by setting the USES line in the Makefile
to the following:
USES=           go:1.19,modules

-- 
You are receiving this mail because:
You are the assignee for the bug.