commit microcode_ctl for openSUSE:Factory

2013-04-17 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2013-04-17 23:06:55

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2013-03-07 07:29:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2013-04-17 23:06:57.0 +0200
@@ -1,0 +2,5 @@
+Tue Apr 16 10:34:31 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls
+
+---



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.W8TahW/_old  2013-04-17 23:06:59.0 +0200
+++ /var/tmp/diff_new_pack.W8TahW/_new  2013-04-17 23:06:59.0 +0200
@@ -16,18 +16,17 @@
 #
 
 
-
 Name:   microcode_ctl
 %define intel_version 20130222
 %define amd_version 2012-09-10
 ExclusiveArch:  %ix86 x86_64
-Url:http://www.urbanmyth.org/microcode/
+Url:https://fedorahosted.org/microcode_ctl/
 Summary:Microcode Updates for Intel and AMD64 x86/x86_64 CPUs
 License:GPL-2.0+ and SUSE-Firmware
 Group:  Hardware/Other
 Version:1.17
 Release:0
-Source0:microcode_ctl-%{version}.tar.bz2
+Source0:
https://fedorahosted.org/released/microcode_ctl/microcode_ctl-%{version}.tar.bz2
 Source2:microcode-%{intel_version}.tgz
 Source3:amd-ucode-%{amd_version}.tar.bz2
 Source5:intel-microcode2ucode.c

++ microcode_ctl-1.17.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microcode_ctl-1.17/Changelog 
new/microcode_ctl-1.17/Changelog
--- old/microcode_ctl-1.17/Changelog2007-04-26 12:59:31.0 +0200
+++ new/microcode_ctl-1.17/Changelog2012-07-25 20:28:45.0 +0200
@@ -44,13 +44,13 @@
 1.12   13 September 2005, Simon Trimmer si...@urbanmyth.org
updated the 1.11 tarball with newer microcode from Intel
 1.13   19 January 2006, Simon Trimmer si...@urbanmyth.org
-   updated the 1.11 tarball with newer microcode from Intel
+   updated the 1.12 tarball with newer microcode from Intel
 1.14   28 June 2006, Simon Trimmer si...@urbanmyth.org
-   updated the 1.11 tarball with newer microcode from Intel
+   updated the 1.13 tarball with newer microcode from Intel
 1.15   19 Sept 2006, Simon Trimmer si...@urbanmyth.org
-   updated the 1.11 tarball with newer microcode from Intel
+   updated the 1.14 tarball with newer microcode from Intel
 1.16   24 January 2007, Simon Trimmer si...@urbanmyth.org
-   updated the 1.11 tarball with newer microcode from Intel and correct
+   updated the 1.15 tarball with newer microcode from Intel and correct
Tigran's email address to tig...@aivazian.fsnet.co.uk
 1.17   36 April 2007,  Simon Trimmer si...@urbanmyth.org
-   updated the 1.11 tarball with newer microcode from Intel
+   updated the 1.16 tarball with newer microcode from Intel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2013-03-06 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2013-03-07 07:29:13

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2012-10-27 07:44:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2013-03-07 07:29:14.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb 26 14:17:09 UTC 2013 - tr...@suse.de
+
+- Update Intel microcode to version: 20130222
+
+---

Old:

  microcode-20120606-v2.tgz

New:

  microcode-20130222.tgz



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.qavFRO/_old  2013-03-07 07:29:15.0 +0100
+++ /var/tmp/diff_new_pack.qavFRO/_new  2013-03-07 07:29:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package microcode_ctl
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,9 @@
 #
 
 
+
 Name:   microcode_ctl
-%define intel_version 20120606-v2
+%define intel_version 20130222
 %define amd_version 2012-09-10
 ExclusiveArch:  %ix86 x86_64
 Url:http://www.urbanmyth.org/microcode/

