www/xcaddy: Remove the rc(8) script. It is going into caddy-custom instead

This commit is contained in:
Adam Weinberger 2022-10-06 15:23:04 -06:00
parent fae99d71a9
commit 765013b895
3 changed files with 8 additions and 9 deletions

View File

@ -14,12 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
USE_RC_SUBR= caddy
SUB_FILES= caddy
SUB_LIST+= CADDYDIR="${PREFIX}/etc/caddy"
CONFLICTS_INSTALL= caddy
USE_GITHUB= yes
GH_ACCOUNT= caddyserver
GH_TUPLE= Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \

View File

@ -10,7 +10,7 @@
# Optional settings:
# caddy_command (string): Full path to the caddy binary
# caddy_config (string): Full path to caddy config file
# (%%PREFIX%%/etc/caddy/Caddyfile)
# (/usr/local/etc/caddy/Caddyfile)
# caddy_adapter (string): Config adapter type (caddyfile)
# caddy_directory (string): Root for caddy storage (ACME certs, etc.)
# (/var/db/caddy)
@ -39,8 +39,8 @@ load_rc_config $name
# Defaults
: ${caddy_enable:=NO}
: ${caddy_adapter:=caddyfile}
: ${caddy_config:="%%PREFIX%%/etc/caddy/Caddyfile"}
: ${caddy_command:="%%PREFIX%%/bin/${name}"}
: ${caddy_config:="/usr/local/etc/caddy/Caddyfile"}
: ${caddy_command:="/usr/local/bin/${name}"}
: ${caddy_directory:=/var/db/caddy}
: ${caddy_extra_flags:=""}
: ${caddy_logdir:="/var/log/${name}"}

View File

@ -3,3 +3,8 @@ automatic HTTPS written in Go.
This command line tool and associated Go package makes it easy to
make custom builds of the Caddy Web Server.
There is an rc(8) script in /usr/ports/www/xcaddy/files/caddy that
you can put in /usr/local/etc/rc.d/ if you want. The caddy-custom
port (/usr/ports/www/caddy-custom) can build a custom caddy for
you using xcaddy.