aboutsummaryrefslogtreecommitdiffstats
path: root/security/keybase
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-10-28 22:57:49 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-10-28 22:57:49 +0800
commitbb42970acffd2d6e8c7cb5e0af71fadc4d40e378 (patch)
treef21580c864eb561c0bf3ebbd39715a8ac05aef2d /security/keybase
parent95d4d934adee9f840c5287e021e9aeebfefd612c (diff)
downloadfreebsd-ports-gnome-bb42970acffd2d6e8c7cb5e0af71fadc4d40e378.tar.gz
freebsd-ports-gnome-bb42970acffd2d6e8c7cb5e0af71fadc4d40e378.tar.zst
freebsd-ports-gnome-bb42970acffd2d6e8c7cb5e0af71fadc4d40e378.zip
- Update to 1.0.17
- Update WWW Changes: https://github.com/keybase/client/blob/master/go/CHANGELOG.md
Diffstat (limited to 'security/keybase')
-rw-r--r--security/keybase/Makefile39
-rw-r--r--security/keybase/distinfo5
-rw-r--r--security/keybase/pkg-descr2
3 files changed, 14 insertions, 32 deletions
diff --git a/security/keybase/Makefile b/security/keybase/Makefile
index 52cad575cd3b..c6114c27902a 100644
--- a/security/keybase/Makefile
+++ b/security/keybase/Makefile
@@ -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
+PLIST_FILES= bin/keybase
-# 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
+GH_PROJECT= client
+USE_GITHUB= yes
.include <bsd.port.mk>
diff --git a/security/keybase/distinfo b/security/keybase/distinfo
index 14865a8a1f20..e346d1035023 100644
--- a/security/keybase/distinfo
+++ b/security/keybase/distinfo
@@ -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
diff --git a/security/keybase/pkg-descr b/security/keybase/pkg-descr
index 000effd3d7c6..b67db18b5dc3 100644
--- a/security/keybase/pkg-descr
+++ b/security/keybase/pkg-descr
@@ -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