diff options
author | William Hubbs <williamh@gentoo.org> | 2022-10-26 14:26:43 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-10-26 14:27:40 -0500 |
commit | fe417c83d02f03b2ce655cd2aeb957899b10fc9f (patch) | |
tree | adf046a0ade1fb6aaa696653dc4fa95581e0bb2c /sys-cluster | |
parent | sys-devel/clang-runtime: Stabilize 15.0.3 ppc64, #878087 (diff) | |
download | gentoo-fe417c83d02f03b2ce655cd2aeb957899b10fc9f.tar.gz gentoo-fe417c83d02f03b2ce655cd2aeb957899b10fc9f.tar.bz2 gentoo-fe417c83d02f03b2ce655cd2aeb957899b10fc9f.zip |
sys-cluster/nomad: add 1.2.13
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/nomad/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/nomad/nomad-1.2.13.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
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 000000000000..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 +} |