Created attachment 265406 [details] 0.27.1 update Enclosed the patch for 0.27.1, version 0.27 has a breaking change, removing i386 support.
Port require go 1.25: -USES= go:modules +USES= go:1.25,modules
2. Use one MKDIR instead of 3: ${MKDIR} ${STAGEDIR}${ETCDIR} \ ${STAGEDIR}/var/cache/${PORTNAME} \ ${STAGEDIR}/var/db/${PORTNAME}
3. Use ${ETCDIR} instead of ${PREFIX}/etc/${PORTNAME}.
4. -USE_RC_SUBR= headscale -USE_RC_SUBR= ${PORTNAME}
(In reply to Vladimir Druzenko from comment #1) Where do you see this? In all changelogs I can only see "Uses go 1.24".
https://github.com/juanfont/headscale/blob/v0.27.1/go.mod contains line go 1.25.
(In reply to Herbert J. Skuhra from comment #6) But this is already the case for 0.27.0: ===> License BSD3CLAUSE accepted by the user ===> headscale-0.27.0 depends on file: /usr/local/sbin/pkg - found ===> headscale-0.27.0 depends on file: /usr/local/bin/go124 - found => v0.27.0.mod doesn't seem to exist in /usr/ports/distfiles/go/security_headscale/headscale-v0.27.0. => Attempting to fetch https://proxy.golang.org/github.com/juanfont/headscale/@v/v0.27.0.mod v0.27.0.mod 11 kB 1466 kBps 00s => v0.27.0.zip doesn't seem to exist in /usr/ports/distfiles/go/security_headscale/headscale-v0.27.0. => Attempting to fetch https://proxy.golang.org/github.com/juanfont/headscale/@v/v0.27.0.zip v0.27.0.zip 1303 kB 3885 kBps 01s ===> Fetching all distfiles required by headscale-0.27.0 for building ===> Fetching github.com/juanfont/headscale dependencies go: downloading go1.25.0 (freebsd/amd64)
(In reply to Herbert J. Skuhra from comment #7) Ye, this last line: > go: downloading go1.25.0 (freebsd/amd64)
Created attachment 265485 [details] updated 0.27.1 Updated patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=786767ed982249c163633aec972dbf49bf2e2894 commit 786767ed982249c163633aec972dbf49bf2e2894 Author: Michael Muenz <m.muenz@gmail.com> AuthorDate: 2025-11-18 19:33:27 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-11-18 19:33:27 +0000 security/headscale: Update 0.27.0 => 0.27.1 Changelog: https://github.com/juanfont/headscale/releases/tag/v0.27.1 - Replace PORTVERSION with DISTVERSION. - Paramitrize USE_RC_SUBR. - Reduce MKDIR calls. - Use ${ETCDIR} instead of ${PREFIX}/etc/${PORTNAME}. PR: 291006 security/headscale/Makefile | 19 +++++++++++-------- security/headscale/distinfo | 10 +++++----- 2 files changed, 16 insertions(+), 13 deletions(-)
Thanks.