Skip to content

Commit

Permalink
nomad: update to 0.9.2.
Browse files Browse the repository at this point in the history
Nomad 0.9.2 addresses CVE-2019-12618 (hashicorp/nomad#5728).

Removes yarn build error -- no longer required as the assets are
vendored, so it's possible to build this on i686.

Removes nonvidia patch. The changes are upstream in 0.9.2.

Closes: #12169 [via git-merge-pr]
  • Loading branch information
nilium authored and the-maldridge committed Jun 8, 2019
1 parent 030facc commit 7e5854f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 96 deletions.

This file was deleted.

8 changes: 2 additions & 6 deletions srcpkgs/nomad/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'nomad'
pkgname=nomad
version=0.9.1
version=0.9.2
revision=1
build_style=go
go_import_path="github.com/hashicorp/${pkgname}"
Expand All @@ -13,13 +13,9 @@ maintainer="iaroki <iaroki@protonmail.com>"
license="MPL-2.0"
homepage="https://www.nomadproject.io/"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum=19da9f2bcc4c521b777a7889ed2c1a28182d2048e134a56099ff54e9fb6c2347
checksum=5e3172cc51a925818c3bc892a2e99ee7da235b88ac2bdab3633a6a6289f0c692
patch_args="-Np1"

case "$XBPS_MACHINE" in
i686*) broken="yarn is broken on i686" ;;
esac

case "$XBPS_TARGET_MACHINE" in
*-musl) go_build_tags+=" nonvidia" ;;
esac
Expand Down

0 comments on commit 7e5854f

Please sign in to comment.