On 2023/02/14 21:30:02 +0100, Laurent Cheylus <f...@free.fr> wrote:
> Hi,
> 
> update for net/headscale to the latest version 0.20.0
> 
> Changelog for major version 0.20.0 : 
> https://github.com/juanfont/headscale/releases/tag/v0.20.0
> 
> - Update Makefile to install only headscale binary in ${PREFIX}/bin

that's because now there's a cmd/gh-action-integration-generator and
go.port.mk tries to be smart and build everything under
cmd/... (ignoring ALL_TARGET)

instead of overriding do-install another option would be to use a
do-build like:

do-build
        cd ${WRKSRC} && ${MODGO_BUILD_TARGET}

like devel/go-tools does.  would avoid building extra stuff not
needed.  (granted, in this case gh-action-integration-generator is
small and doesn't introduce dependencies.)

> - Update pkg/MESSAGE and pkg/README for modification in version 0.19.0 
> (keyword Namespace replaced by User), see 
> https://github.com/juanfont/headscale/releases/tag/v0.19.0

MESSAGE is only showed at package install time.  If backing up the
database before the update is not an usual step, I'd move that to
current.html.

other that that, diff looks fine and builds for me, but haven't tested
since I don't use it, was just curious about the custom do-build.


Reply via email to