microcode_ctl-vl.spec 8.4 KB

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