microcode_ctl-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. Summary: Tool to transform and deploy CPU microcode update for x86.
  2. Summary(ja): x86 CPU のマイクロコードを投入するためのツール
  3. Name: microcode_ctl
  4. Version: 2.1
  5. %define urel 33
  6. Release: %{urel}%{?_dist_release}
  7. Group: system
  8. Distribution: Vine Linux
  9. Vendor: Project Vine
  10. Packager: daisuke
  11. License: GPLv2+ and Redistributable, no modification permitted
  12. URL: https://pagure.io/microcode_ctl/
  13. Source0: https://releases.pagure.org/microcode_ctl/%{name}-%{version}-%{urel}.tar.xz
  14. Buildroot: %{_tmppath}/%{name}-%{version}-root
  15. ExclusiveArch: %{ix86} x86_64
  16. %description
  17. The microcode_ctl utility is a companion to the microcode driver written
  18. by Tigran Aivazian <tigran@aivazian.fsnet.co.uk>.
  19. The microcode update is volatile and needs to be uploaded on each system
  20. boot i.e. it doesn't reflash your cpu permanently, reboot and it reverts
  21. back to the old microcode.
  22. %prep
  23. %setup -q -n %{name}-%{version}-%{urel}
  24. %build
  25. make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
  26. %install
  27. rm -rf %{buildroot}
  28. make DESTDIR=%{buildroot} PREFIX=%{_prefix} INSDIR=/usr/sbin install clean
  29. %clean
  30. rm -rf %{buildroot}
  31. %files
  32. /lib/firmware/*
  33. %doc /usr/share/doc/microcode_ctl
  34. %changelog
  35. * Thu Jul 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1-33
  36. - updated to 2.1-33.
  37. * Sun Jun 29 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1-4
  38. - update to 2.1-4
  39. * Sun Mar 17 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0-1
  40. - initial build for Vine Linux
  41. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.0-3
  42. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  43. * Wed Oct 17 2012 Anton Arapov <anton@redhat.com> 2.0-2
  44. - Update to upstream 2.0-2
  45. * Tue Oct 02 2012 Anton Arapov <anton@redhat.com> 2.0-1
  46. - Update to upstream 2.0-1
  47. * Mon Aug 06 2012 Anton Arapov <anton@redhat.com> 2.0
  48. - Update to upstream 2.0
  49. * Wed Jul 25 2012 Anton Arapov <anton@redhat.com> 1.18-1
  50. - Update to upstream 1.18
  51. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-26
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  53. * Thu Jun 07 2012 Anton Arapov <anton@redhat.com> 1.17-25
  54. - Update to microcode-20120606.dat
  55. * Tue Feb 07 2012 Anton Arapov <anton@redhat.com> 1.17-24
  56. - Update to amd-ucode-2012-01-17.tar
  57. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-22
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  59. * Thu Dec 22 2011 Anton Arapov <anton@redhat.com> 1.17-21
  60. - Fix a segfault that may be triggered by very long parameter [#768803]
  61. * Tue Dec 13 2011 Anton Arapov <anton@redhat.com> 1.17-20
  62. - Update to microcode-20111110.dat
  63. * Tue Sep 27 2011 Anton Arapov <anton@redhat.com> 1.17-19
  64. - Update to microcode-20110915.dat
  65. * Thu Aug 04 2011 Anton Arapov <anton@redhat.com> 1.17-18
  66. - Ship splitted microcode for Intel CPUs [#690930]
  67. - Include tool for splitting microcode for Intl CPUs (Kay Sievers )
  68. * Thu Jun 30 2011 Anton Arapov <anton@redhat.com> 1.17-17
  69. - Fix udev rules (Dave Jones ) [#690930]
  70. * Thu May 12 2011 Anton Arapov <anton@redhat.com> 1.17-14
  71. - Update to microcode-20110428.dat
  72. * Thu Mar 24 2011 Anton Arapov <anton@redhat.com> 1.17-13
  73. - fix memory leak.
  74. * Mon Mar 07 2011 Anton Arapov <anton@redhat.com> 1.17-12
  75. - Update to amd-ucode-2011-01-11.tar
  76. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-11
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  78. * Wed Jan 19 2011 Anton Arapov <anton@redhat.com> 1.17-10
  79. - manpage fix (John Bradshaw ) [#670879]
  80. * Wed Jan 05 2011 Anton Arapov <anton@redhat.com> 1.17-9
  81. - Update to microcode-20101123.dat
  82. * Mon Nov 01 2010 Anton Arapov <anton@redhat.com> 1.17-8
  83. - Update to microcode-20100914.dat
  84. * Wed Sep 29 2010 jkeating - 1:1.17-7
  85. - Rebuilt for gcc bug 634757
  86. * Wed Sep 15 2010 Anton Arapov <anton@redhat.com> 1.17-6
  87. - Update to microcode-20100826.dat
  88. * Tue Sep 07 2010 Toshio Kuratomi <toshio@fedoraproject.org> 1.17-5
  89. - Fix license tag: bz#450491
  90. * Fri Aug 27 2010 Dave Jones <davej@redhat.com> 1.17-4
  91. - Update to microcode-20100826.dat
  92. * Tue Mar 23 2010 Anton Arapov <anton@redhat.com> 1.17-3
  93. - Fix the udev rules (Harald Hoyer )
  94. * Mon Mar 22 2010 Anton Arapov <anton@redhat.com> 1.17-2
  95. - Make microcode_ctl event driven (Bill Nottingham ) [#479898]
  96. * Thu Feb 11 2010 Dave Jones <davej@redhat.com> 1.17-1.58
  97. - Update to microcode-20100209.dat
  98. * Fri Dec 04 2009 Kyle McMartin <kyle@redhat.com> 1.17-1.57
  99. - Fix duplicate message pointed out by Edward Sheldrake.
  100. * Wed Dec 02 2009 Kyle McMartin <kyle@redhat.com> 1.17-1.56
  101. - Add AMD x86/x86-64 microcode. (Dated: 2009-10-09)
  102. Doesn't need microcode_ctl modifications as it's loaded by
  103. request_firmware() like any other sensible driver.
  104. - Eventually, this AMD firmware can probably live inside
  105. kernel-firmware once it is split out.
  106. * Wed Sep 30 2009 Dave Jones <davej@redhat.com>
  107. - Update to microcode-20090927.dat
  108. * Fri Sep 11 2009 Dave Jones <davej@redhat.com>
  109. - Remove some unnecessary code from the init script.
  110. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-1.52.1
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  112. * Thu Jun 25 2009 Dave Jones <davej@redhat.com>
  113. - Shorten sleep time during init.
  114. This really needs to be replaced with proper udev hooks, but this is
  115. a quick interim fix.
  116. * Wed Jun 03 2009 Kyle McMartin <kyle@redhat.com> 1:1.17-1.50
  117. - Change ExclusiveArch to i586 instead of i386. Resolves rhbz#497711.
  118. * Wed May 13 2009 Dave Jones <davej@redhat.com>
  119. - update to microcode 20090330
  120. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.17-1.46.1
  121. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  122. * Fri Sep 12 2008 Dave Jones <davej@redhat.com>
  123. - update to microcode 20080910
  124. * Tue Apr 01 2008 Jarod Wilson <jwilson@redhat.com>
  125. - Update to microcode 20080401
  126. * Sat Mar 29 2008 Dave Jones <davej@redhat.com>
  127. - Update to microcode 20080220
  128. - Fix rpmlint warnings in specfile.
  129. * Mon Mar 17 2008 Dave Jones <davej@redhat.com>
  130. - specfile cleanups.
  131. * Fri Feb 22 2008 Jarod Wilson <jwilson@redhat.com>
  132. - Use /lib/firmware instead of /etc/firmware
  133. * Wed Feb 13 2008 Jarod Wilson <jwilson@redhat.com>
  134. - Fix permissions on microcode.dat
  135. * Thu Feb 07 2008 Jarod Wilson <jwilson@redhat.com>
  136. - Spec cleanup and macro standardization.
  137. - Update license
  138. - Update microcode data file to 20080131 revision.
  139. * Mon Jul 2 2007 Dave Jones <davej@redhat.com>
  140. - Update to upstream 1.17
  141. * Thu Oct 12 2006 Jon Masters <jcm@redhat.com>
  142. - BZ209455 fixes.
  143. * Mon Jul 17 2006 Jesse Keating <jkeating@redhat.com>
  144. - rebuild
  145. * Fri Jun 16 2006 Bill Nottingham <notting@redhat.com>
  146. - remove kudzu requirement
  147. - add prereq for coreutils, awk, grep
  148. * Thu Feb 09 2006 Dave Jones <davej@redhat.com>
  149. - rebuild.
  150. * Fri Jan 27 2006 Dave Jones <davej@redhat.com>
  151. - Update to upstream 1.13
  152. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  153. - rebuilt for new gcj
  154. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  155. - rebuilt
  156. * Mon Nov 14 2005 Dave Jones <davej@redhat.com>
  157. - initscript tweaks.
  158. * Tue Sep 13 2005 Dave Jones <davej@redhat.com>
  159. - Update to upstream 1.12
  160. * Wed Aug 17 2005 Dave Jones <davej@redhat.com>
  161. - Check for device node *after* loading the module. (#157672)
  162. * Tue Mar 1 2005 Dave Jones <davej@redhat.com>
  163. - Rebuild for gcc4
  164. * Thu Feb 17 2005 Dave Jones <davej@redhat.com>
  165. - s/Serial/Epoch/
  166. * Tue Jan 25 2005 Dave Jones <davej@redhat.com>
  167. - Drop the node creation/deletion change from previous release.
  168. It'll cause grief with selinux, and was a hack to get around
  169. a udev shortcoming that should be fixed properly.
  170. * Fri Jan 21 2005 Dave Jones <davej@redhat.com>
  171. - Create/remove the /dev/cpu/microcode dev node as needed.
  172. - Use correct path again for the microcode.dat.
  173. - Remove some no longer needed tests in the init script.
  174. * Fri Jan 14 2005 Dave Jones <davej@redhat.com>
  175. - Only enable microcode_ctl service if the CPU is capable.
  176. - Prevent microcode_ctl getting restarted multiple times on initlevel change (#141581)
  177. - Make restart/reload work properly
  178. - Do nothing if not started by root.
  179. * Wed Jan 12 2005 Dave Jones <davej@redhat.com>
  180. - Adjust dev node location. (#144963)
  181. * Tue Jan 11 2005 Dave Jones <davej@redhat.com>
  182. - Load/Remove microcode module in initscript.
  183. * Mon Jan 10 2005 Dave Jones <davej@redhat.com>
  184. - Update to upstream 1.11 release.
  185. * Sat Dec 18 2004 Dave Jones <davej@redhat.com>
  186. - Initial packaging, based upon kernel-utils.