Update to nomad-1.0.0.
This commit is contained in:
parent
7e60396826
commit
b32fc763ed
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.26 2020/11/29 10:31:55 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.27 2020/12/10 09:30:55 ajacoutot Exp $
|
||||
|
||||
# bunch of undefined things in crypto/blake2b, shirou/gopsutil/disk, shirou/gopsutil/mem
|
||||
NOT_FOR_ARCHS= i386
|
||||
|
||||
COMMENT= cluster scheduler
|
||||
|
||||
GH_TAGNAME= v0.12.9
|
||||
GH_TAGNAME= v1.0.0
|
||||
GH_ACCOUNT= hashicorp
|
||||
GH_PROJECT= nomad
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (nomad-0.12.9.tar.gz) = ImFtyz4lShSjZ7zhCQ7b680RVUJLm1CXgW9lhPEmDn0=
|
||||
SIZE (nomad-0.12.9.tar.gz) = 51467264
|
||||
SHA256 (nomad-1.0.0.tar.gz) = lw16Nf5h56buO+BsCigp59zA9ecvyyU59FfS9KsTjOw=
|
||||
SIZE (nomad-1.0.0.tar.gz) = 51103338
|
||||
|
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-vendor_github_com_shirou_gopsutil_process_process_openbsd_go,v 1.1 2020/12/10 09:30:55 ajacoutot Exp $
|
||||
|
||||
From 013cd610f5084787a33363545979a4391b24819d Mon Sep 17 00:00:00 2001
|
||||
From: Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
Date: Sat, 24 Oct 2020 15:35:19 +0200
|
||||
Subject: [PATCH] process: unbreak build on OpenBSD
|
||||
|
||||
Index: vendor/github.com/shirou/gopsutil/process/process_openbsd.go
|
||||
--- vendor/github.com/shirou/gopsutil/process/process_openbsd.go.orig
|
||||
+++ vendor/github.com/shirou/gopsutil/process/process_openbsd.go
|
||||
@@ -227,7 +227,12 @@ func (p *Process) GroupsWithContext(ctx context.Contex
|
||||
return nil, err
|
||||
}
|
||||
|
||||
- return k.Groups, nil
|
||||
+ groups := make([]int32, k.Ngroups)
|
||||
+ for i := int16(0); i < k.Ngroups; i++ {
|
||||
+ groups[i] = int32(k.Groups[i])
|
||||
+ }
|
||||
+
|
||||
+ return groups, nil
|
||||
}
|
||||
func (p *Process) Terminal() (string, error) {
|
||||
return p.TerminalWithContext(context.Background())
|
Loading…
Reference in New Issue
Block a user