[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2023-11-16 Thread John Helmert III
commit: 6d56efc73f345ab9918156440addbcec69eda70e
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Nov 17 04:22:50 2023 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Nov 17 04:23:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d56efc7

sys-cluster/nomad: security cleanup

Bug: https://bugs.gentoo.org/895628
Signed-off-by: John Helmert III  gentoo.org>

 sys-cluster/nomad/Manifest   |  4 
 sys-cluster/nomad/nomad-1.4.3.ebuild | 44 
 sys-cluster/nomad/nomad-1.5.3.ebuild | 44 
 3 files changed, 92 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index c6ff8b67a393..0f479a9ab70c 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,6 +1,2 @@
-DIST nomad-1.4.3-deps.tar.xz 380318008 BLAKE2B 
76dcb628d70d94019870e8837770f06b270c12f06f29bccc8394992c0bb04856e58bfcb5cbcc439b9401ad9433935d7480db5a7201d3b120d6374418fb347f67
 SHA512 
d634f3400d48e452ceeac43754bda5970b5bfe41a3478e50752cc3b93fcaef881b8781920647417bd16d780fea0387769c946680308f0f926520cc7f5ceb649c
-DIST nomad-1.4.3.tar.gz 23243041 BLAKE2B 
dec5cb10993b45da906e98446531679543befd820b5dde226a4ea12e817408330cc80806e5b85c54d968fe110249bc266bb9426cc6f59e64c0c0ce78a4e5b884
 SHA512 
abc4b6b62e5693d7efd80a29726b21544fe3c8b03099f5cb2e1aa6707f512ea6f744c250996bc8d3f3f70bb4eaf6177d7640c8decb503800bee5397d9c0b4140
-DIST nomad-1.5.3-deps.tar.xz 413102012 BLAKE2B 
038953b122a194c56c5c9436d76099022da18dd6b5b639d0b2fcee321a24c23bc6deee63e27638ab79996728a83f9ba9b8d2151265ed6fbbe613d2402c84c88b
 SHA512 
0b483b66fa1ed8f1b38ae77db3aef008341416ffc24abb29121560634bb31a7282e26333bb8330386049bea60eb8ae3ef58eab37785eb2446e9d55029b6ecb46
-DIST nomad-1.5.3.tar.gz 23976676 BLAKE2B 
4d237e2610b3c2e9c887d115474b628ba81814fb1c2e89e387b63329072817c9f3768557d33e98f199e9f16e08cc81797d31a7570e18fa0d6c450aa6e0799969
 SHA512 
c058c367cfd632f9f6801aaabf79ed5ba6f70e69de0480e15be84f40ebea78433f10aed82e54339231df1063ab2a8b150a0185c1bc9127174347a9d5c71ffe1d
 DIST nomad-1.6.1-deps.tar.xz 357940588 BLAKE2B 
956b9e7b89cca7e0678f1e8b0b64134f34d5a0d6e017d971891ae1847628e9f125a0ab86bbb6d0902ef33a68aaeedb9e904d3617bb5fb1b86f125f0b12854722
 SHA512 
fba689dc8644219013c17162389d396740a5801953e1e052f246f503444f8867f99ec9a2047add0e07876b2cff7e6928e6bd66c2ba4277ab825c58ba7cff6e4a
 DIST nomad-1.6.1.tar.gz 24346334 BLAKE2B 
9c97469e91dd8aa7c5487edc51a6cd8d64a7920a1c385d52339eb6dc552efb79d5f87d91d377cd373088e6284e719a84b765115c8c4e78ba067d81f0869f0909
 SHA512 
d85450980813b584e5147a7626827b5b2213f7304cee027b46ec116999e9858bd20eea1fd482acaf8feb57b3dc13ae84834a472f1bbc4da8ec18ab926c283860

diff --git a/sys-cluster/nomad/nomad-1.4.3.ebuild 
b/sys-cluster/nomad/nomad-1.4.3.ebuild
deleted file mode 100644
index 0d157d25aa6b..
--- a/sys-cluster/nomad/nomad-1.4.3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd
-GIT_COMMIT=f464aca721d222ae9c1f3df643b3c3aaa20e2da7
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="ui"
-
-RESTRICT=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated"
-   go_tags+="$(usex ui ',ui' '' )"
-   CGO_ENABLED=1 \
-   ego build \
-   -ldflags "${go_ldflags}" \
-   -tags "${go_tags}" \
-   -trimpath \
-   -o bin/${PN}
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit "${FILESDIR}"/nomad.service
-   keepdir /etc/nomad.d
-   einstalldocs
-   dodoc CHANGELOG.md
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}

diff --git a/sys-cluster/nomad/nomad-1.5.3.ebuild 
b/sys-cluster/nomad/nomad-1.5.3.ebuild
deleted file mode 100644
index 1adb04ac4d08..
--- a/sys-cluster/nomad/nomad-1.5.3.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd
-GIT_COMMIT=434f7a1745c6304d607562daa9a4a635def7153f
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
-
-LICENSE="MPL-2.0"
-SLOT="0"

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2023-08-08 Thread William Hubbs
commit: 51aa45d2c61a6838d5e8d93d318f19b70eecb6b7
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Aug  8 20:12:11 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Aug  8 20:12:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51aa45d2

sys-cluster/nomad: add 1.6.1

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  2 ++
 sys-cluster/nomad/nomad-1.6.1.ebuild | 44 
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 3dbb90366f1d..c6ff8b67a393 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -2,3 +2,5 @@ DIST nomad-1.4.3-deps.tar.xz 380318008 BLAKE2B 
76dcb628d70d94019870e8837770f06b2
 DIST nomad-1.4.3.tar.gz 23243041 BLAKE2B 
dec5cb10993b45da906e98446531679543befd820b5dde226a4ea12e817408330cc80806e5b85c54d968fe110249bc266bb9426cc6f59e64c0c0ce78a4e5b884
 SHA512 
abc4b6b62e5693d7efd80a29726b21544fe3c8b03099f5cb2e1aa6707f512ea6f744c250996bc8d3f3f70bb4eaf6177d7640c8decb503800bee5397d9c0b4140
 DIST nomad-1.5.3-deps.tar.xz 413102012 BLAKE2B 
038953b122a194c56c5c9436d76099022da18dd6b5b639d0b2fcee321a24c23bc6deee63e27638ab79996728a83f9ba9b8d2151265ed6fbbe613d2402c84c88b
 SHA512 
0b483b66fa1ed8f1b38ae77db3aef008341416ffc24abb29121560634bb31a7282e26333bb8330386049bea60eb8ae3ef58eab37785eb2446e9d55029b6ecb46
 DIST nomad-1.5.3.tar.gz 23976676 BLAKE2B 
4d237e2610b3c2e9c887d115474b628ba81814fb1c2e89e387b63329072817c9f3768557d33e98f199e9f16e08cc81797d31a7570e18fa0d6c450aa6e0799969
 SHA512 
c058c367cfd632f9f6801aaabf79ed5ba6f70e69de0480e15be84f40ebea78433f10aed82e54339231df1063ab2a8b150a0185c1bc9127174347a9d5c71ffe1d
+DIST nomad-1.6.1-deps.tar.xz 357940588 BLAKE2B 
956b9e7b89cca7e0678f1e8b0b64134f34d5a0d6e017d971891ae1847628e9f125a0ab86bbb6d0902ef33a68aaeedb9e904d3617bb5fb1b86f125f0b12854722
 SHA512 
fba689dc8644219013c17162389d396740a5801953e1e052f246f503444f8867f99ec9a2047add0e07876b2cff7e6928e6bd66c2ba4277ab825c58ba7cff6e4a
+DIST nomad-1.6.1.tar.gz 24346334 BLAKE2B 
9c97469e91dd8aa7c5487edc51a6cd8d64a7920a1c385d52339eb6dc552efb79d5f87d91d377cd373088e6284e719a84b765115c8c4e78ba067d81f0869f0909
 SHA512 
d85450980813b584e5147a7626827b5b2213f7304cee027b46ec116999e9858bd20eea1fd482acaf8feb57b3dc13ae84834a472f1bbc4da8ec18ab926c283860

diff --git a/sys-cluster/nomad/nomad-1.6.1.ebuild 
b/sys-cluster/nomad/nomad-1.6.1.ebuild
new file mode 100644
index ..b07ee3abb437
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.6.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=515895c7690cdc72278018dc5dc58aca41204ccc
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="ui"
+
+RESTRICT=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   go_tags+="$(usex ui ',ui' '' )"
+   CGO_ENABLED=1 \
+   ego build \
+   -ldflags "${go_ldflags}" \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN}
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit "${FILESDIR}"/nomad.service
+   keepdir /etc/nomad.d
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2023-04-27 Thread William Hubbs
commit: 3e9a638ecfb868f88e5917996ff2e33c824f2c27
Author: William Hubbs  gentoo  org>
AuthorDate: Thu Apr 27 19:40:13 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Apr 27 19:40:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e9a638e

sys-cluster/nomad: add 1.5.3

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  2 ++
 sys-cluster/nomad/nomad-1.5.3.ebuild | 44 
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index ae51c63496b8..3dbb90366f1d 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,2 +1,4 @@
 DIST nomad-1.4.3-deps.tar.xz 380318008 BLAKE2B 
76dcb628d70d94019870e8837770f06b270c12f06f29bccc8394992c0bb04856e58bfcb5cbcc439b9401ad9433935d7480db5a7201d3b120d6374418fb347f67
 SHA512 
d634f3400d48e452ceeac43754bda5970b5bfe41a3478e50752cc3b93fcaef881b8781920647417bd16d780fea0387769c946680308f0f926520cc7f5ceb649c
 DIST nomad-1.4.3.tar.gz 23243041 BLAKE2B 
dec5cb10993b45da906e98446531679543befd820b5dde226a4ea12e817408330cc80806e5b85c54d968fe110249bc266bb9426cc6f59e64c0c0ce78a4e5b884
 SHA512 
abc4b6b62e5693d7efd80a29726b21544fe3c8b03099f5cb2e1aa6707f512ea6f744c250996bc8d3f3f70bb4eaf6177d7640c8decb503800bee5397d9c0b4140
+DIST nomad-1.5.3-deps.tar.xz 413102012 BLAKE2B 
038953b122a194c56c5c9436d76099022da18dd6b5b639d0b2fcee321a24c23bc6deee63e27638ab79996728a83f9ba9b8d2151265ed6fbbe613d2402c84c88b
 SHA512 
