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 6B2F615800A for ; Tue, 8 Aug 2023 20:12:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DAC82BC01B; Tue, 8 Aug 2023 20:12:23 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84EAD2BC01B for ; Tue, 8 Aug 2023 20:12:23 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9F0033BEF1 for ; Tue, 8 Aug 2023 20:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28CF0F1F for ; Tue, 8 Aug 2023 20:12:21 +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: <1691525531.51aa45d2c61a6838d5e8d93d318f19b70eecb6b7.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.6.1.ebuild X-VCS-Directories: sys-cluster/nomad/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 51aa45d2c61a6838d5e8d93d318f19b70eecb6b7 X-VCS-Branch: master Date: Tue, 8 Aug 2023 20:12:21 +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: 90309edc-f20a-4670-9e70-148913426401 X-Archives-Hash: 40b4e43cf9c53623b355c89987fbced3 commit: 51aa45d2c61a6838d5e8d93d318f19b70eecb6b7 Author: William Hubbs gentoo org> AuthorDate: Tue Aug 8 20:12:11 2023 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Aug 8 20:12:11 2023 +0000 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 000000000000..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 +}