notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
caddy-custom Caddy (www/caddy) with customized plugins
2.8.4.1.0.4.2.1_1 www on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.7.6.7.0.3.5.7_18Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-10-06 21:30:45
Last Update: 2024-06-15 09:52:17
Commit Hash: 746fa69
People watching this port, also watch:: monit, coreutils, vault, fcron, gogs
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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/caddy
  2. /usr/local/share/licenses/caddy-custom-2.8.4.1.0.4.2.1_1/catalog.mk
  3. /usr/local/share/licenses/caddy-custom-2.8.4.1.0.4.2.1_1/LICENSE
  4. /usr/local/share/licenses/caddy-custom-2.8.4.1.0.4.2.1_1/APACHE20
Collapse this list.
Dependency lines:
  • caddy-custom>0:www/caddy-custom
Conflicts:
CONFLICTS_INSTALL:
  • caddy
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.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. xcaddy : www/xcaddy
  2. 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:
  1. There is no master site for this port.

Number of commits found: 24

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.8.4.1.0.4.2.1_1
15 Jun 2024 09:52:17
commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
2.8.4.0.0.4.2.0
10 Jun 2024 11:12:30
commit hash: a69c3d572b84216fbe1a194f24b232afde1f2aaecommit hash: a69c3d572b84216fbe1a194f24b232afde1f2aaecommit hash: a69c3d572b84216fbe1a194f24b232afde1f2aaecommit hash: a69c3d572b84216fbe1a194f24b232afde1f2aae files touched by this commit
Jimmy Olgeni (olgeni) search for other commits by this committer
www/caddy-custom: fix typo in 'caddy.in'
2.8.1.0.0.4.1.1
01 Jun 2024 02:33:29
commit hash: 5397dee8c1492609a952a17e42012d2cfa0e4a0dcommit hash: 5397dee8c1492609a952a17e42012d2cfa0e4a0dcommit hash: 5397dee8c1492609a952a17e42012d2cfa0e4a0dcommit hash: 5397dee8c1492609a952a17e42012d2cfa0e4a0d files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
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
commit hash: fce0cc32720e61042bc675152b116f9e61532e92commit hash: fce0cc32720e61042bc675152b116f9e61532e92commit hash: fce0cc32720e61042bc675152b116f9e61532e92commit hash: fce0cc32720e61042bc675152b116f9e61532e92 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
2.7.6.5.0.4.0.0_16
01 May 2024 21:12:38
commit hash: cfa2d75dbb681a7060ede41303f6494d8c8155a1commit hash: cfa2d75dbb681a7060ede41303f6494d8c8155a1commit hash: cfa2d75dbb681a7060ede41303f6494d8c8155a1commit hash: cfa2d75dbb681a7060ede41303f6494d8c8155a1 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
www/caddy-custom: Fix descr typo
2.7.6.5.0.3.5.5_16
15 Apr 2024 08:20:04
commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0commit hash: 32b284679a1954ef1e0c0d52c4741d00e36dc6e0 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
2.7.6.4.0.3.5.4_15
24 Mar 2024 14:29:00
commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913commit hash: a5a000df3b3697665460dbfbafe7120e306d8913 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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
commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291commit hash: 7e5aa2085f48d71be003c8ff0377bde837467291 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update

PR:		276530
2.7.6.2.0.3.5.2_13
21 Jan 2024 13:08:10
commit hash: 5c6886afad6f39c5c0a9f8b8ccd16cea8cad8504commit hash: 5c6886afad6f39c5c0a9f8b8ccd16cea8cad8504commit hash: 5c6886afad6f39c5c0a9f8b8ccd16cea8cad8504commit hash: 5c6886afad6f39c5c0a9f8b8ccd16cea8cad8504 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
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
commit hash: 2d925f150358bf061d4fec9bb8caa009e0a56442commit hash: 2d925f150358bf061d4fec9bb8caa009e0a56442commit hash: 2d925f150358bf061d4fec9bb8caa009e0a56442commit hash: 2d925f150358bf061d4fec9bb8caa009e0a56442 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
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
commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609commit hash: 0505b712df3ae2b4bcaba00aecc7c1e9100d8609 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update