0b483b66fa1ed8f1b38ae77db3aef008341416ffc24abb29121560634bb31a7282e26333bb8330386049bea60eb8ae3ef58eab37785eb2446e9d55029b6ecb46
+DIST nomad-1.5.3.tar.gz 23976676 BLAKE2B 
4d237e2610b3c2e9c887d115474b628ba81814fb1c2e89e387b63329072817c9f3768557d33e98f199e9f16e08cc81797d31a7570e18fa0d6c450aa6e0799969
 SHA512 
c058c367cfd632f9f6801aaabf79ed5ba6f70e69de0480e15be84f40ebea78433f10aed82e54339231df1063ab2a8b150a0185c1bc9127174347a9d5c71ffe1d

diff --git a/sys-cluster/nomad/nomad-1.5.3.ebuild 
b/sys-cluster/nomad/nomad-1.5.3.ebuild
new file mode 100644
index ..1adb04ac4d08
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.5.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=434f7a1745c6304d607562daa9a4a635def7153f
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="ui"
+
+RESTRICT=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   go_tags+="$(usex ui ',ui' '' )"
+   CGO_ENABLED=1 \
+   ego build \
+   -ldflags "${go_ldflags}" \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN}
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit "${FILESDIR}"/nomad.service
+   keepdir /etc/nomad.d
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-12-26 Thread John Helmert III
commit: 427a7e41116651ab440672115ae6402d3711d36a
Author: John Helmert III  gentoo  org>
AuthorDate: Tue Dec 27 03:01:42 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Tue Dec 27 03:03:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=427a7e41

sys-cluster/nomad: drop 1.2.13, 1.4.1

Bug: https://bugs.gentoo.org/881269
Signed-off-by: John Helmert III  gentoo.org>

 sys-cluster/nomad/Manifest|  4 
 sys-cluster/nomad/nomad-1.2.13.ebuild | 44 ---
 sys-cluster/nomad/nomad-1.4.1.ebuild  | 44 ---
 3 files changed, 92 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 397b48a484a9..ae51c63496b8 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,6 +1,2 @@
-DIST nomad-1.2.13-deps.tar.xz 333983572 BLAKE2B 
089b6de3c72d38ed78ed4b6e643faf636c103f7b63ce669ea1fa07b0c1a8d67d637498d23279b40f53127c9db58d1d4115769b85457e5181a4bf163272d6dd62
 SHA512 
1b40e3189ea95ac280baff5c604a6a0c01fde79954855694e117af7b54c6448a1343ce09f0eb0a3fdc64121866d6366af96750be5f62ee423962265671d43275
-DIST nomad-1.2.13.tar.gz 21582623 BLAKE2B 
88922fa619af1f1ad31326b9729a0d8b0885fbc88dcb1657181ee8e7472f043dd455c847edd7615f84ead2031c91f85c13524e20e6df2b5bf1ffef87919a0dfd
 SHA512 
a4390f37707df4483b93b85b153f26e2e1340736cbb5e8363782467c8b88f9ac5b9967102b8f7478c27ab39bc682486f39fc90a158e04b0a02aa1e12b4e97d23
-DIST nomad-1.4.1-deps.tar.xz 374031840 BLAKE2B 
8859181e7e5bbf74367f2e9231c80869b91394d831d367d0dbad77cec1822e399d0436f93f4e66c3079c47687a366dac6fe926b7cd3906f8ce1539b40e860085
 SHA512 
c422fc115c062482d8ea85f9271c3be9fcdccbd67cc6cc3a2c26f1df77f2686ea90df7e118e82dd9f496af4c8482e11d6eb3130fd69e3e797d684c2d41e4da0c
-DIST nomad-1.4.1.tar.gz 22931445 BLAKE2B 
b21eed2e85a618738f8ade32b993799d0cf2e3afaf7abfd174ad9cd93b54360bc27089fda4a37eafb1487c36ae93c087208eaa1078fecaf61d8e01fa992983d5
 SHA512 
80da494a595339242f77182ee47a124b75277a609e845b9e7fa20f0d9f89b1d4044e18f4d44ade7fe9e4feb06d1bdf71ca9d733ec6270af8ae062374a4ee01a2
 DIST nomad-1.4.3-deps.tar.xz 380318008 BLAKE2B 
76dcb628d70d94019870e8837770f06b270c12f06f29bccc8394992c0bb04856e58bfcb5cbcc439b9401ad9433935d7480db5a7201d3b120d6374418fb347f67
 SHA512 
d634f3400d48e452ceeac43754bda5970b5bfe41a3478e50752cc3b93fcaef881b8781920647417bd16d780fea0387769c946680308f0f926520cc7f5ceb649c
 DIST nomad-1.4.3.tar.gz 23243041 BLAKE2B 
dec5cb10993b45da906e98446531679543befd820b5dde226a4ea12e817408330cc80806e5b85c54d968fe110249bc266bb9426cc6f59e64c0c0ce78a4e5b884
 SHA512 
abc4b6b62e5693d7efd80a29726b21544fe3c8b03099f5cb2e1aa6707f512ea6f744c250996bc8d3f3f70bb4eaf6177d7640c8decb503800bee5397d9c0b4140

diff --git a/sys-cluster/nomad/nomad-1.2.13.ebuild 
b/sys-cluster/nomad/nomad-1.2.13.ebuild
deleted file mode 100644
index 11268df20c44..
--- a/sys-cluster/nomad/nomad-1.2.13.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd
-GIT_COMMIT=6892b138959f03d2fcc02975b61c24c297b360bb
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="ui"
-
-RESTRICT=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated"
-   go_tags+="$(usex ui ',ui' '' )"
-   CGO_ENABLED=1 \
-   ego build \
-   -ldflags "${go_ldflags}" \
-   -tags "${go_tags}" \
-   -trimpath \
-   -o bin/${PN}
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit "${FILESDIR}"/nomad.service
-   keepdir /etc/nomad.d
-   einstalldocs
-   dodoc CHANGELOG.md
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}

diff --git a/sys-cluster/nomad/nomad-1.4.1.ebuild 
b/sys-cluster/nomad/nomad-1.4.1.ebuild
deleted file mode 100644
index 83f65f816da5..
--- a/sys-cluster/nomad/nomad-1.4.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd
-GIT_COMMIT=2aa7e66bdb526e25f59883952d74dad7ea9a014e
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
-
-LICENSE="MPL-2.0"

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-12-15 Thread William Hubbs
commit: 9d8ce831e134edd58d98b9512f84378ade72da15
Author: William Hubbs  gentoo  org>
AuthorDate: Thu Dec 15 18:11:31 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Dec 15 18:11:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d8ce831

sys-cluster/nomad: add 1.4.3

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  2 ++
 sys-cluster/nomad/nomad-1.4.3.ebuild | 44 
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 4ffc779910ac..397b48a484a9 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -2,3 +2,5 @@ DIST nomad-1.2.13-deps.tar.xz 333983572 BLAKE2B 
089b6de3c72d38ed78ed4b6e643faf63
 DIST nomad-1.2.13.tar.gz 21582623 BLAKE2B 
88922fa619af1f1ad31326b9729a0d8b0885fbc88dcb1657181ee8e7472f043dd455c847edd7615f84ead2031c91f85c13524e20e6df2b5bf1ffef87919a0dfd
 SHA512 
a4390f37707df4483b93b85b153f26e2e1340736cbb5e8363782467c8b88f9ac5b9967102b8f7478c27ab39bc682486f39fc90a158e04b0a02aa1e12b4e97d23
 DIST nomad-1.4.1-deps.tar.xz 374031840 BLAKE2B 
8859181e7e5bbf74367f2e9231c80869b91394d831d367d0dbad77cec1822e399d0436f93f4e66c3079c47687a366dac6fe926b7cd3906f8ce1539b40e860085
 SHA512 
c422fc115c062482d8ea85f9271c3be9fcdccbd67cc6cc3a2c26f1df77f2686ea90df7e118e82dd9f496af4c8482e11d6eb3130fd69e3e797d684c2d41e4da0c
 DIST nomad-1.4.1.tar.gz 22931445 BLAKE2B 
b21eed2e85a618738f8ade32b993799d0cf2e3afaf7abfd174ad9cd93b54360bc27089fda4a37eafb1487c36ae93c087208eaa1078fecaf61d8e01fa992983d5
 SHA512 
80da494a595339242f77182ee47a124b75277a609e845b9e7fa20f0d9f89b1d4044e18f4d44ade7fe9e4feb06d1bdf71ca9d733ec6270af8ae062374a4ee01a2
+DIST nomad-1.4.3-deps.tar.xz 380318008 BLAKE2B 
76dcb628d70d94019870e8837770f06b270c12f06f29bccc8394992c0bb04856e58bfcb5cbcc439b9401ad9433935d7480db5a7201d3b120d6374418fb347f67
 SHA512 
d634f3400d48e452ceeac43754bda5970b5bfe41a3478e50752cc3b93fcaef881b8781920647417bd16d780fea0387769c946680308f0f926520cc7f5ceb649c
+DIST nomad-1.4.3.tar.gz 23243041 BLAKE2B 
dec5cb10993b45da906e98446531679543befd820b5dde226a4ea12e817408330cc80806e5b85c54d968fe110249bc266bb9426cc6f59e64c0c0ce78a4e5b884
 SHA512 
abc4b6b62e5693d7efd80a29726b21544fe3c8b03099f5cb2e1aa6707f512ea6f744c250996bc8d3f3f70bb4eaf6177d7640c8decb503800bee5397d9c0b4140

diff --git a/sys-cluster/nomad/nomad-1.4.3.ebuild 
b/sys-cluster/nomad/nomad-1.4.3.ebuild
new file mode 100644
index ..0d157d25aa6b
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.4.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=f464aca721d222ae9c1f3df643b3c3aaa20e2da7
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="ui"
+
+RESTRICT=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   go_tags+="$(usex ui ',ui' '' )"
+   CGO_ENABLED=1 \
+   ego build \
+   -ldflags "${go_ldflags}" \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN}
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit "${FILESDIR}"/nomad.service
+   keepdir /etc/nomad.d
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-10-26 Thread William Hubbs
commit: fe417c83d02f03b2ce655cd2aeb957899b10fc9f
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Oct 26 19:26:43 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Oct 26 19:27:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe417c83

