Date: Sat, 24 Aug 2019 19:51:28 +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: r509735 - in head/security/keybase: . files Message-ID: <201908241951.x7OJpSmq083088@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Aug 24 19:51:28 2019 New Revision: 509735 URL: https://svnweb.freebsd.org/changeset/ports/509735 Log: Update to 4.3.2 Changes: https://github.com/keybase/client/releases Added: head/security/keybase/files/ head/security/keybase/files/patch-kbfs-libkbfs-disk_limits_unix.go (contents, props changed) Modified: head/security/keybase/Makefile head/security/keybase/distinfo Modified: head/security/keybase/Makefile ============================================================================== --- head/security/keybase/Makefile Sat Aug 24 19:51:23 2019 (r509734) +++ head/security/keybase/Makefile Sat Aug 24 19:51:28 2019 (r509735) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= keybase -PORTVERSION= 4.2.1 +PORTVERSION= 4.3.2 DISTVERSIONPREFIX= v CATEGORIES= security Modified: head/security/keybase/distinfo ============================================================================== --- head/security/keybase/distinfo Sat Aug 24 19:51:23 2019 (r509734) +++ head/security/keybase/distinfo Sat Aug 24 19:51:28 2019 (r509735) @@ -1,3 +1,3 @@ -TIMESTAMP = 1563640664 -SHA256 (keybase-client-v4.2.1_GH0.tar.gz) = 6f4087de46ee77eccdebc9cb56536237e1c35e437332d5f6dcb692ce8be36cb1 -SIZE (keybase-client-v4.2.1_GH0.tar.gz) = 62053524 +TIMESTAMP = 1566392910 +SHA256 (keybase-client-v4.3.2_GH0.tar.gz) = 95300e1729b74a8fddd13b5f2ab35a3bd6f2e53402568d723e671b5cfc5d3778 +SIZE (keybase-client-v4.3.2_GH0.tar.gz) = 61740460 Added: head/security/keybase/files/patch-kbfs-libkbfs-disk_limits_unix.go ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/keybase/files/patch-kbfs-libkbfs-disk_limits_unix.go Sat Aug 24 19:51:28 2019 (r509735) @@ -0,0 +1,18 @@ +--- kbfs/libkbfs/disk_limits_unix.go.orig 2019-08-20 18:00:51 UTC ++++ kbfs/libkbfs/disk_limits_unix.go +@@ -28,13 +28,13 @@ func getDiskLimits(path string) ( + } + + // Bavail is the free block count for an unprivileged user. +- availableBytes = stat.Bavail * uint64(stat.Bsize) ++ availableBytes = uint64(stat.Bavail) * uint64(stat.Bsize) + totalBytes = stat.Blocks * uint64(stat.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 = stat.Ffree ++ availableFiles = uint64(stat.Ffree) + totalFiles = stat.Files + } else { + availableFiles = math.MaxInt64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908241951.x7OJpSmq083088>