summaryrefslogtreecommitdiff
path: root/www/caddy
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2017-07-11 20:26:41 +0000
committerbsiegert <bsiegert@pkgsrc.org>2017-07-11 20:26:41 +0000
commitf08ed7e4a714feda204ce74c29c70fc9ae578251 (patch)
tree6a709a544bbc11e22c701bd38dfec684f9ead9c5 /www/caddy
parent3bbf4efc45e6f0498651bfdb44c266137501e33b (diff)
downloadpkgsrc-f08ed7e4a714feda204ce74c29c70fc9ae578251.tar.gz
Import caddy-0.10.4 from wip/caddy.
Caddy is a HTTP/2 web server with automatic HTTPS. Caddy was born out of the need for a "batteries-included" web server that runs anywhere and doesn't have to take its configuration with it. Caddy took inspiration from spark, nginx, lighttpd, Websocketd and Vagrant, which provides a pleasant mixture of features from each of them.
Diffstat (limited to 'www/caddy')
-rw-r--r--www/caddy/DESCR7
-rw-r--r--www/caddy/Makefile28
-rw-r--r--www/caddy/PLIST2
-rw-r--r--www/caddy/distinfo6
4 files changed, 43 insertions, 0 deletions
diff --git a/www/caddy/DESCR b/www/caddy/DESCR
new file mode 100644
index 00000000000..f07036e5ed7
--- /dev/null
+++ b/www/caddy/DESCR
@@ -0,0 +1,7 @@
+Caddy is a HTTP/2 web server with automatic HTTPS.
+
+Caddy was born out of the need for a "batteries-included" web server
+that runs anywhere and doesn't have to take its configuration with it.
+Caddy took inspiration from spark, nginx, lighttpd, Websocketd and
+Vagrant, which provides a pleasant mixture of features from each of
+them.
diff --git a/www/caddy/Makefile b/www/caddy/Makefile
new file mode 100644
index 00000000000..edfdb40f02f
--- /dev/null
+++ b/www/caddy/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2017/07/11 20:26:41 bsiegert Exp $
+
+DISTNAME= caddy-${GITHUB_TAG:S/v//}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mholt/}
+GITHUB_TAG= v0.10.4
+
+MAINTAINER= bsiegert@NetBSD.org
+HOMEPAGE= ${MASTER_SITE_GITHUB:=mholt/caddy/}
+COMMENT= General-purpose web server
+LICENSE= apache-2.0
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/mholt/caddy
+GO_BUILD_PATTERN= ${GO_SRCPATH}/caddy
+
+EXTRACT_USING= bsdtar
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIR}/bin/caddy ${DESTDIR}${PREFIX}/bin
+
+.include "../../net/go-net/buildlink3.mk"
+.include "../../security/go-crypto/buildlink3.mk"
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/caddy/PLIST b/www/caddy/PLIST
new file mode 100644
index 00000000000..a83f24e1f04
--- /dev/null
+++ b/www/caddy/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/11 20:26:41 bsiegert Exp $
+bin/caddy
diff --git a/www/caddy/distinfo b/www/caddy/distinfo
new file mode 100644
index 00000000000..f9794529c74
--- /dev/null
+++ b/www/caddy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/11 20:26:41 bsiegert Exp $
+
+SHA1 (caddy-0.10.4.tar.gz) = 57d08090bfacdfca19ba8f172d7dbea85a573721
+RMD160 (caddy-0.10.4.tar.gz) = 4cf456f04210b49d8203e843a10ba741fbd6c214
+SHA512 (caddy-0.10.4.tar.gz) = 5d291efcf68247a30983c3f1d4def418014680cf70f971f93acb108a2a7aaf072133755f23fb55011bc4dbf4ed62a4d3d7939083736a922a2829787e6ed92adc
+Size (caddy-0.10.4.tar.gz) = 2635680 bytes