commit: c4a85a2229e112982b43c95043a507ec04bfc3ef Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Thu Apr 25 11:37:34 2019 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Thu Apr 25 11:37:34 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a85a22
app-admin/kube-bench: Version bump to 0.0.28 Package-Manager: Portage-2.3.63, Repoman-2.3.12 Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> app-admin/kube-bench/Manifest | 1 + app-admin/kube-bench/kube-bench-0.0.28.ebuild | 59 +++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/app-admin/kube-bench/Manifest b/app-admin/kube-bench/Manifest index 85546d695b1..59d0d28bd2f 100644 --- a/app-admin/kube-bench/Manifest +++ b/app-admin/kube-bench/Manifest @@ -22,3 +22,4 @@ DIST github.com-spf13-pflag-4c012f6dcd9546820e378d0bdda4d8fc772cdfea.tar.gz 4007 DIST github.com-spf13-viper-25b30aa063fc18e48662b86996252eabdcf2f0c7.tar.gz 30849 BLAKE2B 8e66dbb5c90c47e66ea72848d86602861791fe3198ce6cde5ea87330f15dd19cdd249788bebc31b2a66577c20edeef01c8beb59a4140d57167c4b13d33118a04 SHA512 4acd37411683d753d81d839e83c2257bc424c42b8e295868da84cb045db131be063b0e5a0fb88c587332582f356186659d5a181e65ae1838e868576543c1fecd DIST kube-bench-0.0.23.tar.gz 205894 BLAKE2B 7c10f4f8c6b153d7e3e63cdc4cadb1b403c599e55e56f7f47be91e6c49b68215eb9c67898c6d897b7c7f038cbd404d2af158ca9629bc2d3a4e40dddb9fcdc32e SHA512 946bf313e6762ab11a59c02c03e150686254669c0ec32c36c7b9f6d224d6d011f73d7a6f56b771dbf8857b24aaf5138248b506bb180df6c3375e6c0ad68ffee3 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 diff --git a/app-admin/kube-bench/kube-bench-0.0.28.ebuild b/app-admin/kube-bench/kube-bench-0.0.28.ebuild new file mode 100644 index 00000000000..456872daf1d --- /dev/null +++ b/app-admin/kube-bench/kube-bench-0.0.28.ebuild @@ -0,0 +1,59 @@ +# 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 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 +}