Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/
Date: Sun, 20 Feb 2022 18:53:10
Message-Id: 1645383168.010bb3a5ba073cc25e34ec9c001154e38aa7f789.williamh@gentoo
1 commit: 010bb3a5ba073cc25e34ec9c001154e38aa7f789
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 18:51:24 2022 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 18:52:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010bb3a5
7
8 sys-cluster/nomad: remove vulnerable versions
9
10 Bug: https://bugs.gentoo.org/812494
11 Bug: https://bugs.gentoo.org/833157
12 Package-Manager: Portage-3.0.30, Repoman-3.0.3
13 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
14
15 sys-cluster/nomad/Manifest | 1 -
16 sys-cluster/nomad/metadata.xml | 1 -
17 sys-cluster/nomad/nomad-1.0.9.ebuild | 45 ------------------------------------
18 3 files changed, 47 deletions(-)
19
20 diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
21 index b38f14d5d906..1d5e117082e7 100644
22 --- a/sys-cluster/nomad/Manifest
23 +++ b/sys-cluster/nomad/Manifest
24 @@ -1,3 +1,2 @@
25 -DIST nomad-1.0.9.tar.gz 40563203 BLAKE2B 5db3bce093ae873907572e5f67640fac162e4c4ffe436f2acd3ac9fe8da509f451ff73c948dcd49d10eb101afdfe5285b2906986983b938034c64aab8d0cab4d SHA512 66a00f15a16b57e8a3f97c43301bd9aaab76e185b56fe45193eb0e7c25e83fbcf1a7072f2d5fe4c533a00e63c71f3ec941a05cf6aa50f5051b8f3b5588b50463
26 DIST nomad-1.2.6-vendor.tar.xz 8019208 BLAKE2B f972a84d201328f95e13a68fdc6dc0f0db5aff6d7ff98f5478ef310c6349fb4c0d9e5aa9c638ae81fb9f2776fa4d252c3b1daed091d3b9ae6d86a75d79e2ac0e SHA512 8d53eaa771847d862f14c3fad286fe42b5c4426b242b18d2b900e4807221e6624b8bb129f34c560078d8863ce19b58c6637d2cc806950fffb5140b8d44f44c8f
27 DIST nomad-1.2.6.tar.gz 29585632 BLAKE2B 1b9ecbb11ddc59f8078831c6d41b8547a572c3b8475a21d65b8333204bdd2a6ee646cc7c5ec2bdffaee6c1b3cdf2dc30a667464695057e49c2bca41128b61452 SHA512 93a3ed9b0d992ba25cb126496cb9ed250195d8b8011312ebc4cffdf5f9f8786bc43cbe18cefc820597b8a117a05f6118e2e4a88e25e738c1bd309c5504e93ed9
28
29 diff --git a/sys-cluster/nomad/metadata.xml b/sys-cluster/nomad/metadata.xml
30 index 6430362e0106..35a7a677df6a 100644
31 --- a/sys-cluster/nomad/metadata.xml
32 +++ b/sys-cluster/nomad/metadata.xml
33 @@ -6,7 +6,6 @@
34 <name>William Hubbs</name>
35 </maintainer>
36 <use>
37 - <flag name="nvidia">build with nvidia integration</flag>
38 <flag name="ui">do not embed the ui in the binary</flag>
39 </use>
40 </pkgmetadata>
41
42 diff --git a/sys-cluster/nomad/nomad-1.0.9.ebuild b/sys-cluster/nomad/nomad-1.0.9.ebuild
43 deleted file mode 100644
44 index 1a271c9eabe7..000000000000
45 --- a/sys-cluster/nomad/nomad-1.0.9.ebuild
46 +++ /dev/null
47 @@ -1,45 +0,0 @@
48 -# Copyright 2020-2021 Gentoo Authors
49 -# Distributed under the terms of the GNU General Public License v2
50 -
51 -EAPI=8
52 -inherit go-module systemd
53 -GIT_COMMIT=958556d77ee6f32d9a92cfbe39ec9d33781b1cdc
54 -
55 -DESCRIPTION="A simple and flexible workload orchestrator"
56 -HOMEPAGE="https://nomadproject.io"
57 -SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> ${P}.tar.gz"
58 -
59 -LICENSE="MPL-2.0"
60 -SLOT="0"
61 -KEYWORDS="~amd64"
62 -IUSE="nvidia"
63 -
64 -RESTRICT=" test"
65 -
66 -src_compile() {
67 - local go_ldflags go_tags
68 - go_ldflags="-X github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
69 - go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
70 - CGO_ENABLED=1 \
71 - go build \
72 - -ldflags "${go_ldflags}" \
73 - -mod=vendor \
74 - -tags "${go_tags}" \
75 - -trimpath \
76 - -o bin/${PN} || die "compile failed"
77 -}
78 -
79 -src_install() {
80 - dobin bin/${PN}
81 - systemd_dounit dist/systemd/nomad.service
82 - insinto /etc/nomad.d
83 - newins dist/client.hcl client.hcl.example
84 - newins dist/server.hcl server.hcl.example
85 - einstalldocs
86 - dodoc CHANGELOG.md
87 - keepdir /var/lib/nomad /var/log/nomad
88 - newconfd "${FILESDIR}/nomad.confd" nomad
89 - newinitd "${FILESDIR}/nomad.initd" nomad
90 - insinto /etc/logrotate.d
91 - newins "${FILESDIR}/nomad.logrotated" nomad
92 -}