1 |
commit: 6915ad825559f329b8d2989ab232932906a8cbf4 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 9 11:24:14 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 9 11:35:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6915ad82 |
7 |
|
8 |
sys-apps/microcode-ctl: remove last rited package |
9 |
|
10 |
sys-apps/microcode-ctl/Manifest | 3 -- |
11 |
sys-apps/microcode-ctl/files/microcode_ctl.conf.d | 11 ----- |
12 |
sys-apps/microcode-ctl/files/microcode_ctl.rc | 24 ----------- |
13 |
sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 | 24 ----------- |
14 |
sys-apps/microcode-ctl/metadata.xml | 8 ---- |
15 |
sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild | 50 ---------------------- |
16 |
.../microcode-ctl/microcode-ctl-1.28-r2.ebuild | 49 --------------------- |
17 |
sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild | 49 --------------------- |
18 |
8 files changed, 218 deletions(-) |
19 |
|
20 |
diff --git a/sys-apps/microcode-ctl/Manifest b/sys-apps/microcode-ctl/Manifest |
21 |
deleted file mode 100644 |
22 |
index afecd598fa1..00000000000 |
23 |
--- a/sys-apps/microcode-ctl/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1,3 +0,0 @@ |
26 |
-DIST microcode_ctl-1.23.tar.xz 755448 BLAKE2B ad7811536584343254fee8ee77a192834ef3aedac49615d8a4d6dd46f8ad68f01d1a01ee8e54988ade5f6878dc903da0c9f08a93f5efed041cc7bd43c864969c SHA512 f33b4fd43c39b3d4e9b6eb9a12285c7ea26ee43e6c4aa1e45f9aa92a0d2b7d55d1a950ee82d8aea5c86faa15dd1e85e829719b6c772a2c09f262bea630bc7edb |
27 |
-DIST microcode_ctl-1.28.tar.xz 876760 BLAKE2B 8523bdc59ab21a6ec2e1110116bfb4c7a18e859e7f1da65d9e765274b47d5c1909d61eb18017ecc9369b7eedb43cf11cbdc495439aaf1c525bc8d8f7c63ca3a0 SHA512 ed5deb0f96c895b7783c23a1c91d2e03f713a793a21140b049e1b5f08f553dce103b4a11016ebd5076424b1032342d009d952e0089badfea2e91ad486d2cf7f8 |
28 |
-DIST microcode_ctl-1.36.tar.xz 3553884 BLAKE2B 0667971e546a135aba6c49f7eb04908595540ab3ecaebbb175cabda0aeb3396fdb145245a7fab44ec095f447f88e3b78990b22cd4f07568ac4b80ef321109fa1 SHA512 be35b670eba65747aef8bc7a78e989d3481fa0cbfb1635332821da75decef2540f3249ab6ecbe5b95f4d52e9a982cda2c7df31d2f406c0ba27c0354b6b70c2bc |
29 |
|
30 |
diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.conf.d b/sys-apps/microcode-ctl/files/microcode_ctl.conf.d |
31 |
deleted file mode 100644 |
32 |
index 0505a80ae92..00000000000 |
33 |
--- a/sys-apps/microcode-ctl/files/microcode_ctl.conf.d |
34 |
+++ /dev/null |
35 |
@@ -1,11 +0,0 @@ |
36 |
-# /etc/conf.d/microcode_ctl |
37 |
- |
38 |
-# Device to pass to microcode_ctl |
39 |
- |
40 |
-MICROCODE_DEV="/dev/cpu/microcode" |
41 |
- |
42 |
- |
43 |
-# Should we try to unload the microcode module after we |
44 |
-# update the cpu microcode ? |
45 |
- |
46 |
-MICROCODE_UNLOAD="yes" |
47 |
|
48 |
diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.rc b/sys-apps/microcode-ctl/files/microcode_ctl.rc |
49 |
deleted file mode 100644 |
50 |
index 2169e24ea85..00000000000 |
51 |
--- a/sys-apps/microcode-ctl/files/microcode_ctl.rc |
52 |
+++ /dev/null |
53 |
@@ -1,24 +0,0 @@ |
54 |
-#!/sbin/openrc-run |
55 |
-# Copyright 1999-2008 Gentoo Foundation |
56 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
57 |
- |
58 |
-depend() { |
59 |
- need localmount |
60 |
-} |
61 |
- |
62 |
-start() { |
63 |
- local ret |
64 |
- |
65 |
- # Make sure the kernel supports the microcode device ... |
66 |
- # if it doesnt, try to modprobe the kernel module |
67 |
- grep -qs ' microcode$' /proc/misc || modprobe -q microcode |
68 |
- |
69 |
- ebegin "Updating microcode" |
70 |
- microcode_ctl -qu -d ${MICROCODE_DEV} |
71 |
- ret=$? |
72 |
- eend ${ret} "Failed to update microcode via '${MICROCODE_DEV}'" |
73 |
- |
74 |
- [ "${MICROCODE_UNLOAD}" = "yes" ] && rmmod microcode >/dev/null 2>&1 |
75 |
- |
76 |
- return ${ret} |
77 |
-} |
78 |
|
79 |
diff --git a/sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 b/sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 |
80 |
deleted file mode 100644 |
81 |
index ed08c4a954b..00000000000 |
82 |
--- a/sys-apps/microcode-ctl/files/microcode_ctl.rc-r1 |
83 |
+++ /dev/null |
84 |
@@ -1,24 +0,0 @@ |
85 |
-#!/sbin/openrc-run |
86 |
-# Copyright 1999-2008 Gentoo Foundation |
87 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
88 |
- |
89 |
-depend() { |
90 |
- need localmount |
91 |
-} |
92 |
- |
93 |
-start() { |
94 |
- local ret |
95 |
- |
96 |
- # Make sure the kernel supports the microcode device ... |
97 |
- # if it doesnt, try to modprobe the kernel module |
98 |
- grep -qs ' microcode$' /proc/misc || modprobe -q microcode |
99 |
- |
100 |
- ebegin "Updating microcode" |
101 |
- microcode_ctl -qu -f /lib/firmware/microcode.dat -d ${MICROCODE_DEV} |
102 |
- ret=$? |
103 |
- eend ${ret} "Failed to update microcode via '${MICROCODE_DEV}'" |
104 |
- |
105 |
- [ "${MICROCODE_UNLOAD}" = "yes" ] && rmmod microcode >/dev/null 2>&1 |
106 |
- |
107 |
- return ${ret} |
108 |
-} |
109 |
|
110 |
diff --git a/sys-apps/microcode-ctl/metadata.xml b/sys-apps/microcode-ctl/metadata.xml |
111 |
deleted file mode 100644 |
112 |
index 56c12441305..00000000000 |
113 |
--- a/sys-apps/microcode-ctl/metadata.xml |
114 |
+++ /dev/null |
115 |
@@ -1,8 +0,0 @@ |
116 |
-<?xml version="1.0" encoding="UTF-8"?> |
117 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
118 |
-<pkgmetadata> |
119 |
-<maintainer type="project"> |
120 |
- <email>base-system@g.o</email> |
121 |
- <name>Gentoo Base System</name> |
122 |
-</maintainer> |
123 |
-</pkgmetadata> |
124 |
|
125 |
diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild |
126 |
deleted file mode 100644 |
127 |
index 1eb00abb928..00000000000 |
128 |
--- a/sys-apps/microcode-ctl/microcode-ctl-1.23.ebuild |
129 |
+++ /dev/null |
130 |
@@ -1,50 +0,0 @@ |
131 |
-# Copyright 1999-2017 Gentoo Foundation |
132 |
-# Distributed under the terms of the GNU General Public License v2 |
133 |
- |
134 |
-EAPI="5" |
135 |
- |
136 |
-inherit linux-info toolchain-funcs |
137 |
- |
138 |
-MY_P=${PN/-/_}-${PV} |
139 |
-DESCRIPTION="Intel processor microcode update utility" |
140 |
-HOMEPAGE="https://fedorahosted.org/microcode_ctl/" |
141 |
-SRC_URI="https://fedorahosted.org/released/${PN/-/_}/${MY_P}.tar.xz" |
142 |
- |
143 |
-LICENSE="GPL-2" |
144 |
-SLOT="0" |
145 |
-KEYWORDS="-* amd64 x86" |
146 |
-IUSE="selinux" |
147 |
- |
148 |
-DEPEND="" |
149 |
-RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)] |
150 |
- selinux? ( sec-policy/selinux-cpucontrol )" |
151 |
- |
152 |
-S=${WORKDIR}/${MY_P} |
153 |
- |
154 |
-src_compile() { |
155 |
- emake \ |
156 |
- CC="$(tc-getCC)" \ |
157 |
- CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" |
158 |
-} |
159 |
- |
160 |
-src_install() { |
161 |
- dosbin microcode_ctl |
162 |
- doman microcode_ctl.8 |
163 |
- dodoc Changelog README |
164 |
- |
165 |
- newinitd "${FILESDIR}"/microcode_ctl.rc-r1 microcode_ctl |
166 |
- newconfd "${FILESDIR}"/microcode_ctl.conf.d microcode_ctl |
167 |
-} |
168 |
- |
169 |
-pkg_postinst() { |
170 |
- # Just a friendly warning |
171 |
- if ! linux_config_exists || ! linux_chkconfig_present MICROCODE; then |
172 |
- echo |
173 |
- ewarn "Your kernel must include microcode update support." |
174 |
- ewarn " Processor type and features --->" |
175 |
- ewarn " <*> /dev/cpu/microcode - microcode support" |
176 |
- echo |
177 |
- fi |
178 |
- elog "Microcode updates will be lost at every reboot." |
179 |
- elog "You can use the init.d script to update at boot time." |
180 |
-} |
181 |
|
182 |
diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild |
183 |
deleted file mode 100644 |
184 |
index 5385973e611..00000000000 |
185 |
--- a/sys-apps/microcode-ctl/microcode-ctl-1.28-r2.ebuild |
186 |
+++ /dev/null |
187 |
@@ -1,49 +0,0 @@ |
188 |
-# Copyright 1999-2018 Gentoo Foundation |
189 |
-# Distributed under the terms of the GNU General Public License v2 |
190 |
- |
191 |
-EAPI="6" |
192 |
- |
193 |
-inherit toolchain-funcs versionator |
194 |
- |
195 |
-MY_P=${PN/-/_}-${PV} |
196 |
-DESCRIPTION="Intel processor microcode update utility" |
197 |
-HOMEPAGE="https://pagure.io/microcode_ctl" |
198 |
-SRC_URI="https://releases.pagure.org/${PN/-/_}/${MY_P}.tar.xz" |
199 |
- |
200 |
-LICENSE="GPL-2" |
201 |
-SLOT="0" |
202 |
-KEYWORDS="-* amd64 x86" |
203 |
-IUSE="selinux" |
204 |
- |
205 |
-DEPEND="" |
206 |
-RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)] |
207 |
- selinux? ( sec-policy/selinux-cpucontrol )" |
208 |
- |
209 |
-S=${WORKDIR}/${MY_P} |
210 |
- |
211 |
-src_compile() { |
212 |
- emake \ |
213 |
- CC="$(tc-getCC)" \ |
214 |
- CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" |
215 |
-} |
216 |
- |
217 |
-src_install() { |
218 |
- dosbin microcode_ctl |
219 |
- doman microcode_ctl.8 |
220 |
- dodoc Changelog README |
221 |
-} |
222 |
- |
223 |
-pkg_preinst() { |
224 |
- local _v |
225 |
- for _v in ${REPLACING_VERSIONS}; do |
226 |
- if ! version_is_at_least 1.28-r1 ${_v}; then |
227 |
- # This is an upgrade |
228 |
- elog "The init scripts have been removed as they are unsafe. If you want to update" |
229 |
- elog "the microcode in your system, please use an initramfs. See bug #528712#41 for" |
230 |
- elog "details (and bug #557278 for genkernel users)." |
231 |
- fi |
232 |
- |
233 |
- # Show this elog only once |
234 |
- break |
235 |
- done |
236 |
-} |
237 |
|
238 |
diff --git a/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild b/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild |
239 |
deleted file mode 100644 |
240 |
index 4ca58a10661..00000000000 |
241 |
--- a/sys-apps/microcode-ctl/microcode-ctl-1.36.ebuild |
242 |
+++ /dev/null |
243 |
@@ -1,49 +0,0 @@ |
244 |
-# Copyright 1999-2018 Gentoo Foundation |
245 |
-# Distributed under the terms of the GNU General Public License v2 |
246 |
- |
247 |
-EAPI="6" |
248 |
- |
249 |
-inherit toolchain-funcs versionator |
250 |
- |
251 |
-MY_P=${PN/-/_}-${PV} |
252 |
-DESCRIPTION="Intel processor microcode update utility" |
253 |
-HOMEPAGE="https://pagure.io/microcode_ctl" |
254 |
-SRC_URI="https://releases.pagure.org/${PN/-/_}/${MY_P}.tar.xz" |
255 |
- |
256 |
-LICENSE="GPL-2" |
257 |
-SLOT="0" |
258 |
-KEYWORDS="-* ~amd64 ~x86" |
259 |
-IUSE="selinux" |
260 |
- |
261 |
-DEPEND="" |
262 |
-RDEPEND=">=sys-firmware/intel-microcode-20090330[monolithic(+)] |
263 |
- selinux? ( sec-policy/selinux-cpucontrol )" |
264 |
- |
265 |
-S=${WORKDIR}/${MY_P} |
266 |
- |
267 |
-src_compile() { |
268 |
- emake \ |
269 |
- CC="$(tc-getCC)" \ |
270 |
- CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" |
271 |
-} |
272 |
- |
273 |
-src_install() { |
274 |
- dosbin microcode_ctl |
275 |
- doman microcode_ctl.8 |
276 |
- dodoc Changelog README |
277 |
-} |
278 |
- |
279 |
-pkg_preinst() { |
280 |
- local _v |
281 |
- for _v in ${REPLACING_VERSIONS}; do |
282 |
- if ! version_is_at_least 1.28-r1 ${_v}; then |
283 |
- # This is an upgrade |
284 |
- elog "The init scripts have been removed as they are unsafe. If you want to update" |
285 |
- elog "the microcode in your system, please use an initramfs. See bug #528712#41 for" |
286 |
- elog "details (and bug #557278 for genkernel users)." |
287 |
- fi |
288 |
- |
289 |
- # Show this elog only once |
290 |
- break |
291 |
- done |
292 |
-} |