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
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')
-rw-r--r--app-admin/spectre-meltdown-checker/Manifest1
-rw-r--r--app-admin/spectre-meltdown-checker/metadata.xml15
-rw-r--r--app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.37.ebuild23
-rw-r--r--app-admin/spectre-meltdown-checker/spectre-meltdown-checker-9999.ebuild23
4 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/spectre-meltdown-checker/Manifest b/app-admin/spectre-meltdown-checker/Manifest
new file mode 100644
index 000000000000..1028c15bf1d4
--- /dev/null
+++ b/app-admin/spectre-meltdown-checker/Manifest
@@ -0,0 +1 @@
+DIST spectre-meltdown-checker-0.37.tar.gz 40472 BLAKE2B 93d83605c2d410a176d944cbf7c83549cc70075dbd7ef1f90d4a9710d8fdafd0393c0ad6a9a46eba12f753a3b14d486ba093f9b7fb1dd6c08d17042a94f97b44 SHA512 f621e81a783e8e01caae25d76fae6ab7bd091990cd0a0f93de2e29e1964b6f0952c221c64e4e045f26231f800b0ba1b8152aac71a7348e8577ac6b9bd7e31cf2
diff --git a/app-admin/spectre-meltdown-checker/metadata.xml b/app-admin/spectre-meltdown-checker/metadata.xml
new file mode 100644
index 000000000000..5e8946a7b96c
--- /dev/null
+++ b/app-admin/spectre-meltdown-checker/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lucianposton@pm.me</email>
+ <name>Lucian Poston</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">speed47/spectre-meltdown-checker</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.37.ebuild b/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.37.ebuild
new file mode 100644
index 000000000000..5deeeceb4a17
--- /dev/null
+++ b/app-admin/spectre-meltdown-checker/spectre-meltdown-checker-0.37.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
+}
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
+}