From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B0FCA158020 for ; Wed, 26 Oct 2022 19:27:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5682E0973; Wed, 26 Oct 2022 19:27:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8282E0973 for ; Wed, 26 Oct 2022 19:27:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D602A3410F1 for ; Wed, 26 Oct 2022 19:27:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69599609 for ; Wed, 26 Oct 2022 19:27:49 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1666812460.fe417c83d02f03b2ce655cd2aeb957899b10fc9f.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/nomad/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/nomad/Manifest sys-cluster/nomad/nomad-1.2.13.ebuild X-VCS-Directories: sys-cluster/nomad/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: fe417c83d02f03b2ce655cd2aeb957899b10fc9f X-VCS-Branch: master Date: Wed, 26 Oct 2022 19:27:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8a370e96-ce90-45c4-bf7b-a6800107e327 X-Archives-Hash: 964ac7e8cfc6e9db5ec7290716e18878 commit: fe417c83d02f03b2ce655cd2aeb957899b10fc9f Author: William Hubbs gentoo org> AuthorDate: Wed Oct 26 19:26:43 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Oct 26 19:27:40 2022 +0000 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 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 +}