sys-cluster/nomad: add 1.2.13

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  2 ++
 sys-cluster/nomad/nomad-1.2.13.ebuild | 44 +++
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 5f1e8f0effa1..d7a9b47649b1 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,3 +1,5 @@
+DIST nomad-1.2.13-deps.tar.xz 333983572 BLAKE2B 
089b6de3c72d38ed78ed4b6e643faf636c103f7b63ce669ea1fa07b0c1a8d67d637498d23279b40f53127c9db58d1d4115769b85457e5181a4bf163272d6dd62
 SHA512 
1b40e3189ea95ac280baff5c604a6a0c01fde79954855694e117af7b54c6448a1343ce09f0eb0a3fdc64121866d6366af96750be5f62ee423962265671d43275
+DIST nomad-1.2.13.tar.gz 21582623 BLAKE2B 
88922fa619af1f1ad31326b9729a0d8b0885fbc88dcb1657181ee8e7472f043dd455c847edd7615f84ead2031c91f85c13524e20e6df2b5bf1ffef87919a0dfd
 SHA512 
a4390f37707df4483b93b85b153f26e2e1340736cbb5e8363782467c8b88f9ac5b9967102b8f7478c27ab39bc682486f39fc90a158e04b0a02aa1e12b4e97d23
 DIST nomad-1.2.6-vendor.tar.xz 8019208 BLAKE2B 
f972a84d201328f95e13a68fdc6dc0f0db5aff6d7ff98f5478ef310c6349fb4c0d9e5aa9c638ae81fb9f2776fa4d252c3b1daed091d3b9ae6d86a75d79e2ac0e
 SHA512 
8d53eaa771847d862f14c3fad286fe42b5c4426b242b18d2b900e4807221e6624b8bb129f34c560078d8863ce19b58c6637d2cc806950fffb5140b8d44f44c8f
 DIST nomad-1.2.6.tar.gz 29585632 BLAKE2B 
1b9ecbb11ddc59f8078831c6d41b8547a572c3b8475a21d65b8333204bdd2a6ee646cc7c5ec2bdffaee6c1b3cdf2dc30a667464695057e49c2bca41128b61452
 SHA512 
93a3ed9b0d992ba25cb126496cb9ed250195d8b8011312ebc4cffdf5f9f8786bc43cbe18cefc820597b8a117a05f6118e2e4a88e25e738c1bd309c5504e93ed9
 DIST nomad-1.4.1-deps.tar.xz 374031840 BLAKE2B 
8859181e7e5bbf74367f2e9231c80869b91394d831d367d0dbad77cec1822e399d0436f93f4e66c3079c47687a366dac6fe926b7cd3906f8ce1539b40e860085
 SHA512 
c422fc115c062482d8ea85f9271c3be9fcdccbd67cc6cc3a2c26f1df77f2686ea90df7e118e82dd9f496af4c8482e11d6eb3130fd69e3e797d684c2d41e4da0c

diff --git a/sys-cluster/nomad/nomad-1.2.13.ebuild 
b/sys-cluster/nomad/nomad-1.2.13.ebuild
new file mode 100644
index ..11268df20c44
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.2.13.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=6892b138959f03d2fcc02975b61c24c297b360bb
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="ui"
+
+RESTRICT=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   go_tags+="$(usex ui ',ui' '' )"
+   CGO_ENABLED=1 \
+   ego build \
+   -ldflags "${go_ldflags}" \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN}
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit "${FILESDIR}"/nomad.service
+   keepdir /etc/nomad.d
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-10-26 Thread William Hubbs
commit: 1469e630238a2e11be5d9c68b3c54e23ce6cdecd
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Oct 26 19:27:20 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Oct 26 19:27:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1469e630

sys-cluster/nomad: drop 1.2.6

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  2 --
 sys-cluster/nomad/nomad-1.2.6.ebuild | 51 
 2 files changed, 53 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index d7a9b47649b1..4ffc779910ac 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,6 +1,4 @@
 DIST nomad-1.2.13-deps.tar.xz 333983572 BLAKE2B 
089b6de3c72d38ed78ed4b6e643faf636c103f7b63ce669ea1fa07b0c1a8d67d637498d23279b40f53127c9db58d1d4115769b85457e5181a4bf163272d6dd62
 SHA512 
1b40e3189ea95ac280baff5c604a6a0c01fde79954855694e117af7b54c6448a1343ce09f0eb0a3fdc64121866d6366af96750be5f62ee423962265671d43275
 DIST nomad-1.2.13.tar.gz 21582623 BLAKE2B 
88922fa619af1f1ad31326b9729a0d8b0885fbc88dcb1657181ee8e7472f043dd455c847edd7615f84ead2031c91f85c13524e20e6df2b5bf1ffef87919a0dfd
 SHA512 
a4390f37707df4483b93b85b153f26e2e1340736cbb5e8363782467c8b88f9ac5b9967102b8f7478c27ab39bc682486f39fc90a158e04b0a02aa1e12b4e97d23
-DIST nomad-1.2.6-vendor.tar.xz 8019208 BLAKE2B 
f972a84d201328f95e13a68fdc6dc0f0db5aff6d7ff98f5478ef310c6349fb4c0d9e5aa9c638ae81fb9f2776fa4d252c3b1daed091d3b9ae6d86a75d79e2ac0e
 SHA512 
8d53eaa771847d862f14c3fad286fe42b5c4426b242b18d2b900e4807221e6624b8bb129f34c560078d8863ce19b58c6637d2cc806950fffb5140b8d44f44c8f
-DIST nomad-1.2.6.tar.gz 29585632 BLAKE2B 
1b9ecbb11ddc59f8078831c6d41b8547a572c3b8475a21d65b8333204bdd2a6ee646cc7c5ec2bdffaee6c1b3cdf2dc30a667464695057e49c2bca41128b61452
 SHA512 
93a3ed9b0d992ba25cb126496cb9ed250195d8b8011312ebc4cffdf5f9f8786bc43cbe18cefc820597b8a117a05f6118e2e4a88e25e738c1bd309c5504e93ed9
 DIST nomad-1.4.1-deps.tar.xz 374031840 BLAKE2B 
8859181e7e5bbf74367f2e9231c80869b91394d831d367d0dbad77cec1822e399d0436f93f4e66c3079c47687a366dac6fe926b7cd3906f8ce1539b40e860085
 SHA512 
c422fc115c062482d8ea85f9271c3be9fcdccbd67cc6cc3a2c26f1df77f2686ea90df7e118e82dd9f496af4c8482e11d6eb3130fd69e3e797d684c2d41e4da0c
 DIST nomad-1.4.1.tar.gz 22931445 BLAKE2B 
b21eed2e85a618738f8ade32b993799d0cf2e3afaf7abfd174ad9cd93b54360bc27089fda4a37eafb1487c36ae93c087208eaa1078fecaf61d8e01fa992983d5
 SHA512 
80da494a595339242f77182ee47a124b75277a609e845b9e7fa20f0d9f89b1d4044e18f4d44ade7fe9e4feb06d1bdf71ca9d733ec6270af8ae062374a4ee01a2

diff --git a/sys-cluster/nomad/nomad-1.2.6.ebuild 
b/sys-cluster/nomad/nomad-1.2.6.ebuild
deleted file mode 100644
index 3f80f72e6b1a..
--- a/sys-cluster/nomad/nomad-1.2.6.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd
-GIT_COMMIT=95514d569610f15ce49b4a7a1a6bfd3e7b3e7b4f
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz;
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="ui"
-
-RESTRICT=" test"
-
-src_prepare() {
-   default
-   if [[ -d ../vendor ]]; then
-   mv ../vendor . || die
-   fi
-}
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated"
-   go_tags+="$(usex ui ',ui' '' )"
-   CGO_ENABLED=1 \
-   go build \
-   -ldflags "${go_ldflags}" \
-   -tags "${go_tags}" \
-   -trimpath \
-   -o bin/${PN} || die "compile failed"
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit "${FILESDIR}"/nomad.service
-   keepdir /etc/nomad.d
-   einstalldocs
-   dodoc CHANGELOG.md
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-10-26 Thread William Hubbs
commit: a3e5de620fc08dfcf2330afa81642f3592f067ef
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Oct 26 18:55:34 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Oct 26 18:55:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e5de62

sys-cluster/nomad: add 1.4.1

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  2 ++
 sys-cluster/nomad/nomad-1.4.1.ebuild | 44 
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 1d5e117082e7..5f1e8f0effa1 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,2 +1,4 @@
 DIST nomad-1.2.6-vendor.tar.xz 8019208 BLAKE2B 
f972a84d201328f95e13a68fdc6dc0f0db5aff6d7ff98f5478ef310c6349fb4c0d9e5aa9c638ae81fb9f2776fa4d252c3b1daed091d3b9ae6d86a75d79e2ac0e
 SHA512 
8d53eaa771847d862f14c3fad286fe42b5c4426b242b18d2b900e4807221e6624b8bb129f34c560078d8863ce19b58c6637d2cc806950fffb5140b8d44f44c8f
 DIST nomad-1.2.6.tar.gz 29585632 BLAKE2B 
1b9ecbb11ddc59f8078831c6d41b8547a572c3b8475a21d65b8333204bdd2a6ee646cc7c5ec2bdffaee6c1b3cdf2dc30a667464695057e49c2bca41128b61452
 SHA512 
93a3ed9b0d992ba25cb126496cb9ed250195d8b8011312ebc4cffdf5f9f8786bc43cbe18cefc820597b8a117a05f6118e2e4a88e25e738c1bd309c5504e93ed9
+DIST nomad-1.4.1-deps.tar.xz 374031840 BLAKE2B 
8859181e7e5bbf74367f2e9231c80869b91394d831d367d0dbad77cec1822e399d0436f93f4e66c3079c47687a366dac6fe926b7cd3906f8ce1539b40e860085
 SHA512 
c422fc115c062482d8ea85f9271c3be9fcdccbd67cc6cc3a2c26f1df77f2686ea90df7e118e82dd9f496af4c8482e11d6eb3130fd69e3e797d684c2d41e4da0c
+DIST nomad-1.4.1.tar.gz 22931445 BLAKE2B 
b21eed2e85a618738f8ade32b993799d0cf2e3afaf7abfd174ad9cd93b54360bc27089fda4a37eafb1487c36ae93c087208eaa1078fecaf61d8e01fa992983d5
 SHA512 
