pkgsrc-WIP-changes archive

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

Copy over caddy from www/caddy



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sat Sep 19 19:23:40 2020 +0000
Changeset:	0a6a6f3a3cb842ba7e10d4f038c7ec2b1436678d

Added Files:
	caddy/DESCR
	caddy/Makefile
	caddy/PLIST
	caddy/distinfo

Log Message:
Copy over caddy from www/caddy

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0a6a6f3a3cb842ba7e10d4f038c7ec2b1436678d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 caddy/DESCR    |  7 +++++++
 caddy/Makefile | 28 ++++++++++++++++++++++++++++
 caddy/PLIST    |  2 ++
 caddy/distinfo |  6 ++++++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/caddy/DESCR b/caddy/DESCR
new file mode 100644
index 0000000000..f07036e5ed
--- /dev/null
+++ b/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/caddy/Makefile b/caddy/Makefile
new file mode 100644
index 0000000000..83d19dcf59
--- /dev/null
+++ b/caddy/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.29 2020/09/03 07:29:34 bsiegert Exp $
+
+DISTNAME=	caddy-${GITHUB_TAG:S/v//}
+PKGREVISION=	16
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mholt/}
+GITHUB_TAG=	v0.11.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
+
+CHECK_RELRO_SKIP+=	bin/caddy
+
+EXTRACT_USING=		bsdtar
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/caddy ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/caddy/PLIST b/caddy/PLIST
new file mode 100644
index 0000000000..a83f24e1f0
--- /dev/null
+++ b/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/caddy/distinfo b/caddy/distinfo
new file mode 100644
index 0000000000..a9ed82f234
--- /dev/null
+++ b/caddy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.5 2019/02/16 19:20:52 bsiegert Exp $
+
+SHA1 (caddy-0.11.4.tar.gz) = e03d7c9190f5c27b94731d3fdb61b5f440a07af3
+RMD160 (caddy-0.11.4.tar.gz) = 56af7fc1841027c87f65ce5c3a09b0d1dd5e09ab
+SHA512 (caddy-0.11.4.tar.gz) = 463c1e570292c042ffc959c2bf0c20df55477843deeef2f782030fe681ab8c5317505fdb00659662d52ffc8a56b5b1a7b7e6fc72b7f737d4950331ac781f239a
+Size (caddy-0.11.4.tar.gz) = 5789395 bytes


Home | Main Index | Thread Index | Old Index