Bug 273767 - security/headscale: update to 0.22.3
Summary: security/headscale: update to 0.22.3
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL: https://github.com/juanfont/headscale...
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2023-09-13 20:36 UTC by R. Christian McDonald
Modified: 2024-05-15 14:50 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (m.muenz)


Attachments
security/headscale: update to 0.22.3 (3.41 KB, patch)
2023-09-13 20:36 UTC, R. Christian McDonald
no flags Details | Diff
Bump headscale version to 0.22.3, fix missing directory, fix config (3.44 KB, patch)
2024-05-15 14:37 UTC, Filias Heidt
no flags Details | Diff
bump headscale version (3.76 KB, patch)
2024-05-15 14:50 UTC, Filias Heidt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R. Christian McDonald 2023-09-13 20:36:10 UTC
Created attachment 244816 [details]
security/headscale: update to 0.22.3
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-09-22 08:19:02 UTC
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir /var/lib
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Can you have a look?
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2023-10-04 06:47:13 UTC
Timeout from maintainer and OP.
Comment 3 R. Christian McDonald 2023-10-04 15:35:02 UTC
Hey, thanks for the nudge. I'm back on this looking at the pkg-plist issue.
Comment 4 FiLiS 2024-02-15 11:09:13 UTC
is there anything we can help with? Would be really cool to be able to use headscale on FreeBSD
Comment 5 Fernando Apesteguía freebsd_committer freebsd_triage 2024-02-17 19:02:47 UTC
(In reply to FiLiS from comment #4)
The patch should be fixed :-)
Comment 6 Filias Heidt 2024-05-15 14:37:48 UTC
Created attachment 250680 [details]
Bump headscale version to 0.22.3, fix missing directory, fix config

This Patch works fine for us. Instead of relying on /var/lib/headscale we choose to patch the sample-config to use /var/db/headscale for the noise.private.key, analogous to the private.key. That fixes the plist issue, because /var/lib/headscale is no longer used.

Additionally there is now a `-c` flag for `headscale serve` which enables us to pass the config-file directly.
Comment 7 Filias Heidt 2024-05-15 14:50:02 UTC
Created attachment 250681 [details]
bump headscale version

This patch also does no longer patch the utils.go. That is no longer neccessary as we can pass the path to the config file directly.

I favour this option, as it removes the need to keep track of how and where upstream decides to search for config files by default.