80da494a595339242f77182ee47a124b75277a609e845b9e7fa20f0d9f89b1d4044e18f4d44ade7fe9e4feb06d1bdf71ca9d733ec6270af8ae062374a4ee01a2

diff --git a/sys-cluster/nomad/nomad-1.4.1.ebuild 
b/sys-cluster/nomad/nomad-1.4.1.ebuild
new file mode 100644
index ..83f65f816da5
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=2aa7e66bdb526e25f59883952d74dad7ea9a014e
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz;
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="ui"
+
+RESTRICT=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   go_tags+="$(usex ui ',ui' '' )"
+   CGO_ENABLED=1 \
+   ego build \
+   -ldflags "${go_ldflags}" \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN}
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit "${FILESDIR}"/nomad.service
+   keepdir /etc/nomad.d
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-06-14 Thread Jakov Smolić
commit: fa82510228af7cac2fd7bbf019a13ba77d1f3e42
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun 14 07:06:08 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun 14 07:06:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa825102

sys-cluster/nomad: Keyword 1.2.6 arm64, #851072

Signed-off-by: Jakov Smolić  gentoo.org>

 sys-cluster/nomad/nomad-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/nomad/nomad-1.2.6.ebuild 
b/sys-cluster/nomad/nomad-1.2.6.ebuild
index c4e5fd6850ed..3f80f72e6b1a 100644
--- a/sys-cluster/nomad/nomad-1.2.6.ebuild
+++ b/sys-cluster/nomad/nomad-1.2.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz;
 
 LICENSE="MPL-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64"
 IUSE="ui"
 
 RESTRICT=" test"



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-02-20 Thread William Hubbs
commit: 010bb3a5ba073cc25e34ec9c001154e38aa7f789
Author: William Hubbs  gentoo  org>
AuthorDate: Sun Feb 20 18:51:24 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sun Feb 20 18:52:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010bb3a5

sys-cluster/nomad: remove vulnerable versions

Bug: https://bugs.gentoo.org/812494
Bug: https://bugs.gentoo.org/833157
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  1 -
 sys-cluster/nomad/metadata.xml   |  1 -
 sys-cluster/nomad/nomad-1.0.9.ebuild | 45 
 3 files changed, 47 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index b38f14d5d906..1d5e117082e7 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,3 +1,2 @@
-DIST nomad-1.0.9.tar.gz 40563203 BLAKE2B 
5db3bce093ae873907572e5f67640fac162e4c4ffe436f2acd3ac9fe8da509f451ff73c948dcd49d10eb101afdfe5285b2906986983b938034c64aab8d0cab4d
 SHA512 
66a00f15a16b57e8a3f97c43301bd9aaab76e185b56fe45193eb0e7c25e83fbcf1a7072f2d5fe4c533a00e63c71f3ec941a05cf6aa50f5051b8f3b5588b50463
 DIST nomad-1.2.6-vendor.tar.xz 8019208 BLAKE2B 
f972a84d201328f95e13a68fdc6dc0f0db5aff6d7ff98f5478ef310c6349fb4c0d9e5aa9c638ae81fb9f2776fa4d252c3b1daed091d3b9ae6d86a75d79e2ac0e
 SHA512 
8d53eaa771847d862f14c3fad286fe42b5c4426b242b18d2b900e4807221e6624b8bb129f34c560078d8863ce19b58c6637d2cc806950fffb5140b8d44f44c8f
 DIST nomad-1.2.6.tar.gz 29585632 BLAKE2B 
1b9ecbb11ddc59f8078831c6d41b8547a572c3b8475a21d65b8333204bdd2a6ee646cc7c5ec2bdffaee6c1b3cdf2dc30a667464695057e49c2bca41128b61452
 SHA512 
93a3ed9b0d992ba25cb126496cb9ed250195d8b8011312ebc4cffdf5f9f8786bc43cbe18cefc820597b8a117a05f6118e2e4a88e25e738c1bd309c5504e93ed9

diff --git a/sys-cluster/nomad/metadata.xml b/sys-cluster/nomad/metadata.xml
index 6430362e0106..35a7a677df6a 100644
--- a/sys-cluster/nomad/metadata.xml
+++ b/sys-cluster/nomad/metadata.xml
@@ -6,7 +6,6 @@
William Hubbs


-   build with nvidia integration
do not embed the ui in the binary

 

diff --git a/sys-cluster/nomad/nomad-1.0.9.ebuild 
b/sys-cluster/nomad/nomad-1.0.9.ebuild
deleted file mode 100644
index 1a271c9eabe7..
--- a/sys-cluster/nomad/nomad-1.0.9.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-inherit go-module systemd
-GIT_COMMIT=958556d77ee6f32d9a92cfbe39ec9d33781b1cdc
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="nvidia"
-
-RESTRICT=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
-   CGO_ENABLED=1 \
-   go build \
-   -ldflags "${go_ldflags}" \
-   -mod=vendor \
-   -tags "${go_tags}" \
-   -trimpath \
-   -o bin/${PN} || die "compile failed"
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit dist/systemd/nomad.service
-   insinto /etc/nomad.d
-   newins dist/client.hcl client.hcl.example
-   newins dist/server.hcl server.hcl.example
-   einstalldocs
-   dodoc CHANGELOG.md
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2022-02-16 Thread William Hubbs
commit: a762766fd4c314a113e75dc3e71bf19740d19d9f
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Feb 16 19:52:05 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Feb 16 19:54:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a762766f

sys-cluster/nomad: allow ui to not be embedded in the binary

The ui use flag allows the ui to not be embedded into the binary.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/metadata.xml   | 1 +
 sys-cluster/nomad/nomad-1.2.6.ebuild | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/sys-cluster/nomad/metadata.xml b/sys-cluster/nomad/metadata.xml
index 162e602228fe..6430362e0106 100644
--- a/sys-cluster/nomad/metadata.xml
+++ b/sys-cluster/nomad/metadata.xml
@@ -7,5 +7,6 @@


build with nvidia integration
+   do not embed the ui in the binary

 

diff --git a/sys-cluster/nomad/nomad-1.2.6.ebuild 
b/sys-cluster/nomad/nomad-1.2.6.ebuild
index e7175e4427d5..c4e5fd6850ed 100644
--- a/sys-cluster/nomad/nomad-1.2.6.ebuild
+++ b/sys-cluster/nomad/nomad-1.2.6.ebuild
@@ -13,6 +13,7 @@ SRC_URI+=" 
https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz;
 LICENSE="MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="ui"
 
 RESTRICT=" test"
 
