Created attachment 215319 [details] patch
hi Mikael, how are things? thanks for sharing this patch here. appreciated! I have just a little concern here: wouldn't be recommended to just use newer versions of golang/net and golang/sys for that? don't they solve our problem? also, this particular port is still marked with limited permissions, regarding license. I did wrote to upstream already, asking for an OK to allow us to regerate te pkg and stuff - still waiting.
(In reply to Vinícius Zavam from comment #1) Hi! cloudflared ships an old version of golang.org/x/{sys, net}, it'll be hard to update it (cloudflared should either update its vendor tree or stop shipping it)
(In reply to Mikael Urankar from comment #2) that's a good point indeed; so we can update that dependency instead of patching more stuff. right? - which should be doe upstream. do you have any PR on their repo already?
https://github.com/cloudflare/cloudflared/issues/217
fixed in: https://github.com/cloudflare/cloudflared/releases/tag/2020.7.1
awesome stuff! thanks; I am about to patch it an land direct the '2020.7.4' in ports :) write you back with the commit log hook
A commit references this bug: Author: egypcio Date: Sun Aug 2 11:15:47 UTC 2020 New revision: 543945 URL: https://svnweb.freebsd.org/changeset/ports/543945 Log: net/cloudflared: fix build on aarch64, and update to 2020.7.4 fixed PR 247047; patch must land in upstream's source (refer to its GRANT OF RIGHTS) while here, update 2020.7.0 to 2020.7.4; raw.githubusercontent.com/cloudflare/cloudflared/2020.7.4/RELEASE_NOTES PR: 247047 Reported by: mikael@ Obtained from: https://github.com/cloudflare/cloudflared/commit/a99780e Changes: head/net/cloudflared/Makefile head/net/cloudflared/distinfo
committed! thank you again :)