app-admin/kube-bench: Version bump to 0.0.33
authorManuel Rüger <mrueg@gentoo.org>
Mon, 15 Jul 2019 23:57:18 +0000 (01:57 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 15 Jul 2019 23:57:18 +0000 (01:57 +0200)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
app-admin/kube-bench/Manifest
app-admin/kube-bench/kube-bench-0.0.33.ebuild [new file with mode: 0644]

index 952541c20a27803a23f23e8446b5297172942ca0..2383925f44400fabcdc0cb83e2d67a52e611e9d8 100644 (file)
@@ -31,3 +31,4 @@ DIST github.com-spf13-viper-v1.0.0.tar.gz 30804 BLAKE2B 9f88f872c1bcd0f3590f7b4b
 DIST kube-bench-0.0.27.tar.gz 6208481 BLAKE2B 5d3efc972d0caee4db8ea80c6ec24008a9a47770cb1befce20795d6d7e8a3ae3a109b94239a0844bcc44b008f13051db72ca19b8395a9079bb424a3ac8660ebe SHA512 5c5bc90e24d805881b9949f86b852814c2e920b61616b91716a2705230a135e8d3475fa8ec2ed0add9fc2346a17e0538527eb8a7d4dce23dbc8d3b4e99b23a74
 DIST kube-bench-0.0.28.tar.gz 6210140 BLAKE2B 239f151918b8ae0646e24bdfa95b08896dfa3702391bc736e2816c78a9309f45203ffa8111f133f6f566919a02845ea2f4f85f61fbdeebde013da834296df771 SHA512 82a8671fe02f44f9b8309ce7eac36e11e4b3ecff5f7a6dbecc65a02425eea142a60db9d494f038b412954085eb10c131e8e4ec1fb2e95bde2f96c2b35e97082a
 DIST kube-bench-0.0.30.tar.gz 250893 BLAKE2B a52e465368b53671fcfe392d8c167a12d75405564333244212f743b57230f7b17edbe36e59a1262a17cf7d27b5b29d95204eaf600cd531a9f5d7dc25b4c2953d SHA512 7c0075429a446ba89d183867fef72c18f4d12765bb7f6faf65304fa8cf3a76e1552311907d66bbe0795cffccd7025d98b481b7f9a2f5fec82345acc4ea798efc
+DIST kube-bench-0.0.33.tar.gz 253236 BLAKE2B f441cbb4315d785084a51ac89ee3f02b79d569a38079384b82afc8a966e2b9fa948f93db5655abb8ddebf8df1a95afc53376992441889f53b009fd96dd809937 SHA512 f6b688126c2f09d1af3128e4888548eb943b07a336d378eeeb35ca8d84ba69d93d8672b114559f91dcab72000c9bcc996d415d01f1de9af6ce6810a399a6e631
diff --git a/app-admin/kube-bench/kube-bench-0.0.33.ebuild b/app-admin/kube-bench/kube-bench-0.0.33.ebuild
new file mode 100644 (file)
index 0000000..5efb037
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 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 v1.5.0"
+       "github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
+       "github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
+       "github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
+       "github.com/inconshreveable/mousetrap v1.0.0"
+       "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 v1.1.0"
+       "github.com/spf13/cobra v0.0.1"
+       "github.com/spf13/jwalterweatherman 12bd96e66386c1960ab0f74ced1362f66f552f7b"
+       "github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
+       "github.com/spf13/viper v1.0.0"
+       "golang.org/x/sys e24f485414aeafb646f6fca458b0bf869c0880a1 github.com/golang/sys"
+       "golang.org/x/text 17ff2d5776d2 github.com/golang/text"
+       "gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml"
+       "k8s.io/client-go v10.0.0 github.com/kubernetes/client-go"
+)
+
+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 -v -ldflags "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
+       popd || die
+}
+
+src_install() {
+       dobin src/${EGO_PN}/${PN}
+       insinto /etc/kube-bench
+       doins -r src/${EGO_PN}/cfg
+}