diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-19 22:05:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-19 22:05:27 +0100 |
commit | 121ed4eec41fbf03e1998d09eede1bf449da63b9 (patch) | |
tree | ce9341d77d1507f67d4a3a1472da9011b5baa0a8 /app-admin/kube-bench | |
parent | dd762ff83c330186ee2ede002e08b2f780cddd51 (diff) |
gentoo resync : 19.07.2019
Diffstat (limited to 'app-admin/kube-bench')
-rw-r--r-- | app-admin/kube-bench/Manifest | 2 | ||||
-rw-r--r-- | app-admin/kube-bench/kube-bench-0.0.33.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/kube-bench/Manifest b/app-admin/kube-bench/Manifest index 63f821431b8a..0e6cbfb0a887 100644 --- a/app-admin/kube-bench/Manifest +++ b/app-admin/kube-bench/Manifest @@ -31,7 +31,9 @@ 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 EBUILD kube-bench-0.0.27.ebuild 2378 BLAKE2B 7e6940c4b47382211bf747a32f68c03a9f68e1a14f7ad8e7b5073767562d7f22476edc7c2dd1bb2a68e103009e3c294f2d235cea055782fb5b616b5dc71e6a3e SHA512 17f77e0476ca8cdad7986e901810cc6af88b723367295438d6a5632b0f98aa032aa6ecbba9320256b26bd0aea17df1ab8a96e17b9be5f005ae8ec7a62215f88a EBUILD kube-bench-0.0.28.ebuild 2379 BLAKE2B 13c334651f415c1b45d77cea83a84bfd2db0b42b39b327d2f949d161e1ccbe5e8c82e2864af7033aeb4d284e7835a3c9507dd1a6749e31e10e35bc46b9347e6e SHA512 b75469ec2e6300fa2b294f2e4fc3887e228607c90511d9639bdc758c1cd76ada09609bc4e1a369e2e1805963c971bb9f6e8f0cdf413b892cf94afbf5cb0f1f26 EBUILD kube-bench-0.0.30.ebuild 2286 BLAKE2B 1307c1868df0a78e5628a5b06ad32ca491e57d87c10eeb311ab2cfa6ee4f13da76f1a369dea2ff45130023bbc69ecb347ac32272361f3b42aeb060a0bf038e6b SHA512 fa680496be332ece42bc89f528fbb6f253e41bba1b40d9f653ce8d7fc4e696524b72516fe805bc26d5e64b40b254e1c3ab64f8d54c40eee757284fec942358d5 +EBUILD kube-bench-0.0.33.ebuild 2286 BLAKE2B 1307c1868df0a78e5628a5b06ad32ca491e57d87c10eeb311ab2cfa6ee4f13da76f1a369dea2ff45130023bbc69ecb347ac32272361f3b42aeb060a0bf038e6b SHA512 fa680496be332ece42bc89f528fbb6f253e41bba1b40d9f653ce8d7fc4e696524b72516fe805bc26d5e64b40b254e1c3ab64f8d54c40eee757284fec942358d5 MISC metadata.xml 333 BLAKE2B c8437977b6a07e36929b13f767af0f09158bedd1ea7a0bee1da52dd1b83acb2929248c3c385a5fba14362721ab6871d399ddfba53d15bbe84a87af0ad771b73b SHA512 295cae435555436e9091195ac585fd30d022aba0b76244c85927f19f14b38dde95fb14192c832f00f52e3cf71aa3d95f7527b22a90690f85206178c49d620c8d 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 index 000000000000..5efb03763d5c --- /dev/null +++ b/app-admin/kube-bench/kube-bench-0.0.33.ebuild @@ -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 +} |