Sat Feb 16 19:20:53 2019 UTC ()
Update caddy to 0.11.4.

0.11.4 (February 15, 2019)

  * New -json-to-caddyfile and -caddyfile-to-json flags
  * Fix leaking logging goroutine on SIGUSR1
  * basicauth: Error is logged when authentication fails
  * proxy: Fix bug by re-adding pre-existing trailing slashes
  * tls: Fix bug related to certificate storage path

0.11.3 (February 5, 2019)

  * New {server_port} placeholder
  * New third-party plugin: extauth
  * New flags -log-roll-mb and -log-roll-compress
  * basicauth: Bypass for OPTIONS method
  * errors/log: Ability to disable log rolling
  * proxy: New subdirective 'ca_certificates'
  * staticfiles: Require GET method to serve static files
  * tls: Fixes to self-signed certs, IP certs, email prompts, & more
  * SOLVED REGRESSIONS: #2356, #2414
  * A number of other important fixes and improvements

0.11.2 (January 16, 2019)

  * Extracted automagic TLS code into CertMagic library
  * Add support for new clustering plugins
  * New placeholder: '{when_iso_local}'
  * New third-party plugins: s3browser, filebrowser
  * Removed third-party plugins: jekyll, hugo
  * bind: Support multiple interface values
  * import: Can now be used within directive blocks
  * proxy: Status 499 when clients close connection early
  * templates: No longer emit ETag and Last-Modified headers
  * tls: Support for the ACME TLS-ALPN-01 challenge
  * KNOWN/UNRESOLVED REGRESSIONS: #2356, #2414
  * Several bug fixes and minor improvements

0.11.0

This release has been about 6 months in the making! Featuring an integrated
telemetry client, you can now view stats about your Caddy instance and
contribute to Internet research. Telemetry is entirely optional. Read the blog
post and telemetry docs for more information, and check out our global stats!
You can also look up details about your own instances there.

Full change list:

  * Built with Go 1.10.2
  * Integrated optional telemetry client
  * proxy: Fixed file descriptor leak

0.10.14

  * tls: Fix error handling bug when obtaining certificates

0.10.13

Caddy 0.10.13 is a minor release that fixes security flaws in TLS client
authentication and On-Demand TLS. It is recommended that everyone relying on
these capabilities upgrade. This release also has bug fixes for the Caddyfile
parser (caught by fuzzing) and handling errors when a certificate could not be
obtained via ACME.

Do not use this version, it cannot obtain certificates due to a bug. Version
0.10.14 fixed this.

Change list:

  * New third-party plugin: supervisor
  * Updated QUIC
  * proxy: Fix transparent pass-thru of X-Forwarded-For
  * proxy: Configurable timeout to upstream
  * rewrite: Now supports regular expressions on single-line
  * tls: StrictHostMatching mode to prevent client auth bypass
  * tls: Disable client auth when using QUIC
  * tls: Require same client auth cert pools per hostname
  * tls: Prevent On-Demand TLS directory traversal
  * tls: Fix empty files when using ACME fails to obtain cert
  * Fixed test broken by 1.1.1.1 resolving
  * Improved Caddyfile parser robustness by fuzzing

0.10.12

This release brings ACMEv2 and wildcard certificate support!

Read the release announcement blog post for details. There's some things in
there you should know, including a description of how some really cool features
work.

Thanks to everyone who contributed to this release!

Change list:

  * Switch to Let's Encrypt ACMEv2 production endpoint
  * Support for automated wildcard certificates
  * Support distributed solving of HTTP-01 challenge
  * New {labelN}, {tls_cipher}, and {tls_version} placeholders
  * Curly braces can now be escaped when not used as placeholders
  * New third-party plugin: geoip
  * Updated QUIC
  * fastcgi: Add SSL_CIPHER and SSL_PROTOCOL environment variables
  * log: New 'except' subdirective to exempt paths from logging
  * startup/shutdown: Removed in favor of 'on'
  * tls: Default minimum version is TLS 1.2
  * tls: Revert to fallback cert if no cert matches SNI
  * tls: New 'wildcard' subdirective to force automated wildcard cert
  * Several significant bug fixes and improvements!


