svn commit: r451831 - in head/www: . caddy
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Oct 12 08:12:15 UTC 2017
Author: ehaupt
Date: Thu Oct 12 08:12:13 2017
New Revision: 451831
URL: https://svnweb.freebsd.org/changeset/ports/451831
Log:
Add caddy 0.10.10, fast, cross-platform HTTP/2 web server with automatic
HTTPS.
PR: 222938
Submitted by: fabian.freyer at physik.tu-berlin.de
Added:
head/www/caddy/
head/www/caddy/Makefile (contents, props changed)
head/www/caddy/distinfo (contents, props changed)
head/www/caddy/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Thu Oct 12 08:11:29 2017 (r451830)
+++ head/www/Makefile Thu Oct 12 08:12:13 2017 (r451831)
@@ -57,6 +57,7 @@
SUBDIR += c-icap
SUBDIR += c-icap-modules
SUBDIR += cadaver
+ SUBDIR += caddy
SUBDIR += calamaris
SUBDIR += calamaris-devel
SUBDIR += caldavzap
Added: head/www/caddy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/caddy/Makefile Thu Oct 12 08:12:13 2017 (r451831)
@@ -0,0 +1,34 @@
+# Created by: fabian.freyer at physik.tu-berlin.de
+# $FreeBSD$
+
+PORTNAME= caddy
+PORTVERSION= 0.10.10
+DISTVERSIONPREFIX= v
+CATEGORIES= www
+
+MAINTAINER= fabian.freyer at physik.tu-berlin.de
+COMMENT= Fast, cross-platform HTTP/2 web server with automatic HTTPS
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= go
+USE_GITHUB= yes
+GH_ACCOUNT= mholt
+
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
+
+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)
+
+do-install:
+ ${INSTALL_PROGRAM} ${GO_WRKSRC}/${PORTNAME}/${PORTNAME} \
+ ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_SCRIPT} ${GO_WRKSRC}/dist/init/freebsd/${PORTNAME} \
+ ${STAGEDIR}/${PREFIX}/etc/rc.d/${PORTNAME}
+
+.include <bsd.port.mk>
Added: head/www/caddy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/caddy/distinfo Thu Oct 12 08:12:13 2017 (r451831)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507749383
+SHA256 (mholt-caddy-v0.10.10_GH0.tar.gz) = aafaeb092e7b1bcff8ec31f19a1ded1253ff95cfdd4441378e5a530508614e8d
+SIZE (mholt-caddy-v0.10.10_GH0.tar.gz) = 2706112
Added: head/www/caddy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/caddy/pkg-descr Thu Oct 12 08:12:13 2017 (r451831)
@@ -0,0 +1,3 @@
+Caddy is the HTTP/2 web server with automatic HTTPS.
+
+WWW: https://caddyserver.com/
More information about the svn-ports-head
mailing list