Port details |
- caddy-custom Caddy (www/caddy) with customized plugins
- 2.8.4.4.0.4.2.3_4 www =3 2.8.4.3.0.4.2.3_3Version of this port present on the latest quarterly branch.
- Maintainer: adamw@FreeBSD.org
- Port Added: 2022-10-06 21:30:45
- Last Update: 2024-11-30 22:55:50
- Commit Hash: cc1921f
- People watching this port, also watch:: zbar, isc-cron, monit, cronic
- License: APACHE20
- WWW:
- https://caddyserver.com
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- caddy-custom>0:www/caddy-custom
- Conflicts:
- CONFLICTS_INSTALL:
- 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. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- xcaddy : www/xcaddy
- go121 : lang/go121
- 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.8.4.4.0.4.2.3_4 30 Nov 2024 22:55:50 |
Adam Weinberger (adamw) |
www/caddy, www/caddy-custom: Fix rc(8) instructions
I had 'service enable caddy' instead of 'service caddy enable' in
caddy.in, because I get it wrong so often that I had to write a
wrapper service() function in my shell.
Ludovic submitted a patch for this 5 months ago, but it went into
the same cerebral black hole as the order of service arguments.
PR: 280127
Reported by: Ludovic Hirlimann |
2.8.4.3.0.4.2.3_3 09 Aug 2024 06:24:08 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update |
2.8.4.2.0.4.2.2_2 03 Jul 2024 08:29:54 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update |
2.8.4.1.0.4.2.1_1 15 Jun 2024 09:52:17 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
2.8.4.0.0.4.2.0 10 Jun 2024 11:12:30 |
Jimmy Olgeni (olgeni) |
www/caddy-custom: fix typo in 'caddy.in' |
2.8.1.0.0.4.1.1 01 Jun 2024 02:33:29 |
Adam Weinberger (adamw) |
www/caddy,www/caddy-custom: Update to 2.8.1
Release notes:
https://github.com/caddyserver/caddy/releases/tag/v2.8.0
https://github.com/caddyserver/caddy/releases/tag/v2.8.1 |
2.7.6.6.0.4.0.1_17 13 May 2024 17:56:04 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
2.7.6.5.0.4.0.0_16 01 May 2024 21:12:38 |
Adam Weinberger (adamw) |
www/caddy-custom: Fix descr typo |
2.7.6.5.0.3.5.5_16 15 Apr 2024 08:20:04 |
Ashish SHUKLA (ashish) |
all: Bump after lang/go121 update
MFH: 2024Q2 |
2.7.6.4.0.3.5.4_15 24 Mar 2024 14:29:00 |
Muhammad Moinur Rahman (bofh) |
lang/go: Change DEFAULT to 1.21
PR: 277776
Approved by: portmgr (exp-run) |
2.7.6.3.0.3.5.3_14 11 Feb 2024 10:39:17 |
Ashish SHUKLA (ashish) |
all: Bump PORTREVISION after lang/go* update
PR: 276530 |
2.7.6.2.0.3.5.2_13 21 Jan 2024 13:08:10 |
Adam Weinberger (adamw) Author: Mike Fisher |
www/caddy{,-custom}: chown caddy.log to caddy user/group
We have set caddy.log to root:wheel, which works for the default case
of running caddy as root.
When caddy is run as a non-root users, caddy.log can't actually be
written to. Instead, chown caddy.log to the caddy user/group so that
it can be written to.
PR: 276150 |
2.7.6.1.0.3.5.2_12 17 Jan 2024 11:49:24 |
Adam Weinberger (adamw) |
www/caddy{,-custom}: Fix start/stop with admin API disabled
Caddy largely relies on the admin API for state control, like
start/stop/reload. However, the admin API endpoints are inherently
a security risk.
Although the admin API is enabled by default, many users may choose
to disable it. However, the rc(8) script then needs an alternative
approach to controlling the daemon.
We already sortof supported signal-based control, but it didn't always
work, because there are multiple error messages that indicate that
the admin API is disabled (and none of them actually say that in a clear
way).
This commit fixes start and stop with the admin API disabled. The
reload command (and reloadssl) still require the admin API to be
enabled and will fail if the admin API is disabled.
PR: 255106
Submitted by: scf |
2.7.5.1.0.3.5.2_11 07 Dec 2023 02:22:10 |
Ashish SHUKLA (ashish) |
all: Bump PORTREVISION after lang/go* update
PR: 274405 |
2.7.5.0.0.3.5.1_10 14 Oct 2023 02:36:37 |
Adam Weinberger (adamw) |
www/caddy-custom: Improve admin API endpoint and recommend www:www |
2.7.4.1.0.3.5.1_9 08 Sep 2023 14:34:56 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go* update |
2.7.2.1.0.3.3.1_8 04 Aug 2023 14:24:50 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
2.6.4.4.0.3.2.2_7 08 Apr 2023 15:13:25 |
Dmitri Goutnik (dmgk) |
all: Bump PORTREVISION after lang/go{119,120} update |
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. |