Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/kube-bench/
Date: Wed, 22 Jan 2020 17:42:01
Message-Id: 1579714853.5cdd59bbfe3e3776e794e8bac06314fec05690d3.williamh@gentoo
1 commit: 5cdd59bbfe3e3776e794e8bac06314fec05690d3
2 Author: William Hubbs <william.hubbs <AT> sony <DOT> com>
3 AuthorDate: Wed Jan 22 17:38:44 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 22 17:40:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cdd59bb
7
8 app-admin/kube-bench: 0.2.3 bump
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 app-admin/kube-bench/Manifest | 1 +
13 app-admin/kube-bench/kube-bench-0.2.3.ebuild | 94 ++++++++++++++++++++++++++++
14 2 files changed, 95 insertions(+)
15
16 diff --git a/app-admin/kube-bench/Manifest b/app-admin/kube-bench/Manifest
17 index 104316d96f9..0321873230e 100644
18 --- a/app-admin/kube-bench/Manifest
19 +++ b/app-admin/kube-bench/Manifest
20 @@ -61,3 +61,4 @@ DIST github.com-spf13-viper-v1.4.0.tar.gz 44183 BLAKE2B 4294bc3c5076f1305618f4ca
21 DIST github.com-stretchr-objx-v0.2.0.tar.gz 79981 BLAKE2B 142269aa50602af8a00dd5f9acb0c85d3287c3d1fbfd953675c6023e597dad88462560ad02d3d20671fa1f3c89fdf66e46a94015e5c492287fb4973beb84d2c8 SHA512 d2b9b907c33b52e6ae5ef58280b3e8b2aa03bb7fe055275850cbe95ed4c62663867abe6ad7a5790ee10ecfab9c0cc7cbcefea1d3971454c02fb198c792402b36
22 DIST github.com-stretchr-testify-v1.3.0.tar.gz 102859 BLAKE2B 0b590484005372f6c1a8c591c6439d1072c53299db1508495c02712b187623552196421321c5e64aedc0fba6acdbd68db53ddbc8e5d6a78fd783e6f7344783b1 SHA512 29dc8389f0efba9caeb2d2d5704878c93f3b00c21e6ad2712bac52bbc09c460d9028aecbfd5430f200a15fd0e8c8d0157e084b72463d82ceecc5459d93d4d896
23 DIST kube-bench-0.2.2.tar.gz 262782 BLAKE2B f952bdb545fe220c34e6568c52b8450b66f251ec3b5d059ece92c4eec9d5505f1208366c2b7fbc351513e2bd51b93bb2ab05ddb6179cb0135c658c6f6da6b38c SHA512 7b3814a12b1c0299ebec58e8d41b8fceb61e395890d088fc942aacc72482b3458b874b7d67d5b41b57c378dfc3f7c695474461440bf767ac94dad935963a0962
24 +DIST kube-bench-0.2.3.tar.gz 264829 BLAKE2B 023c4ed3f4d38b8e571aae4f2f7fe25cd1768b0fc0441c1d0aea63359ebc671f19ce0c30663844c6eeb13464d18429a34b0021ceaacfb26389b6f47a1ac8e07b SHA512 df4681fc02a60947cfcee96f82b8962607432ca9a2d1ed430631a1311a107ade79fc17ce2e58ee6e75473473d22c5915825c3a65f3bf791e0c1dd01c0addea06
25
26 diff --git a/app-admin/kube-bench/kube-bench-0.2.3.ebuild b/app-admin/kube-bench/kube-bench-0.2.3.ebuild
27 new file mode 100644
28 index 00000000000..e2bf247ebc4
29 --- /dev/null
30 +++ b/app-admin/kube-bench/kube-bench-0.2.3.ebuild
31 @@ -0,0 +1,94 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +EGO_PN=github.com/aquasecurity/kube-bench
37 +inherit go-module
38 +
39 +DESCRIPTION="Kubernetes Bench for Security runs the CIS Kubernetes Benchmark"
40 +HOMEPAGE="https://github.com/aquasecurity/kube-bench"
41 +
42 +EGO_VENDOR=(
43 + "github.com/PuerkitoBio/purell v1.1.1"
44 + "github.com/PuerkitoBio/urlesc de5bf2ad4578"
45 + "github.com/davecgh/go-spew v1.1.1"
46 + "github.com/emicklei/go-restful v2.9.6"
47 + "github.com/evanphx/json-patch v4.5.0"
48 + "github.com/fatih/color v1.5.0"
49 + "github.com/fsnotify/fsnotify v1.4.7"
50 + "github.com/go-openapi/jsonpointer v0.19.2"
51 + "github.com/go-openapi/jsonreference v0.19.2"
52 + "github.com/go-openapi/spec v0.19.2"
53 + "github.com/go-openapi/swag v0.19.2"
54 + "github.com/gogo/protobuf v1.2.1"
55 + "github.com/golang/glog 23def4e6c14b"
56 + "github.com/golang/protobuf v1.3.1"
57 + "github.com/google/gofuzz v1.0.0"
58 + "github.com/googleapis/gnostic v0.3.0"
59 + "github.com/hashicorp/hcl v1.0.0"
60 + "github.com/imdario/mergo v0.3.5"
61 + "github.com/inconshreveable/mousetrap v1.0.0"
62 + "github.com/jinzhu/gorm 5174cc5c242a"
63 + "github.com/jinzhu/inflection 1c35d901db3d"
64 + "github.com/json-iterator/go v1.1.6"
65 + "github.com/konsorten/go-windows-terminal-sequences v1.0.1"
66 + "github.com/lib/pq 83612a56d3dd"
67 + "github.com/magiconair/properties v1.8.0"
68 + "github.com/mailru/easyjson da37f6c1e481"
69 + "github.com/mattn/go-colorable 5411d3eea597"
70 + "github.com/mattn/go-isatty 57fdcb988a5c"
71 + "github.com/mitchellh/mapstructure v1.1.2"
72 + "github.com/modern-go/concurrent bacd9c7ef1dd"
73 + "github.com/modern-go/reflect2 v1.0.1"
74 + "github.com/onsi/ginkgo v1.10.1"
75 + "github.com/pelletier/go-toml v1.2.0"
76 + "github.com/pkg/errors v0.8.1"
77 + "github.com/pmezard/go-difflib v1.0.0"
78 + "github.com/sirupsen/logrus v1.4.1"
79 + "github.com/spf13/afero v1.2.2"
80 + "github.com/spf13/cast v1.3.0"
81 + "github.com/spf13/cobra v0.0.3"
82 + "github.com/spf13/jwalterweatherman v1.0.0"
83 + "github.com/spf13/pflag v1.0.3"
84 + "github.com/spf13/viper v1.4.0"
85 + "github.com/stretchr/objx v0.2.0"
86 + "github.com/stretchr/testify v1.3.0"
87 + "golang.org/x/crypto 5c40567a22f8 github.com/golang/crypto"
88 + "golang.org/x/net 3b0461eec859 github.com/golang/net"
89 + "golang.org/x/oauth2 9f3314589c9a github.com/golang/oauth2"
90 + "golang.org/x/sys d432491b9138 github.com/golang/sys"
91 + "golang.org/x/text v0.3.2 github.com/golang/text"
92 + "golang.org/x/time 9d24e82272b4 github.com/golang/time"
93 + "google.golang.org/appengine v1.5.0 github.com/golang/appengine"
94 + "gopkg.in/inf.v0 v0.9.1 github.com/go-inf/inf"
95 + "gopkg.in/yaml.v2 v2.2.4 github.com/go-yaml/yaml"
96 + "k8s.io/api 6e4e0e4f393b github.com/kubernetes/api"
97 + "k8s.io/apimachinery 6a84e37a896d github.com/kubernetes/apimachinery"
98 + "k8s.io/client-go v11.0.0 github.com/kubernetes/client-go"
99 + "k8s.io/klog v0.3.3 github.com/kubernetes/klog"
100 + "k8s.io/kube-openapi db7b694dc208 github.com/kubernetes/kube-openapi"
101 + "k8s.io/utils 6ca3b61696b6 github.com/kubernetes/utils"
102 + "sigs.k8s.io/kind v0.5.1 github.com/kubernetes-sigs/kind"
103 + "sigs.k8s.io/kustomize/v3 4b67a6de1296 github.com/kubernetes-sigs/kustomize"
104 + "sigs.k8s.io/yaml v1.1.0 github.com/kubernetes-sigs/yaml"
105 +)
106 +
107 +SRC_URI="https://github.com/aquasecurity/kube-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
108 +$(go-module_vendor_uris)"
109 +
110 +LICENSE="Apache-2.0"
111 +SLOT="0"
112 +KEYWORDS="~amd64"
113 +IUSE=""
114 +
115 +RESTRICT+=" test"
116 +
117 +src_compile() {
118 + go build -ldflags "-X ${EGO_PN}/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
119 +}
120 +
121 +src_install() {
122 + dobin ${PN}
123 + insinto /etc/kube-bench
124 + doins -r cfg
125 +}