1 |
commit: ec025ee92ca22f9f2d2ca374605e8b8b756f6f4a |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 26 23:16:06 2017 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 26 23:16:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec025ee9 |
7 |
|
8 |
sys-apps/intel-sa-00075-tools: New package, tools from Intel to detect and mitigate MEI/AMT vulnerability |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
sys-apps/intel-sa-00075-tools/Manifest | 1 + |
13 |
.../files/intel-sa-00075-tools-makefile.patch | 24 ++++++++++++++++++++++ |
14 |
.../intel-sa-00075-tools-1.0.ebuild | 24 ++++++++++++++++++++++ |
15 |
sys-apps/intel-sa-00075-tools/metadata.xml | 19 +++++++++++++++++ |
16 |
4 files changed, 68 insertions(+) |
17 |
|
18 |
diff --git a/sys-apps/intel-sa-00075-tools/Manifest b/sys-apps/intel-sa-00075-tools/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..5f8857894b7 |
21 |
--- /dev/null |
22 |
+++ b/sys-apps/intel-sa-00075-tools/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST intel-sa-00075-tools-1.0.tar.gz 18750 SHA256 1f6f86cb7740285f49c0c2882f7f2ad318cf04adfcbfcb29ffd80e7eb6d03e14 SHA512 a42ee0e1553f4638c2976d8a28feb8c91d5ecb9163608f735406a3c80213f34933231320630f43392552fa69674afb1795f23fffef29b4cad45641827130e86e WHIRLPOOL 3accb57db89d50a558e910d8a1f091cf122f6788b754834caf5a578204cfe2ae25e5aa7231da9c1aaf20ab20f97d5647d78bab76d10d346fed168b782a560aaf |
25 |
|
26 |
diff --git a/sys-apps/intel-sa-00075-tools/files/intel-sa-00075-tools-makefile.patch b/sys-apps/intel-sa-00075-tools/files/intel-sa-00075-tools-makefile.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..3cdf418315f |
29 |
--- /dev/null |
30 |
+++ b/sys-apps/intel-sa-00075-tools/files/intel-sa-00075-tools-makefile.patch |
31 |
@@ -0,0 +1,24 @@ |
32 |
+diff --git a/Makefile b/Makefile |
33 |
+index 5ccccff..f58d7bb 100644 |
34 |
+--- a/Makefile |
35 |
++++ b/Makefile |
36 |
+@@ -63,12 +63,12 @@ |
37 |
+ # |
38 |
+ #;****************************************************************************; |
39 |
+ |
40 |
++PREFIX := /usr |
41 |
+ |
42 |
+ PROGS = INTEL-SA-00075-Discovery-Tool \ |
43 |
+ INTEL-SA-00075-Unprovisioning-Tool |
44 |
+ |
45 |
+ all:$(PROGS) |
46 |
+- strip $(PROGS) |
47 |
+ |
48 |
+ INTEL-SA-00075-Discovery-Tool: INTEL-SA-00075-Discovery-Tool.o INTEL-SA-00075.o |
49 |
+ INTEL-SA-00075-Unprovisioning-Tool: INTEL-SA-00075-Unprovisioning-Tool.o INTEL-SA-00075.o |
50 |
+@@ -77,3 +77,5 @@ clean: |
51 |
+ rm -f $(PROGS) |
52 |
+ rm -f *.o |
53 |
+ |
54 |
++install: |
55 |
++ install -D -t $(DESTDIR)$(PREFIX)/sbin/ $(PROGS) |
56 |
|
57 |
diff --git a/sys-apps/intel-sa-00075-tools/intel-sa-00075-tools-1.0.ebuild b/sys-apps/intel-sa-00075-tools/intel-sa-00075-tools-1.0.ebuild |
58 |
new file mode 100644 |
59 |
index 00000000000..ad560d57688 |
60 |
--- /dev/null |
61 |
+++ b/sys-apps/intel-sa-00075-tools/intel-sa-00075-tools-1.0.ebuild |
62 |
@@ -0,0 +1,24 @@ |
63 |
+# Copyright 1999-2017 Gentoo Foundation |
64 |
+# Distributed under the terms of the GNU General Public License v2 |
65 |
+ |
66 |
+EAPI=6 |
67 |
+ |
68 |
+inherit toolchain-funcs |
69 |
+ |
70 |
+MY_PN="INTEL-SA-00075-Linux-Detection-And-Mitigation-Tools" |
71 |
+ |
72 |
+DESCRIPTION="Tools from Intel to detect and mitigate the AMT/MEI vulnerability" |
73 |
+HOMEPAGE="https://downloadcenter.intel.com/download/26799/INTEL-SA-00075-Linux-Detection-and-Mitigation-Tools" |
74 |
+SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
75 |
+ |
76 |
+LICENSE="GPL-2 BSD" |
77 |
+SLOT="0" |
78 |
+KEYWORDS="~amd64 ~x86" |
79 |
+ |
80 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
81 |
+ |
82 |
+PATCHES=("${FILESDIR}/${PN}-makefile.patch") |
83 |
+ |
84 |
+src_compile() { |
85 |
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
86 |
+} |
87 |
|
88 |
diff --git a/sys-apps/intel-sa-00075-tools/metadata.xml b/sys-apps/intel-sa-00075-tools/metadata.xml |
89 |
new file mode 100644 |
90 |
index 00000000000..bf8d19147b7 |
91 |
--- /dev/null |
92 |
+++ b/sys-apps/intel-sa-00075-tools/metadata.xml |
93 |
@@ -0,0 +1,19 @@ |
94 |
+<?xml version="1.0" encoding="UTF-8"?> |
95 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
96 |
+<pkgmetadata> |
97 |
+ <maintainer type="person"> |
98 |
+ <email>chutzpah@g.o</email> |
99 |
+ <name>Patrick McLean</name> |
100 |
+ </maintainer> |
101 |
+ <longdescription lang="en"> |
102 |
+ The INTEL-SA-00075-Discovery-Tool for local analysis of a single or |
103 |
+ multiple systems. |
104 |
+ |
105 |
+ The INTEL-SA-00075-Unprovisioning-Tool will unprovision computers with |
106 |
+ Intel® Active Management Technology (Intel® AMT), Intel® Standard |
107 |
+ Manageability, and Intel® Small Business Technology (Intel® SBT) that |
108 |
+ are vulnerable to the issue identified in INTEL-SA-00075. This tool |
109 |
+ will allow you to unprovision management features, configured in |
110 |
+ Client Control Mode (CCM). |
111 |
+ </longdescription> |
112 |
+</pkgmetadata> |