sysutils/nomad: update to version 0.11.2

This commit is contained in:
John Hixson 2020-05-23 03:27:18 +00:00
parent 5878555e76
commit e7b4bdeb35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=536263
3 changed files with 26 additions and 4 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= nomad
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
DISTVERSION= 0.11.2
CATEGORIES= sysutils
MAINTAINER= jhixson@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1586453982
SHA256 (hashicorp-nomad-v0.11.0_GH0.tar.gz) = 4868a493b83ad833eaf94f7b5552d1ee58aa1a5e9f6a20d86baf7b78b282c307
SIZE (hashicorp-nomad-v0.11.0_GH0.tar.gz) = 52708805
TIMESTAMP = 1590199997
SHA256 (hashicorp-nomad-v0.11.2_GH0.tar.gz) = d0da412d23dfeba313a9824e9cc56c4aeb6180156d540d5a13313c510f6d549b
SIZE (hashicorp-nomad-v0.11.2_GH0.tar.gz) = 53217187

View File

@ -0,0 +1,22 @@
--- vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go.orig 2020-05-14 21:25:30 UTC
+++ vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go
@@ -84,9 +84,9 @@ func PartitionsWithContext(ctx context.Context, all bo
}
d := PartitionStat{
- Device: common.IntToString(stat.Mntfromname[:]),
- Mountpoint: common.IntToString(stat.Mntonname[:]),
- Fstype: common.IntToString(stat.Fstypename[:]),
+ Device: common.ByteToString(stat.Mntfromname[:]),
+ Mountpoint: common.ByteToString(stat.Mntonname[:]),
+ Fstype: common.ByteToString(stat.Fstypename[:]),
Opts: opts,
}
if all == false {
@@ -170,5 +170,5 @@ func parseDevstat(buf []byte) (Devstat, error) {
}
func getFsType(stat unix.Statfs_t) string {
- return common.IntToString(stat.Fstypename[:])
+ return common.ByteToString(stat.Fstypename[:])
}