@@ -27,6 +28,7 @@ src_compile() {
local go_ldflags go_tags
go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
go_tags="codegen_generated"
+   go_tags+="$(usex ui ',ui' '' )"
CGO_ENABLED=1 \
go build \
-ldflags "${go_ldflags}" \



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/, sys-cluster/nomad/files/

2022-02-15 Thread William Hubbs
commit: c21bc0f0950d9fbacfcd7c008176e927c726ce7e
Author: William Hubbs  gentoo  org>
AuthorDate: Tue Feb 15 17:36:40 2022 +
Commit: William Hubbs  gentoo  org>
CommitDate: Tue Feb 15 17:39:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c21bc0f0

sys-cluster/nomad:  1.2.6 bump

Bug: https://bugs.gentoo.org/812494
Bug: https://bugs.gentoo.org/833157
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  2 ++
 sys-cluster/nomad/files/nomad.service | 29 +
 sys-cluster/nomad/nomad-1.2.6.ebuild  | 49 +++
 3 files changed, 80 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index babde4a95dd3..b38f14d5d906 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1 +1,3 @@
 DIST nomad-1.0.9.tar.gz 40563203 BLAKE2B 
5db3bce093ae873907572e5f67640fac162e4c4ffe436f2acd3ac9fe8da509f451ff73c948dcd49d10eb101afdfe5285b2906986983b938034c64aab8d0cab4d
 SHA512 
66a00f15a16b57e8a3f97c43301bd9aaab76e185b56fe45193eb0e7c25e83fbcf1a7072f2d5fe4c533a00e63c71f3ec941a05cf6aa50f5051b8f3b5588b50463
+DIST nomad-1.2.6-vendor.tar.xz 8019208 BLAKE2B 
f972a84d201328f95e13a68fdc6dc0f0db5aff6d7ff98f5478ef310c6349fb4c0d9e5aa9c638ae81fb9f2776fa4d252c3b1daed091d3b9ae6d86a75d79e2ac0e
 SHA512 
8d53eaa771847d862f14c3fad286fe42b5c4426b242b18d2b900e4807221e6624b8bb129f34c560078d8863ce19b58c6637d2cc806950fffb5140b8d44f44c8f
+DIST nomad-1.2.6.tar.gz 29585632 BLAKE2B 
1b9ecbb11ddc59f8078831c6d41b8547a572c3b8475a21d65b8333204bdd2a6ee646cc7c5ec2bdffaee6c1b3cdf2dc30a667464695057e49c2bca41128b61452
 SHA512 
93a3ed9b0d992ba25cb126496cb9ed250195d8b8011312ebc4cffdf5f9f8786bc43cbe18cefc820597b8a117a05f6118e2e4a88e25e738c1bd309c5504e93ed9

diff --git a/sys-cluster/nomad/files/nomad.service 
b/sys-cluster/nomad/files/nomad.service
new file mode 100644
index ..08b243206d1b
--- /dev/null
+++ b/sys-cluster/nomad/files/nomad.service
@@ -0,0 +1,29 @@
+[Unit]
+Description=Nomad
+Documentation=https://nomadproject.io/docs/
+Wants=network-online.target
+After=network-online.target
+
+# When using Nomad with Consul it is not necessary to start Consul first. These
+# lines start Consul before Nomad as an optimization to avoid Nomad logging
+# that Consul is unavailable at startup.
+#Wants=consul.service
+#After=consul.service
+
+[Service]
+EnvironmentFile=/etc/nomad.d/nomad.env
+ExecReload=/bin/kill -HUP $MAINPID
+ExecStart=/usr/bin/nomad agent -config /etc/nomad.d
+KillMode=process
+KillSignal=SIGINT
+LimitNOFILE=65536
+LimitNPROC=infinity
+Restart=on-failure
+RestartSec=2
+StartLimitBurst=3
+StartLimitInterval=10
+TasksMax=infinity
+OOMScoreAdjust=-1000
+
+[Install]
+WantedBy=multi-user.target

diff --git a/sys-cluster/nomad/nomad-1.2.6.ebuild 
b/sys-cluster/nomad/nomad-1.2.6.ebuild
new file mode 100644
index ..e7175e4427d5
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.2.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=95514d569610f15ce49b4a7a1a6bfd3e7b3e7b4f
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.xz;
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT=" test"
+
+src_prepare() {
+   default
+   if [[ -d ../vendor ]]; then
+   mv ../vendor . || die
+   fi
+}
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   CGO_ENABLED=1 \
+   go build \
+   -ldflags "${go_ldflags}" \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit "${FILESDIR}"/nomad.service
+   keepdir /etc/nomad.d
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2021-08-07 Thread William Hubbs
commit: 1973994f8ee782f1aaff6b62f99a9fd034f32924
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Aug  7 19:34:41 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Aug  7 19:35:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1973994f

sys-cluster/nomad: remove vulnerable version

Bug: https://bugs.gentoo.org/797664
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  1 -
 sys-cluster/nomad/nomad-1.0.4.ebuild | 45 
 2 files changed, 46 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index c04d6e8247f..babde4a95dd 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,2 +1 @@
-DIST nomad-1.0.4.tar.gz 39538107 BLAKE2B 
ff72d527e23ce01a6ef0201e3606f4f66933f3c205123a32f503947710de3221476ce738b92becb147a8570c65bb5f4707fad480889197f605840197cfa13155
 SHA512 
935c8a6924434548f65b162c15f9ca14383546a1e0cea0694312f323d776d92863357f82c7ab53408e76c5c966986c0a511eda8a35043cf21c1020634c6e2ae4
 DIST nomad-1.0.9.tar.gz 40563203 BLAKE2B 
5db3bce093ae873907572e5f67640fac162e4c4ffe436f2acd3ac9fe8da509f451ff73c948dcd49d10eb101afdfe5285b2906986983b938034c64aab8d0cab4d
 SHA512 
66a00f15a16b57e8a3f97c43301bd9aaab76e185b56fe45193eb0e7c25e83fbcf1a7072f2d5fe4c533a00e63c71f3ec941a05cf6aa50f5051b8f3b5588b50463

diff --git a/sys-cluster/nomad/nomad-1.0.4.ebuild 
b/sys-cluster/nomad/nomad-1.0.4.ebuild
deleted file mode 100644
index dc33a113797..000
--- a/sys-cluster/nomad/nomad-1.0.4.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd
-GIT_COMMIT=149b150fb2d87766b8462346d68b72831f622047
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="nvidia"
-
-RESTRICT+=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
-   CGO_ENABLED=1 \
-   go build \
-   -ldflags "${go_ldflags}" \
-   -mod=vendor \
-   -tags "${go_tags}" \
-   -trimpath \
-   -o bin/${PN} || die "compile failed"
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit dist/systemd/nomad.service
-   insinto /etc/nomad.d
-   newins dist/client.hcl client.hcl.example
-   newins dist/server.hcl server.hcl.example
-   einstalldocs
-   dodoc CHANGELOG.md
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2021-08-07 Thread William Hubbs
commit: b82c31d74827124d28ded20c1a3f31b5d9505dbf
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Aug  7 19:27:13 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Aug  7 19:30:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b82c31d7

sys-cluster/nomad: 1.0.9 bump

Bug: https://bugs.gentoo.org/798664
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  1 +
 sys-cluster/nomad/nomad-1.0.9.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 9d0b5bc1691..c04d6e8247f 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1 +1,2 @@
 DIST nomad-1.0.4.tar.gz 39538107 BLAKE2B 
ff72d527e23ce01a6ef0201e3606f4f66933f3c205123a32f503947710de3221476ce738b92becb147a8570c65bb5f4707fad480889197f605840197cfa13155
 SHA512 
935c8a6924434548f65b162c15f9ca14383546a1e0cea0694312f323d776d92863357f82c7ab53408e76c5c966986c0a511eda8a35043cf21c1020634c6e2ae4
+DIST nomad-1.0.9.tar.gz 40563203 BLAKE2B 
5db3bce093ae873907572e5f67640fac162e4c4ffe436f2acd3ac9fe8da509f451ff73c948dcd49d10eb101afdfe5285b2906986983b938034c64aab8d0cab4d
 SHA512 
66a00f15a16b57e8a3f97c43301bd9aaab76e185b56fe45193eb0e7c25e83fbcf1a7072f2d5fe4c533a00e63c71f3ec941a05cf6aa50f5051b8f3b5588b50463

diff --git a/sys-cluster/nomad/nomad-1.0.9.ebuild 
b/sys-cluster/nomad/nomad-1.0.9.ebuild
new file mode 100644
index 000..1a271c9eabe
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.0.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+GIT_COMMIT=958556d77ee6f32d9a92cfbe39ec9d33781b1cdc
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nvidia"
+
+RESTRICT=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
+   CGO_ENABLED=1 \
+   go build \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2021-03-01 Thread William Hubbs
commit: fee7adf5f060a26b44b1ebbe32a5956b374fcc64
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Mar  1 22:25:58 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Mar  1 22:27:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee7adf5

sys-cluster/nomad: remove vulnerable versions

Bug: https://bugs.gentoo.org/768309
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  2 --
 sys-cluster/nomad/nomad-0.12.8.ebuild | 45 ---
 sys-cluster/nomad/nomad-1.0.1.ebuild  | 45 ---
 3 files changed, 92 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 33e78cfa5e2..9d0b5bc1691 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,3 +1 @@
-DIST nomad-0.12.8.tar.gz 51472616 BLAKE2B 
17316e4305edc5a74d640d1bd46e1f997ae43727a6c6dcc5df19af64c659a9b00e4fa2c45c92d70ff70b465278b1bb5c03d81d041facf89549faba17d86efa96
 SHA512 
c4615043bd1ce3c28cc9a564d58cc0ebbd197b4761763f4d4106fc8d36678c1d8b5b697a38c5ec1093d7d3973b700cd5f32415ec10b8c00546aa1707dea25231
-DIST nomad-1.0.1.tar.gz 51101330 BLAKE2B 
ee955890e7d3cb093c05f91bb4ad4c33f65048875fbf626b8c40975b21c81b8c9802288cc90953a7639ae8b03ba01f1f65320d711bf884aa27c80bfcecccb73b
 SHA512 
07032f965c5826882a4ce0acd7ef2a5d74cc5f0c439b030a4787e60c474070797c5f88d84353e5d423c1d0f6ac49fd40eebb57848d4eecd8394477fbffa2
 DIST nomad-1.0.4.tar.gz 39538107 BLAKE2B 
ff72d527e23ce01a6ef0201e3606f4f66933f3c205123a32f503947710de3221476ce738b92becb147a8570c65bb5f4707fad480889197f605840197cfa13155
 SHA512 
935c8a6924434548f65b162c15f9ca14383546a1e0cea0694312f323d776d92863357f82c7ab53408e76c5c966986c0a511eda8a35043cf21c1020634c6e2ae4

diff --git a/sys-cluster/nomad/nomad-0.12.8.ebuild 
b/sys-cluster/nomad/nomad-0.12.8.ebuild
deleted file mode 100644
index 390774fda6a..000
--- a/sys-cluster/nomad/nomad-0.12.8.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd
-GIT_COMMIT=99fa2774301199ee20e661c7c1832a6ee1d5c553
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="nvidia"
-
-RESTRICT+=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
-   CGO_ENABLED=1 \
-   go build \
-   -trimpath \
-   -ldflags "${go_ldflags}" \
-   -mod=vendor \
-   -tags "${go_tags}" \
-   -o bin/${PN} || die "compile failed"
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit dist/systemd/nomad.service
-   insinto /etc/nomad.d
-   newins dist/client.hcl client.hcl.example
-   newins dist/server.hcl server.hcl.example
-   einstalldocs
-   dodoc CHANGELOG.md
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}

diff --git a/sys-cluster/nomad/nomad-1.0.1.ebuild 
b/sys-cluster/nomad/nomad-1.0.1.ebuild
deleted file mode 100644
index 78c2f6b1233..000
--- a/sys-cluster/nomad/nomad-1.0.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd
-GIT_COMMIT=52ec2e19f1d6e383b30a495b9bcdece315adac17
-
-DESCRIPTION="A simple and flexible workload orchestrator"
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="nvidia"
-
-RESTRICT+=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
-   CGO_ENABLED=1 \
-   go build \
-   -ldflags "${go_ldflags}" \
-   -mod=vendor \
-   -tags "${go_tags}" \
-   -trimpath \
-   -o bin/${PN} || die "compile failed"
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit dist/systemd/nomad.service
-   insinto /etc/nomad.d
-   newins dist/client.hcl client.hcl.example
-   newins dist/server.hcl server.hcl.example
-   einstalldocs
-   dodoc CHANGELOG.md
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-  

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2021-02-27 Thread William Hubbs
commit: 41e5be70e544079f6e9669a55d87096455ce
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Feb 27 19:27:47 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Feb 27 19:31:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e5be70

sys-cluster/nomad: 1.0.4 bump

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  1 +
 sys-cluster/nomad/nomad-1.0.4.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 0c1fecc7cd7..33e78cfa5e2 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,2 +1,3 @@
 DIST nomad-0.12.8.tar.gz 51472616 BLAKE2B 
17316e4305edc5a74d640d1bd46e1f997ae43727a6c6dcc5df19af64c659a9b00e4fa2c45c92d70ff70b465278b1bb5c03d81d041facf89549faba17d86efa96
 SHA512 
c4615043bd1ce3c28cc9a564d58cc0ebbd197b4761763f4d4106fc8d36678c1d8b5b697a38c5ec1093d7d3973b700cd5f32415ec10b8c00546aa1707dea25231
 DIST nomad-1.0.1.tar.gz 51101330 BLAKE2B 
ee955890e7d3cb093c05f91bb4ad4c33f65048875fbf626b8c40975b21c81b8c9802288cc90953a7639ae8b03ba01f1f65320d711bf884aa27c80bfcecccb73b
 SHA512 
