View | Details | Raw Unified | Return to bug 252351
Collapse All | Expand All

(-)sysutils/nomad/Makefile (-4 / +1 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	nomad
3
PORTNAME=	nomad
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.12.9
5
DISTVERSION=	1.0.1
6
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
7
7
8
MAINTAINER=	jhixson@FreeBSD.org
8
MAINTAINER=	jhixson@FreeBSD.org
Lines 11-19 Link Here
11
LICENSE=	MPL20
11
LICENSE=	MPL20
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
13
14
ONLY_FOR_ARCHS=	amd64
15
ONLY_FOR_ARCHS_REASON=	On i386: go compiler crashes: https://github.com/golang/go/issues/23763
16
17
USES=		go
14
USES=		go
18
USE_GITHUB=	yes
15
USE_GITHUB=	yes
19
GH_ACCOUNT=	hashicorp
16
GH_ACCOUNT=	hashicorp
(-)sysutils/nomad/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1606423825
1
TIMESTAMP = 1609605846
2
SHA256 (hashicorp-nomad-v0.12.9_GH0.tar.gz) = 22616dcb3e254a14a367bce1090edbebcd1155424b9b5097816f6584f1260e7d
2
SHA256 (hashicorp-nomad-v1.0.1_GH0.tar.gz) = 1dca9ebb1636fc8ef005d9c6eed8cf10fbfc3d7c9ff7307606454142d858f419
3
SIZE (hashicorp-nomad-v0.12.9_GH0.tar.gz) = 51467264
3
SIZE (hashicorp-nomad-v1.0.1_GH0.tar.gz) = 51101330
(-)sysutils/nomad/files/nomad.in (+1 lines)
Lines 39-44 Link Here
39
pidfile=/var/run/nomad.pid
39
pidfile=/var/run/nomad.pid
40
procname="%%PREFIX%%/bin/nomad"
40
procname="%%PREFIX%%/bin/nomad"
41
command="/usr/sbin/daemon"
41
command="/usr/sbin/daemon"
42
extra_commands="reload"
42
nomad_command="/usr/bin/env ${nomad_env} ${procname} agent -data-dir=${nomad_dir} ${nomad_args}"
43
nomad_command="/usr/bin/env ${nomad_env} ${procname} agent -data-dir=${nomad_dir} ${nomad_args}"
43
command_args="-f -t ${name} -p ${pidfile} ${nomad_command}"
44
command_args="-f -t ${name} -p ${pidfile} ${nomad_command}"
44
45
(-)sysutils/nomad/files/patch-vendor_github.com_shirou_gopsutil_disk_disk__freebsd.go (-22 lines)
Lines 1-22 Link Here
1
--- vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go.orig	2020-05-14 21:25:30 UTC
2
+++ vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go
3
@@ -84,9 +84,9 @@ func PartitionsWithContext(ctx context.Context, all bo
4
 		}
5
 
6
 		d := PartitionStat{
7
-			Device:     common.IntToString(stat.Mntfromname[:]),
8
-			Mountpoint: common.IntToString(stat.Mntonname[:]),
9
-			Fstype:     common.IntToString(stat.Fstypename[:]),
10
+			Device:     common.ByteToString(stat.Mntfromname[:]),
11
+			Mountpoint: common.ByteToString(stat.Mntonname[:]),
12
+			Fstype:     common.ByteToString(stat.Fstypename[:]),
13
 			Opts:       opts,
14
 		}
15
 		if all == false {
16
@@ -170,5 +170,5 @@ func parseDevstat(buf []byte) (Devstat, error) {
17
 }
18
 
19
 func getFsType(stat unix.Statfs_t) string {
20
-	return common.IntToString(stat.Fstypename[:])
21
+	return common.ByteToString(stat.Fstypename[:])
22
 }

Return to bug 252351