summaryrefslogtreecommitdiff
path: root/app-emulation/go-secbench
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/go-secbench
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/go-secbench')
-rw-r--r--app-emulation/go-secbench/Manifest4
-rw-r--r--app-emulation/go-secbench/go-secbench-0.1.0-r1.ebuild27
-rw-r--r--app-emulation/go-secbench/go-secbench-0.1.0.ebuild26
-rw-r--r--app-emulation/go-secbench/metadata.xml11
4 files changed, 68 insertions, 0 deletions
diff --git a/app-emulation/go-secbench/Manifest b/app-emulation/go-secbench/Manifest
new file mode 100644
index 000000000000..8e6728d89549
--- /dev/null
+++ b/app-emulation/go-secbench/Manifest
@@ -0,0 +1,4 @@
+DIST go-secbench-0.1.0.tar.gz 1281488 SHA256 6c0142c38722294d9b53436c8f0afd302ed0bd244db83490c607b2648d1902d8 SHA512 4712ef56385993ed1e660c1843a1d7e9cd807a3ca8bf935767e8d2965aef25c5b3a7a88d4ed7c072fe124a6b05900bd444cdbc0cee879e80844fb5f695732f2b WHIRLPOOL b12b392966580aea3f52145a3fc310369726ababeccf33f6c903554f2e0d67f2b8286a86da5583ea20d348f3d8040b9db12c1a19ac0f771c6746ade9ed562f19
+EBUILD go-secbench-0.1.0-r1.ebuild 648 SHA256 72e932c65169feb12837dcdeaed86133e51ab49aac8b7582973e3eb24473d8b4 SHA512 4c49637b2c583df13465cd83b72b030837a14acaffe79f3f92a00e94f4b1c57de62f45a418d5e71e2ffde17c4d73389d6ba8bf39af2952f95c585dbc40ad9243 WHIRLPOOL c44fdea6c8e3915eb14020daa623efbb4f21160cddb1ae992818be9d3d67b74e82780fd188fa11c23b1f3c3dc78c6b7bfdb8a404ed1e5e389ef9335b99aedaa1
+EBUILD go-secbench-0.1.0.ebuild 617 SHA256 323736512b3bb91da55f04b01a0f5785bc093f6a37c7de714538549778a6e9e7 SHA512 101c25a953c19fe5970f53668e19da975c39d1952e58e0a3a8ab1cbe19da432f466074ce7b74a54e8945bf764f3a9a829f788af4603c6f623f08eef3ff2d6d96 WHIRLPOOL c5194ae712acb3cc47d71f8fdbdd33b9b9d2b4c2c1ab63ba07d0ad7598b0ade1c60f82f8f39d3d8dd9a24f0db0afbd17e8ad84273e056d865347136c1044a422
+MISC metadata.xml 359 SHA256 2cd3141177f25fcf67af0f12e6321b81b4bd36d9d75eefd5c460c16c84318196 SHA512 53b2f2937fad37dc7143665f99816a7da81d89d14f792be82328925eb6f96c1778c2792bb903ad4fd7fdae69c7e859f5dd1fbe393afee6e611ab7b8c2c73ff95 WHIRLPOOL 3e5d6efbe3726d1381f9f006f325d4ac6a67541757ed7d15d22b53c83875a5f35bc3e47c769fb26fc12589c4ef0993d124cbd798cca315d3f34a74cebf2f89f5
diff --git a/app-emulation/go-secbench/go-secbench-0.1.0-r1.ebuild b/app-emulation/go-secbench/go-secbench-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..9704fffb853f
--- /dev/null
+++ b/app-emulation/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-emulation/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-emulation/go-secbench/go-secbench-0.1.0.ebuild b/app-emulation/go-secbench/go-secbench-0.1.0.ebuild
new file mode 100644
index 000000000000..fdceccf32659
--- /dev/null
+++ b/app-emulation/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-emulation/go-secbench/metadata.xml b/app-emulation/go-secbench/metadata.xml
new file mode 100644
index 000000000000..3414fcec300a
--- /dev/null
+++ b/app-emulation/go-secbench/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>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ This tool runs and evaluates the docker security benchmark.
+ </longdescription>
+</pkgmetadata>