aboutsummaryrefslogtreecommitdiffstats
path: root/community/nomad/APKBUILD
diff options
context:
space:
mode:
authoromni <omni+alpine@hack.org>2022-05-22 14:21:54 +0000
committeralice <alice@ayaya.dev>2022-05-22 14:58:00 +0000
commit94fc1b2f2c1f69bd05b70a84ed8c7432b610e666 (patch)
tree728c75b7fec8157c124172102de1c86f3473154d /community/nomad/APKBUILD
parent291faece1ac3dfac32137c632fb2b43588570dc8 (diff)
downloadaports-94fc1b2f2c1f69bd05b70a84ed8c7432b610e666.tar.gz
aports-94fc1b2f2c1f69bd05b70a84ed8c7432b610e666.tar.bz2
aports-94fc1b2f2c1f69bd05b70a84ed8c7432b610e666.tar.xz
community/nomad: security upgrade to 1.3.1
Enable on x86
Diffstat (limited to 'community/nomad/APKBUILD')
-rw-r--r--community/nomad/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/nomad/APKBUILD b/community/nomad/APKBUILD
index 318b9ef720..8d0b9f2003 100644
--- a/community/nomad/APKBUILD
+++ b/community/nomad/APKBUILD
@@ -2,12 +2,13 @@
# Contributor: omni <omni+alpine@hack.org>
# Maintainer: Matthias Neugebauer <mtneug@mailbox.org>
pkgname=nomad
-pkgver=1.2.6 # remember to update GIT_COMMIT below
-pkgrel=1
+pkgver=1.3.1 # remember to update _gitcommit below
+_gitcommit=2b054e3
+pkgrel=0
pkgdesc="easy-to-use, flexible, and performant workload orchestrator"
url="https://www.nomadproject.io/"
-arch="all !riscv64 !x86"
-# x86 run out of memory, riscv64 limited by yarn/npm
+arch="all !riscv64"
+# riscv64 limited by yarn/npm
license="MPL-2.0"
depends="
cni-plugins
@@ -31,6 +32,8 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/nomad/archive/v$pk
"
# secfixes:
+# 1.3.1-r0:
+# - CVE-2022-30324
# 1.2.6-r0:
# - CVE-2022-24683
# - CVE-2022-24684
@@ -63,7 +66,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/nomad/archive/v$pk
export GOPATH="$srcdir"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
-export GIT_COMMIT="95514d5"
+export GIT_COMMIT="$_gitcommit"
build() {
go build -v -o bin/"$pkgname" \
@@ -85,7 +88,7 @@ package() {
}
sha512sums="
-93a3ed9b0d992ba25cb126496cb9ed250195d8b8011312ebc4cffdf5f9f8786bc43cbe18cefc820597b8a117a05f6118e2e4a88e25e738c1bd309c5504e93ed9 nomad-1.2.6.tar.gz
+9cf5f679e43e4d4ebda364fe4e72b6e293ebd866c334870323f71480ecb0c7cfa597c5635fa520de0c8f2d80bd176c42fa42379f63e4f439d7b4e174b595439a nomad-1.3.1.tar.gz
ac969c81150ba57871c1f75f17c11d06ffc7bcc872882416c7c0d9d43f5e352ca1b7e7bfd75e32a9d01a826496c77a657dc298f5e048f85b4d9e85bc3afee51d nomad.initd
a4fcc9f319926e8e5257dcc902cf3e1cbacd8bee82097b7a9719611d52037431a7e953a4b0fa90fc25475d2590cd14877c8e4c87bd909dd0099a754ba6f5063c nomad.confd
c2ba7db5bb0858547bf346819945d24626ac761541f38350b40408e1b26227549f6aa4d6946baadbf856329c0ac9f81f84164597d11361224b62a1697f17e726 server.hcl