++ microcode-20120606-v2.tgz - microcode-20130222.tgz ++
 55630 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2012-10-26 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2012-10-27 07:44:02

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2012-10-10 09:23:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2012-10-27 07:44:04.0 +0200
@@ -1,0 +2,13 @@
+Fri Oct 26 12:51:49 UTC 2012 - crrodrig...@opensuse.org
+
+- Drop systemd units that loaded the microcode module 
+  it is loaded automatically nowdays.
+- reload the microcode on pacakge update.
+ 
+
+---
+Thu Oct 18 13:12:40 UTC 2012 - tr...@suse.de
+
+- Update to latest AMD microcode version: 2012-01-17
+
+---

Old:

  amd-ucode-2012-01-17.tar.bz2

New:

  amd-ucode-2012-09-10.tar.bz2



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.4Ey974/_old  2012-10-27 07:44:05.0 +0200
+++ /var/tmp/diff_new_pack.4Ey974/_new  2012-10-27 07:44:05.0 +0200
@@ -16,10 +16,9 @@
 #
 
 
-
 Name:   microcode_ctl
 %define intel_version 20120606-v2
-%define amd_version 2012-01-17
+%define amd_version 2012-09-10
 ExclusiveArch:  %ix86 x86_64
 Url:http://www.urbanmyth.org/microcode/
 Summary:Microcode Updates for Intel and AMD64 x86/x86_64 CPUs
@@ -39,8 +38,6 @@
 Supplements:modalias(x86cpu:vendor:0002:family:*:model:*:feature:*)
 Supplements:modalias(x86cpu:vendor::family:*:model:*:feature:*)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  systemd
-%{?systemd_requires}
 
 %description
 This utility allows updating the microcode of Intel and AMD x86 and x86-64
@@ -54,7 +51,7 @@
 
 %build
 make CFLAGS=$RPM_OPT_FLAGS -I.
-cc -fwhole-program %{optflags} %{S:5} -o generate_microcode
+%{__cc} -fwhole-program %{optflags} %{S:5} -o generate_microcode
 ./generate_microcode microcode.dat
 
 %install
