summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-02-08 18:45:49 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-02-08 18:46:23 +0100
commit4b1e72b46ad70ce20536511262747fa4a58d6751 (patch)
tree3ae667fef51eae669a124fe35e98d631a306d61c /app-admin/docker-bench
parentnet-fs/samba: Fixed dependency on sys-libs/ldb (diff)
downloadgentoo-4b1e72b46ad70ce20536511262747fa4a58d6751.tar.gz
gentoo-4b1e72b46ad70ce20536511262747fa4a58d6751.tar.bz2
gentoo-4b1e72b46ad70ce20536511262747fa4a58d6751.zip
app-admin/docker-bench: Initial version
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-admin/docker-bench')
-rw-r--r--app-admin/docker-bench/Manifest18
-rw-r--r--app-admin/docker-bench/docker-bench-0_p20171206.ebuild54
-rw-r--r--app-admin/docker-bench/metadata.xml11
3 files changed, 83 insertions, 0 deletions
diff --git a/app-admin/docker-bench/Manifest b/app-admin/docker-bench/Manifest
new file mode 100644
index 000000000000..85dbf6349067
--- /dev/null
+++ b/app-admin/docker-bench/Manifest
@@ -0,0 +1,18 @@
+DIST docker-bench-0_p20171206.tar.gz 17541 BLAKE2B ce6e68cab7e36a596c9b366ad6c7a6ff9ec735248f99dbb5b046bd9628f62ff392bb3c576c2a159d3403401e6d6cd4093632e47102c763f1c967bbdff2e4ee08 SHA512 fb9fbc1ccc54965c546bbba17865b803214824ef53e02d088e72a9bf3ae7c6ee7429e15507593b2ec8d33c52aab375878d9ea86b51a2518948bc0dfe969bec13
+DIST github.com-aquasecurity-bench-common-fc47834ad19bafbba64ded876d82bee4dba50c40.tar.gz 11587 BLAKE2B 832d7216340c71ce8ec201a0abb8f22dc73916a8bcc0d3657a7d12958f48142e6d729ce1f6403ed4a7b0b11a7cb53d45901f0a6e20f095d931c075e414373647 SHA512 20fb3a105af33096ed5e4a6b52e9793d9031ca5c2d2f37811e4be90abbc6cc3d7aa94e1d210ada703b61398f6bcf771ed20a9b9b9ad171fe88f66e78125bbc4f
+DIST github.com-fatih-color-5df930a27be2502f99b292b7cc09ebad4d0891f4.tar.gz 588446 BLAKE2B 0e3acbea72d4e6d14964c53a13eac4ddb4299f86045bc4751498c1e80ee997f3392b3236f1f7fa872ceef73edf0c4e87154d5cc1605d5637ae090979596f1906 SHA512 9c7a1f5d67e0c8da788624a24ec42a9a1504f497840590e50b8fe9204dde5511be00a94645c2e9326dba23a8514adffdc242192abb270021c37e231636bafc71
+DIST github.com-fsnotify-fsnotify-c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9.tar.gz 31164 BLAKE2B 8ed43520ed7df3f52585b41358e2c89c55cd9bcea78affbf76d11cb2d3660e2de63d2debd91cd4da7c1a1fde3afac1086e616ab632460389cd4f10cc633a3e81 SHA512 809a90dcfbf565d335514257b577150a367e16ef871e2f44584a13fe3bc3ac87cbd789f7c7882a76cf7a7c546740c6552ec7382b4a6d18c4f0e845bcc3a7b0c8
+DIST github.com-go-yaml-yaml-d670f9405373e636a5a2765eea47fac0c9bc91a4.tar.gz 64859 BLAKE2B 211e51960673e78e9c802357dffb550c6d59692203040b2f3d0bc9ab15f8bf5ee479918a782931238e230f36f4c77228a44632883486370f0fb9266d8b2c7c14 SHA512 daa9d622d4b717ce54af884e1f5548d7ead93486d322f808bc6cf291011a5c418d33b464fd66161bef8c18da759aa1c6182b36fb2210c5f026110776e2195ac5
+DIST github.com-golang-glog-23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz 19688 BLAKE2B f9ff73060c3b10603472c3ea4f50b4afa6abb5a4e9e7ac43d2a6c2e62541d43ef9f0ef7a8759d9b3281d72e5f90c516ee174c91de9a640a5bdf6877700450d44 SHA512 e9e70cf2a2d74ca813d0cadc23d213a1112ca4d1167abb63d8e0929585fca90c3a5bab1f49db20095c48bf1fe03b4424353c33728d09a201334eb65770888dc5
+DIST github.com-golang-sys-37707fdb30a5b38865cfb95e5aab41707daec7fd.tar.gz 796903 BLAKE2B 4e31f27784cdc5781628ac082d7994a5559be59268003366a3185eac6eb514495f6d82ba13c3046f1061c6abc68712ae8d0505ab7567c8e6057b90f3217c272e SHA512 580bd4cfd26d82aa8c6870eabbd289b76f2ba529ed8496428b29e482ec39bc617cdbcd2f2f2d476ee93526bd18550dcd239085b9f74fb4d24ccb87a3b357bff6
+DIST github.com-golang-text-4e4a3210bb54bb31f6ab2cdca2edcc0b50c420c1.tar.gz 6112758 BLAKE2B 88f0ece79f03800d6482430d569fa9b65d8ec4b15d42f65706ca665349346961ab273d3a7d2d0676d0c6c05a12d08f75c1465fd0ef632611b7b606593466e5ae SHA512 9fc536d4971e8861c5b905dec44fc7eddfaf8b0dafd5f904929bc2b63a65ce3fa28108d3f9f954a9db8d4ed24be532a519bad41e09e8076f9b75e6564f75f7ce
+DIST github.com-hashicorp-hcl-23c074d0eceb2b8a5bfdbb271ab780cde70f05a8.tar.gz 69787 BLAKE2B e1d034d5863ae8bca85736e971e613e6821665861e35954a067e5d659029a8680b6902387848a318aee374cd4f6b810ae160046979b5bc86e64df0e1ff5d08f6 SHA512 751ea2fcea04ab2a9b61a45443a71cdee9cd09c2576af048108ccb56027b34f46b00e14aa664b966165b7d8cbb994e49f128bf54e3469c627d73f7ee2809ebf8
+DIST github.com-magiconair-properties-49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934.tar.gz 27761 BLAKE2B 0f39a63d3d19ad5d3ac367739d568dd3abe74a8a6aa0e60cf19ca8203412270fc45dd1fea07627290a85c42db6ead0229f72bfd845b9e4f645976db1585838e7 SHA512 493a7493e415b45abe2109c79e02ed7903de6a559911cff0323f9577fcf41134ab8f4ac26d776fdf9a891654f063bd2452c7e557c643d73de5f558b13533f62c
+DIST github.com-mitchellh-mapstructure-a4e142e9c047c904fa2f1e144d9a84e6133024bc.tar.gz 17997 BLAKE2B d2233557f40812a16fcb2b012f45afc7637fc8c64eb3e8e3d01ef78198dbf99d2a4caa9c749faac9b46d75c46a50ea5d0a6eb292924406a385533d3a47ac2eb8 SHA512 20b70a65cb700a2768dc643b2b2c86ea68927d417e9135e582a15f267f583637a01eec186a4fb1788c0ac421df1f8e0420d7b934d449fe7b66d572266d71f83a
+DIST github.com-pelletier-go-toml-acdc4509485b587f5e675510c4f2c63e90ff68a8.tar.gz 56990 BLAKE2B 02a12c6c8ef85cdfacb6ab59406132c74cb0eb4fc270c680abd220210a7d0a5796bdc79c97c5623c4760e38cc143cf51e62fdbdc52d007241f2b61657fbf7d53 SHA512 cfce832c0a74dbc4f559600c846b8df8e94368785991a910169e1a535e2a57a72f7d20ec7c9fbd14a44b7b5a11b496af0bfd7705fd67a1c192e39819ca8aaa64
+DIST github.com-spf13-afero-bb8f1927f2a9d3ab41c9340aa034f6b803f4359c.tar.gz 43579 BLAKE2B e0953e8a7cb3383cccbc307443d5942a8642e0358a0408af8b991e719698e7746f6b5cd4b3e46a7f896823742c6ba58e4ef332aa92cd5f4376eae1396a06c677 SHA512 9ff4adaa3b525b7b18fc4d1fbbb9e3049938e81cf2f0890a1a7e35f19640793d90d53b104a4f9e87aeb066b8b641020f468ba37b7a7a4e1c14f0d7d2085cdccb
+DIST github.com-spf13-cast-acbeb36b902d72a7a4c18e8f3241075e7ab763e4.tar.gz 9594 BLAKE2B 4979fd23b48a6bcd2538357d33b7670326b9129b5de309548492d9597eace1320875e1b242b594c98777192c1e0c6abb0bda4ba946a43530cc68ec762d1949c6 SHA512 2b97f56aa83dd1302e02603a8fcbc8f2642ceff8bdc19cf8a26120801023c4a8a3fed689de0ac392f6a4144450ac85d32b00fbde200b22e972c31cbabd996cad
+DIST github.com-spf13-cobra-93959269ad99e80983c9ba742a7e01203a4c0e4f.tar.gz 100166 BLAKE2B 60304e434dbe9c3f7192f8c818371c02b5eb08a1777b244daf5fb6c53a1b7cbea019c70ad8e544fdf48fcfa3479f79d59ec5ab4da544a8afe2fd66c7e5de179c SHA512 8ba4b60e4b37a4efafcf8adfd609901d12c0f5a1f0bac88cb159f75d451d19622428f720bd22f929985b8259a6fb8720f02e187e7a684a8ee6324edabdefd8bc
+DIST github.com-spf13-jwalterweatherman-7c0cea34c8ece3fbeb2b27ab9b59511d360fb394.tar.gz 6345 BLAKE2B dad5459a45bc35e28f9ed7473a02bbfdfcc8da06e17cee15a1876125829065fd4bcaad35b8ec489f3b308637a3fa9cd829c04836207620e61db1a7f706660c6c SHA512 f98c62d7e74ce3e35c29862244d46fb19fcd615e500713dd7c26b30ebedd7a846e419af6586031b748029b8b4d5e32baff6d36bb1ec35856bb6ad5625a407f14
+DIST github.com-spf13-pflag-4c012f6dcd9546820e378d0bdda4d8fc772cdfea.tar.gz 40078 BLAKE2B 4a15afdf122a58dd006d57da88176fd2804d98706ac3d8c496dc14b084851288dd28bad95f7871d738f0487db46aa7969dffbdf005c14fc6f46bcd0ad7e0f673 SHA512 4f4d606bfe94ea51a6cde535f16078602f1d63bd2896aed52bb53b3d219510ab38ad4bdc692da2eb355c9361041d7322db6424f63783bcc367343a1666cdf297
+DIST github.com-spf13-viper-aafc9e6bc7b7bb53ddaa75a5ef49a17d6e654be5.tar.gz 32232 BLAKE2B 23602979412f6457f7d1b1ffd78feb3a595dcd813d2f231ba7e6d000135f6bd1a68700125cf271ad50483ff21d4ac09aa67f8cbc4228351683002f5d73cbe52f SHA512 45a10a14b20a60f3a3471a0a4e92e96bf30aa96e09d589acf55f1f96b2fd0e0d2de6beb936762d57ca8057d7512029bedce7059afed1793b1dd8c351214ef09e
diff --git a/app-admin/docker-bench/docker-bench-0_p20171206.ebuild b/app-admin/docker-bench/docker-bench-0_p20171206.ebuild
new file mode 100644
index 000000000000..1e575d53fc4b
--- /dev/null
+++ b/app-admin/docker-bench/docker-bench-0_p20171206.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/aquasecurity/docker-bench"
+
+EGO_VENDOR=(
+"github.com/aquasecurity/bench-common fc47834ad19bafbba64ded876d82bee4dba50c40"
+"github.com/fatih/color 5df930a27be2502f99b292b7cc09ebad4d0891f4"
+"github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
+"github.com/spf13/cobra 93959269ad99e80983c9ba742a7e01203a4c0e4f"
+"github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
+"github.com/spf13/viper aafc9e6bc7b7bb53ddaa75a5ef49a17d6e654be5"
+"github.com/fsnotify/fsnotify c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
+"github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
+"github.com/magiconair/properties 49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934"
+"github.com/mitchellh/mapstructure a4e142e9c047c904fa2f1e144d9a84e6133024bc"
+"github.com/pelletier/go-toml acdc4509485b587f5e675510c4f2c63e90ff68a8"
+"github.com/spf13/afero bb8f1927f2a9d3ab41c9340aa034f6b803f4359c"
+"github.com/spf13/cast acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
+"github.com/spf13/jwalterweatherman 7c0cea34c8ece3fbeb2b27ab9b59511d360fb394"
+"golang.org/x/sys 37707fdb30a5b38865cfb95e5aab41707daec7fd github.com/golang/sys"
+"golang.org/x/text 4e4a3210bb54bb31f6ab2cdca2edcc0b50c420c1 github.com/golang/text"
+"gopkg.in/yaml.v2 d670f9405373e636a5a2765eea47fac0c9bc91a4 github.com/go-yaml/yaml"
+)
+EGIT_COMMIT="8abecdea32bc3fe271eed1848b3e77ab46dd1971"
+
+inherit golang-build golang-vcs-snapshot bash-completion-r1
+ARCHIVE_URI="https://github.com/aquasecurity/docker-bench/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ ${EGO_VENDOR_URI}"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Docker Bench for Security runs the CIS Docker Benchmark"
+HOMEPAGE="https://github.com/aquasecurity/docker-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/docker-bench/
+ doins -r src/${EGO_PN}/cfg
+}
diff --git a/app-admin/docker-bench/metadata.xml b/app-admin/docker-bench/metadata.xml
new file mode 100644
index 000000000000..6105e885d555
--- /dev/null
+++ b/app-admin/docker-bench/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">aquasecurity/docker-bench</remote-id>
+ </upstream>
+</pkgmetadata>