pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www Import caddy-0.10.4 from wip/caddy.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ddef553bb9a
branches:  trunk
changeset: 365238:9ddef553bb9a
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Jul 11 20:26:41 2017 +0000

description:
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:

 www/Makefile       |   3 ++-
 www/caddy/DESCR    |   7 +++++++
 www/caddy/Makefile |  28 ++++++++++++++++++++++++++++
 www/caddy/PLIST    |   2 ++
 www/caddy/distinfo |   6 ++++++
 5 files changed, 45 insertions(+), 1 deletions(-)

diffs (76 lines):

diff -r cf625cdd945f -r 9ddef553bb9a www/Makefile
--- a/www/Makefile      Tue Jul 11 19:51:01 2017 +0000
+++ b/www/Makefile      Tue Jul 11 20:26:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1254 2017/07/11 09:18:01 adam Exp $
+# $NetBSD: Makefile,v 1.1255 2017/07/11 20:26:41 bsiegert Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -74,6 +74,7 @@
 SUBDIR+=       c-icap
 SUBDIR+=       c-icap-modules
 SUBDIR+=       cadaver
+SUBDIR+=       caddy
 SUBDIR+=       calamaris
 SUBDIR+=       camping
 SUBDIR+=       cgic
diff -r cf625cdd945f -r 9ddef553bb9a www/caddy/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/caddy/DESCR   Tue Jul 11 20:26:41 2017 +0000
@@ -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 -r cf625cdd945f -r 9ddef553bb9a www/caddy/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/caddy/Makefile        Tue Jul 11 20:26:41 2017 +0000
@@ -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@localhost
+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 -r cf625cdd945f -r 9ddef553bb9a www/caddy/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/caddy/PLIST   Tue Jul 11 20:26:41 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/11 20:26:41 bsiegert Exp $
+bin/caddy
diff -r cf625cdd945f -r 9ddef553bb9a www/caddy/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/caddy/distinfo        Tue Jul 11 20:26:41 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index