@@ -69,8 +66,10 @@
 for file in intel-ucode/*; do
 install -D -m 0644 $file %{buildroot}/lib/firmware/$file
 done
-mkdir -p  %{buildroot}/usr/lib/modules-load.d
-echo 'microcode'  %{buildroot}/usr/lib/modules-load.d/microcode.conf
+
+%post
+#if this fails, the user must either reboot or reload manually.
+test -f /sys/devices/system/cpu/microcode/reload  /bin/echo 1  
/sys/devices/system/cpu/microcode/reload || exit 0
 
 %clean
 rm -rf $RPM_BUILD_ROOT;
@@ -86,6 +85,5 @@
 /lib/firmware/amd-ucode/microcode_amd_fam*.bin
 %{_mandir}/man8/microcode_ctl.8.gz
 %{_defaultdocdir}/microcode_ctl
-/usr/lib/modules-load.d/microcode.conf
 
 %changelog

++ amd-ucode-2012-01-17.tar.bz2 - amd-ucode-2012-09-10.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/amd-ucode-2012-01-17/INSTALL 
new/amd-ucode-2012-09-10/INSTALL
--- old/amd-ucode-2012-01-17/INSTALL2012-01-17 17:50:09.0 +0100
+++ new/amd-ucode-2012-09-10/INSTALL2012-09-10 10:22:38.0 +0200
@@ -3,10 +3,10 @@
 Linux
 
   # cd /tmp
-  # tar xf /path/to/amd-ucode-2012-01-17.tar
+  # tar xf /path/to/amd-ucode-2012-09-10.tar
   # mkdir -p  /lib/firmware/amd-ucode
-  # mv amd-ucode-2012-01-17/microcode_amd.bin /lib/firmware/amd-ucode
-  # mv amd-ucode-2012-01-17/microcode_amd_fam15h.bin /lib/firmware/amd-ucode
+  # mv amd-ucode-2012-09-10/microcode_amd.bin /lib/firmware/amd-ucode
+  # mv amd-ucode-2012-09-10/microcode_amd_fam15h.bin /lib/firmware/amd-ucode
   # modprobe -r microcode
   # modprobe microcode
 
@@ -14,8 +14,8 @@
 Solaris
 
   # cd /tmp
-  # tar xf /path/to/amd-ucode-2012-01-17.tar
-  # mv amd-ucode-2012-01-17/microcode_amd_solaris.bin 
/platform/i86pc/ucode/amd-ucode.bin
+  # tar xf /path/to/amd-ucode-2012-09-10.tar
+  # mv amd-ucode-2012-09-10/microcode_amd_solaris.bin 
/platform/i86pc/ucode/amd-ucode.bin
 
   and finally
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/amd-ucode-2012-01-17/README 
new/amd-ucode-2012-09-10/README
--- old/amd-ucode-2012-01-17/README 2012-01-17 17:50:09.0 +0100
+++ new/amd-ucode-2012-09-10/README 2012-09-10 10:22:38.0 +0200
@@ -24,7 +24,8 @@
 mc_patch_0327_PUB-v1/mc_patch_0327.asm
 mc_patch_0528_PUB-v3/mc_patch_0528.asm
 mc_patch_0500010D_PUB-v1/mc_patch_0500010D.asm
-mc_patch_06000624_PUB-v1/mc_patch_06000624.asm
+mc_patch_06000629_PUB-v1/mc_patch_06000629.asm
+mc_patch_06001119_PUB-v1/mc_patch_06001119.asm
 
 

commit microcode_ctl for openSUSE:Factory

2012-10-10 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2012-10-10 09:20:11

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2012-06-25 11:50:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2012-10-10 09:23:16.0 +0200
@@ -1,0 +2,6 @@
+Tue Oct  2 13:26:19 UTC 2012 - tr...@suse.de
+
+- Update to Intel microcode 20120606-v2.
+  An fixed version of the previous released one.
+
+---

Old:

  microcode-20120606.tgz

New:

  microcode-20120606-v2.tgz



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.6EFaiV/_old  2012-10-10 09:23:17.0 +0200
+++ /var/tmp/diff_new_pack.6EFaiV/_new  2012-10-10 09:23:17.0 +0200
@@ -16,8 +16,9 @@
 #
 
 
+
 Name:   microcode_ctl
-%define intel_version 20120606
+%define intel_version 20120606-v2
 %define amd_version 2012-01-17
 ExclusiveArch:  %ix86 x86_64
 Url:http://www.urbanmyth.org/microcode/

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2012-06-10 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2012-06-10 23:01:07

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2012-06-06 18:02:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2012-06-10 23:01:09.0 +0200
@@ -1,0 +2,7 @@
+Sat Jun  9 00:04:53 UTC 2012 - crrodrig...@opensuse.org
+
+- Microcode autoload available in recent kernels is not 
+  very useful without this package, use proper Supplements
+  to ensure it gets installed in the supported machines
+
+---



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.NhamN1/_old  2012-06-10 23:01:10.0 +0200
+++ /var/tmp/diff_new_pack.NhamN1/_new  2012-06-10 23:01:10.0 +0200
@@ -33,6 +33,10 @@
 Patch0: microcode.ctl_1.17-13.diff.gz
 Patch1: microcode_ctl-1.17-suse_rh_paths.patch
 Patch2: microcode-ctl-cloexec.patch
+Supplements:modalias(devname:cpu/microcode)
+Supplements:modalias(char-major-10-184)
+Supplements:modalias(x86cpu:vendor:0002:family:*:model:*:feature:*)
+Supplements:modalias(x86cpu:vendor::family:*:model:*:feature:*)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  systemd
 %{?systemd_requires}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2012-06-06 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2012-06-06 18:02:34

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2012-05-03 10:58:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2012-06-06 18:02:39.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun  5 10:04:36 UTC 2012 - cfarr...@suse.com
+
+- license update: GPL-2.0+ and SUSE-Firmware
+  SPDX format
+
+---



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.M8pbdu/_old  2012-06-06 18:02:41.0 +0200
+++ /var/tmp/diff_new_pack.M8pbdu/_new  2012-06-06 18:02:41.0 +0200
@@ -22,7 +22,7 @@
 ExclusiveArch:  %ix86 x86_64
 Url:http://www.urbanmyth.org/microcode/
 Summary:Microcode Updates for Intel and AMD64 x86/x86_64 CPUs
-License:GPL-2.0+ ; the microcode itself has this license: ...
+License:GPL-2.0+ and SUSE-Firmware
 Group:  Hardware/Other
 Version:1.17
 Release:0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2011-12-14 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2011-12-14 14:34:16

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2011-11-23 19:36:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2011-12-14 14:34:18.0 +0100
@@ -1,0 +2,15 @@
+Tue Dec 13 00:31:02 UTC 2011 - crrodrig...@opensuse.org
+
+- Update to microcode 2010 
+- First steps for autoloading, currently only working with systemd
+  * add script that generates microcode in a form understanable
+by the kernel.
+  * add microcode.conf to modules-load.d so the module is
+loaded at boot with systemd which in turn will load
+updated microcode automatically.
+The kernel will in the near future autoload the module when 
+a supported CPU is detected (WIP)
+  * Axe all init scripts and systemd service files. this has
+to be handled in udev/kernel. (WIP)
+
+---

Old:

  microcode-20110915.tar.bz2
  microcode.init
  microcode_ctl.service

New:

  intel-microcode2ucode.c
  microcode-2010.tgz



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.P471w7/_old  2011-12-14 14:34:19.0 +0100
+++ /var/tmp/diff_new_pack.P471w7/_new  2011-12-14 14:34:19.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   microcode_ctl
-%define intel_version 20110915
+%define intel_version 2010
 %define amd_version 2011-01-11
 License:GPLv2+ ; the microcode itself has this license: ...
 ExclusiveArch:  %ix86 x86_64
@@ -29,73 +29,58 @@
 Version:1.17
 Release:127
 Source0:microcode_ctl-%{version}.tar.bz2
-Source1:microcode.init
-Source2:microcode-%{intel_version}.tar.bz2
+Source2:microcode-%{intel_version}.tgz
 Source3:amd-ucode-%{amd_version}.tar.bz2
-Source4:microcode_ctl.service
+Source5:intel-microcode2ucode.c
 Patch0: microcode.ctl_1.17-13.diff.gz
 Patch1: microcode_ctl-1.17-suse_rh_paths.patch
 Patch2: microcode-ctl-cloexec.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Requires(pre):  %insserv_prereq
+BuildRequires:  systemd
+%{?systemd_requires}
 
 %description
 This utility allows updating the microcode of Intel and AMD x86 and x86-64
 CPUs.
 
 %prep
-%setup -q -a 3
+%setup -q -a 3 -a 2
 %patch0 -p1
 %patch1
 %patch2
 
 %build
 make CFLAGS=$RPM_OPT_FLAGS -I.
+cc -fwhole-program %{optflags} %{S:5} -o generate_microcode
+./generate_microcode microcode.dat
 
 %install
-mkdir -p ${RPM_BUILD_ROOT}/etc/init.d
-install -m 0755 %SOURCE1 ${RPM_BUILD_ROOT}/etc/init.d/microcode.ctl
-mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
-ln -s /etc/init.d/microcode.ctl ${RPM_BUILD_ROOT}/usr/sbin/rcmicrocode.ctl
-
 %makeinstall
-bunzip2 -dc %SOURCE2  %{buildroot}/lib/firmware/microcode.dat
-
 # AMD
 install -D -m 0644 amd-ucode-%{amd_version}/microcode_amd.bin 
$RPM_BUILD_ROOT/lib/firmware/amd-ucode/microcode_amd.bin
 install -D -m 0644 amd-ucode-%{amd_version}/README 
$RPM_BUILD_ROOT/%{_defaultdocdir}/microcode_ctl/amd/README
 install -D -m 0644 amd-ucode-%{amd_version}/LICENSE 
$RPM_BUILD_ROOT/%{_defaultdocdir}/microcode_ctl/amd/LICENSE
 install -D -m 0644 amd-ucode-%{amd_version}/INSTALL 
$RPM_BUILD_ROOT/%{_defaultdocdir}/microcode_ctl/amd/INSTALL
-
-install -D -m 0644 %SOURCE4 
%{buildroot}/lib/systemd/system/microcode.ctl.service
-
-%post
-# Install service on affected Intel/AMD machines by default
-# Remove this after openSUSE 11.4 when the kernel can autoload microcode.ko
-
-if grep Intel /proc/cpuinfo  /dev/null ; then
-%{fillup_and_insserv -fY microcode.ctl}
-elif grep -q -i AuthenticAMD /proc/cpuinfo; then
-fam=`head /proc/cpuinfo |sed -n -e 's/cpu family.*: \([0-9]\+\)/\1/p'`
-# Only try to update when family = 16 (0x10, fam 10h)
-if [ $fam -ge 16  /dev/null ];then
-   %{fillup_and_insserv -fY microcode.ctl}
-fi
-fi
+install -D -m 0755 generate_microcode %{buildroot}%{_bindir}/generate_microcode
+for file in intel-ucode/*; do
+install -D -m 0644 $file %{buildroot}/lib/firmware/$file
+done
+mkdir -p  %{buildroot}/usr/lib/modules-load.d
+echo 'microcode'  %{buildroot}/usr/lib/modules-load.d/microcode.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT;
 
 %files
 %defattr(-,root,root)
-/lib/systemd/system/microcode.ctl.service
-/lib/firmware/microcode.dat
+%{_bindir}/generate_microcode
 /sbin/microcode_ctl
-/etc/init.d/microcode.ctl
-/usr/sbin/rcmicrocode.ctl
 %dir 

commit microcode_ctl for openSUSE:Factory

2011-11-23 Thread h_root
Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory 
checked in at 2011-11-23 19:36:50

Comparing /work/SRC/openSUSE:Factory/microcode_ctl (Old)
 and  /work/SRC/openSUSE:Factory/.microcode_ctl.new (New)


Package is microcode_ctl, Maintainer is tr...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/microcode_ctl/microcode_ctl.changes  
2011-10-11 18:21:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.microcode_ctl.new/microcode_ctl.changes 
2011-11-23 19:36:52.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov 22 18:53:50 UTC 2011 - crrodrig...@opensuse.org
+
+- Add a systemd.service in the meanwhile we sort out 
+  if this has to be automatically handled by the kernel
+
+---

New:

  microcode_ctl.service



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.YkfDre/_old  2011-11-23 19:36:54.0 +0100
+++ /var/tmp/diff_new_pack.YkfDre/_new  2011-11-23 19:36:54.0 +0100
@@ -32,6 +32,7 @@
 Source1:microcode.init
 Source2:microcode-%{intel_version}.tar.bz2
 Source3:amd-ucode-%{amd_version}.tar.bz2
+Source4:microcode_ctl.service
 Patch0: microcode.ctl_1.17-13.diff.gz
 Patch1: microcode_ctl-1.17-suse_rh_paths.patch
 Patch2: microcode-ctl-cloexec.patch
@@ -66,6 +67,8 @@
 install -D -m 0644 amd-ucode-%{amd_version}/LICENSE 
$RPM_BUILD_ROOT/%{_defaultdocdir}/microcode_ctl/amd/LICENSE
 install -D -m 0644 amd-ucode-%{amd_version}/INSTALL 
$RPM_BUILD_ROOT/%{_defaultdocdir}/microcode_ctl/amd/INSTALL
 
+install -D -m 0644 %SOURCE4 
%{buildroot}/lib/systemd/system/microcode.ctl.service
+
 %post
 # Install service on affected Intel/AMD machines by default
 # Remove this after openSUSE 11.4 when the kernel can autoload microcode.ko
@@ -85,6 +88,7 @@
 
 %files
 %defattr(-,root,root)
+/lib/systemd/system/microcode.ctl.service
 /lib/firmware/microcode.dat
 /sbin/microcode_ctl
 /etc/init.d/microcode.ctl

++ microcode_ctl.service ++
[Unit]
Description=CPU microcode updater
RefuseManualStop=true
ConditionVirtualization=false
[Service]
Type=oneshot
ExecStartPre=/sbin/modprobe -q microcode
ExecStart=/sbin/microcode_ctl -Qu
RemainAfterExit=true
[Install]
WantedBy=multi-user.target
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2011-10-11 Thread h_root

Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory
checked in at Tue Oct 11 18:21:24 CEST 2011.




--- openSUSE:Factory/microcode_ctl/microcode_ctl.changes2011-09-23 
02:13:02.0 +0200
+++ /mounts/work_src_done/STABLE/microcode_ctl/microcode_ctl.changes
2011-10-11 17:15:30.0 +0200
@@ -1,0 +2,6 @@
+Tue Oct 11 15:14:21 UTC 2011 - crrodrig...@opensuse.org
+
+- Update microcode to 20110915, Intel does not disclose 
+  what this fixes.
+
+---

calling whatdependson for head-i586


Old:

  microcode-20110428.dat.bz2

New:

  microcode-20110915.tar.bz2



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.8CAiYH/_old  2011-10-11 18:21:21.0 +0200
+++ /var/tmp/diff_new_pack.8CAiYH/_new  2011-10-11 18:21:21.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   microcode_ctl
-%define intel_version 20110428
+%define intel_version 20110915
 %define amd_version 2011-01-11
 License:GPLv2+ ; the microcode itself has this license: ...
 ExclusiveArch:  %ix86 x86_64
@@ -30,7 +30,7 @@
 Release:127
 Source0:microcode_ctl-%{version}.tar.bz2
 Source1:microcode.init
-Source2:microcode-%{intel_version}.dat.bz2
+Source2:microcode-%{intel_version}.tar.bz2
 Source3:amd-ucode-%{amd_version}.tar.bz2
 Patch0: microcode.ctl_1.17-13.diff.gz
 Patch1: microcode_ctl-1.17-suse_rh_paths.patch

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2011-06-28 Thread h_root

Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory
checked in at Tue Jun 28 09:55:58 CEST 2011.




--- microcode_ctl/microcode_ctl.changes 2011-05-22 04:08:15.0 +0200
+++ /mounts/work_src_done/STABLE/microcode_ctl/microcode_ctl.changes
2011-06-27 16:58:59.0 +0200
@@ -1,0 +2,6 @@
+Sun Jun 26 20:46:37 UTC 2011 - a...@suse.de
+
+- Update microcode to 20110428, Intel does not disclose
+  what this fixes.
+
+---

calling whatdependson for head-i586


Old:

  microcode-20101123.dat.bz2

New:

  microcode-20110428.dat.bz2



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.MAUJzg/_old  2011-06-28 09:55:50.0 +0200
+++ /var/tmp/diff_new_pack.MAUJzg/_new  2011-06-28 09:55:50.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   microcode_ctl
-%define intel_version 20101123
+%define intel_version 20110428
 %define amd_version 2011-01-11
 License:GPLv2+ ; the microcode itself has this license: ...
 ExclusiveArch:  %ix86 x86_64
@@ -27,7 +27,7 @@
 Group:  Hardware/Other
 Summary:Microcode Updates for Intel CPUs
 Version:1.17
-Release:125
+Release:127
 Source0:microcode_ctl-%{version}.tar.bz2
 Source1:microcode.init
 Source2:microcode-%{intel_version}.dat.bz2






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2011-05-23 Thread h_root

Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory
checked in at Mon May 23 15:03:59 CEST 2011.




--- microcode_ctl/microcode_ctl.changes 2011-05-10 04:05:58.0 +0200
+++ /mounts/work_src_done/STABLE/microcode_ctl/microcode_ctl.changes
2011-05-22 04:08:15.0 +0200
@@ -1,0 +2,5 @@
+Sun May 22 02:07:20 UTC 2011 - crrodrig...@opensuse.org
+
+- Open all FD with O_CLOEXEC 
+
+---

calling whatdependson for head-i586


New:

  microcode-ctl-cloexec.patch



Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.IjhmCe/_old  2011-05-23 14:50:05.0 +0200
+++ /var/tmp/diff_new_pack.IjhmCe/_new  2011-05-23 14:50:05.0 +0200
@@ -27,13 +27,14 @@
 Group:  Hardware/Other
 Summary:Microcode Updates for Intel CPUs
 Version:1.17
-Release:123
+Release:125
 Source0:microcode_ctl-%{version}.tar.bz2
 Source1:microcode.init
 Source2:microcode-%{intel_version}.dat.bz2
 Source3:amd-ucode-%{amd_version}.tar.bz2
 Patch0: microcode.ctl_1.17-13.diff.gz
 Patch1: microcode_ctl-1.17-suse_rh_paths.patch
+Patch2: microcode-ctl-cloexec.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires(pre):  %insserv_prereq
 
@@ -45,6 +46,7 @@
 %setup -q -a 3
 %patch0 -p1
 %patch1
+%patch2
 
 %build
 make CFLAGS=$RPM_OPT_FLAGS -I.


++ microcode-ctl-cloexec.patch ++
--- microcode_ctl.c.orig
+++ microcode_ctl.c
@@ -10,6 +10,7 @@
  *
  */
 
