Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 14:57:49 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424855 - head/security/keybase
Message-ID:  <201610281457.u9SEvndj084666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Oct 28 14:57:49 2016
New Revision: 424855
URL: https://svnweb.freebsd.org/changeset/ports/424855

Log:
  - Update to 1.0.17
  - Update WWW
  
  Changes:	https://github.com/keybase/client/blob/master/go/CHANGELOG.md

Modified:
  head/security/keybase/Makefile
  head/security/keybase/distinfo
  head/security/keybase/pkg-descr

Modified: head/security/keybase/Makefile
==============================================================================
--- head/security/keybase/Makefile	Fri Oct 28 14:32:54 2016	(r424854)
+++ head/security/keybase/Makefile	Fri Oct 28 14:57:49 2016	(r424855)
@@ -1,43 +1,24 @@
 # $FreeBSD$
 
 PORTNAME=	keybase
-PORTVERSION=	0.8.25
+PORTVERSION=	1.0.17
+DISTVERSIONPREFIX=	v
 CATEGORIES=	security
-MASTER_SITES=	https://dist.keybase.io/pkg/files/ \
-		LOCAL/sunpoet
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Keybase.io client
 
 LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_FILE=	${WRKSRC}/../LICENSE
 
-RUN_DEPENDS=	gpg:security/gnupg \
-		node:www/node
+GO_PKGNAME=	github.com/keybase/client/go
+GO_TARGET=	-tags production ${GO_PKGNAME}/keybase
+USES=		go
+WRKSRC_SUBDIR=	go
 
-NO_ARCH=	yes
-NO_BUILD=	yes
-USES=		tar:tgz
-WRKSRC=		${WRKDIR}/package
-
-# Install it to a private place instead of polluting lib/node_modules
-# which npm(1) owns and will upgrade beneath pkg(8) control.
-KEYBASE_PREFIX=	${PREFIX}/libexec/${PORTNAME}
-
-add-plist-post: npm-auto-plist
-
-npm-auto-plist:
-	@{ \
-	  ${ECHO_CMD} "bin/${PORTNAME}"; \
-	  ${FIND} ${STAGEDIR}${KEYBASE_PREFIX} -type f -or -type l; \
-	} | ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
-
-do-install:
-	@${MKDIR} ${WRKDIR}/tmp ${STAGEDIR}${KEYBASE_PREFIX}/lib
-	(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME})
-	${CHMOD} +x ${STAGEDIR}${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME}/bin/main.js
-	${LN} -s ${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME}/bin/main.js ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	# Quiet stage-qa
-	@${RM} ${STAGEDIR}${KEYBASE_PREFIX}/lib/node_modules/keybase/node_modules/request/node_modules/node-uuid/benchmark/bench.sh
+PLIST_FILES=	bin/keybase
+
+GH_PROJECT=	client
+USE_GITHUB=	yes
 
 .include <bsd.port.mk>

Modified: head/security/keybase/distinfo
==============================================================================
--- head/security/keybase/distinfo	Fri Oct 28 14:32:54 2016	(r424854)
+++ head/security/keybase/distinfo	Fri Oct 28 14:57:49 2016	(r424855)
@@ -1,2 +1,3 @@
-SHA256 (keybase-0.8.25.tgz) = b0bdacfcbc5eb83473a5d53e8bd3b507e2eb95ae2ed85d4c2aa50dfa839e7abc
-SIZE (keybase-0.8.25.tgz) = 4247966
+TIMESTAMP = 1477321765
+SHA256 (keybase-client-v1.0.17_GH0.tar.gz) = 937b4bc61c889ef3982a5352d8a49cda8a4f4db28732d4cb21df1fe20128399c
+SIZE (keybase-client-v1.0.17_GH0.tar.gz) = 33200376

Modified: head/security/keybase/pkg-descr
==============================================================================
--- head/security/keybase/pkg-descr	Fri Oct 28 14:32:54 2016	(r424854)
+++ head/security/keybase/pkg-descr	Fri Oct 28 14:57:49 2016	(r424855)
@@ -3,4 +3,4 @@ Keybase.io CLI client.
 Keybase will be a public directory of publicly auditable public
 keys. All paired, for convenience, with unique usernames.
 
-WWW: https://keybase.io/__/command_line/keybase#basics
+WWW: https://keybase.io/docs/command_line#basics



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610281457.u9SEvndj084666>