summaryrefslogtreecommitdiff
path: root/sys-cluster/flux
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-22 19:52:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-22 19:52:05 +0000
commitb6a0f46f7d2e1e21df70fb32169f7d9de85445f7 (patch)
tree2f1b6f7c25e85d70d737cd66c68673ed58e1108e /sys-cluster/flux
parent9173f73d44f3cbc858477bd71e7680ede7d98e0d (diff)
gentoo auto-resync : 22:12:2023 - 19:52:05
Diffstat (limited to 'sys-cluster/flux')
-rw-r--r--sys-cluster/flux/Manifest4
-rw-r--r--sys-cluster/flux/flux-2.2.2.ebuild37
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-cluster/flux/Manifest b/sys-cluster/flux/Manifest
index 64fb0f0240e1..ad690f10dc81 100644
--- a/sys-cluster/flux/Manifest
+++ b/sys-cluster/flux/Manifest
@@ -1,9 +1,13 @@
DIST flux-0.41.2.tar.gz 395636 BLAKE2B 2d1732729709d0f753ff62aa5b5563b9d42f3cde42a98b5356607b640715e30afa9ebdfdb9c71281eff9188c91ea6e6b082ddc2198e4d790a76aaeb155b8ef2f SHA512 c68ad402c99b61ca9ef737749417b48dc4e852544d76311c11d94bff42c2e081a8e11e72e438cb9e1834ec7d48e69a30473aa6ab1d68c2684dde5c2b817000a2
DIST flux-2.0.1.tar.gz 326362 BLAKE2B f42bff5dcbd5960ba8d57f0d65a4c38e597bb6e1beb57bc38f5055c316f121ed07bb38275db6262eb1c0b3bedafd47ec9284cc05ab84f0c6e7aebc7e8458560d SHA512 01c25c2c38c9612ffd280ede66eb01a2d4fced2ae9b4e36053afcb7742cde1aaa909d6ba983a7d60618a66b4e2f3153089bd71b2b8e1d6a0a45737bdef60d1e1
+DIST flux-2.2.2.tar.gz 384815 BLAKE2B c79fee58360a5ad988c2bb58ee6ec32245ca685a14d4fa63e7c8c06b7d79d374bf0c22bf1ffe33b16085fb4532ec35503514e91b427aa067a2495e76ec61e9ad SHA512 d4b23ff189261d32f02682b3f57a5a81cb5faec87a8bd5a6cda7c044233761932e9f593c8019d1443fd1c63fb2585ffe6ee28084bf685802b163f36f5a2544a9
DIST flux2-0.41.2-deps.tar.xz 166945460 BLAKE2B 292ac5a66237916f1eeb8460f38f803fbe6bfec7cc6ee09512c0893928478049dbf8d482a897e7f4d5bed537f3cae3d73019d6c793764d1b15dc984724bc4ec7 SHA512 da36b3d78066cad548492d368df2b0d31c25a72f4fe4e5791b0c4315d5ed2625da5318b4a010395a587c072a07d23c6d6e7ff3c43bbf201dcd7d45a85dc24297
DIST flux2-0.41.2-manifests.tar.xz 22904 BLAKE2B e23150ff1b7617f144a1250c890cb48bccbfa4547cc2d46b6d6905349c969a8505e2bc23466a469bb0eae326ec571eb5987ae5c0768b648ba6e35b1daec2b039 SHA512 ba58ffa05be150e32a30a492d28cdc582c9b0e7162b768a83ca8d44a4a08fca195700f8c124cc39cf85a0c62dfbe380304c0d203d0f05619a1b65284d22278de
DIST flux2-2.0.1-deps.tar.xz 177273192 BLAKE2B 36047e5d2232bd6a4b648b78861881aa1c883de9593d0f3172e83115a62649f6369396de05cfd850143581366f8e4501d0e54a4f422515fc7165b823a9833b96 SHA512 18ae557760a4c298cc9f7556b460b9c02d2b5516b735881d5907bd934fd4bb83cdf4fc613b8b9a493f65accc24abbc7836a98dfde86386e5d7466efcb8ae995d
DIST flux2-2.0.1-manifests.tar.xz 22916 BLAKE2B 00df38e004f2abd52566e642c299522f9e5910104ee88cdc0842b63bedccb10383e17d35eb8a7495db7036641f2fb6a2fe6fe01971017c413e95ba57e73e5894 SHA512 db0c3f7013ffec41b657047e53cad01f19427f2e46a94d52efa2e4031482b1b8cddb857fee26ecd35ecdb11029ec0da7f6917f2343730c44338a9b2792695e93
+DIST flux2-2.2.2-deps.tar.xz 179877376 BLAKE2B f80135ad82f11a47ace00f3656147069ad8d7c389bbd18b6166c91d7381f06c2cf56371583e47eb2d3d9f6e292428e95c000ad4769a25ef2bdf0c2f6297b67e6 SHA512 5f8a82a19b2d5dde597aeaace21315a4feac4777996be18eed61422bae60e710519015ea5162a8818a12d05edfc22f47d1decea2d9a7c7a4488c2377e3b4f5d0
+DIST flux2-2.2.2-manifests.tar.xz 26788 BLAKE2B 82a233abd4d68d20af7160d39cadef0dd48692d469892b7ebd780a12f8e81ee00ce1e5f09f90f77035b055f85378cd9ce5979bb6af5a8fbc9dd96e1f091453ce SHA512 51ce6b4d2b79c40d55a3df17d0b191ac313099c0d068ee02a3abc57c05aadcc0d3d8eed06793e411d57b31e7aee601e54a2e4f87e6f88d8bb835d5d6bbddf4c3
EBUILD flux-0.41.2.ebuild 1096 BLAKE2B 3bcee15bd317d1f2969e692b12d76b931349d6c31f9abf7980b07c2231a065b0c43e931885d5aa5a434f88b6829b20856bb82a009446e48b7b14ed86083e4675 SHA512 c21c41e281bd1670fff0bf13a0dc44f801dce5bcf7f6ee836c4e2c71c4a48c64295b263084a6c48502b35c730f1adc85d0dca53ec7e9a853131ce257e6b993d6
EBUILD flux-2.0.1.ebuild 1096 BLAKE2B 3bcee15bd317d1f2969e692b12d76b931349d6c31f9abf7980b07c2231a065b0c43e931885d5aa5a434f88b6829b20856bb82a009446e48b7b14ed86083e4675 SHA512 c21c41e281bd1670fff0bf13a0dc44f801dce5bcf7f6ee836c4e2c71c4a48c64295b263084a6c48502b35c730f1adc85d0dca53ec7e9a853131ce257e6b993d6
+EBUILD flux-2.2.2.ebuild 1178 BLAKE2B a8ec27d55220cc0d4277a3179ff4c2610e098de16f3bdddcab92a2e293c0eb11f36ce10fd2fa2d1a34fea0bff15b2b82ede874eb5d2131a998ba807c04d9405e SHA512 d4f52a16f3bff57a16ef86b47a52dd9144dd32a0f177dff01e3b0bd99ab9c47c4cf1cf26fe83fec02ed2fb3443ca34ca007f384c646dd57a18ca25abdea4d581
MISC metadata.xml 330 BLAKE2B 24addf90e0c727cb9bedcafe1afa87e3a46e302bb456db353b84715fbf50a8e741ef20a18ddb02a6f06a09625dd013c1da225bae524a0e37887601e256fe6147 SHA512 f2302b31942d8a9a31fb8d9c9b55384482e7a119209b39ba4f501574b191239209e4079b94afba3bbd2adeb8dd78490215cadf5315882bc71cf79fc0aad19fcc
diff --git a/sys-cluster/flux/flux-2.2.2.ebuild b/sys-cluster/flux/flux-2.2.2.ebuild
new file mode 100644
index 000000000000..a5454a53db5e
--- /dev/null
+++ b/sys-cluster/flux/flux-2.2.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="Flux is a tool for keeping Kubernetes clusters in sync"
+HOMEPAGE="https://fluxcd.io https://github.com/fluxcd/flux2"
+SRC_URI="https://github.com/fluxcd/flux2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/flux2-${PV}-deps.tar.xz"
+# Manifests require kustomize to build. Do it with: make cmd/flux/.manifests.done
+SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/flux2-${PV}-manifests.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/flux2-${PV}"
+
+src_compile() {
+ mv "${WORKDIR}"/manifests cmd/"${PN}" || die
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ ego build -ldflags="-s -w -X main.VERSION=${PV}" -o ./bin/${PN} ./cmd/${PN}
+}
+
+src_install() {
+ dobin bin/${PN}
+ bin/${PN} completion bash > ${PN}.bash || die
+ bin/${PN} completion zsh > ${PN}.zsh || die
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}