+#define _GNU_SOURCE
 #include fcntl.h
 #include stdio.h
 #include stdlib.h
@@ -66,7 +67,7 @@ static int do_update(char *device, char
return ENOMEM;
}
 
-   if( (fp=fopen(filename, r)) == NULL){
+   if( (fp=fopen(filename, re)) == NULL){
if(print_error_messages)
fprintf(stderr,
%s: cannot open source file '%s' errno=%d 
(%s)\n,
@@ -117,7 +118,7 @@ static int do_update(char *device, char
if(print_normal_messages)
fprintf(stderr, %s: writing microcode (length: %d)\n,  
progname, length);

-   if((outfd = open(device, O_WRONLY)) == -1){
+   if((outfd = open(device, O_WRONLY|O_CLOEXEC)) == -1){
if(print_error_messages)
fprintf(stderr, %s: cannot open %s for writing 
errno=%d (%s)\n,
progname, device, errno, strerror(errno));





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit microcode_ctl for openSUSE:Factory

2011-05-10 Thread h_root

Hello community,

here is the log from the commit of package microcode_ctl for openSUSE:Factory
checked in at Tue May 10 09:15:04 CEST 2011.




--- microcode_ctl/microcode_ctl.changes 2011-01-18 15:20:00.0 +0100
+++ /mounts/work_src_done/STABLE/microcode_ctl/microcode_ctl.changes
2011-05-10 04:05:58.0 +0200
@@ -1,0 +2,6 @@
+Tue May 10 02:04:01 UTC 2011 - crrodrig...@opensuse.org
+
+- microcode.init, do not load microcode on Virtual Machines
+  ugly error messages shown in syslog otherwise.
+
+---

calling whatdependson for head-i586




Other differences:
--
++ microcode_ctl.spec ++
--- /var/tmp/diff_new_pack.UfsFyT/_old  2011-05-10 09:14:47.0 +0200
+++ /var/tmp/diff_new_pack.UfsFyT/_new  2011-05-10 09:14:47.0 +0200
@@ -27,7 +27,7 @@
 Group:  Hardware/Other
 Summary:Microcode Updates for Intel CPUs
 Version:1.17
-Release:117
+Release:123
 Source0:microcode_ctl-%{version}.tar.bz2
 Source1:microcode.init
 Source2:microcode-%{intel_version}.dat.bz2


++ microcode.init ++
--- /var/tmp/diff_new_pack.UfsFyT/_old  2011-05-10 09:14:48.0 +0200
+++ /var/tmp/diff_new_pack.UfsFyT/_new  2011-05-10 09:14:48.0 +0200
@@ -24,7 +24,12 @@
 do_start()
 {
 echo -n Checking/updating CPU microcode 
-if grep -q -i intel /proc/cpuinfo \
+
+if test -x /usr/sbin/dmidecode \
+ /usr/sbin/dmidecode -s system-product-name \
+| grep -q -i -P \b(?:VirtualBox|VMware|Bochs|Parallels|Qemu)\b; then
+rc_status -u
+elif grep -q -i intel /proc/cpuinfo \
  /sbin/modinfo microcode  /dev/null; then
 /sbin/modprobe -q microcode
 /sbin/microcode_ctl -Qu






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org