(bsiegert)
diff -r1.11 -r1.12 pkgsrc/www/caddy/Makefile
diff -r1.4 -r1.5 pkgsrc/www/caddy/distinfo

cvs diff -r1.11 -r1.12 pkgsrc/www/caddy/Makefile (expand / switch to unified diff)

--- pkgsrc/www/caddy/Makefile 2019/01/24 10:00:45 1.11
+++ pkgsrc/www/caddy/Makefile 2019/02/16 19:20:52 1.12
@@ -1,20 +1,19 @@ @@ -1,20 +1,19 @@
1# $NetBSD: Makefile,v 1.11 2019/01/24 10:00:45 bsiegert Exp $ 1# $NetBSD: Makefile,v 1.12 2019/02/16 19:20:52 bsiegert Exp $
2 2
3DISTNAME= caddy-${GITHUB_TAG:S/v//} 3DISTNAME= caddy-${GITHUB_TAG:S/v//}
4PKGREVISION= 5 
5CATEGORIES= www 4CATEGORIES= www
6MASTER_SITES= ${MASTER_SITE_GITHUB:=mholt/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=mholt/}
7GITHUB_TAG= v0.10.11 6GITHUB_TAG= v0.11.4
8 7
9MAINTAINER= bsiegert@NetBSD.org 8MAINTAINER= bsiegert@NetBSD.org
10HOMEPAGE= ${MASTER_SITE_GITHUB:=mholt/caddy/} 9HOMEPAGE= ${MASTER_SITE_GITHUB:=mholt/caddy/}
11COMMENT= General-purpose web server 10COMMENT= General-purpose web server
12LICENSE= apache-2.0 11LICENSE= apache-2.0
13 12
14GO_DIST_BASE= ${DISTNAME} 13GO_DIST_BASE= ${DISTNAME}
15GO_SRCPATH= github.com/mholt/caddy 14GO_SRCPATH= github.com/mholt/caddy
16GO_BUILD_PATTERN= ${GO_SRCPATH}/caddy 15GO_BUILD_PATTERN= ${GO_SRCPATH}/caddy
17 16
18CHECK_RELRO_SKIP+= bin/caddy 17CHECK_RELRO_SKIP+= bin/caddy
19 18
20EXTRACT_USING= bsdtar 19EXTRACT_USING= bsdtar

cvs diff -r1.4 -r1.5 pkgsrc/www/caddy/distinfo (expand / switch to unified diff)

--- pkgsrc/www/caddy/distinfo 2018/03/14 08:41:32 1.4
+++ pkgsrc/www/caddy/distinfo 2019/02/16 19:20:52 1.5
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.4 2018/03/14 08:41:32 bsiegert Exp $ 1$NetBSD: distinfo,v 1.5 2019/02/16 19:20:52 bsiegert Exp $
2 2
3SHA1 (caddy-0.10.11.tar.gz) = 15ab2233756a474ced6a78ef43b1420e5ce717d0 3SHA1 (caddy-0.11.4.tar.gz) = e03d7c9190f5c27b94731d3fdb61b5f440a07af3
4RMD160 (caddy-0.10.11.tar.gz) = 00c14040065168bdf0e1e4cea36872d990d386ff 4RMD160 (caddy-0.11.4.tar.gz) = 56af7fc1841027c87f65ce5c3a09b0d1dd5e09ab
5SHA512 (caddy-0.10.11.tar.gz) = 03539ae59f654d56ad0b441e7f67eb51135b1ffd539f9eb5953445089e72d3eab905ad9b08b001ef27e5054b760887a898b89ea85b48b4f852398b073e6e4924 5SHA512 (caddy-0.11.4.tar.gz) = 463c1e570292c042ffc959c2bf0c20df55477843deeef2f782030fe681ab8c5317505fdb00659662d52ffc8a56b5b1a7b7e6fc72b7f737d4950331ac781f239a
6Size (caddy-0.10.11.tar.gz) = 2860871 bytes 6Size (caddy-0.11.4.tar.gz) = 5789395 bytes