[Bug 279438] www/caddy-custom: xcaddy always builds latest caddy

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 31 May 2024 14:37:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279438

            Bug ID: 279438
           Summary: www/caddy-custom: xcaddy always builds latest caddy
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw@FreeBSD.org
          Reporter: bsdacc@pischem.com
          Assignee: adamw@FreeBSD.org
             Flags: maintainer-feedback?(adamw@FreeBSD.org)

In the Makefile of www/caddy-custom, the version of the paket is tracked from
www/caddy.

Yet, xcaddy is not explicitely told to build the same specific version, so it
will always build latest.

At least it does so in the build environment I have to use.

This makes it hard to maintain a reproducible build since it can change from
one day to the other when a new caddy version releases, like right now with
version 2.8.1.

References:

https://github.com/caddyserver/xcaddy?tab=readme-ov-file#examples

I have patched it here with a quick patch:

https://github.com/opnsense/ports/commit/58e93c8775ffddd9b1720d612d2744620f0a779d

-- 
You are receiving this mail because:
You are the assignee for the bug.