1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/www/caddy/Makefile
Adam Weinberger 8ad46e2fad www/caddy: Update to 2.4.1
Changes:

  A small patch release that contains a few noncritical but pleasant
  fixes (unless you're using /id/ endpoints in the admin API; then you
  should definitely get this update).

  admin: Reinstate internal redirect for /id/ requests
  caddyfile: Add parse error on site address with trailing {
  cmd: upgrade: inherit the permissions of the original executable
  httpcaddyfile: Fix automation policy consolidation again
  logging: Implement dial timeout for net writer
  reverseproxy: Set the headers in the replacer before handle_response
2021-05-20 09:10:58 -04:00

32 lines
702 B
Makefile

# Created by: fabian.freyer@physik.tu-berlin.de
PORTNAME= caddy
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.1
CATEGORIES= www
DIST_SUBDIR= caddy
MAINTAINER= adamw@FreeBSD.org
COMMENT= Fast, cross-platform HTTP/2 web server with automatic HTTPS
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss
USES= go:modules
GO_MODULE= github.com/caddyserver/caddy/v2
GO_TARGET= ./cmd/caddy
USE_RC_SUBR= caddy
SUB_FILES= Caddyfile.sample caddy pkg-message
PLIST_FILES= bin/${PORTNAME} \
"@sample ${ETCDIR_REL}/Caddyfile.sample"
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKDIR}/Caddyfile.sample ${STAGEDIR}${ETCDIR}
.include <bsd.port.mk>