microcode_ctl-vl.spec 8.3 KB

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