07032f965c5826882a4ce0acd7ef2a5d74cc5f0c439b030a4787e60c474070797c5f88d84353e5d423c1d0f6ac49fd40eebb57848d4eecd8394477fbffa2
+DIST nomad-1.0.4.tar.gz 39538107 BLAKE2B 
ff72d527e23ce01a6ef0201e3606f4f66933f3c205123a32f503947710de3221476ce738b92becb147a8570c65bb5f4707fad480889197f605840197cfa13155
 SHA512 
935c8a6924434548f65b162c15f9ca14383546a1e0cea0694312f323d776d92863357f82c7ab53408e76c5c966986c0a511eda8a35043cf21c1020634c6e2ae4

diff --git a/sys-cluster/nomad/nomad-1.0.4.ebuild 
b/sys-cluster/nomad/nomad-1.0.4.ebuild
new file mode 100644
index 000..dc33a113797
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.0.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=149b150fb2d87766b8462346d68b72831f622047
+
+DESCRIPTION="A simple and flexible workload orchestrator"
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nvidia"
+
+RESTRICT+=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
+   CGO_ENABLED=1 \
+   go build \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   einstalldocs
+   dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2021-02-12 Thread Conrad Kostecki
commit: 93138d34c435b5e06ea37e2f64a63b122443172e
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri Feb 12 22:06:18 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Feb 12 22:35:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93138d34

sys-cluster/nomad: remove whitespace, fix indent

Closes: https://github.com/gentoo/gentoo/pull/19434
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-cluster/nomad/nomad-0.12.8.ebuild | 6 +++---
 sys-cluster/nomad/nomad-1.0.1.ebuild  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-cluster/nomad/nomad-0.12.8.ebuild 
b/sys-cluster/nomad/nomad-0.12.8.ebuild
index 3b9472c5d17..390774fda6a 100644
--- a/sys-cluster/nomad/nomad-0.12.8.ebuild
+++ b/sys-cluster/nomad/nomad-0.12.8.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 inherit go-module systemd
 GIT_COMMIT=99fa2774301199ee20e661c7c1832a6ee1d5c553
 
-DESCRIPTION="A simple and flexible workload orchestrator "
+DESCRIPTION="A simple and flexible workload orchestrator"
 HOMEPAGE="https://nomadproject.io;
 SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
