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: Mon, 01 Mar 2021 22:27:58
Message-Id: 1614637667.fee7adf5f060a26b44b1ebbe32a5956b374fcc64.williamh@gentoo
1 commit: fee7adf5f060a26b44b1ebbe32a5956b374fcc64
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 1 22:25:58 2021 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 1 22:27:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee7adf5
7
8 sys-cluster/nomad: remove vulnerable versions
9
10 Bug: https://bugs.gentoo.org/768309
11 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
12
13 sys-cluster/nomad/Manifest | 2 --
14 sys-cluster/nomad/nomad-0.12.8.ebuild | 45 -----------------------------------
15 sys-cluster/nomad/nomad-1.0.1.ebuild | 45 -----------------------------------
16 3 files changed, 92 deletions(-)
17
18 diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
19 index 33e78cfa5e2..9d0b5bc1691 100644
20 --- a/sys-cluster/nomad/Manifest
21 +++ b/sys-cluster/nomad/Manifest
22 @@ -1,3 +1 @@
23 -DIST nomad-0.12.8.tar.gz 51472616 BLAKE2B 17316e4305edc5a74d640d1bd46e1f997ae43727a6c6dcc5df19af64c659a9b00e4fa2c45c92d70ff70b465278b1bb5c03d81d041facf89549faba17d86efa96 SHA512 c4615043bd1ce3c28cc9a564d58cc0ebbd197b4761763f4d4106fc8d36678c1d8b5b697a38c5ec1093d7d3973b700cd5f32415ec10b8c00546aa1707dea25231
24 -DIST nomad-1.0.1.tar.gz 51101330 BLAKE2B ee955890e7d3cb093c05f91bb4ad4c33f65048875fbf626b8c40975b21c81b8c9802288cc90953a7639ae8b03ba01f1f65320d711bf884aa27c80bfcecccb73b SHA512 07032f965c5826882a4ce0acd7ef2a5d74cc5f0c439b030a4787e60c474070797c5f88d84353e5d423c1d0f6ac411119fd40eebb57848d4eecd8394477fbffa2
25 DIST nomad-1.0.4.tar.gz 39538107 BLAKE2B ff72d527e23ce01a6ef0201e3606f4f66933f3c205123a32f503947710de3221476ce738b92becb147a8570c65bb5f4707fad480889197f605840197cfa13155 SHA512 935c8a6924434548f65b162c15f9ca14383546a1e0cea0694312f323d776d92863357f82c7ab53408e76c5c966986c0a511eda8a35043cf21c1020634c6e2ae4
26
27 diff --git a/sys-cluster/nomad/nomad-0.12.8.ebuild b/sys-cluster/nomad/nomad-0.12.8.ebuild
28 deleted file mode 100644
29 index 390774fda6a..00000000000
30 --- a/sys-cluster/nomad/nomad-0.12.8.ebuild
31 +++ /dev/null
32 @@ -1,45 +0,0 @@
33 -# Copyright 2020-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -inherit go-module systemd
38 -GIT_COMMIT=99fa2774301199ee20e661c7c1832a6ee1d5c553
39 -
40 -DESCRIPTION="A simple and flexible workload orchestrator"
41 -HOMEPAGE="https://nomadproject.io"
42 -SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="MPL-2.0"
45 -SLOT="0"
46 -KEYWORDS="~amd64"
47 -IUSE="nvidia"
48 -
49 -RESTRICT+=" test"
50 -
51 -src_compile() {
52 - local go_ldflags go_tags
53 - go_ldflags="-X github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
54 - go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
55 - CGO_ENABLED=1 \
56 - go build \
57 - -trimpath \
58 - -ldflags "${go_ldflags}" \
59 - -mod=vendor \
60 - -tags "${go_tags}" \
61 - -o bin/${PN} || die "compile failed"
62 -}
63 -
64 -src_install() {
65 - dobin bin/${PN}
66 - systemd_dounit dist/systemd/nomad.service
67 - insinto /etc/nomad.d
68 - newins dist/client.hcl client.hcl.example
69 - newins dist/server.hcl server.hcl.example
70 - einstalldocs
71 - dodoc CHANGELOG.md
72 - keepdir /var/lib/nomad /var/log/nomad
73 - newconfd "${FILESDIR}/nomad.confd" nomad
74 - newinitd "${FILESDIR}/nomad.initd" nomad
75 - insinto /etc/logrotate.d
76 - newins "${FILESDIR}/nomad.logrotated" nomad
77 -}
78
79 diff --git a/sys-cluster/nomad/nomad-1.0.1.ebuild b/sys-cluster/nomad/nomad-1.0.1.ebuild
80 deleted file mode 100644
81 index 78c2f6b1233..00000000000
82 --- a/sys-cluster/nomad/nomad-1.0.1.ebuild
83 +++ /dev/null
84 @@ -1,45 +0,0 @@
85 -# Copyright 2020-2021 Gentoo Authors
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=7
89 -inherit go-module systemd
90 -GIT_COMMIT=52ec2e19f1d6e383b30a495b9bcdece315adac17
91 -
92 -DESCRIPTION="A simple and flexible workload orchestrator"
93 -HOMEPAGE="https://nomadproject.io"
94 -SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> ${P}.tar.gz"
95 -
96 -LICENSE="MPL-2.0"
97 -SLOT="0"
98 -KEYWORDS="~amd64"
99 -IUSE="nvidia"
100 -
101 -RESTRICT+=" test"
102 -
103 -src_compile() {
104 - local go_ldflags go_tags
105 - go_ldflags="-X github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
106 - go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
107 - CGO_ENABLED=1 \
108 - go build \
109 - -ldflags "${go_ldflags}" \
110 - -mod=vendor \
111 - -tags "${go_tags}" \
112 - -trimpath \
113 - -o bin/${PN} || die "compile failed"
114 -}
115 -
116 -src_install() {
117 - dobin bin/${PN}
118 - systemd_dounit dist/systemd/nomad.service
119 - insinto /etc/nomad.d
120 - newins dist/client.hcl client.hcl.example
121 - newins dist/server.hcl server.hcl.example
122 - einstalldocs
123 - dodoc CHANGELOG.md
124 - keepdir /var/lib/nomad /var/log/nomad
125 - newconfd "${FILESDIR}/nomad.confd" nomad
126 - newinitd "${FILESDIR}/nomad.initd" nomad
127 - insinto /etc/logrotate.d
128 - newins "${FILESDIR}/nomad.logrotated" nomad
129 -}