PR:		274405
2.7.5.0.0.3.5.1_10
14 Oct 2023 02:36:37
commit hash: 4da17d10a76f877d1942a55d14bfdc57b7eadb1fcommit hash: 4da17d10a76f877d1942a55d14bfdc57b7eadb1fcommit hash: 4da17d10a76f877d1942a55d14bfdc57b7eadb1fcommit hash: 4da17d10a76f877d1942a55d14bfdc57b7eadb1f files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
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
commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3commit hash: 8e4bc57934f0611f59a2bfca1ddbab781572ead3 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go* update
2.7.2.1.0.3.3.1_8
04 Aug 2023 14:24:50
commit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fccommit hash: 09b993031a3b38ba8c33639ca40c1e3d69de67fc files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
2.6.4.4.0.3.2.2_7
08 Apr 2023 15:13:25
commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912commit hash: ff40d94c1d2c808f3b54fad0e0a0a18dd9c62912 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
2.6.4.3.0.3.2.1_6
11 Mar 2023 19:59:20
commit hash: b45468408f73857aa7a0f4e62ee852baebb52bfacommit hash: b45468408f73857aa7a0f4e62ee852baebb52bfacommit hash: b45468408f73857aa7a0f4e62ee852baebb52bfacommit hash: b45468408f73857aa7a0f4e62ee852baebb52bfa files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
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
commit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93dcommit hash: 09079730e9ca1d59129935a6046cbb7ee5e4a93d files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after Go ports update
2.6.4.1.0.3.1.8_4
15 Feb 2023 19:06:01
commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286commit hash: 56b5ec772f679a600dabe41622c1350594628286 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{119,120} update
2.6.3.1.0.3.1.7_3
09 Feb 2023 21:55:23
commit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0dcommit hash: 2297efc51b0f75d25389b742048fb7e9b2d96f0d files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after GO_DEFAULT update.
2.6.2.2.0.3.1.6_2
14 Jan 2023 11:31:17
commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6commit hash: 3b383d833aadb5e3e89d8ee3db1fef37ac239af6 files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTVERSION after lang/go{118,119} update
2.6.2.1.0.3.1.5_1
11 Dec 2022 11:17:27
commit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2acommit hash: d9ad1002d517a618a299e45ae70075f2cfc66d2a files touched by this commit
Dmitri Goutnik (dmgk) search for other commits by this committer
all: Bump PORTREVISION after lang/go{118,119} update
2.6.1.4.0.3.1.4
06 Oct 2022 22:11:37
commit hash: d575da67486ccba512c494d715a999aa7ea77473commit hash: d575da67486ccba512c494d715a999aa7ea77473commit hash: d575da67486ccba512c494d715a999aa7ea77473commit hash: d575da67486ccba512c494d715a999aa7ea77473 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
www/caddy-custom: Fix path to Caddyfile
2.6.1.4.0.3.1.4
06 Oct 2022 21:50:12
commit hash: 76d310677eb610850537ffaa4a38caf7f4b73ca0commit hash: 76d310677eb610850537ffaa4a38caf7f4b73ca0commit hash: 76d310677eb610850537ffaa4a38caf7f4b73ca0commit hash: 76d310677eb610850537ffaa4a38caf7f4b73ca0 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
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
commit hash: 9174dd44ecddea33670398ff31f3a6b45134ef78commit hash: 9174dd44ecddea33670398ff31f3a6b45134ef78commit hash: 9174dd44ecddea33670398ff31f3a6b45134ef78commit hash: 9174dd44ecddea33670398ff31f3a6b45134ef78 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
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.

Number of commits found: 24