Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/kube-bench/
Date: Thu, 08 Feb 2018 16:43:42
Message-Id: 1518108203.ac9f1eb326a0cac717b48c577b08e86f87b97686.mrueg@gentoo
1 commit: ac9f1eb326a0cac717b48c577b08e86f87b97686
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 8 16:42:51 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 8 16:43:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac9f1eb3
7
8 app-admin/kube-bench: Version bump to 0.0.11
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-admin/kube-bench/Manifest | 2 +
13 app-admin/kube-bench/kube-bench-0.0.11.ebuild | 59 +++++++++++++++++++++++++++
14 app-admin/kube-bench/kube-bench-0.0.8.ebuild | 59 +++++++++++++++++++++++++++
15 3 files changed, 120 insertions(+)
16
17 diff --git a/app-admin/kube-bench/Manifest b/app-admin/kube-bench/Manifest
18 index 6b85051cb72..c1081edc907 100644
19 --- a/app-admin/kube-bench/Manifest
20 +++ b/app-admin/kube-bench/Manifest
21 @@ -29,5 +29,7 @@ DIST github.com-spf13-jwalterweatherman-12bd96e66386c1960ab0f74ced1362f66f552f7b
22 DIST github.com-spf13-pflag-4c012f6dcd9546820e378d0bdda4d8fc772cdfea.tar.gz 40078 BLAKE2B 4a15afdf122a58dd006d57da88176fd2804d98706ac3d8c496dc14b084851288dd28bad95f7871d738f0487db46aa7969dffbdf005c14fc6f46bcd0ad7e0f673 SHA512 4f4d606bfe94ea51a6cde535f16078602f1d63bd2896aed52bb53b3d219510ab38ad4bdc692da2eb355c9361041d7322db6424f63783bcc367343a1666cdf297
23 DIST github.com-spf13-viper-1a0c4a370c3e8286b835467d2dfcdaf636c3538b.tar.gz 32229 BLAKE2B 95b1ed58026f177674a452e531ad445582a8cdafc1e86293918e3b8a8e81f71644b66873c621621655eb87c0cfb67f8e2b089b02bb74bdb30a714b92fdae0cc3 SHA512 004f7cb37ce692cb86b3f793afe5ade9dd478ffdceb23ac8da667c626539503e199f424d6b3183c8907257186eb1a16552ba36979bcdaf363482a6f19cc98d89
24 DIST github.com-spf13-viper-25b30aa063fc18e48662b86996252eabdcf2f0c7.tar.gz 30849 BLAKE2B 8e66dbb5c90c47e66ea72848d86602861791fe3198ce6cde5ea87330f15dd19cdd249788bebc31b2a66577c20edeef01c8beb59a4140d57167c4b13d33118a04 SHA512 4acd37411683d753d81d839e83c2257bc424c42b8e295868da84cb045db131be063b0e5a0fb88c587332582f356186659d5a181e65ae1838e868576543c1fecd
25 +DIST kube-bench-0.0.11.tar.gz 175361 BLAKE2B 844e252ccf270561154f1bab9c02144ff10a0594d71a2cd6e63a828ecabee2132a8756848642c475bfa705f360a5d69812519f705ad7c4717d5a4bf9d84cbd1b SHA512 52debf132bae38588f0b49c54f07d2550fc254665a0549b7369fb34b6884724624a44d14e6ea1120dc0c2586f2647b56d30e66695f2d8829c3f26ec5f2443f38
26 DIST kube-bench-0.0.6.tar.gz 172957 BLAKE2B e6ce4ab094ac38790d802e0df0c9c8c19a2b85d00bbdd6a968d7e680a3b2bc465bcc7f24ff8b68d85043fa82b15cba835e72c6e4da4f43c4d6786a0ad994ed98 SHA512 f1aacd90090c39cf521b73bbdaf4fed4440b2d011b8e1cf40837522e1f696575ef7c03cab9592ad68766e3bed5b4ae890692a4aa25c42e296704ce1a9260ac5a
27 DIST kube-bench-0.0.7.tar.gz 174301 BLAKE2B de73c5b6a8160eddd62d88372eb5094b7b252b99c2ecfd81fe2993051b7432ffe752b560d46064bfb9961bf5bde671d7381da905dff5155cac03047c5aa57b75 SHA512 92009356c7b87aa39c61bfefcf0ff5b44754ee930bbdc1a26579057b49c075126b114b72011cf85f5ad904ddaa5b9662c5c860dd8b101d8be0a6026b7a418ce6
28 +DIST kube-bench-0.0.8.tar.gz 175035 BLAKE2B 55b80833c7bd5d69ffee312495693718b529f95473280648ff475c5193a3830a4062c2a253317b292d78a5f2a87917721e6bfe81a988376b62ddb2703ceb3eda SHA512 dfdecd10e942f44a4fd2a87ac96d3e0139112c018293a5021fa0a631b37a6d2177a766318058b60926ee6f7fbe232f677206f89b0c2d31022f935ba4d1e7a9cf
29
30 diff --git a/app-admin/kube-bench/kube-bench-0.0.11.ebuild b/app-admin/kube-bench/kube-bench-0.0.11.ebuild
31 new file mode 100644
32 index 00000000000..01b95b2a0ed
33 --- /dev/null
34 +++ b/app-admin/kube-bench/kube-bench-0.0.11.ebuild
35 @@ -0,0 +1,59 @@
36 +# Copyright 1999-2018 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +EGO_PN="github.com/aquasecurity/kube-bench"
42 +
43 +EGO_VENDOR=(
44 + "github.com/fatih/color 570b54cabe6b8eb0bc2dfce68d964677d63b5260"
45 + "github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
46 + "github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
47 + "github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
48 + "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
49 + "github.com/jinzhu/gorm 5174cc5c242a728b435ea2be8a2f7f998e15429b"
50 + "github.com/jinzhu/inflection 1c35d901db3da928c72a72d8458480cc9ade058f"
51 + "github.com/lib/pq 83612a56d3dd153a94a629cd64925371c9adad78"
52 + "github.com/magiconair/properties 49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934"
53 + "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96"
54 + "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022"
55 + "github.com/mitchellh/mapstructure 06020f85339e21b2478f756a78e295255ffa4d6a"
56 + "github.com/pelletier/go-toml 0131db6d737cfbbfb678f8b7d92e55e27ce46224"
57 + "github.com/spf13/afero 57afd63c68602b63ed976de00dd066ccb3c319db"
58 + "github.com/spf13/cast acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
59 + "github.com/spf13/cobra 7b2c5ac9fc04fc5efafb60700713d4fa609b777b"
60 + "github.com/spf13/jwalterweatherman 12bd96e66386c1960ab0f74ced1362f66f552f7b"
61 + "github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
62 + "github.com/spf13/viper 25b30aa063fc18e48662b86996252eabdcf2f0c7"
63 + "golang.org/x/sys e24f485414aeafb646f6fca458b0bf869c0880a1 github.com/golang/sys"
64 + "golang.org/x/text e19ae1496984b1c655b8044a65c0300a3c878dd3 github.com/golang/text"
65 + "gopkg.in/yaml.v2 c95af922eae69f190717a0b7148960af8c55a072 github.com/go-yaml/yaml"
66 +)
67 +
68 +inherit golang-build golang-vcs-snapshot bash-completion-r1
69 +
70 +ARCHIVE_URI="https://github.com/aquasecurity/kube-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
71 + ${EGO_VENDOR_URI}"
72 +KEYWORDS="~amd64"
73 +
74 +DESCRIPTION="Kubernetes Bench for Security runs the CIS Kubernetes Benchmark"
75 +HOMEPAGE="https://github.com/aquasecurity/kube-bench"
76 +SRC_URI="${ARCHIVE_URI}"
77 +
78 +LICENSE="Apache-2.0"
79 +SLOT="0"
80 +IUSE=""
81 +
82 +RESTRICT="test"
83 +
84 +src_compile() {
85 + pushd src/${EGO_PN} || die
86 + GOPATH="${S}" go build -o ${PN} . || die
87 + popd || die
88 +}
89 +
90 +src_install() {
91 + dobin src/${EGO_PN}/${PN}
92 + insinto /etc/kube-bench
93 + doins -r src/${EGO_PN}/cfg
94 +}
95
96 diff --git a/app-admin/kube-bench/kube-bench-0.0.8.ebuild b/app-admin/kube-bench/kube-bench-0.0.8.ebuild
97 new file mode 100644
98 index 00000000000..01b95b2a0ed
99 --- /dev/null
100 +++ b/app-admin/kube-bench/kube-bench-0.0.8.ebuild
101 @@ -0,0 +1,59 @@
102 +# Copyright 1999-2018 Gentoo Foundation
103 +# Distributed under the terms of the GNU General Public License v2
104 +
105 +EAPI=6
106 +
107 +EGO_PN="github.com/aquasecurity/kube-bench"
108 +
109 +EGO_VENDOR=(
110 + "github.com/fatih/color 570b54cabe6b8eb0bc2dfce68d964677d63b5260"
111 + "github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
112 + "github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
113 + "github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
114 + "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
115 + "github.com/jinzhu/gorm 5174cc5c242a728b435ea2be8a2f7f998e15429b"
116 + "github.com/jinzhu/inflection 1c35d901db3da928c72a72d8458480cc9ade058f"
117 + "github.com/lib/pq 83612a56d3dd153a94a629cd64925371c9adad78"
118 + "github.com/magiconair/properties 49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934"
119 + "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96"
120 + "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022"
121 + "github.com/mitchellh/mapstructure 06020f85339e21b2478f756a78e295255ffa4d6a"
122 + "github.com/pelletier/go-toml 0131db6d737cfbbfb678f8b7d92e55e27ce46224"
123 + "github.com/spf13/afero 57afd63c68602b63ed976de00dd066ccb3c319db"
124 + "github.com/spf13/cast acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
125 + "github.com/spf13/cobra 7b2c5ac9fc04fc5efafb60700713d4fa609b777b"
126 + "github.com/spf13/jwalterweatherman 12bd96e66386c1960ab0f74ced1362f66f552f7b"
127 + "github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
128 + "github.com/spf13/viper 25b30aa063fc18e48662b86996252eabdcf2f0c7"
129 + "golang.org/x/sys e24f485414aeafb646f6fca458b0bf869c0880a1 github.com/golang/sys"
130 + "golang.org/x/text e19ae1496984b1c655b8044a65c0300a3c878dd3 github.com/golang/text"
131 + "gopkg.in/yaml.v2 c95af922eae69f190717a0b7148960af8c55a072 github.com/go-yaml/yaml"
132 +)
133 +
134 +inherit golang-build golang-vcs-snapshot bash-completion-r1
135 +
136 +ARCHIVE_URI="https://github.com/aquasecurity/kube-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
137 + ${EGO_VENDOR_URI}"
138 +KEYWORDS="~amd64"
139 +
140 +DESCRIPTION="Kubernetes Bench for Security runs the CIS Kubernetes Benchmark"
141 +HOMEPAGE="https://github.com/aquasecurity/kube-bench"
142 +SRC_URI="${ARCHIVE_URI}"
143 +
144 +LICENSE="Apache-2.0"
145 +SLOT="0"
146 +IUSE=""
147 +
148 +RESTRICT="test"
149 +
150 +src_compile() {
151 + pushd src/${EGO_PN} || die
152 + GOPATH="${S}" go build -o ${PN} . || die
153 + popd || die
154 +}
155 +
156 +src_install() {
157 + dobin src/${EGO_PN}/${PN}
158 + insinto /etc/kube-bench
159 + doins -r src/${EGO_PN}/cfg
160 +}