Created attachment 209710 [details]
Upgrade www/caddy from vO.11.5 to v1.0.4
Test it on my FreeBSD 12.1-RELEASE-p1 GENERIC amd64, works fine.
Just `caddy -version` show unknown
It looks like I need to do some more modifications to get `caddy --version` to work: https://github.com/caddyserver/caddy/issues/2875
Although it is maybe worth noting that the current version of the port prints this:
`Caddy (untracked dev build) (unofficial)`
Created attachment 209947 [details]
Fixes the `caddy --version` issue.
(In reply to Shawn Wilsher from comment #4)
I've got an error:
make: "/usr/ports/www/caddy/Makefile" line 35: Need an operator
Created attachment 209988 [details]
now with unix newlines
I'm uploading this on Windows, and was silly and did a copy and paste to get the diff onto the machine from my FreeBSD machine. This time I've used scp.
Rewrite by hand and test. Successfull
Created attachment 210417 [details]
(In reply to Shawn Wilsher from comment #6)
The patch is a good start but it's incomplete - it won't build in poudriere because upstream switched to go modules and doesn't vendor dependencies anymore.
The attached patch fixes this and also unbreaks the build on aarch64 (https://github.com/caddyserver/caddy/pull/2956)
Ah, I hadn't caught that since poudriere wasn't part of the steps in the porter's handbook. Thanks for catching and updating, Dmitri!
A commit references this bug:
Date: Mon Jan 6 12:05:57 UTC 2020
New revision: 522216
www/caddy: Update to 1.0.4
- While here, unbreak on aarch64 (https://github.com/caddyserver/caddy/pull/2956)
Submitted by: Shawn Wilsher <firstname.lastname@example.org>
Reviewed by: GremL1N <email@example.com>, dmgk
Approved by: maintainer timeout (firstname.lastname@example.org, 1 month)
Committed, thanks everyone.