Re: UPDATE: security/keybase 4.1.0 + git-remote-keybase

2019-06-18 Thread Aaron Bieber
On Sun, 16 Jun 2019 at 20:26:14 +0200, Juan Francisco Cantero Hurtado wrote:
> Works for me. I've added git-remote-keybase to the port, so you can now
> work with git repos hosted on keybase. There are some remaining bugs
> with the git repos, but I can reproduce the same problems on Linux.
> 
> If you know something about OpenBSD syscalls, please check my patches
> and tell me if I'm doing the conversion from Linux syscalls correctly.
> 
> Comments? OK?

Works dandy here! Was able to push / clone without problems!

OK abieber@

> 
> 
> Index: Makefile
> ===
> --- Makefile  (revision 138830)
> +++ Makefile  (working copy)
> @@ -8,7 +8,7 @@
>  COMMENT =client for keybase.io
>  
>  # XXX: https://github.com/keybase/client/issues/10800
> -V =  4.0.0
> +V =  4.1.0
>  GH_ACCOUNT = keybase
>  GH_PROJECT = client
>  GH_TAGNAME = v${V}
> @@ -37,8 +37,11 @@
>  do-build:
>   cd ${WRKSRC}/go/keybase && ${MODGO_CMD} build -tags \
>   production
> + cd ${WRKSRC}/go/kbfs/kbfsgit/git-remote-keybase && \
> + ${MODGO_CMD} build -tags production
>  
>  do-install:
>   ${INSTALL_PROGRAM} ${WRKSRC}/go/keybase/keybase ${PREFIX}/bin/
> + ${INSTALL_PROGRAM} 
> ${WRKSRC}/go/kbfs/kbfsgit/git-remote-keybase/git-remote-keybase ${PREFIX}/bin/
>  
>  .include 
> Index: distinfo
> ===
> --- distinfo  (revision 138830)
> +++ distinfo  (working copy)
> @@ -1,2 +1,2 @@
> -SHA256 (keybase-4.0.0.tar.gz) = UD4Gjn6JpXxJfkDO5bFhcEwjkZvFmEamUH38Xs1BgJE=
> -SIZE (keybase-4.0.0.tar.gz) = 48707909
> +SHA256 (keybase-4.1.0.tar.gz) = fmcPTGB702ft7F9Y0tJ9z/gmzVVfM7UZJhi0T++9QbA=
> +SIZE (keybase-4.1.0.tar.gz) = 61605137
> Index: patches/patch-go_kbfs_libkbfs_disk_limits_unix_go
> ===
> --- patches/patch-go_kbfs_libkbfs_disk_limits_unix_go (nonexistent)
> +++ patches/patch-go_kbfs_libkbfs_disk_limits_unix_go (working copy)
> @@ -0,0 +1,25 @@
> +$OpenBSD$  
> + 
>
> +Index: go/kbfs/libkbfs/disk_limits_unix.go
> +--- go/kbfs/libkbfs/disk_limits_unix.go.orig Sat Jun 15 22:30:45 2019
>  go/kbfs/libkbfs/disk_limits_unix.go  Sat Jun 15 22:30:56 2019
> +@@ -28,14 +28,14 @@
> + }
> + 
> + // Bavail is the free block count for an unprivileged user.
> +-availableBytes = uint64(stat.Bavail) * uint64(stat.Bsize)
> +-totalBytes = uint64(stat.Blocks) * uint64(stat.Bsize)
> ++availableBytes = uint64(stat.F_bavail) * uint64(stat.F_bsize)
> ++totalBytes = uint64(stat.F_blocks) * uint64(stat.F_bsize)
> + // Some filesystems, like btrfs, don't keep track of inodes.
> + // (See https://github.com/keybase/client/issues/6206 .) Use
> + // the total inode count to detect that case.
> +-if stat.Files > 0 {
> +-availableFiles = uint64(stat.Ffree)
> +-totalFiles = uint64(stat.Files)
> ++if stat.F_files > 0 {
> ++availableFiles = uint64(stat.F_ffree)
> ++totalFiles = uint64(stat.F_files)
> + } else {
> + availableFiles = math.MaxInt64
> + totalFiles = math.MaxInt64
> Index: patches/patch-go_vendor_gopkg_in_src_d_go_git_v4_worktree_bsd_go
> ===
> --- patches/patch-go_vendor_gopkg_in_src_d_go_git_v4_worktree_bsd_go  
> (nonexistent)
> +++ patches/patch-go_vendor_gopkg_in_src_d_go_git_v4_worktree_bsd_go  
> (working copy)
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +
> +Index: go/vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go
> +--- go/vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go.orig  Wed Jun 12 
> 17:53:05 2019
>  go/vendor/gopkg.in/src-d/go-git.v4/worktree_bsd.go   Sat Jun 15 
> 19:41:25 2019
> +@@ -12,7 +12,7 @@
> + func init() {
> + fillSystemInfo = func(e *index.Entry, sys interface{}) {
> + if os, ok := sys.(*syscall.Stat_t); ok {
> +-e.CreatedAt = time.Unix(int64(os.Atimespec.Sec), 
> int64(os.Atimespec.Nsec))
> ++e.CreatedAt = time.Unix(int64(os.Atim.Sec), 
> int64(os.Atim.Nsec))
> + e.Dev = uint32(os.Dev)
> + e.Inode = uint32(os.Ino)
> + e.GID = os.Gid
> Index: pkg/PLIST
> ===
> --- pkg/PLIST (revision 138830)
> +++ pkg/PLIST (working copy)
> @@ -1,2 +1,3 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2016/09/09 14:11:43 abieber Exp $
> +@bin bin/git-remote-keybase
>  @bin bin/keybase

-- 
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE



Re: [update] security/keybase to 4.0.0

2019-05-10 Thread Paco Esteban
On Thu, 09 May 2019, Aaron Bieber wrote:

> Here is an update to keybase. All the features I use work fine.
> 
> I will upstream the new patches here before too long.
> 
> OK?

Tested chat, sign and a couple more.
Works ok for me on amd64

Cheers,

-- 
Paco Esteban.
https://onna.be/gpgkey.asc
9A6B 6083 AD9E FDC2 0EAF  5CB3 5818 130B 8A6D BC03



Re: [update] security/keybase to 4.0.0

2019-05-09 Thread Björn Ketelaars
On Thu 09/05/2019 08:47, Aaron Bieber wrote:
> Here is an update to keybase. All the features I use work fine.
> 
> I will upstream the new patches here before too long.
> 
> OK?

Diff looks good, builds ok, and works for me.

OK bket@



Re: [update] security/keybase to 2.3.0

2018-08-16 Thread Björn Ketelaars
On Thu 16/08/2018 07:29, Aaron Bieber wrote:
> Hi,
> 
> Here is a trivial port update to bring keybase to the latest.
> 
> Full list of changes here:
> https://github.com/keybase/client/compare/v2.1.0...v2.5.0
> 
> Tested fine on my amd64 machine.
> 
> OK?

Works for me. OK bket@



Re: [update] security/keybase to 2.3.0 - just kidding - it's 2.5.0!

2018-08-16 Thread Aaron Bieber
On Thu, Aug 16, 2018 at 07:29:38AM -0600, Aaron Bieber wrote:
> Hi,
> 
> Here is a trivial port update to bring keybase to the latest.
> 
> Full list of changes here:
> https://github.com/keybase/client/compare/v2.1.0...v2.5.0
> 
> Tested fine on my amd64 machine.
> 
> OK?

Subject had incorrect version - it really is 2.5.0!

> 
> diff --git a/security/keybase/Makefile b/security/keybase/Makefile
> index 800f8616349..ae4b0e8f7f0 100644
> --- a/security/keybase/Makefile
> +++ b/security/keybase/Makefile
> @@ -8,7 +8,7 @@ ONLY_FOR_ARCHS = amd64
>  COMMENT =client for keybase.io
>  
>  # XXX: https://github.com/keybase/client/issues/10800
> -V =  2.1.0
> +V =  2.5.0
>  GH_ACCOUNT = keybase
>  GH_PROJECT = client
>  GH_TAGNAME = v${V}
> diff --git a/security/keybase/distinfo b/security/keybase/distinfo
> index 200baeeba69..b7f7439a268 100644
> --- a/security/keybase/distinfo
> +++ b/security/keybase/distinfo
> @@ -1,2 +1,2 @@
> -SHA256 (keybase-2.1.0.tar.gz) = hwiTbLijalTABtQAAwit3k9RdvGxn7oO4EKpeLxWmBw=
> -SIZE (keybase-2.1.0.tar.gz) = 3571
> +SHA256 (keybase-2.5.0.tar.gz) = CH/7FWcy9W6/M86dHvBL2Dbawl9uAm0nxoIyNxwWz5Q=
> +SIZE (keybase-2.5.0.tar.gz) = 35012800
> 
> -- 
> PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE

-- 
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE



Re: UPDATE security/keybase

2018-02-12 Thread Jeremie Courreges-Anglas
On Mon, Feb 12 2018, Björn Ketelaars  wrote:
> Included a diff for bringing security/keybase to the latest version,
> which fixes numerous issues.
>
> Update has been discussed with abieber@ (maintainer), who gave his OK.
>
> OK?

Looks fine ports-wise, ok jca@

>
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/keybase/Makefile,v
> retrieving revision 1.7
> diff -u -p -r1.7 Makefile
> --- Makefile  26 Dec 2017 11:07:51 -  1.7
> +++ Makefile  12 Feb 2018 10:14:40 -
> @@ -7,7 +7,7 @@ ONLY_FOR_ARCHS = amd64
>  
>  COMMENT =client for keybase.io
>  
> -V =  1.0.39
> +V =  1.0.41
>  GH_ACCOUNT = keybase
>  GH_PROJECT = client
>  GH_TAGNAME = v${V}
> Index: distinfo
> ===
> RCS file: /cvs/ports/security/keybase/distinfo,v
> retrieving revision 1.5
> diff -u -p -r1.5 distinfo
> --- distinfo  26 Dec 2017 11:07:51 -  1.5
> +++ distinfo  12 Feb 2018 10:14:40 -
> @@ -1,2 +1,2 @@
> -SHA256 (keybase-1.0.39.tar.gz) = 9oNffKto6xmKqubfVYQ0OzMkm2lgPJGB0hErsHeJCPk=
> -SIZE (keybase-1.0.39.tar.gz) = 30226025
> +SHA256 (keybase-1.0.41.tar.gz) = U2h9xHgQq5WM6kEFOiWwJ4ilQpSk1rcZGkxg1pJrhm4=
> +SIZE (keybase-1.0.41.tar.gz) = 31643095
> Index: patches/patch-go_client_cmd_update_go
> ===
> RCS file: /cvs/ports/security/keybase/patches/patch-go_client_cmd_update_go,v
> retrieving revision 1.3
> diff -u -p -r1.3 patch-go_client_cmd_update_go
> --- patches/patch-go_client_cmd_update_go 11 Oct 2017 14:00:05 -  
> 1.3
> +++ patches/patch-go_client_cmd_update_go 12 Feb 2018 10:14:40 -
> @@ -14,7 +14,7 @@ Index: go/client/cmd_update.go
>   "fmt"
>   "os"
>  -"os/exec"
> -
> + 
>   "github.com/keybase/cli"
>   "github.com/keybase/client/go/install"
>  @@ -35,23 +34,7 @@ func newCmdUpdateCheck(cl *libcmdline.CommandLine, g *
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [update] security/keybase to 1.0.21

2017-05-28 Thread Adam Wolk
On Sun, May 28, 2017 at 08:11:14AM -0600, Aaron Bieber wrote:
> Hola,
> 
> Here is a trivial update to bring keybase to the latest version. OK?
> 
> I have been using it without issue for a few weeks now (amd64) with no
> issues.
> 
> Cheers,
> Aaron
> 

OK awolk@ if you can decrypt :)

-BEGIN PGP MESSAGE-
Comment: https://keybase.io/download
Version: Keybase Go 1.0.21 (openbsd)

wcFMA1Md1R9Yd11NARAAZ/X0myJWUAEA6+cTbjUX87DWJFPkpnvRu5CiSYgYj5Ke
LoXTzupg3WOFHCqtC4zD235rs7xkthn5VUL+i/om7rwfDMjY9nk8WrzlMbbJUbgF
uSX2MCzeC54tIn7CJqgl2O78NmlvRb3L/z9A3QjLmRrUO3RBsW4C66pE9D2DWuW7
pWhHC1cluB1CtggRtDHzJPN4AtH8YrdK/aYJ1vn72VL4Q6ublpSJtKZVm+GrDKSZ
0IIYjl+MjA9JGNHLDQA2/vqmH5+p1fbpNeL8rCC/VDSDVnbDF91gWV8vx5NtD6KH
MiKuR8P1B+veA8PqvLCmgbOoZ50DjX5hcJfM8t7kzT1mvffJPpJTwwtkJte6WV80
b0vo/cCijGcLED3oXeh95iEN4aRuBFzT3NV6tUyakASU5GedMaZ+d9jxjo7q+mpc
bjt8jZpdWZlxgD2f3yYd+7ArgAjfsH38neMbBG6xyEPCFNprqcm3RufYLYt2jiam
4zIUFtihef24u31rL+oGofIbsnszH2f1bVtopxrYarCPkawcyNfbJ/G2zpAaqtPr
R6XeaV9rjJ+K1uq4yN4DTm011yX9eVZnwT0OrP7kDPzMpQSqQavoIOQ75SfJIrZN
XCsnzJA/nLpMdDTvEZAIeZBOObgkVI4+qB0EIeL+OQAcgOXFIB5tBeKmo8IDqmbB
wUwDIK2t4N1IsQkBEAARzkY4QLUnPmiDDPH51PdkDSOgOX4iCF/ZWGqW8JQdUFLZ
HHBbj43+kPW8E79oifbBmDwLLhcFPWRveSrIGfif0uLXrcmIumDpXJhI8NhCF79S
HQcfaj5GBL32wk7WDdlpkMIN9/KMURNyLyfHSizrowepQW4EoonWFDHmcdrqsMBf
H9TpCHhqhWjY/gaL3UAkj5LltaW6dY0/bRFN7LHwn4GeeIYTbMsq5tWZ3hjBJfYn
7zhcX88etkJLhB+U6cL63wB3PFNbRysspYiGWBpGTdkc3++uDBOKwwICzTnlwFep
sj7/5QembLWC4Y+j8uEkYfgpSU5ajS2pVTUVtCutR/jtLoUV6ODp0WfJvqKsZ7Mq
8xcokhRfLByTho9PK5+tN2pnD5Kgd54A0LqD2Hom/QUmDGlFNWnb99sYcOOA0WlY
QrcOHXgRqIeJf1iDMYKPz8tUDACIhJx331vfVmrW74EzmDA+4FZiJ7gaESxEMbpH
SrYjyYzmn1yp3gh4nYUpwp+IIoZvgE7zyMZmrqS+l3keVjvehdrpJ955ztWezOeN
H5iTs8mfe0M8Wl6CbcX//NcXet1IGdk2wERW0kW9I7LZPYQN85V+KIisCC0hPqgi
404A0foWpYNQYkORJ28PNniLjmmFsIuEghd2R4YMOiSIsIp+DiKx9RJ/vUnCkdLg
AeQ2YaLvcspS7vas6XI7Yyjo4UuP4LLgaOHSV+CC4jCw7aPgNeOQiFkw0m65feDQ
4B3gWOTw88UjoCFUKp27fsk5Aur04qASEcfhgdgA
=DTI5
-END PGP MESSAGE-



Re: [UPDATE] security/keybase 1.0.17 -> 1.0.18

2017-02-19 Thread Adam Wolk
On Tue, Jan 31, 2017 at 08:29:36AM -0700, Aaron Bieber wrote:
> Hi!
> 
> This update brings keybase to the latest. Most of the patches were
> pulled into the various upstreams, as such, they have been removed.
> 
> I have been using it for a month or two without issue (I don't use
> keybase often, so usage is fairly lite).
> 
> OK?
> 
> Cheers,
> Aaron
> 

works fine on -current amd64

OK awolk@