summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Poston <lucianposton@pm.me>2018-08-01 16:23:35 -0700
committerCraig Andrews <candrews@gentoo.org>2018-08-02 11:37:41 -0400
commitc048710cd14c420bb683812e19d86263fcd9ef72 (patch)
tree41f06ffabe182492e7add2e2125d945fcad00fb8 /app-admin/spectre-meltdown-checker/spectre-meltdown-checker-9999.ebuild
parentapp-crypt/glep63-check: Bump to v5, now with tests! (diff)
downloadgentoo-c048710cd14c420bb683812e19d86263fcd9ef72.tar.gz
gentoo-c048710cd14c420bb683812e19d86263fcd9ef72.tar.bz2
gentoo-c048710cd14c420bb683812e19d86263fcd9ef72.zip
app-admin/spectre-meltdown-checker: Spectre & Meltdown checker
Closes: https://bugs.gentoo.org/652550 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-admin/spectre-meltdown-checker/spectre-meltdown-checker-9999.ebuild')
-rw-r--r--app-admin/spectre-meltdown-checker/spectre-meltdown-checker-9999.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-9999.ebuild b/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-9999.ebuild
new file mode 100644
index 000000000000..5deeeceb4a17
--- /dev/null
+++ b/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-9999.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 ~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
+}