summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/kube-bench')
-rw-r--r--app-admin/kube-bench/Manifest1
-rw-r--r--app-admin/kube-bench/kube-bench-0.0.22.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/kube-bench/Manifest b/app-admin/kube-bench/Manifest
index d36dad8059f2..615137ed60b7 100644
--- a/app-admin/kube-bench/Manifest
+++ b/app-admin/kube-bench/Manifest
@@ -24,3 +24,4 @@ DIST kube-bench-0.0.16.tar.gz 196341 BLAKE2B c0cf32f99401729c8c064a6d48e41908c75
DIST kube-bench-0.0.17.tar.gz 197158 BLAKE2B 458a7ee61cde654359002060ca05ef376c0f0cd43c48b6faa5faee307c367bce1ecbd827ab9634d07f805c706e1ed68968b1b73c3bb3952b52d15074c019acd8 SHA512 c07a7c58551ebe4633fb6a8cf08b8b81c63579a1406ac8b2cb889b2b6e06015fc22c205b873c79b40c228b7bd104fe427766271a1d3bd840386249c84f48e857
DIST kube-bench-0.0.19.tar.gz 197836 BLAKE2B 86fd5d43d45fb2fa98e542a2a2385fecf2ec2a024bede34d5d9a9e33e04967b7dadab34651734361bb5f273eb8da824ca6d73fe46e8944b14ae0ba4c4e64341a SHA512 dfe82bcce482c88effffad772b17874bc2c80423d47f2dc7c02b5c9425b915ec2405d9f97b88b4aff2a54d33b7bfafd3f89c43ee4c32956d27cef4f11833a178
DIST kube-bench-0.0.20.tar.gz 197875 BLAKE2B 8bca6040b62226d01d86edd020166538ee6072cf6ec1ec72d0db38b024ade39ba2378e9bd866b8b7e3878e11dd5ca9ce62ad3c3a36d7d99e124c664acf7961a9 SHA512 1a07d1b7b5a073915e8c161fedc901974889791a939fd58daae267dccbf80dc09bafe133f783c2eb02335535d27d143cfd7b657652ea5b517064b3cded31430d
+DIST kube-bench-0.0.22.tar.gz 205683 BLAKE2B d405bc0b7af4f588e363f5a4f240d1b8662118e64e92356f841a86501b76bec8ee51ae5fb832819cee3d99f0aefa232676e6602029ab103f3760c5127fe8a845 SHA512 e64aaae83a9469763ac5a044df8cc5e53c7b0dd1bffc27c5fbc48fa0e3e27c8a3be45ebe6d82483757eb4da290c34b003d0db5c9fee25b95fbe44d0ff3e273ad
diff --git a/app-admin/kube-bench/kube-bench-0.0.22.ebuild b/app-admin/kube-bench/kube-bench-0.0.22.ebuild
new file mode 100644
index 000000000000..acf4de671da9
--- /dev/null
+++ b/app-admin/kube-bench/kube-bench-0.0.22.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/aquasecurity/kube-bench"
+
+EGO_VENDOR=(
+ "github.com/fatih/color 570b54cabe6b8eb0bc2dfce68d964677d63b5260"
+ "github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
+ "github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
+ "github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
+ "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
+ "github.com/jinzhu/gorm 5174cc5c242a728b435ea2be8a2f7f998e15429b"
+ "github.com/jinzhu/inflection 1c35d901db3da928c72a72d8458480cc9ade058f"
+ "github.com/lib/pq 83612a56d3dd153a94a629cd64925371c9adad78"
+ "github.com/magiconair/properties 49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934"
+ "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96"
+ "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022"
+ "github.com/mitchellh/mapstructure 06020f85339e21b2478f756a78e295255ffa4d6a"
+ "github.com/pelletier/go-toml 0131db6d737cfbbfb678f8b7d92e55e27ce46224"
+ "github.com/spf13/afero 57afd63c68602b63ed976de00dd066ccb3c319db"
+ "github.com/spf13/cast acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
+ "github.com/spf13/cobra 7b2c5ac9fc04fc5efafb60700713d4fa609b777b"
+ "github.com/spf13/jwalterweatherman 12bd96e66386c1960ab0f74ced1362f66f552f7b"
+ "github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
+ "github.com/spf13/viper 25b30aa063fc18e48662b86996252eabdcf2f0c7"
+ "golang.org/x/sys e24f485414aeafb646f6fca458b0bf869c0880a1 github.com/golang/sys"
+ "golang.org/x/text e19ae1496984b1c655b8044a65c0300a3c878dd3 github.com/golang/text"
+ "gopkg.in/yaml.v2 c95af922eae69f190717a0b7148960af8c55a072 github.com/go-yaml/yaml"
+)
+
+inherit golang-build golang-vcs-snapshot bash-completion-r1
+
+ARCHIVE_URI="https://github.com/aquasecurity/kube-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${EGO_VENDOR_URI}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Kubernetes Bench for Security runs the CIS Kubernetes Benchmark"
+HOMEPAGE="https://github.com/aquasecurity/kube-bench"
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+RESTRICT="test"
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ GOPATH="${S}" go build -o ${PN} . || die
+ popd || die
+}
+
+src_install() {
+ dobin src/${EGO_PN}/${PN}
+ insinto /etc/kube-bench
+ doins -r src/${EGO_PN}/cfg
+}