Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2020 03:27:19 +0000 (UTC)
From:      John Hixson <jhixson@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536263 - in head/sysutils/nomad: . files
Message-ID:  <202005230327.04N3RJZ4008299@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhixson
Date: Sat May 23 03:27:18 2020
New Revision: 536263
URL: https://svnweb.freebsd.org/changeset/ports/536263

Log:
  sysutils/nomad: update to version 0.11.2

Added:
  head/sysutils/nomad/files/patch-vendor_github.com_shirou_gopsutil_disk_disk__freebsd.go   (contents, props changed)
Modified:
  head/sysutils/nomad/Makefile
  head/sysutils/nomad/distinfo

Modified: head/sysutils/nomad/Makefile
==============================================================================
--- head/sysutils/nomad/Makefile	Sat May 23 03:26:31 2020	(r536262)
+++ head/sysutils/nomad/Makefile	Sat May 23 03:27:18 2020	(r536263)
@@ -2,7 +2,7 @@
 
 PORTNAME=	nomad
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.11.0
+DISTVERSION=	0.11.2
 CATEGORIES=	sysutils
 
 MAINTAINER=	jhixson@FreeBSD.org

Modified: head/sysutils/nomad/distinfo
==============================================================================
--- head/sysutils/nomad/distinfo	Sat May 23 03:26:31 2020	(r536262)
+++ head/sysutils/nomad/distinfo	Sat May 23 03:27:18 2020	(r536263)
@@ -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

Added: head/sysutils/nomad/files/patch-vendor_github.com_shirou_gopsutil_disk_disk__freebsd.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/nomad/files/patch-vendor_github.com_shirou_gopsutil_disk_disk__freebsd.go	Sat May 23 03:27:18 2020	(r536263)
@@ -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[:])
+ }



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