summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers/docker-bench-security')
-rw-r--r--app-containers/docker-bench-security/Manifest3
-rw-r--r--app-containers/docker-bench-security/docker-bench-security-1.3.3.ebuild24
-rw-r--r--app-containers/docker-bench-security/docker-bench-security-1.6.0.ebuild (renamed from app-containers/docker-bench-security/docker-bench-security-1.3.2.ebuild)20
-rw-r--r--app-containers/docker-bench-security/metadata.xml3
4 files changed, 14 insertions, 36 deletions
diff --git a/app-containers/docker-bench-security/Manifest b/app-containers/docker-bench-security/Manifest
index 343ff9b85b6d..f722cecc4f51 100644
--- a/app-containers/docker-bench-security/Manifest
+++ b/app-containers/docker-bench-security/Manifest
@@ -1,2 +1 @@
-DIST docker-bench-security-1.3.2.tar.gz 414608 BLAKE2B 27977df473c341783aab400bbe5064e267d6f53aa62ffd6f95386572e059616750eb06b98ad3044efaf565f929e6ebfb5d57607b227718032fa33d70ce65eed5 SHA512 7d271167584ff99fdaff15b1d303f1cedeb5888057437cc3bfae8260aff96f98d8a0173c4d4e5718bf8ee4e0ffe3ae0280f0026cf386ae32c38e8302159a2226
-DIST docker-bench-security-1.3.3.tar.gz 274361 BLAKE2B b0a3fef0fedd7353a11f18603af0a9bd5a9c5674df8e0c2988f3b7430739b1fe1c37b3bc29323f39604e8f9d3af66e4a64b97c1e4bb1ef253cc39e9b1e1cb6e2 SHA512 0b9a8bb3cc0bf0887f3b3462c3529568f6cc4d327f66fe482ceb24865a3df51ffee48a1a12c93ca13401f23bf1cd47b3e8b25c99537f63a823ff173d54994fe9
+DIST docker-bench-security-1.6.0.tar.gz 349131 BLAKE2B ce4700e3b7448365420adfb20ca3fa1fa5316157b1f587c40a1ea24e45312ac059a31f5fb152838442e19822c977855323f528d8ddca95eb11347a74606e5913 SHA512 1f3391946dd93540f99e8ea212c9d907d7939d248105082e81845e62eb2a08c4c5a1a32d13c93676ca31df1ee76079a804d36de1874341ed5da64806ea1c7c7b
diff --git a/app-containers/docker-bench-security/docker-bench-security-1.3.3.ebuild b/app-containers/docker-bench-security/docker-bench-security-1.3.3.ebuild
deleted file mode 100644
index 7f98da207205..000000000000
--- a/app-containers/docker-bench-security/docker-bench-security-1.3.3.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Test for best practices around deploying docker containers"
-HOMEPAGE="https://github.com/docker/docker-bench-security"
-SRC_URI="https://github.com/docker/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND=">=app-containers/docker-1.10"
-
-src_install() {
-dobin "${FILESDIR}/docker-bench-security"
-exeinto /usr/lib/${PN}
-doexe ${PN}.sh
-insinto /usr/lib/${PN}
-doins -r *lib.sh tests
- dodoc -r benchmark_log.png CONTRIBUTING.md distros docker-compose.yml \
- Dockerfile MAINTAINERS README.md
-}
diff --git a/app-containers/docker-bench-security/docker-bench-security-1.3.2.ebuild b/app-containers/docker-bench-security/docker-bench-security-1.6.0.ebuild
index 7f98da207205..45778b2f8d60 100644
--- a/app-containers/docker-bench-security/docker-bench-security-1.3.2.ebuild
+++ b/app-containers/docker-bench-security/docker-bench-security-1.6.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
DESCRIPTION="Test for best practices around deploying docker containers"
HOMEPAGE="https://github.com/docker/docker-bench-security"
@@ -11,14 +11,14 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-RDEPEND=">=app-containers/docker-1.10"
+RDEPEND=">=app-containers/docker-1.13"
src_install() {
-dobin "${FILESDIR}/docker-bench-security"
-exeinto /usr/lib/${PN}
-doexe ${PN}.sh
-insinto /usr/lib/${PN}
-doins -r *lib.sh tests
- dodoc -r benchmark_log.png CONTRIBUTING.md distros docker-compose.yml \
- Dockerfile MAINTAINERS README.md
+ dobin "${FILESDIR}/docker-bench-security"
+ exeinto /usr/lib/${PN}
+ doexe ${PN}.sh
+ insinto /usr/lib/${PN}
+ doins -r functions/*.sh tests
+ dodoc -r img/benchmark_log.png CONTRIBUTING.md docker-compose.yml \
+ Dockerfile MAINTAINERS README.md
}
diff --git a/app-containers/docker-bench-security/metadata.xml b/app-containers/docker-bench-security/metadata.xml
index cbef0562c18d..2214840c4cc0 100644
--- a/app-containers/docker-bench-security/metadata.xml
+++ b/app-containers/docker-bench-security/metadata.xml
@@ -9,4 +9,7 @@
The Docker Bench for Security is a script that checks for dozens of
common best-practices around deploying Docker containers in production.
</longdescription>
+ <upstream>
+ <remote-id type="github">docker/docker-bench-security</remote-id>
+ </upstream>
</pkgmetadata>