Bug 249916 - www/caddy - update to 2.2.0
Summary: www/caddy - update to 2.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL: https://github.com/caddyserver/caddy/...
Keywords: buildisok
Depends on:
Blocks: 249099
  Show dependency treegraph
 
Reported: 2020-09-26 13:04 UTC by Daniel Tihanyi
Modified: 2020-10-01 17:57 UTC (History)
3 users (show)

See Also:
fernape: merge-quarterly?


Attachments
Caddy 2.2.0 Update (26.86 KB, patch)
2020-09-26 13:04 UTC, Daniel Tihanyi
daniel.tihanyi: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tihanyi 2020-09-26 13:04:57 UTC
Created attachment 218323 [details]
Caddy 2.2.0 Update

Caddy 2.2.0 is released. The issue with the qtls issue when caddy is compiled with Go 1.15. Release notes (copied from Github):

- Full support for ZeroSSL, a new ACME CA that is a viable alternative to Let's Encrypt. Its ACME endpoint is free to use and might even be a better fit for your deployment depending on your requirements (for example, it does not have tight rate limits and does not require the DNS challenge for wildcard certs). To clarify, ZeroSSL's ACME endpoint is RFC 8555-compliant and was already compatible with Caddy; we just made it easier to use by automating the EAB credentials for your convenience.
- We now have full control over our ACME stack! By replacing our previous underlying ACME library (lego) with ACMEz, Caddy can offer:
  - faster config reloads
  - more efficient cert management at scale
  - a more intuitive configuration experience
  - lighter builds
  - structured logs that are consistent with Caddy's other logs (which you have fine-grained control over).
  - (we no longer suffer from the limitations still shared by other lego-based ACME clients)
- Integrated support for Prometheus metrics. We decided that emitting metrics is something the core of the server has to do, rather than only a separate module. We will continue improving this with time. Huge thanks to @hairyhenderson for his skillful contributions.
- HTTP/2 server push has been re-introduced, this time better than it was in Caddy 1.
- Caddyfile enhancements, including:
  - Fully customize certificate issuers from the Caddyfile. Up until now, you could only customize certain parts of the ACME issuer or choose the Internal issuer from the Caddyfile; now you have full control.
  - Named matchers can be defined inside route blocks.
  - Customize log encoders.
  - dns property for issuer subdirective of tls directive that allows full customization of DNS challenge (those providers which support the Caddyfile)
  - Bug fixes
- warning The logfmt log encoder has been deprecated and will be removed. (It is already broken since it does not encode objects, so if you used it you probably stopped using it anyway.)
- Customizable DNS resolver for reverse proxy
- Latest HTTP/3 version
- Numerous bug fixes and other enhancements! Notable bug fixes related to:
  - ACME DNS challenge providers
  - Custom resolvers for the DNS challenge
  - ACME EAB (External Account Binding)
  - Panic recovery
  - Startup time when managing lots of certificates
  - Correct port for active health checks (reverse_proxy module)
  - Windows paths
  - File hiding logic (file_server module)
  - Bidirectional streaming (reverse_proxy module; specifically benefits v2ray use)
  - More consistent, structured error logging when produced from HTTP code in Go's standard library
  - New placeholders and log fields, especially pertaining to TLS, ACME, and HTTP
Comment 1 Daniel Tihanyi 2020-09-26 13:08:27 UTC
This release should solve the issue: 249099
Also disabled CGO so newer package versions won't break the build. This is to avoid issues like: 248547
Comment 2 Automation User 2020-09-26 13:25:43 UTC
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/194842933
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2020-09-30 06:22:12 UTC
^Triage: Bugfix release, merge to quarterly branch.


Thanks!
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2020-10-01 17:50:36 UTC
testbuilds@work
Comment 5 commit-hook freebsd_committer freebsd_triage 2020-10-01 17:57:21 UTC
A commit references this bug:

Author: pi
Date: Thu Oct  1 17:57:06 UTC 2020
New revision: 550853
URL: https://svnweb.freebsd.org/changeset/ports/550853

Log:
  www/caddy: update 2.1.1 -> 2.2.0

  - Full support for ZeroSSL, a new ACME CA that is a viable alternative
    to Let's Encrypt.
  - We now have full control over our ACME stack! By replacing our
    previous underlying ACME library (lego) with ACMEz, Caddy can offer:
    - faster config reloads
    - more efficient cert management at scale
    - a more intuitive configuration experience
    - lighter builds
    - structured logs that are consistent with Caddy's other logs
      (which you have fine-grained control over).
    - (we no longer suffer from the limitations still shared by other
      lego-based ACME clients)
  - Integrated support for Prometheus metrics.
  - HTTP/2 server push has been re-introduced, this time better than it
    was in Caddy 1.
  - Warning: The logfmt log encoder has been deprecated and will be removed.
  - Customizable DNS resolver for reverse proxy
  - Latest HTTP/3 version
  - Numerous bug fixes and other enhancements! Notable bug fixes related to:
    - ACME DNS challenge providers
    - Custom resolvers for the DNS challenge
    - ACME EAB (External Account Binding)
    - Panic recovery
    - Startup time when managing lots of certificates
    - Correct port for active health checks (reverse_proxy module)
    - Windows paths
    - File hiding logic (file_server module)
    - Bidirectional streaming (reverse_proxy module; specifically
      benefits v2ray use)
    - More consistent, structured error logging when produced from
      HTTP code in Go's standard library
    - New placeholders and log fields, especially pertaining to TLS,
      ACME, and HTTP

  PR:		249916, 249099
  Submitted by:	Daniel Tihanyi <daniel.tihanyi@tetragir.com> (maintainer)
  Relnotes:	https://github.com/caddyserver/caddy/releases/tag/v2.2.0

Changes:
  head/www/caddy/Makefile
  head/www/caddy/distinfo
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2020-10-01 17:57:34 UTC
Committed, thanks!