BSD Ports

www/caddy-custom 2.11.7.2.0.4.7.4_2 FreeBSD

Caddy (www/caddy) with customized plugins

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
APACHE20
Categories
www

Description

This port will build a customized version of the caddy webserver using plugins of your choice. You will need to rebuild this port manually if one of your plugins gets updated.

Caddy is a high-performance webserver with a simple config format, out-of-the-box HTTP/3 support, and automatic transparent ACME certificate provisioning.

NOTE: THIS PORT BYPASSES EVERY SINGLE ONE OF FREEBSD'S CHECKSUM- BASED DISTFILE TAMPERING DETECTION MECHANISMS. USE THIS AT YOUR OWN PERIL (though the peril is exactly the same as using the xcaddy port).

To make this work:

  1. In /usr/local/etc/poudriere.conf, add the following:

    ALLOW_NETWORKING_PACKAGES="caddy-custom"

    You can skip this step if you're not building in poudriere.

  2. Put your plugin list into make.conf (or /usr/local/etc/poudriere.conf/make.conf):

    .if ${.CURDIR:M*/www/caddy-custom*} CADDY_CUSTOM_PLUGINS= github.com/caddy-dns/rfc2136 github.com/greenpau/caddy-security .endif

    If you have any other xcaddy build flags you want to set, put them in XCADDY_ENV.

  3. Profit

In the other systems

SystemPortVersion
FreeBSDwww/caddy-custom2.11.7.2.0.4.7.4_2
OPNsensewww/caddy-custom2.11.4.0.0.4.5.13_18

Install

Binary package:

pkg install caddy-custom

From the ports tree:

cd /usr/ports/www/caddy-custom/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	caddy-custom>0:www/caddy-custom

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-----
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest--n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
go:no_targets
Service scripts
caddy
Conflicts with
caddy

Files

No file lists for this port.

Commit history 7

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
b5d08d8397 Adam Weinberger www/caddy-custom: Fix build with BUILD_AS_NON_ROOT=yes
Two fixes: 1. Establish a GOCACHE and GOPATH for BUILD_AS_NON_ROOT so it doesn't try to use /nonexistant/go (patch by Brad Ackerman). 2. Reset PORTREVISION (Vick Khera). I added a note in caddy/Makefile so maybe I'll remember in the future. PR: 295182
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7

The latest 5 of 7 in the history this site was built from.