summaryrefslogtreecommitdiff
path: root/app-admin/kube-bench
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-25 11:50:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-25 11:50:47 +0000
commitd42200bec37eef2a7478d88988ff00addd0a9202 (patch)
tree10394660b3cbe4b50173c06950b31302cd25d0d1 /app-admin/kube-bench
parent580f05ea8f512d11e23e8da80177d27835cbdbbc (diff)
gentoo resync : 25.01.2020
Diffstat (limited to 'app-admin/kube-bench')
-rw-r--r--app-admin/kube-bench/Manifest2
-rw-r--r--app-admin/kube-bench/kube-bench-0.2.3.ebuild94
2 files changed, 96 insertions, 0 deletions
diff --git a/app-admin/kube-bench/Manifest b/app-admin/kube-bench/Manifest
index cb3405d960bb..2cfbab683258 100644
--- a/app-admin/kube-bench/Manifest
+++ b/app-admin/kube-bench/Manifest
@@ -61,5 +61,7 @@ DIST github.com-spf13-viper-v1.4.0.tar.gz 44183 BLAKE2B 4294bc3c5076f1305618f4ca
DIST github.com-stretchr-objx-v0.2.0.tar.gz 79981 BLAKE2B 142269aa50602af8a00dd5f9acb0c85d3287c3d1fbfd953675c6023e597dad88462560ad02d3d20671fa1f3c89fdf66e46a94015e5c492287fb4973beb84d2c8 SHA512 d2b9b907c33b52e6ae5ef58280b3e8b2aa03bb7fe055275850cbe95ed4c62663867abe6ad7a5790ee10ecfab9c0cc7cbcefea1d3971454c02fb198c792402b36
DIST github.com-stretchr-testify-v1.3.0.tar.gz 102859 BLAKE2B 0b590484005372f6c1a8c591c6439d1072c53299db1508495c02712b187623552196421321c5e64aedc0fba6acdbd68db53ddbc8e5d6a78fd783e6f7344783b1 SHA512 29dc8389f0efba9caeb2d2d5704878c93f3b00c21e6ad2712bac52bbc09c460d9028aecbfd5430f200a15fd0e8c8d0157e084b72463d82ceecc5459d93d4d896
DIST kube-bench-0.2.2.tar.gz 262782 BLAKE2B f952bdb545fe220c34e6568c52b8450b66f251ec3b5d059ece92c4eec9d5505f1208366c2b7fbc351513e2bd51b93bb2ab05ddb6179cb0135c658c6f6da6b38c SHA512 7b3814a12b1c0299ebec58e8d41b8fceb61e395890d088fc942aacc72482b3458b874b7d67d5b41b57c378dfc3f7c695474461440bf767ac94dad935963a0962
+DIST kube-bench-0.2.3.tar.gz 264829 BLAKE2B 023c4ed3f4d38b8e571aae4f2f7fe25cd1768b0fc0441c1d0aea63359ebc671f19ce0c30663844c6eeb13464d18429a34b0021ceaacfb26389b6f47a1ac8e07b SHA512 df4681fc02a60947cfcee96f82b8962607432ca9a2d1ed430631a1311a107ade79fc17ce2e58ee6e75473473d22c5915825c3a65f3bf791e0c1dd01c0addea06
EBUILD kube-bench-0.2.2.ebuild 3684 BLAKE2B aeca87cb41272d8edfe5004b5670e7a55d66a0741b961ee34b22208af63fb08bb68e84fb39ac963f2ab389eacf290b2bbc7d660ad248a598ebae5c051ef5cab5 SHA512 fef02a4817f6e8e937919e365d5dd75de2837187691cbc39a85bb8bd34c5563dfee7dde38e463fe043aad334ee7eb6613e737b52d8efc93af90e8faf6bc443bc
+EBUILD kube-bench-0.2.3.ebuild 3479 BLAKE2B b477c4063c623abb207aee5414b65a906d3b14fc8d57ea0c63a6c66b5eadecd4e84f25f6e3df06d75a92ae0df4dcc4b27ffbcbc3c925494a0e947765ebf0fd6c SHA512 85fa3ae54d5fb298a895735f83a48c2a9bc2a268f9e4132b59f2980c2353ca6baebefbcecad3a7360a6a28e1e326d1e8ee405992b984f4fc7612fb3de2ce609d
MISC metadata.xml 336 BLAKE2B 277f263a32b6d7452d2b675e4434e56f44d4d68d2b502bb59d6c54ee29dae0e02af8c17c157850f1792c0d0268701aef7c669f171b1a9b4d629b297593d4d3e3 SHA512 5b0fdd5ea1e4da321fb30b752fadf565cdede02a8a001259569ce28294cde66dabbd42c73a3abe682b3cd223ccd28a31a269432f05acf015e3215a03f693b155
diff --git a/app-admin/kube-bench/kube-bench-0.2.3.ebuild b/app-admin/kube-bench/kube-bench-0.2.3.ebuild
new file mode 100644
index 000000000000..e2bf247ebc4e
--- /dev/null
+++ b/app-admin/kube-bench/kube-bench-0.2.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN=github.com/aquasecurity/kube-bench
+inherit go-module
+
+DESCRIPTION="Kubernetes Bench for Security runs the CIS Kubernetes Benchmark"
+HOMEPAGE="https://github.com/aquasecurity/kube-bench"
+
+EGO_VENDOR=(
+ "github.com/PuerkitoBio/purell v1.1.1"
+ "github.com/PuerkitoBio/urlesc de5bf2ad4578"
+ "github.com/davecgh/go-spew v1.1.1"
+ "github.com/emicklei/go-restful v2.9.6"
+ "github.com/evanphx/json-patch v4.5.0"
+ "github.com/fatih/color v1.5.0"
+ "github.com/fsnotify/fsnotify v1.4.7"
+ "github.com/go-openapi/jsonpointer v0.19.2"
+ "github.com/go-openapi/jsonreference v0.19.2"
+ "github.com/go-openapi/spec v0.19.2"
+ "github.com/go-openapi/swag v0.19.2"
+ "github.com/gogo/protobuf v1.2.1"
+ "github.com/golang/glog 23def4e6c14b"
+ "github.com/golang/protobuf v1.3.1"
+ "github.com/google/gofuzz v1.0.0"
+ "github.com/googleapis/gnostic v0.3.0"
+ "github.com/hashicorp/hcl v1.0.0"
+ "github.com/imdario/mergo v0.3.5"
+ "github.com/inconshreveable/mousetrap v1.0.0"
+ "github.com/jinzhu/gorm 5174cc5c242a"
+ "github.com/jinzhu/inflection 1c35d901db3d"
+ "github.com/json-iterator/go v1.1.6"
+ "github.com/konsorten/go-windows-terminal-sequences v1.0.1"
+ "github.com/lib/pq 83612a56d3dd"
+ "github.com/magiconair/properties v1.8.0"
+ "github.com/mailru/easyjson da37f6c1e481"
+ "github.com/mattn/go-colorable 5411d3eea597"
+ "github.com/mattn/go-isatty 57fdcb988a5c"
+ "github.com/mitchellh/mapstructure v1.1.2"
+ "github.com/modern-go/concurrent bacd9c7ef1dd"
+ "github.com/modern-go/reflect2 v1.0.1"
+ "github.com/onsi/ginkgo v1.10.1"
+ "github.com/pelletier/go-toml v1.2.0"
+ "github.com/pkg/errors v0.8.1"
+ "github.com/pmezard/go-difflib v1.0.0"
+ "github.com/sirupsen/logrus v1.4.1"
+ "github.com/spf13/afero v1.2.2"
+ "github.com/spf13/cast v1.3.0"
+ "github.com/spf13/cobra v0.0.3"
+ "github.com/spf13/jwalterweatherman v1.0.0"
+ "github.com/spf13/pflag v1.0.3"
+ "github.com/spf13/viper v1.4.0"
+ "github.com/stretchr/objx v0.2.0"
+ "github.com/stretchr/testify v1.3.0"
+ "golang.org/x/crypto 5c40567a22f8 github.com/golang/crypto"
+ "golang.org/x/net 3b0461eec859 github.com/golang/net"
+ "golang.org/x/oauth2 9f3314589c9a github.com/golang/oauth2"
+ "golang.org/x/sys d432491b9138 github.com/golang/sys"
+ "golang.org/x/text v0.3.2 github.com/golang/text"
+ "golang.org/x/time 9d24e82272b4 github.com/golang/time"
+ "google.golang.org/appengine v1.5.0 github.com/golang/appengine"
+ "gopkg.in/inf.v0 v0.9.1 github.com/go-inf/inf"
+ "gopkg.in/yaml.v2 v2.2.4 github.com/go-yaml/yaml"
+ "k8s.io/api 6e4e0e4f393b github.com/kubernetes/api"
+ "k8s.io/apimachinery 6a84e37a896d github.com/kubernetes/apimachinery"
+ "k8s.io/client-go v11.0.0 github.com/kubernetes/client-go"
+ "k8s.io/klog v0.3.3 github.com/kubernetes/klog"
+ "k8s.io/kube-openapi db7b694dc208 github.com/kubernetes/kube-openapi"
+ "k8s.io/utils 6ca3b61696b6 github.com/kubernetes/utils"
+ "sigs.k8s.io/kind v0.5.1 github.com/kubernetes-sigs/kind"
+ "sigs.k8s.io/kustomize/v3 4b67a6de1296 github.com/kubernetes-sigs/kustomize"
+ "sigs.k8s.io/yaml v1.1.0 github.com/kubernetes-sigs/yaml"
+)
+
+SRC_URI="https://github.com/aquasecurity/kube-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
+$(go-module_vendor_uris)"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RESTRICT+=" test"
+
+src_compile() {
+ go build -ldflags "-X ${EGO_PN}/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
+}
+
+src_install() {
+ dobin ${PN}
+ insinto /etc/kube-bench
+ doins -r cfg
+}