Index: www/caddy/Makefile =================================================================== --- www/caddy/Makefile +++ www/caddy/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= caddy -PORTVERSION= 0.10.10 +PORTVERSION= 0.10.11 DISTVERSIONPREFIX= v CATEGORIES= www @@ -18,6 +18,7 @@ GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +SUB_FILES= pkg-message PLIST_FILES= bin/caddy etc/rc.d/caddy STRIP= # stripping can break go binaries Index: www/caddy/distinfo =================================================================== --- www/caddy/distinfo +++ www/caddy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1507749383 -SHA256 (mholt-caddy-v0.10.10_GH0.tar.gz) = aafaeb092e7b1bcff8ec31f19a1ded1253ff95cfdd4441378e5a530508614e8d -SIZE (mholt-caddy-v0.10.10_GH0.tar.gz) = 2706112 +TIMESTAMP = 1519337935 +SHA256 (mholt-caddy-v0.10.11_GH0.tar.gz) = c473121840532dfbe8e98b2663442c4a6602b684a5dc234081fdc41d98e0ae95 +SIZE (mholt-caddy-v0.10.11_GH0.tar.gz) = 2860871 Index: www/caddy/files/pkg-message.in =================================================================== --- www/caddy/files/pkg-message.in +++ www/caddy/files/pkg-message.in @@ -0,0 +1,33 @@ +***************************************************************** + +www/caddy does not ship with any in-tree documentation. Online +documentation can be found at https://caddyserver.com/docs. + +To use www/caddy, create a configuration file in the Caddyfile +format in %%PREFIX%%/www/Caddyfile and enable caddy in your +rc.conf: + +caddy_enable="YES" + +Example Caddyfile +================= +mysite.com { + root %%PREFIX%%/www/mysite.com +} + +sub.mysite.com { + root %%PREFIX%%/www/sub.mysite.com + gzip + log /var/log/sub.mysite.com/access.log +} + +Automatic HTTPS using letsencrypt.org +===================================== + +Provide an SSL certificate issuer email in your rc.conf. By +providing an email address you automatically agree to +letsencrypt.org's general terms and conditions: + +caddy_cert_email="your.email@example.org" + +*****************************************************************