summaryrefslogtreecommitdiff
path: root/sys-cluster/nomad
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/nomad')
-rw-r--r--sys-cluster/nomad/Manifest9
-rw-r--r--sys-cluster/nomad/nomad-1.2.13.ebuild (renamed from sys-cluster/nomad/nomad-1.2.6.ebuild)15
-rw-r--r--sys-cluster/nomad/nomad-1.4.1.ebuild44
3 files changed, 54 insertions, 14 deletions
diff --git a/sys-cluster/nomad/Manifest b/sys-cluster/nomad/Manifest
index a29523e3c54b..121efbd3e229 100644
--- a/sys-cluster/nomad/Manifest
+++ b/sys-cluster/nomad/Manifest
@@ -2,7 +2,10 @@ AUX nomad.confd 70 BLAKE2B e7cd65e529d1a8d99212a3267d3dc8d6f6d8b310f7cbda77e31f6
AUX nomad.initd 534 BLAKE2B 392ba0c199a401c278d47f2fb068831f331485d34eb6d81d7e14df60cbcc62f3ecc01a200e5a8ac00ab734789c07d6bcd73391e67d5141f04365c08935c07d62 SHA512 63920465cc4346e6d79b54afd0c0ad418a06c5f977edf8a49adb8b2895390cc13d48a18fc377de91c92449af5095347c36aecf67eda528da76209e77130f2b98
AUX nomad.logrotated 83 BLAKE2B 2c970621c10520b2aaa17172d9c99a741737393db9a6424278e12d8b6676492c97b628d4be419ab921f7cf7685bae1a5e93eb04efa2ca6242012cfde203e02da SHA512 0ebdbeab15b01145eb2b33e0c6fd43dde3e4ac8eae9d8aff81797688276530732f613a39cd658fa4f5c2e8c99d70e6255f814ca5f3cd2bc5de259be324ab2851
AUX nomad.service 726 BLAKE2B 68e67299c15e096e0fca66a9cf87d6d2bd6e0339be8c8489e59c401f84b5aec86e3b55d566e7b6b0598afb17918c9a03a7b7c36851fd8486511955de2f9a12cb SHA512 c8959bfba81b48116ce4a0fc4b0cb439a7f289b27c3d9fc4a08a5c0d3fa7e1652642cb8b459f3ec96bbabf66a12010be190c7484060ebfae39bc8d0e82ecf442
-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
-EBUILD nomad-1.2.6.ebuild 1249 BLAKE2B 1429963add21d0f5fc1464b1529aab6efabbce7d063b2d57d89a8a6ce143d6fc11f55ab5c8dde9f49ab2587ccae5c9a9740b3adccf8873d9bf9f50e56092890d SHA512 093d6efa3ed9e30a8de740921a5f6893ec58af8c9edd560248f06898bc763192ebe647b31791566bbce3528efb17b36df365ba7f210c956260bccb8122e8c2a3
+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
+EBUILD nomad-1.2.13.ebuild 1139 BLAKE2B ce24b7a4d0177c98d4b054fdd09078d532eb20677f3a6735f72ff4e7b802372c7f452eea4dff548a4806ced54d906870f93e4b567879fa626a3ca115ada48c93 SHA512 58f286cec23a04077cf35bbebfc968e885df1e134ed44ffba5a08243f9a9c7d5406d47526a4d68d4a3705d5ea394c2fc074132c751cd4093ac1f510e328d357e
+EBUILD nomad-1.4.1.ebuild 1139 BLAKE2B 56d0ae07ee62cb98e7cd8c03149f8f04df8a27955c08f29a4f806dc7678273c3b3fc2ad493e5516f9d893c3c1f05b21fd47500aa321bfe7925d80eef8d7a1f92 SHA512 e52275d20637bdbced3dad0b42c92a56c145a29f54ff34976877da762f0d6eb72a43043861516558b0ec409aeea685af170adaee3bcae62d8aa4f067d22e7f71
MISC metadata.xml 325 BLAKE2B 00faa3d3eaaa071810bfe35c43e2a956c304098234e54a27ffd6630f4696323c29fdd9dfce086fb40d9432bd1ffabfebaa470da67566ddd8bdf5ec700a0a548d SHA512 dbbb8f548227eb2f79b51c02eb8e2ed6b45eb30e1b5808c60f6527fbf0c0504b20a1f51b556c97450e2837e05e5cea7179fc26548cc6e0dbf9a8c78c40768ca9
diff --git a/sys-cluster/nomad/nomad-1.2.6.ebuild b/sys-cluster/nomad/nomad-1.2.13.ebuild
index 3f80f72e6b1a..11268df20c44 100644
--- a/sys-cluster/nomad/nomad-1.2.6.ebuild
+++ b/sys-cluster/nomad/nomad-1.2.13.ebuild
@@ -3,12 +3,12 @@
EAPI=8
inherit go-module systemd
-GIT_COMMIT=95514d569610f15ce49b4a7a1a6bfd3e7b3e7b4f
+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}-vendor.tar.xz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="MPL-2.0"
SLOT="0"
@@ -17,24 +17,17 @@ 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 \
+ ego build \
-ldflags "${go_ldflags}" \
-tags "${go_tags}" \
-trimpath \
- -o bin/${PN} || die "compile failed"
+ -o bin/${PN}
}
src_install() {
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 000000000000..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
+}