Port details |
- caddy-custom Caddy (www/caddy) with customized plugins
- 2.6.4.3.0.3.2.1_6 www
=0 Version of this port present on the latest quarterly branch. - Maintainer: adamw@FreeBSD.org
 - Port Added: 2022-10-06 21:30:45
- Last Update: 2023-03-11 19:59:20
- Commit Hash: b454684
- License: APACHE20
- 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 automatica 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
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- caddy-custom>0:www/caddy-custom
- Conflicts:
- CONFLICTS_INSTALL:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/www/caddy-custom/ && make install clean
- No package is available: Requires network access (see pkg-descr)
- PKGNAME: there is no package for this port: NO_PACKAGE = Requires network access (see pkg-descr)
- Flavors: there is no flavor information for this port.
- distinfo:
- There is no distinfo for this port.
No package information for this port in our database- Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- xcaddy : www/xcaddy
- go120 : lang/go120
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_caddy-custom
- USES:
- go:no_targets
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
- There is no master site for this port.
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.6.4.3.0.3.2.1_6 11 Mar 2023 19:59:20
    |
Adam Weinberger (adamw)  Author: Pawel Krawczyk |
www/caddy{,-custom}: Fix startup with JSON configuration
Caddy supports a wide number of configuration file formats, including
its built-in "Caddyfile" format, and the "native" format is JSON.
When anything other than the native JSON format is used, caddy needs to
be passed the --adapter [formatname] flag (though it automatically
handles the case where the config filename is Caddyfile). However, as
JSON is the native format, there is no "json" adapter.
The added patch drops the --adapter flag when caddy_adapter is "json".
PR: 270120 |
2.6.4.2.0.3.2.1_5 09 Mar 2023 19:18:07
    |
Dmitri Goutnik (dmgk)  |
all: Bump PORTREVISION after Go ports update |
2.6.4.1.0.3.1.8_4 15 Feb 2023 19:06:01
    |
Dmitri Goutnik (dmgk)  |
all: Bump PORTREVISION after lang/go{119,120} update |
2.6.3.1.0.3.1.7_3 09 Feb 2023 21:55:23
    |
Dmitri Goutnik (dmgk)  |
all: Bump PORTREVISION after GO_DEFAULT update. |
2.6.2.2.0.3.1.6_2 14 Jan 2023 11:31:17
    |
Dmitri Goutnik (dmgk)  |
all: Bump PORTVERSION after lang/go{118,119} update |
2.6.2.1.0.3.1.5_1 11 Dec 2022 11:17:27
    |
Dmitri Goutnik (dmgk)  |
all: Bump PORTREVISION after lang/go{118,119} update |
2.6.1.4.0.3.1.4 06 Oct 2022 22:11:37
    |
Adam Weinberger (adamw)  |
www/caddy-custom: Fix path to Caddyfile |
2.6.1.4.0.3.1.4 06 Oct 2022 21:50:12
    |
Adam Weinberger (adamw)  |
www/caddy-security: Hook to the build and mark NO_PACKAGE
Unhooked ports get removed by a reaper script. |
2.6.1.4.0.3.1.4 06 Oct 2022 21:27:34
    |
Adam Weinberger (adamw)  |
www/caddy-custom: Add port
This port allows you to build a version of the caddy webserver
using whichever plugins you desire. To do so, it uses the
official build mechanism, xcaddy (from the www/xcaddy port).
However, this requires network access.
To use this port, you'll need to add
ALLOW_NETWORKING_PACKAGES="caddy-custom" to your poudriere.conf.
Make really really REALLY sure you understand the implications
of doing this. If you use xcaddy, then there really isn't any
other actual implication, but I'm using my scary voice to
discourage people from shooting themselves in the foot. |