Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2018 23:50:49 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462653 - in head/www/caddy: . files
Message-ID:  <201802222350.w1MNon74022268@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Feb 22 23:50:49 2018
New Revision: 462653
URL: https://svnweb.freebsd.org/changeset/ports/462653

Log:
  www/caddy: Update to 0.10.11
  
  Additional port chanegs:
  * Added pkg-message
  * Removed STRIP= because it is safe to strip go executables
  * Improved do-build
  
  PR:		226131
  Submitted by:	Fabian Freyer <fabian.freyer@physik.tu-berlin.de> (maintainer)
  Approved by:	tcberner (mentor, implicit)
  Differential Revision:	https://reviews.freebsd.org/D14475

Added:
  head/www/caddy/files/
  head/www/caddy/files/pkg-message.in   (contents, props changed)
Modified:
  head/www/caddy/Makefile
  head/www/caddy/distinfo

Modified: head/www/caddy/Makefile
==============================================================================
--- head/www/caddy/Makefile	Thu Feb 22 23:39:25 2018	(r462652)
+++ head/www/caddy/Makefile	Thu Feb 22 23:50:49 2018	(r462653)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	caddy
-PORTVERSION=	0.10.10
 DISTVERSIONPREFIX=	v
+DISTVERSION=	0.10.11
 CATEGORIES=	www
 
 MAINTAINER=	fabian.freyer@physik.tu-berlin.de
@@ -18,12 +18,11 @@ GH_ACCOUNT=	mholt
 
 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
-
 do-build:
-	@(cd ${GO_WRKSRC}/${PORTNAME}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} build)
+	@cd ${GO_WRKSRC}/${PORTNAME} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} build
 
 do-install:
 	${INSTALL_PROGRAM} ${GO_WRKSRC}/${PORTNAME}/${PORTNAME} \

Modified: head/www/caddy/distinfo
==============================================================================
--- head/www/caddy/distinfo	Thu Feb 22 23:39:25 2018	(r462652)
+++ head/www/caddy/distinfo	Thu Feb 22 23:50:49 2018	(r462653)
@@ -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

Added: head/www/caddy/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/caddy/files/pkg-message.in	Thu Feb 22 23:50:49 2018	(r462653)
@@ -0,0 +1,34 @@
+*****************************************************************
+
+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:
+
+# sysrc caddy_enable="YES"
+# service caddy start
+
+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"
+
+*****************************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802222350.w1MNon74022268>