1 |
commit: db365bacbc0122deac04a5add301d2d86c505aab |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 29 12:33:05 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 29 12:33:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db365bac |
7 |
|
8 |
sys-apps/x86info: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sys-apps/x86info/Manifest | 1 - |
14 |
sys-apps/x86info/files/1.21-pic.patch | 14 ----- |
15 |
sys-apps/x86info/files/x86info-1.24-pic.patch | 33 ---------- |
16 |
.../files/x86info-1.29-parallel-make-cleanup.patch | 12 ---- |
17 |
.../files/x86info-1.30-fix-build-system.patch | 12 ---- |
18 |
sys-apps/x86info/x86info-1.30-r1.ebuild | 72 ---------------------- |
19 |
sys-apps/x86info/x86info-1.30.ebuild | 72 ---------------------- |
20 |
7 files changed, 216 deletions(-) |
21 |
|
22 |
diff --git a/sys-apps/x86info/Manifest b/sys-apps/x86info/Manifest |
23 |
index 3fa8bb65f0e..109f35371ed 100644 |
24 |
--- a/sys-apps/x86info/Manifest |
25 |
+++ b/sys-apps/x86info/Manifest |
26 |
@@ -1,2 +1 @@ |
27 |
-DIST x86info-1.30.tgz 95727 BLAKE2B 6e9e345c6b4d05d4a137b898f1cc8a31e901b25b8a3822c06c103298e2ee60c6fada8e1fc314a5fcec04618b9a8a9ce05a4e631dbf9f03a24c5349f13d1e2301 SHA512 0b4c9f1be83a737aa26ec14d239d09465608fcf542766ef5b8634d2fe08f75857c0d2bd1969d971ab4b0d55cd3aa3e4e5f58b3b2865865aa68fd751377672e5f |
28 |
DIST x86info-1.30_p20190617.tar.gz 85913 BLAKE2B e19e5fd797617499c64e75522f0fd030beaa335a6ba9afd29cbb79fd67313a2e57236d1ad8817bf91f0131faf667ba88ac0945ff25301ba8806912979f094ea3 SHA512 352e2b00578dc54b8d5ee32f09f327ab6a23e6ab4743882ca78a5a5ec1a04ceed8780228ffbda34f84ebb02c7cb850002a686929726feac90c8083044f479bd6 |
29 |
|
30 |
diff --git a/sys-apps/x86info/files/1.21-pic.patch b/sys-apps/x86info/files/1.21-pic.patch |
31 |
deleted file mode 100644 |
32 |
index 7bf89240c2c..00000000000 |
33 |
--- a/sys-apps/x86info/files/1.21-pic.patch |
34 |
+++ /dev/null |
35 |
@@ -1,14 +0,0 @@ |
36 |
---- a/bench/benchmarks.c |
37 |
-+++ b/bench/benchmarks.c |
38 |
-@@ -19,7 +19,10 @@ |
39 |
- #ifdef __linux__ |
40 |
- TIME(asm volatile("int $0x80" :"=a" (tmp) :"0" (__NR_getppid)), "int 0x80"); |
41 |
- #endif |
42 |
-- TIME(asm volatile("cpuid": : :"ax", "dx", "cx", "bx"), "cpuid"); |
43 |
-+ TIME(asm volatile("movl %%ebx,%%edi\n" |
44 |
-+ "cpuid\n" |
45 |
-+ "movl %%edi,%%ebx\n" |
46 |
-+ : : :"%eax", "%edx", "%ecx", "%edi"), "cpuid"); |
47 |
- |
48 |
- TIME(asm volatile("addl $1,0(%esp)"), "addl"); |
49 |
- TIME(asm volatile("lock ; addl $1,0(%esp)"), "locked add"); |
50 |
|
51 |
diff --git a/sys-apps/x86info/files/x86info-1.24-pic.patch b/sys-apps/x86info/files/x86info-1.24-pic.patch |
52 |
deleted file mode 100644 |
53 |
index b4098c5c68c..00000000000 |
54 |
--- a/sys-apps/x86info/files/x86info-1.24-pic.patch |
55 |
+++ /dev/null |
56 |
@@ -1,33 +0,0 @@ |
57 |
-http://bugs.gentoo.org/270388 |
58 |
- |
59 |
---- a/cpuid.c |
60 |
-+++ b/cpuid.c |
61 |
-@@ -62,12 +62,28 @@ |
62 |
- sched_setaffinity(getpid(), sizeof(set), &set); |
63 |
- } |
64 |
- |
65 |
-+#ifdef __PIC__ |
66 |
-+ /* GCC on i386 bitches if you clobber ebx. So hide it behind |
67 |
-+ * gcc's back. */ |
68 |
-+ asm( |
69 |
-+ "movl %%ebx,%%edi\n" |
70 |
-+ "cpuid\n" |
71 |
-+ "movl %%ebx,%1\n" |
72 |
-+ "movl %%edi,%%ebx\n" |
73 |
-+ : "=a" (a), |
74 |
-+ "=m" (b), |
75 |
-+ "+c" (c), |
76 |
-+ "=d" (d) |
77 |
-+ : "0" ((unsigned int)idx) |
78 |
-+ : "edi"); |
79 |
-+#else |
80 |
- asm("cpuid" |
81 |
- : "=a" (a), |
82 |
- "=b" (b), |
83 |
- "+c" (c), |
84 |
- "=d" (d) |
85 |
- : "0" ((unsigned int)idx)); |
86 |
-+#endif |
87 |
- |
88 |
- if (eax!=NULL) |
89 |
- *eax = a; |
90 |
|
91 |
diff --git a/sys-apps/x86info/files/x86info-1.29-parallel-make-cleanup.patch b/sys-apps/x86info/files/x86info-1.29-parallel-make-cleanup.patch |
92 |
deleted file mode 100644 |
93 |
index a9cec0397fa..00000000000 |
94 |
--- a/sys-apps/x86info/files/x86info-1.29-parallel-make-cleanup.patch |
95 |
+++ /dev/null |
96 |
@@ -1,12 +0,0 @@ |
97 |
---- a/Makefile |
98 |
-+++ b/Makefile |
99 |
-@@ -12,7 +12,8 @@ |
100 |
- LSMSR_TMP_HEADERS=AMD/k8.h AMD/fam10h.h AMD/fam11h.h generic_msr.h |
101 |
- |
102 |
- %.h: %.regs scripts/createheader.py |
103 |
-- python scripts/createheader.py $< `basename $< .regs` >$@ |
104 |
-+ $(PYTHON) scripts/createheader.py $< `basename $< .regs` >$@.tmp ; \ |
105 |
-+ mv $@.tmp $@ |
106 |
- |
107 |
- LSMSR_SRC = \ |
108 |
- lsmsr.c \ |
109 |
|
110 |
diff --git a/sys-apps/x86info/files/x86info-1.30-fix-build-system.patch b/sys-apps/x86info/files/x86info-1.30-fix-build-system.patch |
111 |
deleted file mode 100644 |
112 |
index 21034d99edc..00000000000 |
113 |
--- a/sys-apps/x86info/files/x86info-1.30-fix-build-system.patch |
114 |
+++ /dev/null |
115 |
@@ -1,12 +0,0 @@ |
116 |
---- a/Makefile |
117 |
-+++ b/Makefile |
118 |
-@@ -1,9 +1,5 @@ |
119 |
- VERSION=1.30 |
120 |
- |
121 |
--CFLAGS = -g -O2 -Werror -Wall -Wshadow -Wextra -Wmissing-declarations -Wdeclaration-after-statement -Wredundant-decls |
122 |
--LDFLAGS = -Wl,-z,relro,-z,now |
123 |
--CC = gcc |
124 |
-- |
125 |
- SHELL = /bin/sh |
126 |
- |
127 |
- all: x86info test lsmsr |
128 |
|
129 |
diff --git a/sys-apps/x86info/x86info-1.30-r1.ebuild b/sys-apps/x86info/x86info-1.30-r1.ebuild |
130 |
deleted file mode 100644 |
131 |
index 5a09ba8a8e7..00000000000 |
132 |
--- a/sys-apps/x86info/x86info-1.30-r1.ebuild |
133 |
+++ /dev/null |
134 |
@@ -1,72 +0,0 @@ |
135 |
-# Copyright 1999-2017 Gentoo Foundation |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
- |
138 |
-EAPI=7 |
139 |
- |
140 |
-PYTHON_COMPAT=( python2_7 python3_{4..8} ) |
141 |
- |
142 |
-inherit flag-o-matic linux-info python-any-r1 toolchain-funcs |
143 |
- |
144 |
-DESCRIPTION="Dave Jones' handy, informative x86 CPU diagnostic utility" |
145 |
-HOMEPAGE="http://www.codemonkey.org.uk/projects/x86info/" |
146 |
-SRC_URI="http://www.codemonkey.org.uk/projects/x86info/${P}.tgz" |
147 |
- |
148 |
-LICENSE="GPL-2" |
149 |
-SLOT="0" |
150 |
-KEYWORDS="-* ~amd64 ~x86" |
151 |
-IUSE="" |
152 |
- |
153 |
-RDEPEND="sys-apps/pciutils:=" |
154 |
-DEPEND=" |
155 |
- ${PYTHON_DEPS} |
156 |
- ${RDEPEND}" |
157 |
- |
158 |
-CONFIG_CHECK="~MTRR ~X86_CPUID" |
159 |
- |
160 |
-PATCHES=( |
161 |
- "${FILESDIR}"/1.21-pic.patch |
162 |
- "${FILESDIR}"/${PN}-1.24-pic.patch #270388 |
163 |
- "${FILESDIR}"/${PN}-1.29-parallel-make-cleanup.patch |
164 |
- "${FILESDIR}"/${PN}-1.30-fix-build-system.patch |
165 |
-) |
166 |
- |
167 |
-pkg_setup() { |
168 |
- linux-info_pkg_setup |
169 |
- python-any-r1_pkg_setup |
170 |
-} |
171 |
- |
172 |
-src_configure() { |
173 |
- # These flags taken from the 1.29 ebuild |
174 |
- append-flags -Wall -Wshadow -Wextra -Wmissing-declarations \ |
175 |
- -Wdeclaration-after-statement -Wredundant-decls |
176 |
- append-ldflags -Wl,-z,relro,-z,now |
177 |
- |
178 |
- tc-export CC |
179 |
-} |
180 |
- |
181 |
-src_compile() { |
182 |
- emake x86info lsmsr |
183 |
-} |
184 |
- |
185 |
-src_install() { |
186 |
- dobin x86info lsmsr |
187 |
- |
188 |
- insinto /etc/modprobe.d |
189 |
- newins "${FILESDIR}"/x86info-modules.conf-rc x86info.conf |
190 |
- |
191 |
- einstalldocs |
192 |
- doman x86info.1 lsmsr.8 |
193 |
- |
194 |
- dodoc -r results |
195 |
-} |
196 |
- |
197 |
-pkg_preinst() { |
198 |
- if [[ -a "${EROOT}"/etc/modules.d/x86info ]] && [[ ! -a "${EROOT}"/etc/modprobe.d/x86info ]]; then |
199 |
- elog "Moving x86info from /etc/modules.d/ to /etc/modprobe.d/" |
200 |
- mv "${EROOT}"/etc/{modules,modprobe}.d/x86info |
201 |
- fi |
202 |
- if [[ -a "${EROOT}"/etc/modprobe.d/x86info ]] && [[ ! -a "${EROOT}"/etc/modprobe.d/x86info.conf ]]; then |
203 |
- elog "Adding .conf suffix to x86info in /etc/modprobe.d/" |
204 |
- mv "${EROOT}"/etc/modprobe.d/x86info{,.conf} |
205 |
- fi |
206 |
-} |
207 |
|
208 |
diff --git a/sys-apps/x86info/x86info-1.30.ebuild b/sys-apps/x86info/x86info-1.30.ebuild |
209 |
deleted file mode 100644 |
210 |
index 358f453ebbb..00000000000 |
211 |
--- a/sys-apps/x86info/x86info-1.30.ebuild |
212 |
+++ /dev/null |
213 |
@@ -1,72 +0,0 @@ |
214 |
-# Copyright 1999-2017 Gentoo Foundation |
215 |
-# Distributed under the terms of the GNU General Public License v2 |
216 |
- |
217 |
-EAPI=6 |
218 |
- |
219 |
-PYTHON_COMPAT=( python2_7 ) |
220 |
- |
221 |
-inherit flag-o-matic linux-info python-any-r1 toolchain-funcs |
222 |
- |
223 |
-DESCRIPTION="Dave Jones' handy, informative x86 CPU diagnostic utility" |
224 |
-HOMEPAGE="http://www.codemonkey.org.uk/projects/x86info/" |
225 |
-SRC_URI="http://www.codemonkey.org.uk/projects/x86info/${P}.tgz" |
226 |
- |
227 |
-LICENSE="GPL-2" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="-* amd64 x86" |
230 |
-IUSE="" |
231 |
- |
232 |
-RDEPEND="sys-apps/pciutils:=" |
233 |
-DEPEND=" |
234 |
- ${PYTHON_DEPS} |
235 |
- ${RDEPEND}" |
236 |
- |
237 |
-CONFIG_CHECK="~MTRR ~X86_CPUID" |
238 |
- |
239 |
-PATCHES=( |
240 |
- "${FILESDIR}"/1.21-pic.patch |
241 |
- "${FILESDIR}"/${PN}-1.24-pic.patch #270388 |
242 |
- "${FILESDIR}"/${PN}-1.29-parallel-make-cleanup.patch |
243 |
- "${FILESDIR}"/${PN}-1.30-fix-build-system.patch |
244 |
-) |
245 |
- |
246 |
-pkg_setup() { |
247 |
- linux-info_pkg_setup |
248 |
- python-any-r1_pkg_setup |
249 |
-} |
250 |
- |
251 |
-src_configure() { |
252 |
- # These flags taken from the 1.29 ebuild |
253 |
- append-flags -Wall -Wshadow -Wextra -Wmissing-declarations \ |
254 |
- -Wdeclaration-after-statement -Wredundant-decls |
255 |
- append-ldflags -Wl,-z,relro,-z,now |
256 |
- |
257 |
- tc-export CC |
258 |
-} |
259 |
- |
260 |
-src_compile() { |
261 |
- emake x86info lsmsr |
262 |
-} |
263 |
- |
264 |
-src_install() { |
265 |
- dobin x86info lsmsr |
266 |
- |
267 |
- insinto /etc/modprobe.d |
268 |
- newins "${FILESDIR}"/x86info-modules.conf-rc x86info.conf |
269 |
- |
270 |
- einstalldocs |
271 |
- doman x86info.1 lsmsr.8 |
272 |
- |
273 |
- dodoc -r results |
274 |
-} |
275 |
- |
276 |
-pkg_preinst() { |
277 |
- if [[ -a "${EROOT%/}"/etc/modules.d/x86info ]] && [[ ! -a "${EROOT%/}"/etc/modprobe.d/x86info ]]; then |
278 |
- elog "Moving x86info from /etc/modules.d/ to /etc/modprobe.d/" |
279 |
- mv "${EROOT%/}"/etc/{modules,modprobe}.d/x86info |
280 |
- fi |
281 |
- if [[ -a "${EROOT%/}"/etc/modprobe.d/x86info ]] && [[ ! -a "${EROOT%/}"/etc/modprobe.d/x86info.conf ]]; then |
282 |
- elog "Adding .conf suffix to x86info in /etc/modprobe.d/" |
283 |
- mv "${EROOT%/}"/etc/modprobe.d/x86info{,.conf} |
284 |
- fi |
285 |
-} |