Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FreeBSD Compile Problems #1396

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open

Fix FreeBSD Compile Problems #1396

wants to merge 24 commits into from

Conversation

kjake
Copy link

@kjake kjake commented Jan 20, 2025

Since a new network diagnostic was introduced at the end of November 2024, it has not been possible to build cloudflared for FreeBSD.

The changes included here correct this oversight while also including a FreeBSD-centric change from #1291, correcting an issue in its proposed change (forgetting to import "github.com/cloudflare/cloudflared/cmd/cloudflared/cliutil").

This likely fixes other *bsd flavors, but testing was only carried out on FreeBSD 14.1, amd64.
A nearly final build is available for testing, attached to the last commit that still included the workflow definition.

https://github.com/kjake/cloudflared/actions/runs/12876426294

kjake added 24 commits January 19, 2025 13:05
Include changes from micah-yeager:master
Attempting automated FreeBSD builds
Fix for VCS stamping
ensure dependancies are met
Re-target FreeBSD 14.1
Debug environment vars
Enable CGO builds
trying to solve `go build` issues
Making sure that go modules are current
Get go deps in the correct context
Test build against our fork before opening a PR against the origin
Aligns slightly more with the linux flavor
Paring down to what should be necessary, but likely won't build in this state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant