git: 76d310677eb6 - main - www/caddy-security: Hook to the build and mark NO_PACKAGE

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Thu, 06 Oct 2022 21:50:16 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=76d310677eb610850537ffaa4a38caf7f4b73ca0

commit 76d310677eb610850537ffaa4a38caf7f4b73ca0
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-10-06 21:49:06 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-10-06 21:50:12 +0000

    www/caddy-security: Hook to the build and mark NO_PACKAGE
    
    Unhooked ports get removed by a reaper script.
---
 www/Makefile               | 1 +
 www/caddy-custom/Makefile  | 3 ++-
 www/caddy-custom/pkg-descr | 3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/www/Makefile b/www/Makefile
index fa7369c33f50..91cac07f79e9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -60,6 +60,7 @@
     SUBDIR += c-icap-modules
     SUBDIR += cadaver
     SUBDIR += caddy
+    SUBDIR += caddy-custom
     SUBDIR += calamaris
     SUBDIR += calamaris-devel
     SUBDIR += caldavzap
diff --git a/www/caddy-custom/Makefile b/www/caddy-custom/Makefile
index 8b687b23f248..ead426cc20bc 100644
--- a/www/caddy-custom/Makefile
+++ b/www/caddy-custom/Makefile
@@ -1,7 +1,6 @@
 # READ pkg-descr FOR INSTRUCTIONS!
 # This port will NOT build in poudriere without (simple) manual
 # intervention.
-# It is intentionally not hooked to package build.
 
 PORTNAME=	caddy-custom
 PORTVERSION=	${CADDY_VERSION}.${XCADDY_VERSION}
@@ -18,6 +17,8 @@ BUILD_DEPENDS=	xcaddy:www/xcaddy
 
 USES=		go:no_targets
 
+NO_PACKAGE=	Requires network access (see pkg-descr)
+
 CONFLICTS_INSTALL=	caddy
 
 USE_RC_SUBR=	caddy
diff --git a/www/caddy-custom/pkg-descr b/www/caddy-custom/pkg-descr
index db3ba70aab5d..c5983d9a92ac 100644
--- a/www/caddy-custom/pkg-descr
+++ b/www/caddy-custom/pkg-descr
@@ -1,5 +1,6 @@
 This port will build a customized version of the caddy webserver
-using plugins of your choice.
+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