summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-01-19 13:35:04 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-01-19 13:35:43 -0600
commitca59a8675ab013b29cb9156c69b044aa27fe53c5 (patch)
tree79c805481ee18fcead247813e8ec858a14abd2ec /app-admin
parentnet-misc/cni-plugins: 0.8.4 bump (diff)
downloadgentoo-ca59a8675ab013b29cb9156c69b044aa27fe53c5.tar.gz
gentoo-ca59a8675ab013b29cb9156c69b044aa27fe53c5.tar.bz2
gentoo-ca59a8675ab013b29cb9156c69b044aa27fe53c5.zip
app-admin/docker-bench: 0.2.2 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/docker-bench/Manifest1
-rw-r--r--app-admin/docker-bench/docker-bench-0.2.2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/docker-bench/Manifest b/app-admin/docker-bench/Manifest
index b123ad1eeab6..ff8a660b8100 100644
--- a/app-admin/docker-bench/Manifest
+++ b/app-admin/docker-bench/Manifest
@@ -1,3 +1,4 @@
+DIST docker-bench-0.2.2.tar.gz 64297 BLAKE2B 12e48e54759e0e71651056ce04f47b5983e65eed2758d07d46e1e709f6b5bf382a74966cd13fe29eb709f3838878e414882e5a103c3bd291d348118bd7f2dcdc SHA512 034951020d003fada3b5d7a0b2c59ea4f2f85ed1d3a4c0e2d054e35dd206ba3e18eaf576b17acaf3b0a3e85182371b6e89ec4c4d0f39122df19a0ec86428fea2
DIST docker-bench-0_p20190822.tar.gz 49441 BLAKE2B ea4d9056f0825c8adc0b87837fdb2087577ab68fbd53189310fd983f2a4155329789c30cd228b043d08e265457a90f0692210eddc87cbe63479f1c2ecf698401 SHA512 6157d9a473f10fc9e593c1cd87b153f1f34e8317bc31787085cca5a5be92efa1b00b386afa73f62a23ef45b39da70fe8345b61fd3955f5cdef82a085df854b27
DIST github.com-aquasecurity-bench-common-81f08528fa03.tar.gz 18981 BLAKE2B 6579a12622870e537a16f467bcfed71ed1c791641e1948caee10a69f8ff7fc28a3f73e48beb8d3b1d274428e498720f528237d07b28fe1319164ab1339852d0e SHA512 b01f88ddb7c119dc9d7e4f7f3e2d9c80b4046dcd65c6d5f2640d28c235c04fbe03b348032584350485f6323920f692cd96ff73e4140faaeb26d7d5b6eb24671f
DIST github.com-fatih-color-v1.7.0.tar.gz 816449 BLAKE2B f006f51cbd1a0288380b339d7d2b493e447aa1e6bd783f11de5670d4db6ff8c1463cbe957a04127c1f24186a9362be8c40ecdf4394cbbc0e2c6c2cb598c012ac SHA512 ee5668ce828ad3e5461c54d971aee4b10a578f697717010d60fdda641948430816e74580563dfea6a4c66a9840175ff5b63c2ca9cf1af213cfac5be7b8ddac36
diff --git a/app-admin/docker-bench/docker-bench-0.2.2.ebuild b/app-admin/docker-bench/docker-bench-0.2.2.ebuild
new file mode 100644
index 000000000000..48beec7a9114
--- /dev/null
+++ b/app-admin/docker-bench/docker-bench-0.2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="Docker Bench for Security runs the CIS Docker Benchmark"
+HOMEPAGE="https://github.com/aquasecurity/docker-bench"
+
+EGO_VENDOR=(
+ "github.com/aquasecurity/bench-common 81f08528fa03"
+ "github.com/fatih/color v1.7.0"
+ "github.com/fsnotify/fsnotify v1.4.7"
+ "github.com/golang/glog 23def4e6c14b"
+ "github.com/hashicorp/hcl v1.0.0"
+ "github.com/inconshreveable/mousetrap v1.0.0"
+ "github.com/magiconair/properties v1.8.0"
+ "github.com/mattn/go-colorable v0.1.2"
+ "github.com/mattn/go-isatty v0.0.8"
+ "github.com/mitchellh/mapstructure v1.1.2"
+ "github.com/pelletier/go-toml v1.2.0"
+ "github.com/spf13/afero v1.1.2"
+ "github.com/spf13/cast v1.3.0"
+ "github.com/spf13/cobra v0.0.5"
+ "github.com/spf13/jwalterweatherman v1.0.0"
+ "github.com/spf13/pflag v1.0.3"
+ "github.com/spf13/viper v1.4.0"
+ "golang.org/x/sys a9d3bda3a223 github.com/golang/sys"
+ "golang.org/x/text v0.3.0 github.com/golang/text"
+ "gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml"
+)
+SRC_URI="https://github.com/aquasecurity/docker-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ $(go-module_vendor_uris)"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ go build -o ${PN} . || die
+}
+
+src_install() {
+ dobin ${PN}
+ insinto /etc/docker-bench/
+ doins -r cfg
+}