pkgsrc-WIP-changes archive

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

Update caddy to 20170530.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Tue May 30 22:57:13 2017 +0200
Changeset:	e94ef26760dd67119bfd83cd7ed5e481cd8408d7

Modified Files:
	caddy/Makefile
	caddy/PLIST
	caddy/distinfo
Removed Files:
	caddy/TODO

Log Message:
Update caddy to 20170530.

All dependencies are now vendored, that means we can finally have
a working caddy package!

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

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

diffstat:
 caddy/Makefile | 11 ++++++++---
 caddy/PLIST    |  1 +
 caddy/TODO     | 18 ------------------
 caddy/distinfo |  8 ++++----
 4 files changed, 13 insertions(+), 25 deletions(-)

diffs:
diff --git a/caddy/Makefile b/caddy/Makefile
index 86f868bbd4..3b750f489f 100644
--- a/caddy/Makefile
+++ b/caddy/Makefile
@@ -1,19 +1,24 @@
 # $NetBSD$
 
-DISTNAME=	caddy-0.9.5
+DISTNAME=	caddy-20170530
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GITHUB:=mholt/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
+GITHUB_TAG=	20a047f
 
 MAINTAINER=	bsiegert%NetBSD.org@localhost
 HOMEPAGE=	${MASTER_SITE_GITHUB:=mholt/caddy/}
 COMMENT=	general-purpose web server
 LICENSE=	apache-2.0
 
-GO_DIST_BASE=	${PKGNAME_NOREV}
+GO_DIST_BASE=	caddy-${GITHUB_TAG}*
 GO_SRCPATH=	github.com/mholt/caddy
 GO_BUILD_PATTERN= ${GO_SRCPATH}/caddy
 
+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"
 
diff --git a/caddy/PLIST b/caddy/PLIST
index 48d96a5493..6b76316576 100644
--- a/caddy/PLIST
+++ b/caddy/PLIST
@@ -1 +1,2 @@
 @comment $NetBSD$
+bin/caddy
diff --git a/caddy/TODO b/caddy/TODO
deleted file mode 100644
index 08f7d99f4a..0000000000
--- a/caddy/TODO
+++ /dev/null
@@ -1,18 +0,0 @@
-This package is incomplete.
-
-It is missing a bunch of Go packages required to compile. I  will be adding
-these over time.
-
-Here are some missing dependencies:
-
-github.com/dustin/go-humanize
-github.com/flynn/go-shlex
-github.com/gorilla/websocket
-github.com/hashicorp/go-syslog
-github.com/jimstudt/http-authentication/basic
-github.com/lucas-clemente/quic-go/h2quic
-github.com/naoina/toml
-github.com/russross/blackfriday
-github.com/xenolf/lego/acme
-gopkg.in/natefinch/lumberjack.v2
-gopkg.in/yaml.v2
diff --git a/caddy/distinfo b/caddy/distinfo
index 8281a577c4..9cdc4a6561 100644
--- a/caddy/distinfo
+++ b/caddy/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (caddy-0.9.5.tar.gz) = 32de6f88b98b3eb45aa07b45d3d47ac918c22e9c
-RMD160 (caddy-0.9.5.tar.gz) = 31fa0d729f9922aa5a1b7388de86b1729edf9c8f
-SHA512 (caddy-0.9.5.tar.gz) = c4def1a7cbd26c5eba2cdaf0c4c069d07186ce1f17415e15bf86de509ab4f61c7a45042dbdcd8461892e0f166cdb892b9c024a2b4723b58e75c74564582fd59c
-Size (caddy-0.9.5.tar.gz) = 287976 bytes
+SHA1 (caddy-20170530-20a047f.tar.gz) = 86b08e5c20c6c61f3033461ace8ffcbf172a9334
+RMD160 (caddy-20170530-20a047f.tar.gz) = d1cba7b618c478ada1f15cdb2165092a1263eed4
+SHA512 (caddy-20170530-20a047f.tar.gz) = c7763f7062309ea7a8ee4e8c53b495513b0a90976f0f9617a93a6c53342ba3711a8ef592aad265c08caa414d8f442875badf3107b04dc72b8d81bcf81725e051
+Size (caddy-20170530-20a047f.tar.gz) = 2629170 bytes


Home | Main Index | Thread Index | Old Index