@@ -36,7 +36,7 @@ src_install() {
newins dist/client.hcl client.hcl.example
newins dist/server.hcl server.hcl.example
einstalldocs
-dodoc CHANGELOG.md
+   dodoc CHANGELOG.md
keepdir /var/lib/nomad /var/log/nomad
newconfd "${FILESDIR}/nomad.confd" nomad
newinitd "${FILESDIR}/nomad.initd" nomad

diff --git a/sys-cluster/nomad/nomad-1.0.1.ebuild 
b/sys-cluster/nomad/nomad-1.0.1.ebuild
index cf4c35f5278..78c2f6b1233 100644
--- a/sys-cluster/nomad/nomad-1.0.1.ebuild
+++ b/sys-cluster/nomad/nomad-1.0.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 inherit go-module systemd
 GIT_COMMIT=52ec2e19f1d6e383b30a495b9bcdece315adac17
 
-DESCRIPTION="A simple and flexible workload orchestrator "
+DESCRIPTION="A simple and flexible workload orchestrator"
 HOMEPAGE="https://nomadproject.io;
 SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
@@ -36,7 +36,7 @@ src_install() {
newins dist/client.hcl client.hcl.example
newins dist/server.hcl server.hcl.example
einstalldocs
-dodoc CHANGELOG.md
+   dodoc CHANGELOG.md
keepdir /var/lib/nomad /var/log/nomad
newconfd "${FILESDIR}/nomad.confd" nomad
newinitd "${FILESDIR}/nomad.initd" nomad



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-12-25 Thread William Hubbs
commit: b7b28282696b109de6e1598b41c53f17788aedde
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Dec 26 00:22:55 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Dec 26 00:23:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7b28282

sys-cluster/nomad: remove old versions

Bug: https://bugs.gentoo.org/760717
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  3 ---
 sys-cluster/nomad/nomad-0.12.3.ebuild | 43 -
 sys-cluster/nomad/nomad-0.12.4.ebuild | 43 -
 sys-cluster/nomad/nomad-0.12.5.ebuild | 45 ---
 4 files changed, 134 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 6cac13f91a5..0c1fecc7cd7 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,5 +1,2 @@
-DIST nomad-0.12.3.tar.gz 51432205 BLAKE2B 
77090f387e25f226c8d05b6ea16abfac0f4b710a40a3e7e5455bd6c8b7992080980967d4ebb92257348968dddbb45d2e5c3b58f143ae1205742bf08f0dec2a71
 SHA512 
17d361db11104ddbbae12a17301005c8eca3650e3fdda8f2fd6db8474728f31a2b6f828f2fba7e7d9d132b08cfb070799273353a17f5f66baa4dc5a0492562f8
-DIST nomad-0.12.4.tar.gz 51468076 BLAKE2B 
42ca90649263dae6aaa29921853816b6172b285f2675a3fe68aca423bd15213924263433e01d870fa502cfc53372cb6f30f810c7aaadfe63970f91c4bb630912
 SHA512 
2fb12f96a14772d0a382f40aa686d61823630d49778365447410e7c4a4d7f3cbff275fdeea823f3c397642ce7aeae3618c295d4b08ea884dc51190960f33110e
-DIST nomad-0.12.5.tar.gz 51464001 BLAKE2B 
825160a751481972335c4f37ef0514ddeb676a13a210f0faa43d06f1601bb794edf72402b0dfcf96426611e20eb530a5f077b97b331ce07e5fb6b3d3c7598130
 SHA512 
a337f3342de041696b1d6e39661d809e5cb82d27d9b2ba67a33a8698eb4afca929679093ec0d23f364a41307e669a6948e58429b97f49ec046d01f8d97f7
 DIST nomad-0.12.8.tar.gz 51472616 BLAKE2B 
17316e4305edc5a74d640d1bd46e1f997ae43727a6c6dcc5df19af64c659a9b00e4fa2c45c92d70ff70b465278b1bb5c03d81d041facf89549faba17d86efa96
 SHA512 
c4615043bd1ce3c28cc9a564d58cc0ebbd197b4761763f4d4106fc8d36678c1d8b5b697a38c5ec1093d7d3973b700cd5f32415ec10b8c00546aa1707dea25231
 DIST nomad-1.0.1.tar.gz 51101330 BLAKE2B 
ee955890e7d3cb093c05f91bb4ad4c33f65048875fbf626b8c40975b21c81b8c9802288cc90953a7639ae8b03ba01f1f65320d711bf884aa27c80bfcecccb73b
 SHA512 
07032f965c5826882a4ce0acd7ef2a5d74cc5f0c439b030a4787e60c474070797c5f88d84353e5d423c1d0f6ac49fd40eebb57848d4eecd8394477fbffa2

diff --git a/sys-cluster/nomad/nomad-0.12.3.ebuild 
b/sys-cluster/nomad/nomad-0.12.3.ebuild
deleted file mode 100644
index 79ff227381c..000
--- a/sys-cluster/nomad/nomad-0.12.3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd
-GIT_COMMIT=ef6f1419334e1d9d23eba9d24e7d9404218f
-
-DESCRIPTION="A simple and flexible workload orchestrator "
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="nvidia"
-
-RESTRICT+=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
-   CGO_ENABLED=1 \
-   go build \
-   -trimpath \
-   -ldflags "${go_ldflags}" \
-   -mod=vendor \
-   -tags "${go_tags}" \
-   -o bin/${PN} || die "compile failed"
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit dist/systemd/nomad.service
-   insinto /etc/nomad.d
-   newins dist/client.hcl client.hcl.example
-   newins dist/server.hcl server.hcl.example
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}

diff --git a/sys-cluster/nomad/nomad-0.12.4.ebuild 
b/sys-cluster/nomad/nomad-0.12.4.ebuild
deleted file mode 100644
index b295320f634..000
--- a/sys-cluster/nomad/nomad-0.12.4.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd
-GIT_COMMIT=ec7bf9de21bfe3623ff04b009f26aaf488bae2b1
-
-DESCRIPTION="A simple and flexible workload orchestrator "
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="nvidia"
-
-RESTRICT+=" test"
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
-   CGO_ENABLED=1 \
-   go build \
-

[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-12-25 Thread William Hubbs
commit: 750ef5fc6f8ab806b37a471adc488b79168aa38c
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Dec 26 00:19:57 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Dec 26 00:20:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=750ef5fc

sys-cluster/nomad: 1.0.1 bump

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  1 +
 sys-cluster/nomad/nomad-1.0.1.ebuild | 45 
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 6e34eeeba82..6cac13f91a5 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -2,3 +2,4 @@ DIST nomad-0.12.3.tar.gz 51432205 BLAKE2B 
77090f387e25f226c8d05b6ea16abfac0f4b71
 DIST nomad-0.12.4.tar.gz 51468076 BLAKE2B 
42ca90649263dae6aaa29921853816b6172b285f2675a3fe68aca423bd15213924263433e01d870fa502cfc53372cb6f30f810c7aaadfe63970f91c4bb630912
 SHA512 
2fb12f96a14772d0a382f40aa686d61823630d49778365447410e7c4a4d7f3cbff275fdeea823f3c397642ce7aeae3618c295d4b08ea884dc51190960f33110e
 DIST nomad-0.12.5.tar.gz 51464001 BLAKE2B 
825160a751481972335c4f37ef0514ddeb676a13a210f0faa43d06f1601bb794edf72402b0dfcf96426611e20eb530a5f077b97b331ce07e5fb6b3d3c7598130
 SHA512 
a337f3342de041696b1d6e39661d809e5cb82d27d9b2ba67a33a8698eb4afca929679093ec0d23f364a41307e669a6948e58429b97f49ec046d01f8d97f7
 DIST nomad-0.12.8.tar.gz 51472616 BLAKE2B 
17316e4305edc5a74d640d1bd46e1f997ae43727a6c6dcc5df19af64c659a9b00e4fa2c45c92d70ff70b465278b1bb5c03d81d041facf89549faba17d86efa96
 SHA512 
c4615043bd1ce3c28cc9a564d58cc0ebbd197b4761763f4d4106fc8d36678c1d8b5b697a38c5ec1093d7d3973b700cd5f32415ec10b8c00546aa1707dea25231
+DIST nomad-1.0.1.tar.gz 51101330 BLAKE2B 
ee955890e7d3cb093c05f91bb4ad4c33f65048875fbf626b8c40975b21c81b8c9802288cc90953a7639ae8b03ba01f1f65320d711bf884aa27c80bfcecccb73b
 SHA512 
07032f965c5826882a4ce0acd7ef2a5d74cc5f0c439b030a4787e60c474070797c5f88d84353e5d423c1d0f6ac49fd40eebb57848d4eecd8394477fbffa2

diff --git a/sys-cluster/nomad/nomad-1.0.1.ebuild 
b/sys-cluster/nomad/nomad-1.0.1.ebuild
new file mode 100644
index 000..cf4c35f5278
--- /dev/null
+++ b/sys-cluster/nomad/nomad-1.0.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=52ec2e19f1d6e383b30a495b9bcdece315adac17
+
+DESCRIPTION="A simple and flexible workload orchestrator "
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nvidia"
+
+RESTRICT+=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
+   CGO_ENABLED=1 \
+   go build \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -trimpath \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   einstalldocs
+dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-11-19 Thread William Hubbs
commit: d87b3a8131b3af17840120a4cb7f8de3262fa3d5
Author: William Hubbs  gentoo  org>
AuthorDate: Thu Nov 19 16:48:15 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Thu Nov 19 16:49:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87b3a81

sys-cluster/nomad: 0.12.8 bump

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  1 +
 sys-cluster/nomad/nomad-0.12.8.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 270d3c07c08..6e34eeeba82 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,3 +1,4 @@
 DIST nomad-0.12.3.tar.gz 51432205 BLAKE2B 
77090f387e25f226c8d05b6ea16abfac0f4b710a40a3e7e5455bd6c8b7992080980967d4ebb92257348968dddbb45d2e5c3b58f143ae1205742bf08f0dec2a71
 SHA512 
17d361db11104ddbbae12a17301005c8eca3650e3fdda8f2fd6db8474728f31a2b6f828f2fba7e7d9d132b08cfb070799273353a17f5f66baa4dc5a0492562f8
 DIST nomad-0.12.4.tar.gz 51468076 BLAKE2B 
42ca90649263dae6aaa29921853816b6172b285f2675a3fe68aca423bd15213924263433e01d870fa502cfc53372cb6f30f810c7aaadfe63970f91c4bb630912
 SHA512 
2fb12f96a14772d0a382f40aa686d61823630d49778365447410e7c4a4d7f3cbff275fdeea823f3c397642ce7aeae3618c295d4b08ea884dc51190960f33110e
 DIST nomad-0.12.5.tar.gz 51464001 BLAKE2B 
825160a751481972335c4f37ef0514ddeb676a13a210f0faa43d06f1601bb794edf72402b0dfcf96426611e20eb530a5f077b97b331ce07e5fb6b3d3c7598130
 SHA512 
a337f3342de041696b1d6e39661d809e5cb82d27d9b2ba67a33a8698eb4afca929679093ec0d23f364a41307e669a6948e58429b97f49ec046d01f8d97f7
+DIST nomad-0.12.8.tar.gz 51472616 BLAKE2B 
17316e4305edc5a74d640d1bd46e1f997ae43727a6c6dcc5df19af64c659a9b00e4fa2c45c92d70ff70b465278b1bb5c03d81d041facf89549faba17d86efa96
 SHA512 
c4615043bd1ce3c28cc9a564d58cc0ebbd197b4761763f4d4106fc8d36678c1d8b5b697a38c5ec1093d7d3973b700cd5f32415ec10b8c00546aa1707dea25231

diff --git a/sys-cluster/nomad/nomad-0.12.8.ebuild 
b/sys-cluster/nomad/nomad-0.12.8.ebuild
new file mode 100644
index 000..3b9472c5d17
--- /dev/null
+++ b/sys-cluster/nomad/nomad-0.12.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=99fa2774301199ee20e661c7c1832a6ee1d5c553
+
+DESCRIPTION="A simple and flexible workload orchestrator "
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nvidia"
+
+RESTRICT+=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
+   CGO_ENABLED=1 \
+   go build \
+   -trimpath \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   einstalldocs
+dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-10-09 Thread William Hubbs
commit: a5bed6fdb39319f705cfaea826e9018954280862
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Oct  9 20:56:40 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Oct  9 20:57:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5bed6fd

sys-cluster/nomad-0.5.0 bump

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  1 +
 sys-cluster/nomad/nomad-0.12.5.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index 7f47c9ab945..270d3c07c08 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,2 +1,3 @@
 DIST nomad-0.12.3.tar.gz 51432205 BLAKE2B 
77090f387e25f226c8d05b6ea16abfac0f4b710a40a3e7e5455bd6c8b7992080980967d4ebb92257348968dddbb45d2e5c3b58f143ae1205742bf08f0dec2a71
 SHA512 
17d361db11104ddbbae12a17301005c8eca3650e3fdda8f2fd6db8474728f31a2b6f828f2fba7e7d9d132b08cfb070799273353a17f5f66baa4dc5a0492562f8
 DIST nomad-0.12.4.tar.gz 51468076 BLAKE2B 
42ca90649263dae6aaa29921853816b6172b285f2675a3fe68aca423bd15213924263433e01d870fa502cfc53372cb6f30f810c7aaadfe63970f91c4bb630912
 SHA512 
2fb12f96a14772d0a382f40aa686d61823630d49778365447410e7c4a4d7f3cbff275fdeea823f3c397642ce7aeae3618c295d4b08ea884dc51190960f33110e
+DIST nomad-0.12.5.tar.gz 51464001 BLAKE2B 
825160a751481972335c4f37ef0514ddeb676a13a210f0faa43d06f1601bb794edf72402b0dfcf96426611e20eb530a5f077b97b331ce07e5fb6b3d3c7598130
 SHA512 
a337f3342de041696b1d6e39661d809e5cb82d27d9b2ba67a33a8698eb4afca929679093ec0d23f364a41307e669a6948e58429b97f49ec046d01f8d97f7

diff --git a/sys-cluster/nomad/nomad-0.12.5.ebuild 
b/sys-cluster/nomad/nomad-0.12.5.ebuild
new file mode 100644
index 000..431afd5bbae
--- /dev/null
+++ b/sys-cluster/nomad/nomad-0.12.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=ec7bf9de21bfe3623ff04b009f26aaf488bae2b1
+
+DESCRIPTION="A simple and flexible workload orchestrator "
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nvidia"
+
+RESTRICT+=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
+   CGO_ENABLED=1 \
+   go build \
+   -trimpath \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   einstalldocs
+dodoc CHANGELOG.md
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-09-18 Thread William Hubbs
commit: d2dc209a90b44b4584be558867c6a48f43712ce3
Author: William Hubbs  gentoo  org>
AuthorDate: Sat Sep 19 02:36:12 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sat Sep 19 02:45:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2dc209a

sys-cluster/nomad: 0.12.4 bump

Closes: https://bugs.gentoo.org/742467
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  1 +
 sys-cluster/nomad/nomad-0.12.4.ebuild | 43 +++
 2 files changed, 44 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index f6174e5dded..7f47c9ab945 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1 +1,2 @@
 DIST nomad-0.12.3.tar.gz 51432205 BLAKE2B 
77090f387e25f226c8d05b6ea16abfac0f4b710a40a3e7e5455bd6c8b7992080980967d4ebb92257348968dddbb45d2e5c3b58f143ae1205742bf08f0dec2a71
 SHA512 
17d361db11104ddbbae12a17301005c8eca3650e3fdda8f2fd6db8474728f31a2b6f828f2fba7e7d9d132b08cfb070799273353a17f5f66baa4dc5a0492562f8
+DIST nomad-0.12.4.tar.gz 51468076 BLAKE2B 
42ca90649263dae6aaa29921853816b6172b285f2675a3fe68aca423bd15213924263433e01d870fa502cfc53372cb6f30f810c7aaadfe63970f91c4bb630912
 SHA512 
2fb12f96a14772d0a382f40aa686d61823630d49778365447410e7c4a4d7f3cbff275fdeea823f3c397642ce7aeae3618c295d4b08ea884dc51190960f33110e

diff --git a/sys-cluster/nomad/nomad-0.12.4.ebuild 
b/sys-cluster/nomad/nomad-0.12.4.ebuild
new file mode 100644
index 000..b295320f634
--- /dev/null
+++ b/sys-cluster/nomad/nomad-0.12.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=ec7bf9de21bfe3623ff04b009f26aaf488bae2b1
+
+DESCRIPTION="A simple and flexible workload orchestrator "
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nvidia"
+
+RESTRICT+=" test"
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
+   CGO_ENABLED=1 \
+   go build \
+   -trimpath \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-08-21 Thread William Hubbs
commit: 351f9bf9d3c3d5965514a0c6255ab89bba0541bd
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Aug 21 16:26:48 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Aug 21 16:48:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351f9bf9

sys-cluster/nomad: add nvidia use flag

This controls whether we build with nvidia integration.

Closes: https://bugs.gentoo.org/737472
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/metadata.xml| 9 ++---
 sys-cluster/nomad/nomad-0.12.3.ebuild | 4 ++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/nomad/metadata.xml b/sys-cluster/nomad/metadata.xml
index 3c49bd23955..9f6cd416f2b 100644
--- a/sys-cluster/nomad/metadata.xml
+++ b/sys-cluster/nomad/metadata.xml
@@ -3,6 +3,9 @@
 

willi...@gentoo.org
-   William Hubbs
-   
-   
+   William Hubbs
+   
+   
+   build with nvidia integration
+   
+

diff --git a/sys-cluster/nomad/nomad-0.12.3.ebuild 
b/sys-cluster/nomad/nomad-0.12.3.ebuild
index 52e0d90e0b5..e605fbb5f71 100644
--- a/sys-cluster/nomad/nomad-0.12.3.ebuild
+++ b/sys-cluster/nomad/nomad-0.12.3.ebuild
@@ -12,12 +12,12 @@ 
SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
+IUSE="nvidia"
 
 src_compile() {
local go_ldflags go_tags
go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated"
+   go_tags="codegen_generated $(usex nvidia '' 'nonvidia')"
CGO_ENABLED=1 \
go build \
-trimpath \



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-08-21 Thread William Hubbs
commit: 117859e87b2900d2ba092654133af8806477c406
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Aug 21 16:43:35 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Aug 21 16:48:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117859e8

sys-cluster/nomad: restrict tests

Closes: https://bugs.gentoo.org/734174
Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/nomad-0.12.3.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-cluster/nomad/nomad-0.12.3.ebuild 
b/sys-cluster/nomad/nomad-0.12.3.ebuild
index e605fbb5f71..79ff227381c 100644
--- a/sys-cluster/nomad/nomad-0.12.3.ebuild
+++ b/sys-cluster/nomad/nomad-0.12.3.ebuild
@@ -14,6 +14,8 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE="nvidia"
 
+RESTRICT+=" test"
+
 src_compile() {
local go_ldflags go_tags
go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-08-21 Thread William Hubbs
commit: 67f6485c888473f54f63e2d5eeda5bb7db105a1b
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Aug 21 16:47:07 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Aug 21 16:48:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f6485c

sys-cluster/nomad: remove old

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  1 -
 sys-cluster/nomad/nomad-0.12.1.ebuild | 41 ---
 2 files changed, 42 deletions(-)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index a9f60d910a4..f6174e5dded 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1,2 +1 @@
-DIST nomad-0.12.1.tar.gz 51227967 BLAKE2B 
1354641dfcfd4d3fca44261792f65ca117be77aaf0d5a028e424b5ced2c14c1cc5e82a8dcac587c3fcb7796e8e260bee8b65fcf202ddd3b766f96373e996a874
 SHA512 
cbb6b2b89f4922108d10c832638460ad2b234fdfd95e61aa57fb5d89f9852dca1a42527bfd7cbcb166916394b38d7d6451c8f5fd2e56b02599926209e395d9e2
 DIST nomad-0.12.3.tar.gz 51432205 BLAKE2B 
77090f387e25f226c8d05b6ea16abfac0f4b710a40a3e7e5455bd6c8b7992080980967d4ebb92257348968dddbb45d2e5c3b58f143ae1205742bf08f0dec2a71
 SHA512 
17d361db11104ddbbae12a17301005c8eca3650e3fdda8f2fd6db8474728f31a2b6f828f2fba7e7d9d132b08cfb070799273353a17f5f66baa4dc5a0492562f8

diff --git a/sys-cluster/nomad/nomad-0.12.1.ebuild 
b/sys-cluster/nomad/nomad-0.12.1.ebuild
deleted file mode 100644
index f51d35a6474..000
--- a/sys-cluster/nomad/nomad-0.12.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module systemd
-GIT_COMMIT=00263bf92ee3fe7964fbc08b150600a43df0abb8
-
-DESCRIPTION="A simple and flexible workload orchestrator "
-HOMEPAGE="https://nomadproject.io;
-SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MPL-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-src_compile() {
-   local go_ldflags go_tags
-   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
-   go_tags="codegen_generated"
-   CGO_ENABLED=1 \
-   go build \
-   -trimpath \
-   -ldflags "${go_ldflags}" \
-   -mod=vendor \
-   -tags "${go_tags}" \
-   -o bin/${PN} || die "compile failed"
-}
-
-src_install() {
-   dobin bin/${PN}
-   systemd_dounit dist/systemd/nomad.service
-   insinto /etc/nomad.d
-   newins dist/client.hcl client.hcl.example
-   newins dist/server.hcl server.hcl.example
-   keepdir /var/lib/nomad /var/log/nomad
-   newconfd "${FILESDIR}/nomad.confd" nomad
-   newinitd "${FILESDIR}/nomad.initd" nomad
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/nomad.logrotated" nomad
-}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/

2020-08-13 Thread William Hubbs
commit: b9aa98c4381749d28abc67fad2dc55af145a3264
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Aug 14 02:04:00 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Aug 14 02:04:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9aa98c4

sys-cluster/nomad: 0.12.3 bump

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest|  1 +
 sys-cluster/nomad/nomad-0.12.3.ebuild | 41 +++
 2 files changed, 42 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index bd2b94e2844..a9f60d910a4 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -1 +1,2 @@
 DIST nomad-0.12.1.tar.gz 51227967 BLAKE2B 
1354641dfcfd4d3fca44261792f65ca117be77aaf0d5a028e424b5ced2c14c1cc5e82a8dcac587c3fcb7796e8e260bee8b65fcf202ddd3b766f96373e996a874
 SHA512 
cbb6b2b89f4922108d10c832638460ad2b234fdfd95e61aa57fb5d89f9852dca1a42527bfd7cbcb166916394b38d7d6451c8f5fd2e56b02599926209e395d9e2
+DIST nomad-0.12.3.tar.gz 51432205 BLAKE2B 
77090f387e25f226c8d05b6ea16abfac0f4b710a40a3e7e5455bd6c8b7992080980967d4ebb92257348968dddbb45d2e5c3b58f143ae1205742bf08f0dec2a71
 SHA512 
17d361db11104ddbbae12a17301005c8eca3650e3fdda8f2fd6db8474728f31a2b6f828f2fba7e7d9d132b08cfb070799273353a17f5f66baa4dc5a0492562f8

diff --git a/sys-cluster/nomad/nomad-0.12.3.ebuild 
b/sys-cluster/nomad/nomad-0.12.3.ebuild
new file mode 100644
index 000..52e0d90e0b5
--- /dev/null
+++ b/sys-cluster/nomad/nomad-0.12.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=ef6f1419334e1d9d23eba9d24e7d9404218f
+
+DESCRIPTION="A simple and flexible workload orchestrator "
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   CGO_ENABLED=1 \
+   go build \
+   -trimpath \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/, sys-cluster/nomad/files/

2020-07-27 Thread William Hubbs
commit: 6af57e471c364b0feb5c452e0395708a56ac5edb
Author: William Hubbs  gentoo  org>
AuthorDate: Mon Jul 27 22:29:31 2020 +
Commit: William Hubbs  gentoo  org>
CommitDate: Mon Jul 27 22:30:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af57e47

sys-cluster/nomad: workload orchestrator for VMs and containers

Signed-off-by: William Hubbs  gentoo.org>

 sys-cluster/nomad/Manifest   |  1 +
 sys-cluster/nomad/files/nomad.confd  |  2 ++
 sys-cluster/nomad/files/nomad.initd  | 20 
 sys-cluster/nomad/files/nomad.logrotated |  7 ++
 sys-cluster/nomad/metadata.xml   |  8 +++
 sys-cluster/nomad/nomad-0.12.1.ebuild| 41 
 6 files changed, 79 insertions(+)

diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
new file mode 100644
index 000..bd2b94e2844
--- /dev/null
+++ b/sys-cluster/nomad/Manifest
@@ -0,0 +1 @@
+DIST nomad-0.12.1.tar.gz 51227967 BLAKE2B 
1354641dfcfd4d3fca44261792f65ca117be77aaf0d5a028e424b5ced2c14c1cc5e82a8dcac587c3fcb7796e8e260bee8b65fcf202ddd3b766f96373e996a874
 SHA512 
cbb6b2b89f4922108d10c832638460ad2b234fdfd95e61aa57fb5d89f9852dca1a42527bfd7cbcb166916394b38d7d6451c8f5fd2e56b02599926209e395d9e2

diff --git a/sys-cluster/nomad/files/nomad.confd 
b/sys-cluster/nomad/files/nomad.confd
new file mode 100644
index 000..b0a05ca40c6
--- /dev/null
+++ b/sys-cluster/nomad/files/nomad.confd
@@ -0,0 +1,2 @@
+# extra arguments for nomad
+command_args="agent -config=/etc/nomad.d"

diff --git a/sys-cluster/nomad/files/nomad.initd 
b/sys-cluster/nomad/files/nomad.initd
new file mode 100644
index 000..2c3df5ff1e0
--- /dev/null
+++ b/sys-cluster/nomad/files/nomad.initd
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="simple and flexible workload orchestrator"
+command="/usr/bin/${RC_SVCNAME}"
+pidfile="/run/${RC_SVCNAME}.pid"
+command_background="true"
+start_stop_daemon_args="--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
+   --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
+stopsig=SIGINT
+extra_started_commands=reload
+
+depend() {
+   after net
+}
+
+reload() {
+   start-stop-daemon --signal HUP --pidfile "${pidfile}"
+}

diff --git a/sys-cluster/nomad/files/nomad.logrotated 
b/sys-cluster/nomad/files/nomad.logrotated
new file mode 100644
index 000..6cae2fdd4f7
--- /dev/null
+++ b/sys-cluster/nomad/files/nomad.logrotated
@@ -0,0 +1,7 @@
+/var/log/nomad/nomad.log {
+   missingok
+   size 5M
+   rotate 3
+   compress
+   copytruncate
+}

diff --git a/sys-cluster/nomad/metadata.xml b/sys-cluster/nomad/metadata.xml
new file mode 100644
index 000..3c49bd23955
--- /dev/null
+++ b/sys-cluster/nomad/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   willi...@gentoo.org
+   William Hubbs
+   
+   

diff --git a/sys-cluster/nomad/nomad-0.12.1.ebuild 
b/sys-cluster/nomad/nomad-0.12.1.ebuild
new file mode 100644
index 000..f51d35a6474
--- /dev/null
+++ b/sys-cluster/nomad/nomad-0.12.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module systemd
+GIT_COMMIT=00263bf92ee3fe7964fbc08b150600a43df0abb8
+
+DESCRIPTION="A simple and flexible workload orchestrator "
+HOMEPAGE="https://nomadproject.io;
+SRC_URI="https://github.com/hashicorp/nomad/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+src_compile() {
+   local go_ldflags go_tags
+   go_ldflags="-X 
github.com/hashicorp/nomad/version.GitCommit=${GIT_COMMIT}"
+   go_tags="codegen_generated"
+   CGO_ENABLED=1 \
+   go build \
+   -trimpath \
+   -ldflags "${go_ldflags}" \
+   -mod=vendor \
+   -tags "${go_tags}" \
+   -o bin/${PN} || die "compile failed"
+}
+
+src_install() {
+   dobin bin/${PN}
+   systemd_dounit dist/systemd/nomad.service
+   insinto /etc/nomad.d
+   newins dist/client.hcl client.hcl.example
+   newins dist/server.hcl server.hcl.example
+   keepdir /var/lib/nomad /var/log/nomad
+   newconfd "${FILESDIR}/nomad.confd" nomad
+   newinitd "${FILESDIR}/nomad.initd" nomad
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/nomad.logrotated" nomad
+}