pkgsrc-WIP-changes archive

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

caddy: improve github handling.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Feb 6 16:36:40 2017 +0100
Changeset:	879f0dddc4d15363e51f98dc34741358ffbd4cc3

Modified Files:
	caddy/Makefile
	caddy/distinfo

Log Message:
caddy: improve github handling.

Remove bogus WRKSRC setting.

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

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

diffstat:
 caddy/Makefile | 11 ++++-------
 caddy/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 11 deletions(-)

diffs:
diff --git a/caddy/Makefile b/caddy/Makefile
index 69235c0641..86f868bbd4 100644
--- a/caddy/Makefile
+++ b/caddy/Makefile
@@ -1,18 +1,15 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	caddy
-DISTNAME=	v0.9.5
-PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S/v//}
-CATEGORIES=	wip www
-MASTER_SITES=	${MASTER_SITE_GITHUB:=mholt/caddy/archive/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
+DISTNAME=	caddy-0.9.5
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=mholt/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	bsiegert%NetBSD.org@localhost
 HOMEPAGE=	${MASTER_SITE_GITHUB:=mholt/caddy/}
 COMMENT=	general-purpose web server
 LICENSE=	apache-2.0
 
-WRKSRC=		${WRKSRC}
 GO_DIST_BASE=	${PKGNAME_NOREV}
 GO_SRCPATH=	github.com/mholt/caddy
 GO_BUILD_PATTERN= ${GO_SRCPATH}/caddy
diff --git a/caddy/distinfo b/caddy/distinfo
index 93c618aa39..8281a577c4 100644
--- a/caddy/distinfo
+++ b/caddy/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (caddy/v0.9.5.tar.gz) = 32de6f88b98b3eb45aa07b45d3d47ac918c22e9c
-RMD160 (caddy/v0.9.5.tar.gz) = 31fa0d729f9922aa5a1b7388de86b1729edf9c8f
-SHA512 (caddy/v0.9.5.tar.gz) = c4def1a7cbd26c5eba2cdaf0c4c069d07186ce1f17415e15bf86de509ab4f61c7a45042dbdcd8461892e0f166cdb892b9c024a2b4723b58e75c74564582fd59c
-Size (caddy/v0.9.5.tar.gz) = 287976 bytes
+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


Home | Main Index | Thread Index | Old Index