c21e8755b8
0.10.10 ------- - Removed Caddy-Sponsors header - New 'on' directive that deprecates 'startup' and 'shutdown' - Changed CASE_SENSITIVE_PATH default to false - fastcgi: Support for SRV upstreams - redir: Rules with if statements are not checked for duplicates - Several minor bug fixes 0.10.9 ------ - EULA bundled with official binaries - Caddy-Sponsors header to indicate personal-use license - proxy: Support for QUIC backends - templates: Write proper status code if proxied - tls: Fix bug related to cert renewals 0.10.8 ------ This is mainly a security release, with a couple other bug fixes (see commit history for details on those). This release fixes issue #1859. Previously, Caddy would not compress/merge multiple consecutive forward slashes in the URL for comparisons, causing certain comparisons to fail falsely not because of technical correctness, but rather semantic correctness (i.e. it depends on what is using the path, but most often, file systems will annoyingly collapse multiple slashes). Now, Caddy's path matching behaves similar to NGINX's location block if merge_slashes is enabled. Caddy now merges slashes by default when comparing paths using Go's path.Clean(), which also evaluates .. in paths to ensure equivalence on a semantic level.
27 lines
640 B
Makefile
27 lines
640 B
Makefile
# $NetBSD: Makefile,v 1.4 2018/01/09 20:55:12 bsiegert Exp $
|
|
|
|
DISTNAME= caddy-${GITHUB_TAG:S/v//}
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mholt/}
|
|
GITHUB_TAG= v0.10.10
|
|
|
|
MAINTAINER= bsiegert@NetBSD.org
|
|
HOMEPAGE= ${MASTER_SITE_GITHUB:=mholt/caddy/}
|
|
COMMENT= General-purpose web server
|
|
LICENSE= apache-2.0
|
|
|
|
GO_DIST_BASE= ${DISTNAME}
|
|
GO_SRCPATH= github.com/mholt/caddy
|
|
GO_BUILD_PATTERN= ${GO_SRCPATH}/caddy
|
|
|
|
CHECK_RELRO_SKIP+= bin/caddy
|
|
|
|
EXTRACT_USING= bsdtar
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKDIR}/bin/caddy ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/go/go-package.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|