summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenton Groombridge <concord@gentoo.org>2023-03-27 19:03:00 -0400
committerKenton Groombridge <concord@gentoo.org>2023-03-27 19:05:57 -0400
commite15fda387bba46be7d3ffe788f136a311fe7a1ae (patch)
tree9510e0fc7239506477af25134d3ea9ea2218e835 /sys-cluster
parentsys-cluster/flux: new package, add 0.41.2 (diff)
downloadgentoo-e15fda387bba46be7d3ffe788f136a311fe7a1ae.tar.gz
gentoo-e15fda387bba46be7d3ffe788f136a311fe7a1ae.tar.bz2
gentoo-e15fda387bba46be7d3ffe788f136a311fe7a1ae.zip
sys-cluster/kubeseal: new package, add 0.20.2
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubeseal/Manifest2
-rw-r--r--sys-cluster/kubeseal/kubeseal-0.20.2.ebuild32
-rw-r--r--sys-cluster/kubeseal/metadata.xml11
3 files changed, 45 insertions, 0 deletions
diff --git a/sys-cluster/kubeseal/Manifest b/sys-cluster/kubeseal/Manifest
new file mode 100644
index 000000000000..2fb1e0c7901c
--- /dev/null
+++ b/sys-cluster/kubeseal/Manifest
@@ -0,0 +1,2 @@
+DIST sealed-secrets-0.20.2-deps.tar.xz 50136172 BLAKE2B aa8055f56ade09539e266f2155daa05ddf403dabede8573c2299b200bb1cc5955e9acedd7fd3fe0fe45e474c5df430d76edef5abcd8abe2675db7abafe908ccd SHA512 99c1cf0ba5aa2f3e4a332b5b206627d652c0f2dab6e0be6b2b6da8459ca3be10c768eb4e5f552b918d8f4231283bf5b793f156948a40505a3dc53031f10ea3bf
+DIST sealed-secrets-0.20.2.tar.gz 1302289 BLAKE2B 019cd7daf7ec0fb6977aa8be519b905016e98f67a9a17ec4b2546400c0543779eb662e6e4f134f7e88fd9f172528a10604d1a78fbf8c880c9b3bab1f752a97ec SHA512 9348ee052652799b833d291158769b9f8039f7270209443adc79f47335faca64ca876d1198de0dcbf2e8977a78471c25b56caf735a6965a41194ebcaa7931c51
diff --git a/sys-cluster/kubeseal/kubeseal-0.20.2.ebuild b/sys-cluster/kubeseal/kubeseal-0.20.2.ebuild
new file mode 100644
index 000000000000..d4f364c86e91
--- /dev/null
+++ b/sys-cluster/kubeseal/kubeseal-0.20.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+MY_PN="sealed-secrets"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Client-side utility for one-way encrypted secrets in kubernetes"
+HOMEPAGE="https://github.com/bitnami-labs/sealed-secrets"
+SRC_URI="https://github.com/bitnami-labs/sealed-secrets/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${MY_P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" VERSION="v${PV}" ${PN}
+}
+
+src_install() {
+ dobin ${PN}
+}
diff --git a/sys-cluster/kubeseal/metadata.xml b/sys-cluster/kubeseal/metadata.xml
new file mode 100644
index 000000000000..46b811f7c509
--- /dev/null
+++ b/sys-cluster/kubeseal/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>concord@gentoo.org</email>
+ <name>Kenton Groombridge</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bitnami-labs/sealed-secrets</remote-id>
+ </upstream>
+</pkgmetadata>