diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-19 23:33:31 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-12-20 00:51:38 -0800 |
commit | bedbde4a142805c14afceec5494689b2de74637a (patch) | |
tree | 04811f88232194dc35e8883cf9527814638d6d75 /app-containers | |
parent | Move {app-emulation -> app-containers}/docker-swarm (diff) | |
download | gentoo-bedbde4a142805c14afceec5494689b2de74637a.tar.gz gentoo-bedbde4a142805c14afceec5494689b2de74637a.tar.bz2 gentoo-bedbde4a142805c14afceec5494689b2de74637a.zip |
Move {app-emulation -> app-containers}/go-secbench
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-containers')
-rw-r--r-- | app-containers/go-secbench/Manifest | 1 | ||||
-rw-r--r-- | app-containers/go-secbench/go-secbench-0.1.0-r1.ebuild | 27 | ||||
-rw-r--r-- | app-containers/go-secbench/go-secbench-0.1.0.ebuild | 26 | ||||
-rw-r--r-- | app-containers/go-secbench/metadata.xml | 8 |
4 files changed, 62 insertions, 0 deletions
diff --git a/app-containers/go-secbench/Manifest b/app-containers/go-secbench/Manifest new file mode 100644 index 000000000000..915d02957600 --- /dev/null +++ b/app-containers/go-secbench/Manifest @@ -0,0 +1 @@ +DIST go-secbench-0.1.0.tar.gz 1281488 BLAKE2B 83bb27a2113a5e851db8b61402d967d528c9e3b39d249a23b4d28c21e001276eff73f61c6aba610f0020f22de26b04286a91e5a3785b5a9e019d2701d6081f92 SHA512 4712ef56385993ed1e660c1843a1d7e9cd807a3ca8bf935767e8d2965aef25c5b3a7a88d4ed7c072fe124a6b05900bd444cdbc0cee879e80844fb5f695732f2b 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..9704fffb853f --- /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-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-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> |