summaryrefslogtreecommitdiff
path: root/app-containers/go-secbench
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers/go-secbench')
-rw-r--r--app-containers/go-secbench/Manifest4
-rw-r--r--app-containers/go-secbench/go-secbench-0.1.0-r1.ebuild27
-rw-r--r--app-containers/go-secbench/go-secbench-0.1.0.ebuild26
-rw-r--r--app-containers/go-secbench/metadata.xml8
4 files changed, 65 insertions, 0 deletions
diff --git a/app-containers/go-secbench/Manifest b/app-containers/go-secbench/Manifest
new file mode 100644
index 000000000000..57468b72516c
--- /dev/null
+++ b/app-containers/go-secbench/Manifest
@@ -0,0 +1,4 @@
+DIST go-secbench-0.1.0.tar.gz 1281488 BLAKE2B 83bb27a2113a5e851db8b61402d967d528c9e3b39d249a23b4d28c21e001276eff73f61c6aba610f0020f22de26b04286a91e5a3785b5a9e019d2701d6081f92 SHA512 4712ef56385993ed1e660c1843a1d7e9cd807a3ca8bf935767e8d2965aef25c5b3a7a88d4ed7c072fe124a6b05900bd444cdbc0cee879e80844fb5f695732f2b
+EBUILD go-secbench-0.1.0-r1.ebuild 649 BLAKE2B 9c72d96d1f9f7aead1aa712b3c402ff25425c9a756e0f6a56baff9a8deaa4f56fe707709f204b2b9c18f5db7249c457887c749fbc57d02855d9dd6f6044036c2 SHA512 37a6657879c9e4151e631bae80fada918af0e2a0cbfbd85f671d1ca17b9076a5e413af7f63efdb9d30fe6a3282aa84f15d1519bfea927a2f0ad8c69c6171885e
+EBUILD go-secbench-0.1.0.ebuild 617 BLAKE2B 11385a504928ac66b56ed9efbd96188cba3cb1bcded70f845ff432d65f7ac5ca64c94497c4b1d15fb60f409188d24ac67683fc037ed094a0ee2cab85dd4a0b57 SHA512 101c25a953c19fe5970f53668e19da975c39d1952e58e0a3a8ab1cbe19da432f466074ce7b74a54e8945bf764f3a9a829f788af4603c6f623f08eef3ff2d6d96
+MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251
diff --git a/app-containers/go-secbench/go-secbench-0.1.0-r1.ebuild b/app-containers/go-secbench/go-secbench-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..bbc7926f7164
--- /dev/null
+++ b/app-containers/go-secbench/go-secbench-0.1.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/qnib/go-secbench"
+inherit golang-build golang-vcs-snapshot
+
+DESCRIPTION="run and evaluate the docker security benchmark"
+HOMEPAGE="https://github.com/qnib/go-secbench"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+DEPEND="dev-lang/go"
+RDEPEND="app-containers/docker"
+
+src_compile() {
+ GOPATH="${S}" go build -o bin/go-secbench src/${EGO_PN}/cmd/main.go || die
+}
+
+src_install() {
+ dobin bin/${PN}
+dodoc "src/${EGO_PN}/README.md"
+}
diff --git a/app-containers/go-secbench/go-secbench-0.1.0.ebuild b/app-containers/go-secbench/go-secbench-0.1.0.ebuild
new file mode 100644
index 000000000000..fdceccf32659
--- /dev/null
+++ b/app-containers/go-secbench/go-secbench-0.1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN="github.com/qnib/go-secbench"
+inherit golang-build golang-vcs-snapshot
+
+DESCRIPTION="run and evaluate the docker security benchmark"
+HOMEPAGE="https://github.com/qnib/go-secbench"
+SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test"
+
+DEPEND="dev-lang/go"
+
+src_compile() {
+ GOPATH="${S}" go build -o bin/go-secbench src/${EGO_PN}/cmd/main.go || die
+}
+
+src_install() {
+ dobin bin/${PN}
+dodoc "src/${EGO_PN}/README.md"
+}
diff --git a/app-containers/go-secbench/metadata.xml b/app-containers/go-secbench/metadata.xml
new file mode 100644
index 000000000000..db463f3eeb66
--- /dev/null
+++ b/app-containers/go-secbench/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+</pkgmetadata>