summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.42.ebuild')
-rw-r--r--app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.42.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.42.ebuild b/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.42.ebuild
new file mode 100644
index 000000000000..6b4c5b8281fa
--- /dev/null
+++ b/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.42.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/speed47/spectre-meltdown-checker.git"
+else
+ SRC_URI="https://github.com/speed47/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Spectre & Meltdown vulnerability/mitigation checker for Linux"
+HOMEPAGE="https://github.com/speed47/spectre-meltdown-checker"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+src_install() {
+ default
+ newbin spectre-meltdown-checker.sh spectre-meltdown-checker
+}