From owner-svn-ports-all@freebsd.org Thu Feb 22 23:50:50 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDD00F0F626; Thu, 22 Feb 2018 23:50:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99ECD7FDDC; Thu, 22 Feb 2018 23:50:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 94D716D45; Thu, 22 Feb 2018 23:50:49 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1MNonma022271; Thu, 22 Feb 2018 23:50:49 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1MNon74022268; Thu, 22 Feb 2018 23:50:49 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802222350.w1MNon74022268@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 22 Feb 2018 23:50:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462653 - in head/www/caddy: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/www/caddy: . files X-SVN-Commit-Revision: 462653 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 23:50:50 -0000 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 (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" + +*****************************************************************