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 50B5F158020 for ; Thu, 15 Dec 2022 18:12:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D33FE077F; Thu, 15 Dec 2022 18:12:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 33583E077F for ; Thu, 15 Dec 2022 18:12:03 +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 5B319340E7F for ; Thu, 15 Dec 2022 18:12:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF15854C for ; Thu, 15 Dec 2022 18:12:00 +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: <1671127914.9d8ce831e134edd58d98b9512f84378ade72da15.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.4.3.ebuild X-VCS-Directories: sys-cluster/nomad/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 9d8ce831e134edd58d98b9512f84378ade72da15 X-VCS-Branch: master Date: Thu, 15 Dec 2022 18:12:00 +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: cf5d123e-dc22-4638-8984-6bdc3bfac09a X-Archives-Hash: 5a6bb9e914699816d0855e7bfbd43e2e commit: 9d8ce831e134edd58d98b9512f84378ade72da15 Author: William Hubbs gentoo org> AuthorDate: Thu Dec 15 18:11:31 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu Dec 15 18:11:54 2022 +0000 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 000000000000..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 +}