openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
May 2015
- 1 participants
- 1756 discussions
Hello community,
here is the log from the commit of package libinput for openSUSE:Factory checked in at 2015-05-02 17:33:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libinput (Old)
and /work/SRC/openSUSE:Factory/.libinput.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libinput"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libinput/libinput.changes 2015-04-10 09:49:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libinput.new/libinput.changes 2015-05-02 17:33:08.000000000 +0200
@@ -1,0 +2,29 @@
+Wed Apr 22 14:37:33 UTC 2015 - zaitor(a)opensuse.org
+
+- Update to version 0.14.1:
+ * libinput now provides middle button emulation for physical
+ buttons and, for some devices, a configuration interface to
+ enable said emulation.
+ * A new tool "libinput-list-devices" was added. This tool lists
+ the locally recognised devices and their respective
+ configuration options and configuration defaults. Note that due
+ to the design of libinput, this tool can only show the
+ _default_ configurations, not the _current_ configuration of
+ each device.
+ * The pointer acceleration range has been widened to allow for
+ greater deceleration and greater acceleration. Since we retain
+ the [-1, 1] range, you may see a slight slowdown or speedup. To
+ get the previous behaviour, use the value: current setting *
+ 2.0/3.0.
+ * Five (or more) finger tapping is now handled correctly, though
+ note we only send events for up to three fingers. libinput now
+ supports multi-tap and drag, so e.g. three taps will execute a
+ triple-click.
+ * Palm detection now avoids accidental tapping, see
+ http://wayland.freedesktop.org/libinput/doc/latest/palm_detection.html
+ * And of course the usual bugfixing, including letting libinput
+ handle more devices such as keyboards with scroll wheels or
+ devices that only consist of a wheel.
+- Add tool subpackage.
+
+-------------------------------------------------------------------
Old:
----
libinput-0.13.0.tar.xz
libinput-0.13.0.tar.xz.sig
New:
----
libinput-0.14.1.tar.xz
libinput-0.14.1.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libinput.spec ++++++
--- /var/tmp/diff_new_pack.S8Rbst/_old 2015-05-02 17:33:09.000000000 +0200
+++ /var/tmp/diff_new_pack.S8Rbst/_new 2015-05-02 17:33:09.000000000 +0200
@@ -18,8 +18,8 @@
Name: libinput
%define lname libinput10
-%define rversion 0.13.0
-Version: 0.13
+%define rversion 0.14.1
+Version: 0.14
Release: 0
Summary: Input device and event processing library
License: HPND
@@ -77,6 +77,14 @@
code the user of libinput need to provide the common set of
functionality that users expect.
+%package tools
+Summary: Utilities to display libinput configuration
+Group: System/X11/Utilities
+
+%description tools
+This tool lists the locally recognised devices and their respective
+configuration options and configuration defaults.
+
%package devel
Summary: Development files for the Wayland Input Device Library
Group: Development/Libraries/C and C++
@@ -124,6 +132,11 @@
%defattr(-,root,root)
%_libdir/libinput.so.10*
+%files tools
+%defattr(-,root,root)
+%_bindir/libinput-list-devices
+%_mandir/man1/libinput-list-devices.1.gz
+
%files devel
%defattr(-,root,root)
%_includedir/%name/
++++++ libinput-0.13.0.tar.xz -> libinput-0.14.1.tar.xz ++++++
++++ 11814 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package qemu-testsuite for openSUSE:Factory checked in at 2015-05-02 17:32:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qemu-testsuite (Old)
and /work/SRC/openSUSE:Factory/.qemu-testsuite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qemu-testsuite"
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
_link
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
<link package="qemu" cicount="copy" />
1
0
Hello community,
here is the log from the commit of package qemu for openSUSE:Factory checked in at 2015-05-02 17:31:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qemu (Old)
and /work/SRC/openSUSE:Factory/.qemu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qemu"
Changes:
--------
--- /work/SRC/openSUSE:Factory/qemu/libcacard.changes 2015-03-16 06:56:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/libcacard.changes 2015-05-02 17:31:33.000000000 +0200
@@ -1,0 +2,123 @@
+Wed Apr 29 14:53:51 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0: See http://wiki.qemu-project.org/ChangeLog/2.3
+
+-------------------------------------------------------------------
+Wed Apr 22 10:59:13 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc4: See http://wiki.qemu-project.org/ChangeLog/2.3
+
+-------------------------------------------------------------------
+Wed Apr 15 00:34:56 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches added:
+ 0039-s390x-Fix-stoc-direction.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 16:06:47 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (applied upstream):
+ 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+* Patches renamed:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch -> 0037-linux-user-Allocate-thunk-size-dyna.patch
+* Patches added:
+ 0038-Revert-Revert-seccomp-tests-that-al.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 15:19:42 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix qemu-linux-user on powerpc
+* Patches added:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch
+
+-------------------------------------------------------------------
+Sat Apr 11 13:15:55 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0030-net-Warn-about-default-MAC-address.patch
+* Patches renamed:
+ 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch
+ 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch
+ 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch
+ 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch
+ 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch
+ 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch
+ 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+
+-------------------------------------------------------------------
+Wed Apr 8 20:47:40 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches added:
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+
+-------------------------------------------------------------------
+Wed Apr 8 13:10:27 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Thu Mar 26 14:49:44 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (upstreamed):
+ 0038-linux-user-Fix-emulation-of-splice-.patch
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+ 0045-linux-user-fix-broken-cpu_copy.patch
+* Patches renamed:
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch -> 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch -> 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Mon Mar 23 13:20:39 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches added:
+ 0045-linux-user-fix-broken-cpu_copy.patch
+
+-------------------------------------------------------------------
+Sat Mar 21 18:32:17 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0044-rcutorture-fix-compilation-on-32-bi.patch
+* Patches added:
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Sat Mar 21 16:07:36 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches added:
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0044-rcutorture-fix-compilation-on-32-bi.patch
+
+-------------------------------------------------------------------
+Fri Mar 20 15:03:16 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch
+* Patches added:
+ 0030-net-Warn-about-default-MAC-address.patch
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/qemu/qemu-linux-user.changes 2015-03-16 06:56:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/qemu-linux-user.changes 2015-05-02 17:31:33.000000000 +0200
@@ -1,0 +2,123 @@
+Wed Apr 29 14:53:51 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0: See http://wiki.qemu-project.org/ChangeLog/2.3
+
+-------------------------------------------------------------------
+Wed Apr 22 10:59:13 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc4: See http://wiki.qemu-project.org/ChangeLog/2.3
+
+-------------------------------------------------------------------
+Wed Apr 15 00:34:53 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix s390x stoc instructions
+ 0039-s390x-Fix-stoc-direction.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 16:06:43 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (applied upstream):
+ 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+* Patches renamed:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch -> 0037-linux-user-Allocate-thunk-size-dyna.patch
+* Patches added:
+ 0038-Revert-Revert-seccomp-tests-that-al.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 15:19:39 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix qemu-linux-user on powerpc
+* Patches added:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch
+
+-------------------------------------------------------------------
+Sat Apr 11 13:15:51 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0030-net-Warn-about-default-MAC-address.patch
+* Patches renamed:
+ 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch
+ 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch
+ 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch
+ 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch
+ 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch
+ 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch
+ 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+
+-------------------------------------------------------------------
+Wed Apr 8 20:47:36 UTC 2015 - afaerber(a)suse.de
+
+- Fix 64-bit TCG stores on 32-bit Big Endian hosts (ppc)
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+
+-------------------------------------------------------------------
+Wed Apr 8 13:10:27 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Thu Mar 26 14:49:43 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (upstreamed):
+ 0038-linux-user-Fix-emulation-of-splice-.patch
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+ 0045-linux-user-fix-broken-cpu_copy.patch
+* Patches renamed:
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch -> 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch -> 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Mon Mar 23 13:20:35 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix cpu_copy() not actually copying the CPU state
+ 0045-linux-user-fix-broken-cpu_copy.patch
+
+-------------------------------------------------------------------
+Sat Mar 21 18:32:13 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0044-rcutorture-fix-compilation-on-32-bi.patch
+* Patches added:
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Sat Mar 21 16:07:32 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches added:
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0044-rcutorture-fix-compilation-on-32-bi.patch
+
+-------------------------------------------------------------------
+Fri Mar 20 15:03:16 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped:
+ 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch
+* Patches added:
+ 0030-net-Warn-about-default-MAC-address.patch
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+
+-------------------------------------------------------------------
New Changes file:
--- /dev/null 2015-04-29 01:05:10.436023256 +0200
+++ /work/SRC/openSUSE:Factory/.qemu.new/qemu-testsuite.changes 2015-05-02 17:31:33.000000000 +0200
@@ -0,0 +1,2044 @@
+-------------------------------------------------------------------
+Wed Apr 29 14:53:51 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0: See http://wiki.qemu-project.org/ChangeLog/2.3
+- Disable iotests for now
+
+-------------------------------------------------------------------
+Wed Apr 22 10:59:13 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc4: See http://wiki.qemu-project.org/ChangeLog/2.3
+
+-------------------------------------------------------------------
+Mon Apr 20 16:43:58 UTC 2015 - afaerber(a)suse.de
+
+- Update seabios_avoid_smbios_signature_string.patch with version
+ applied upstream
+
+-------------------------------------------------------------------
+Wed Apr 15 00:34:50 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix s390x stoc instructions
+ 0039-s390x-Fix-stoc-direction.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 16:06:39 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (applied upstream):
+ 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+* Patches renamed:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch -> 0037-linux-user-Allocate-thunk-size-dyna.patch
+* Revert -rc3 change to disable seccomp on non-x86 architectures
+ 0038-Revert-Revert-seccomp-tests-that-al.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 15:19:36 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix qemu-linux-user on powerpc
+* Patches added:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch
+
+-------------------------------------------------------------------
+Sat Apr 11 13:15:47 UTC 2015 - afaerber(a)suse.de
+
+- Split off qemu-testsuite.spec
+* Package check-report.html and check-report.xml
+* Enable quick iotests
+- Dropped 0030-net-Warn-about-default-MAC-address.patch
+ The warning is relevant only for bridged setups, not for the
+ default SLIRP based -net user / -netdev user setup,
+ and it breaks output expectations of some iotests.
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches renamed:
+ 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch
+ 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch
+ 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch
+ 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch
+ 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch
+ 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch
+ 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+- Re-enable glusterfs on Factory (updated from v3.6.1 to v3.6.2)
+- Re-enable seccomp for armv7l (libseccomp submission pending)
+
+-------------------------------------------------------------------
+Fri Apr 10 08:59:34 UTC 2015 - afaerber(a)suse.de
+
+- Suppress seccomp for Factory armv7l (broken in libseccomp v2.2.0)
+- Disable glusterfs explicitly on Factory, SLE12 and before 13.1
+
+-------------------------------------------------------------------
+Thu Apr 9 15:13:44 UTC 2015 - afaerber(a)suse.de
+
+- Enable glusterfs and package as qemu-block-gluster
+ glusterfs post-v3.5.3 and v3.6.1/v3.6.2 have switched the
+ glusterfs-api.pc version incompatibly, so only 13.1+13.2 for now
+- Use macro for module Conflicts
+
+-------------------------------------------------------------------
+Thu Apr 9 12:21:07 UTC 2015 - afaerber(a)suse.de
+
+- Tidy configure options:
+* Move --enable-modules to build options
+* Sort libusb alphabetically
+* Explicitly enable attr, bluez, fdt, lzo, tpm, vhdx, vhost-net,
+ vnc, xen-pci-passthrough
+* Enable bzip2
+* Enable libssh2 where possible and package as qemu-block-ssh
+* Enable numa where a compatible numactl is available
+* Enable quorum where a compatible gnutls is available
+* Enable snappy where possible
+* Prepare to enable glusterfs
+* Explicitly enable the nop tracing backend (to be revisited)
+* Explicitly disable Archipelago, as we don't have libxseg and it's
+ incompatibly GPL-3.0+
+* Explicitly disable libiscsi, libnfs, netmap and rbd
+ as we don't have packages
+* Drop deprecated --enable-virtio-blk-data-plane (now default)
+
+-------------------------------------------------------------------
+Wed Apr 8 20:47:32 UTC 2015 - afaerber(a)suse.de
+
+- Fix 64-bit TCG stores on 32-bit Big Endian hosts (ppc)
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+
+-------------------------------------------------------------------
+Wed Apr 8 13:10:26 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (upstreamed):
+ 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Sat Mar 28 00:13:05 UTC 2015 - brogers(a)suse.com
+
+- make check was failing due to a bogus SMBIOS signature being
+ encountered within SeaBIOS. Avoid having that signature stored
+ randomly within the SeaBIOS image.
+* seabios_avoid_smbios_signature_string.patch
+
+-------------------------------------------------------------------
+Thu Mar 26 14:49:43 UTC 2015 - afaerber(a)suse.de
+
+- Build x86 firmware only from 13.1 on (11.4 was broken, surpassing 128 KB)
+- Update to v2.3.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (upstreamed):
+ 0038-linux-user-Fix-emulation-of-splice-.patch
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+ 0045-linux-user-fix-broken-cpu_copy.patch
+* Patches renamed:
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch -> 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch -> 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Mon Mar 23 13:20:31 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches added:
+ 0045-linux-user-fix-broken-cpu_copy.patch
+
+-------------------------------------------------------------------
+Sat Mar 21 16:07:28 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Make test path for fw_cfg-test unique (including architecture)
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch
+* Fix rcu tests build on ppc (undefined reference to `__sync_fetch_and_add_8')
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch
+- Fix typo in SeaBIOS size check
+ seabios_checkrom_typo.patch
+
+-------------------------------------------------------------------
+Fri Mar 20 15:03:16 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Updated update_git.sh accordingly
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* seabios_128kb.patch: Added patch to squeeze SeaBIOS into 128 KB
+ with our gcc 4.8.3 (brogers(a)suse.com)
+- Renamed 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch to
+ 0030-net-Warn-about-default-MAC-address.patch:
+ Suppress warning for accel=qtest, to sanitize make check results.
+- Added patches to fix ahci-test:
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+
+-------------------------------------------------------------------
+Sun Mar 1 12:50:44 UTC 2015 - afaerber(a)suse.de
+
+- Update company name in spec file templates
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.2
+* Patches added:
+ 0038-linux-user-Fix-emulation-of-splice-.patch
+
+-------------------------------------------------------------------
+Sun Feb 22 15:59:23 UTC 2015 - mpluskal(a)suse.com
+
+- Add user kvm when installing guest-agent.
+- Use macro to update udev_rules when available
+
+-------------------------------------------------------------------
+Wed Feb 11 17:56:26 UTC 2015 - afaerber(a)suse.de
+
+- Fix packaging of e500 U-Boot
+- Don't rely on wildcard with explicit excludes
++++ 1847 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.qemu.new/qemu-testsuite.changes
--- /work/SRC/openSUSE:Factory/qemu/qemu.changes 2015-03-16 06:56:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/qemu.changes 2015-05-02 17:31:33.000000000 +0200
@@ -1,0 +2,178 @@
+Wed Apr 29 14:53:51 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0: See http://wiki.qemu-project.org/ChangeLog/2.3
+- Disable iotests for now
+
+-------------------------------------------------------------------
+Wed Apr 22 10:59:13 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc4: See http://wiki.qemu-project.org/ChangeLog/2.3
+
+-------------------------------------------------------------------
+Mon Apr 20 16:43:58 UTC 2015 - afaerber(a)suse.de
+
+- Update seabios_avoid_smbios_signature_string.patch with version
+ applied upstream
+
+-------------------------------------------------------------------
+Wed Apr 15 00:34:50 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix s390x stoc instructions
+ 0039-s390x-Fix-stoc-direction.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 16:06:39 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc3: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (applied upstream):
+ 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+* Patches renamed:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch -> 0037-linux-user-Allocate-thunk-size-dyna.patch
+* Revert -rc3 change to disable seccomp on non-x86 architectures
+ 0038-Revert-Revert-seccomp-tests-that-al.patch
+
+-------------------------------------------------------------------
+Tue Apr 14 15:19:36 UTC 2015 - agraf(a)suse.com
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+- Fix qemu-linux-user on powerpc
+* Patches added:
+ 0038-linux-user-Allocate-thunk-size-dyna.patch
+
+-------------------------------------------------------------------
+Sat Apr 11 13:15:47 UTC 2015 - afaerber(a)suse.de
+
+- Split off qemu-testsuite.spec
+* Package check-report.html and check-report.xml
+* Enable quick iotests
+- Dropped 0030-net-Warn-about-default-MAC-address.patch
+ The warning is relevant only for bridged setups, not for the
+ default SLIRP based -net user / -netdev user setup,
+ and it breaks output expectations of some iotests.
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches renamed:
+ 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch
+ 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch
+ 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch
+ 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch
+ 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch
+ 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch
+ 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch -> 0037-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+- Re-enable glusterfs on Factory (updated from v3.6.1 to v3.6.2)
+- Re-enable seccomp for armv7l (libseccomp submission pending)
+
+-------------------------------------------------------------------
+Fri Apr 10 08:59:34 UTC 2015 - afaerber(a)suse.de
+
+- Suppress seccomp for Factory armv7l (broken in libseccomp v2.2.0)
+- Disable glusterfs explicitly on Factory, SLE12 and before 13.1
+
+-------------------------------------------------------------------
+Thu Apr 9 15:13:44 UTC 2015 - afaerber(a)suse.de
+
+- Enable glusterfs and package as qemu-block-gluster
+ glusterfs post-v3.5.3 and v3.6.1/v3.6.2 have switched the
+ glusterfs-api.pc version incompatibly, so only 13.1+13.2 for now
+- Use macro for module Conflicts
+
+-------------------------------------------------------------------
+Thu Apr 9 12:21:07 UTC 2015 - afaerber(a)suse.de
+
+- Tidy configure options:
+* Move --enable-modules to build options
+* Sort libusb alphabetically
+* Explicitly enable attr, bluez, fdt, lzo, tpm, vhdx, vhost-net,
+ vnc, xen-pci-passthrough
+* Enable bzip2
+* Enable libssh2 where possible and package as qemu-block-ssh
+* Enable numa where a compatible numactl is available
+* Enable quorum where a compatible gnutls is available
+* Enable snappy where possible
+* Prepare to enable glusterfs
+* Explicitly enable the nop tracing backend (to be revisited)
+* Explicitly disable Archipelago, as we don't have libxseg and it's
+ incompatibly GPL-3.0+
+* Explicitly disable libiscsi, libnfs, netmap and rbd
+ as we don't have packages
+* Drop deprecated --enable-virtio-blk-data-plane (now default)
+
+-------------------------------------------------------------------
+Wed Apr 8 20:47:32 UTC 2015 - afaerber(a)suse.de
+
+- Fix 64-bit TCG stores on 32-bit Big Endian hosts (ppc)
+ 0038-tcg-tcg-op.c-Fix-ld-st-of-64-bit-va.patch
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+
+-------------------------------------------------------------------
+Wed Apr 8 13:10:26 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc2: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (upstreamed):
+ 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Sat Mar 28 00:13:05 UTC 2015 - brogers(a)suse.com
+
+- make check was failing due to a bogus SMBIOS signature being
+ encountered within SeaBIOS. Avoid having that signature stored
+ randomly within the SeaBIOS image.
+* seabios_avoid_smbios_signature_string.patch
+
+-------------------------------------------------------------------
+Thu Mar 26 14:49:43 UTC 2015 - afaerber(a)suse.de
+
+- Build x86 firmware only from 13.1 on (11.4 was broken, surpassing 128 KB)
+- Update to v2.3.0-rc1: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches dropped (upstreamed):
+ 0038-linux-user-Fix-emulation-of-splice-.patch
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+ 0045-linux-user-fix-broken-cpu_copy.patch
+* Patches renamed:
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch -> 0038-fw_cfg-test-Fix-test-path-to-includ.patch
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch -> 0039-rcu-tests-fix-compilation-on-32-bit.patch
+
+-------------------------------------------------------------------
+Mon Mar 23 13:20:31 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Patches added:
+ 0045-linux-user-fix-broken-cpu_copy.patch
+
+-------------------------------------------------------------------
+Sat Mar 21 16:07:28 UTC 2015 - afaerber(a)suse.de
+
+- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* Make test path for fw_cfg-test unique (including architecture)
+ 0043-fw_cfg-test-Fix-test-path-to-includ.patch
+* Fix rcu tests build on ppc (undefined reference to `__sync_fetch_and_add_8')
+ 0044-rcu-tests-fix-compilation-on-32-bit.patch
+- Fix typo in SeaBIOS size check
+ seabios_checkrom_typo.patch
+
+-------------------------------------------------------------------
+Fri Mar 20 15:03:16 UTC 2015 - afaerber(a)suse.de
+
+- Update to v2.3.0-rc0: See http://wiki.qemu-project.org/ChangeLog/2.3
+* Updated update_git.sh accordingly
+* Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.3
+* seabios_128kb.patch: Added patch to squeeze SeaBIOS into 128 KB
+ with our gcc 4.8.3 (brogers(a)suse.com)
+- Renamed 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch to
+ 0030-net-Warn-about-default-MAC-address.patch:
+ Suppress warning for accel=qtest, to sanitize make check results.
+- Added patches to fix ahci-test:
+ 0039-ide-fix-cmd_write_pio-when-nsectors.patch
+ 0040-ide-fix-cmd_read_pio-when-nsectors-.patch
+ 0041-ahci-Fix-sglist-offset-manipulation.patch
+ 0042-ahci-test-improve-rw-buffer-pattern.patch
+
+-------------------------------------------------------------------
Old:
----
0030-Legacy-Patch-kvm-qemu-preXX-report-.patch
0031-console-add-question-mark-escape-op.patch
0032-Make-char-muxer-more-robust-wrt-sma.patch
0033-linux-user-lseek-explicitly-cast-no.patch
0034-virtfs-proxy-helper-Provide-__u64-f.patch
0035-configure-Enable-PIE-for-ppc-and-pp.patch
0036-qtest-Increase-socket-timeout.patch
0037-AIO-Reduce-number-of-threads-for-32.patch
0038-linux-user-Fix-emulation-of-splice-.patch
qemu-2.2.0.tar.bz2
qemu-2.2.0.tar.bz2.sig
New:
----
0030-console-add-question-mark-escape-op.patch
0031-Make-char-muxer-more-robust-wrt-sma.patch
0032-linux-user-lseek-explicitly-cast-no.patch
0033-virtfs-proxy-helper-Provide-__u64-f.patch
0034-configure-Enable-PIE-for-ppc-and-pp.patch
0035-qtest-Increase-socket-timeout.patch
0036-AIO-Reduce-number-of-threads-for-32.patch
0037-linux-user-Allocate-thunk-size-dyna.patch
0038-Revert-Revert-seccomp-tests-that-al.patch
0039-s390x-Fix-stoc-direction.patch
pre_checkin.sh
qemu-2.3.0.tar.bz2
qemu-2.3.0.tar.bz2.sig
qemu-testsuite.changes
qemu-testsuite.spec
seabios_128kb.patch
seabios_avoid_smbios_signature_string.patch
seabios_checkrom_typo.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libcacard.spec ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -21,9 +21,9 @@
Summary: Universal CPU emulator
License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT
Group: System/Emulators/PC
-Version: 2.2.0
+Version: 2.3.0
Release: 0
-Source: http://wiki.qemu.org/download/qemu-2.2.0.tar.bz2
+Source: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch
Patch0002: 0002-XXX-work-around-SA_RESTART-race-wit.patch
@@ -54,15 +54,16 @@
Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch
Patch0028: 0028-block-Add-tar-container-format.patch
Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch
-Patch0030: 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch
-Patch0031: 0031-console-add-question-mark-escape-op.patch
-Patch0032: 0032-Make-char-muxer-more-robust-wrt-sma.patch
-Patch0033: 0033-linux-user-lseek-explicitly-cast-no.patch
-Patch0034: 0034-virtfs-proxy-helper-Provide-__u64-f.patch
-Patch0035: 0035-configure-Enable-PIE-for-ppc-and-pp.patch
-Patch0036: 0036-qtest-Increase-socket-timeout.patch
-Patch0037: 0037-AIO-Reduce-number-of-threads-for-32.patch
-Patch0038: 0038-linux-user-Fix-emulation-of-splice-.patch
+Patch0030: 0030-console-add-question-mark-escape-op.patch
+Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch
+Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch
+Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch
+Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch
+Patch0035: 0035-qtest-Increase-socket-timeout.patch
+Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch
+Patch0037: 0037-linux-user-Allocate-thunk-size-dyna.patch
+Patch0038: 0038-Revert-Revert-seccomp-tests-that-al.patch
+Patch0039: 0039-s390x-Fix-stoc-direction.patch
# Please do not add patches manually here, run update_git.sh.
# this is to make lint happy
Source300: qemu-rpmlintrc
@@ -121,7 +122,7 @@
This sub-package contains development files for the Smartcard library.
%prep
-%setup -q -n qemu-%{version}
+%setup -q -n qemu-2.3.0
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
@@ -160,6 +161,7 @@
%patch0036 -p1
%patch0037 -p1
%patch0038 -p1
+%patch0039 -p1
%build
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \
++++++ qemu-linux-user.spec ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -21,9 +21,9 @@
Summary: Universal CPU emulator
License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT
Group: System/Emulators/PC
-Version: 2.2.0
+Version: 2.3.0
Release: 0
-Source: http://wiki.qemu.org/download/qemu-2.2.0.tar.bz2
+Source: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch
Patch0002: 0002-XXX-work-around-SA_RESTART-race-wit.patch
@@ -54,15 +54,16 @@
Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch
Patch0028: 0028-block-Add-tar-container-format.patch
Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch
-Patch0030: 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch
-Patch0031: 0031-console-add-question-mark-escape-op.patch
-Patch0032: 0032-Make-char-muxer-more-robust-wrt-sma.patch
-Patch0033: 0033-linux-user-lseek-explicitly-cast-no.patch
-Patch0034: 0034-virtfs-proxy-helper-Provide-__u64-f.patch
-Patch0035: 0035-configure-Enable-PIE-for-ppc-and-pp.patch
-Patch0036: 0036-qtest-Increase-socket-timeout.patch
-Patch0037: 0037-AIO-Reduce-number-of-threads-for-32.patch
-Patch0038: 0038-linux-user-Fix-emulation-of-splice-.patch
+Patch0030: 0030-console-add-question-mark-escape-op.patch
+Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch
+Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch
+Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch
+Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch
+Patch0035: 0035-qtest-Increase-socket-timeout.patch
+Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch
+Patch0037: 0037-linux-user-Allocate-thunk-size-dyna.patch
+Patch0038: 0038-Revert-Revert-seccomp-tests-that-al.patch
+Patch0039: 0039-s390x-Fix-stoc-direction.patch
# Please do not add patches manually here, run update_git.sh.
# this is to make lint happy
Source300: qemu-rpmlintrc
@@ -115,7 +116,7 @@
run cross-architecture builds.
%prep
-%setup -q -n qemu-2.2.0
+%setup -q -n qemu-2.3.0
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
@@ -154,6 +155,7 @@
%patch0036 -p1
%patch0037 -p1
%patch0038 -p1
+%patch0039 -p1
%build
./configure --prefix=%_prefix --sysconfdir=%_sysconfdir \
++++++ qemu-testsuite.spec ++++++
++++ 1063 lines (skipped)
++++++ qemu.spec ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -18,7 +18,7 @@
%ifarch %ix86 x86_64
# choice of building all from source or using provided binary x86 blobs
-%if 0%{?suse_version} >= 1140
+%if 0%{?suse_version} >= 1310
%define build_x86_fw_from_source 1
%else
%define build_x86_fw_from_source 0
@@ -43,10 +43,10 @@
Summary: Universal CPU emulator
License: BSD-3-Clause and GPL-2.0 and GPL-2.0+ and LGPL-2.1+ and MIT
Group: System/Emulators/PC
-Version: 2.2.0
+Version: 2.3.0
Release: 0
-Source: http://wiki.qemu.org/download/%name-2.2.0.tar.bz2
-Source99: http://wiki.qemu.org/download/%name-2.2.0.tar.bz2.sig
+Source: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2
+Source99: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2.sig
Source1: 80-kvm.rules
Source2: qemu-ifup
Source3: kvm_stat
@@ -54,6 +54,7 @@
Source5: 60-kvm.rules
Source6: ksm.service
Source7: 60-kvm.x86.rules
+# Upstream First -- http://wiki.qemu-project.org/Contribute/SubmitAPatch
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
Patch0001: 0001-XXX-dont-dump-core-on-sigabort.patch
Patch0002: 0002-XXX-work-around-SA_RESTART-race-wit.patch
@@ -84,16 +85,27 @@
Patch0027: 0027-block-Add-support-for-DictZip-enabl.patch
Patch0028: 0028-block-Add-tar-container-format.patch
Patch0029: 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch
-Patch0030: 0030-Legacy-Patch-kvm-qemu-preXX-report-.patch
-Patch0031: 0031-console-add-question-mark-escape-op.patch
-Patch0032: 0032-Make-char-muxer-more-robust-wrt-sma.patch
-Patch0033: 0033-linux-user-lseek-explicitly-cast-no.patch
-Patch0034: 0034-virtfs-proxy-helper-Provide-__u64-f.patch
-Patch0035: 0035-configure-Enable-PIE-for-ppc-and-pp.patch
-Patch0036: 0036-qtest-Increase-socket-timeout.patch
-Patch0037: 0037-AIO-Reduce-number-of-threads-for-32.patch
-Patch0038: 0038-linux-user-Fix-emulation-of-splice-.patch
-# Please do not add patches manually here, run update_git.sh.
+Patch0030: 0030-console-add-question-mark-escape-op.patch
+Patch0031: 0031-Make-char-muxer-more-robust-wrt-sma.patch
+Patch0032: 0032-linux-user-lseek-explicitly-cast-no.patch
+Patch0033: 0033-virtfs-proxy-helper-Provide-__u64-f.patch
+Patch0034: 0034-configure-Enable-PIE-for-ppc-and-pp.patch
+Patch0035: 0035-qtest-Increase-socket-timeout.patch
+Patch0036: 0036-AIO-Reduce-number-of-threads-for-32.patch
+Patch0037: 0037-linux-user-Allocate-thunk-size-dyna.patch
+Patch0038: 0038-Revert-Revert-seccomp-tests-that-al.patch
+Patch0039: 0039-s390x-Fix-stoc-direction.patch
+# Please do not add QEMU patches manually here.
+# Run update_git.sh to regenerate this queue.
+
+# SeaBIOS
+%if %{build_x86_fw_from_source}
+# PATCH-FIX-OPENSUSE seabios_128kb.patch brogers(a)suse.com -- make it fit
+Patch1000: seabios_128kb.patch
+# PATCH-FIX-UPSTREAM seabios_checkrom_typo.patch afaerber(a)suse.de -- tidy error message
+Patch1001: seabios_checkrom_typo.patch
+Patch1002: seabios_avoid_smbios_signature_string.patch
+%endif
# this is to make lint happy
Source300: qemu-rpmlintrc
@@ -115,6 +127,9 @@
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: glib2-devel
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+BuildRequires: glusterfs-devel
+%endif
%if 0%{?suse_version} >= 1220
BuildRequires: gtk3-devel
%else
@@ -123,6 +138,7 @@
BuildRequires: libaio
BuildRequires: libaio-devel
BuildRequires: libattr-devel
+BuildRequires: libbz2-devel
BuildRequires: libcap-devel
BuildRequires: libcap-ng-devel
%if 0%{?suse_version} >= 1310
@@ -134,6 +150,15 @@
BuildRequires: libibverbs-devel
%endif
BuildRequires: libjpeg-devel
+%ifarch %ix86 aarch64
+%if 0%{?suse_version} > 1320
+BuildRequires: libnuma-devel
+%endif
+%else
+%ifnarch %arm
+BuildRequires: libnuma-devel
+%endif
+%endif
BuildRequires: libpcap-devel
BuildRequires: libpixman-1-0-devel
BuildRequires: libpng-devel
@@ -141,18 +166,31 @@
%if 0%{?suse_version} >= 1315
BuildRequires: librdmacm-devel
%endif
+%ifnarch ppc64le
+%if 0%{?suse_version} > 1320
+BuildRequires: libseccomp-devel
+%endif
+%endif
+%if 0%{?suse_version} > 1140
+BuildRequires: libssh2-devel
+%endif
BuildRequires: libtool
%if 0%{?suse_version} > 1310
BuildRequires: libusb-devel
%endif
BuildRequires: libvdeplug3-devel
+BuildRequires: lzo-devel
%if 0%{?suse_version} > 1220
BuildRequires: makeinfo
%endif
BuildRequires: mozilla-nss-devel
BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
BuildRequires: pwdutils
BuildRequires: python
+%if 0%{?suse_version} >= 1310
+BuildRequires: snappy-devel
+%endif
%if 0%{?suse_version} >= 1210
BuildRequires: systemd
%{?systemd_requires}
@@ -186,6 +224,15 @@
BuildRequires: spice-protocol-devel
%endif
%endif
+%if "%{name}" == "qemu-testsuite"
+BuildRequires: bc
+BuildRequires: qemu-arm = %version
+BuildRequires: qemu-extra = %version
+BuildRequires: qemu-ppc = %version
+BuildRequires: qemu-s390 = %version
+BuildRequires: qemu-tools = %version
+BuildRequires: qemu-x86 = %version
+%endif
Requires: /usr/sbin/groupadd
Requires: pwdutils
Requires: timezone
@@ -226,6 +273,8 @@
system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
as PC and PowerMac systems.
+%if "%{name}" != "qemu-testsuite"
+
%package x86
Summary: Universal CPU emulator -- x86
Group: System/Emulators/PC
@@ -337,15 +386,22 @@
This sub-package contains translations.
+# Modules need to match {qemu-system-*,qemu-img} version.
+# We cannot have qemu and qemu-tools require them in the right version,
+# as that would drag in the dependencies the modules are supposed to avoid.
+# Nor can we have modules require the right version of qemu and qemu-tools
+# as Xen reuses our qemu-tools but does not want our qemu and qemu-x86.
+%define qemu_module_conflicts \
+Conflicts: qemu < %version \
+Conflicts: qemu > %version \
+Conflicts: qemu-tools < %version \
+Conflicts: qemu-tools > %version
+
%package block-curl
Summary: Universal CPU emulator -- cURL block support
Group: System/Emulators/PC
Provides: qemu:%_libdir/%name/block-curl.so
-# Needs to match {qemu-system-*,qemu-img} >= 2.0.0, but is optional.
-Conflicts: qemu < %version
-Conflicts: qemu > %version
-Conflicts: qemu-tools < %version
-Conflicts: qemu-tools > %version
+%{qemu_module_conflicts}
%description block-curl
QEMU is an extremely well-performing CPU emulator that allows you to
@@ -357,6 +413,40 @@
This sub-package contains a module for accessing network-based image files
over a network connection from qemu-img tool and QEMU system emulation.
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+%package block-gluster
+Summary: Universal CPU emulator -- GlusterFS block support
+Group: System/Emulators/PC
+%{qemu_module_conflicts}
+
+%description block-gluster
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+This sub-package contains a module for accessing network-based image files
+over a GlusterFS network connection from qemu-img tool and QEMU system emulation.
+%endif
+
+%if 0%{?suse_version} > 1140
+%package block-ssh
+Summary: Universal CPU emulator -- SSH block support
+Group: System/Emulators/PC
+%{qemu_module_conflicts}
+
+%description block-ssh
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+This sub-package contains a module for accessing network-based image files
+over an SSH network connection from qemu-img tool and QEMU system emulation.
+%endif
+
%package tools
Summary: Universal CPU emulator -- Tools
Group: System/Emulators/PC
@@ -393,7 +483,7 @@
%package seabios
Summary: X86 BIOS for QEMU
Group: System/Emulators/PC
-Version: 1.7.5.1
+Version: 1.8.1
Release: 0
%if 0%{?suse_version} > %{noarch_supported}
BuildArch: noarch
@@ -407,7 +497,7 @@
%package vgabios
Summary: VGA BIOSes for QEMU
Group: System/Emulators/PC
-Version: 1.7.5.1
+Version: 1.8.1
Release: 0
%if 0%{?suse_version} > %{noarch_supported}
BuildArch: noarch
@@ -461,8 +551,10 @@
This package provides a service file for starting and stopping KSM.
%endif
+%endif # !qemu-testsuite
+
%prep
-%setup -q -n %name-2.2.0
+%setup -q -n qemu-2.3.0
%patch0001 -p1
%patch0002 -p1
%patch0003 -p1
@@ -501,8 +593,15 @@
%patch0036 -p1
%patch0037 -p1
%patch0038 -p1
+%patch0039 -p1
%if %{build_x86_fw_from_source}
+pushd roms/seabios
+%patch1000 -p1
+%patch1001 -p1
+%patch1002 -p1
+popd
+
# as a safeguard, delete the firmware files that we intend to build
for i in %built_firmware_files
do
@@ -519,30 +618,95 @@
--disable-strip \
--enable-system --disable-linux-user \
--enable-tools --enable-guest-agent \
+ --enable-modules \
--enable-pie \
--enable-docs \
--audio-drv-list="pa alsa sdl oss" \
+ --disable-archipelago \
+ --enable-attr \
+ --enable-bluez \
%if 0%{?suse_version} >= 1130
--enable-brlapi \
+%else
+ --disable-brlapi \
%endif
+ --enable-bzip2 \
--enable-cap-ng \
--enable-curl \
--enable-curses \
+ --enable-fdt \
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+ --enable-glusterfs \
+%else
+ --disable-glusterfs \
+%endif
--enable-gtk \
%if 0%{?suse_version} >= 1220
--with-gtkabi=3.0 \
+%else
+ --with-gtkabi=2.0 \
%endif
%if %{kvm_available}
--enable-kvm \
+%else
+ --disable-kvm \
+%endif
+ --disable-libiscsi \
+ --disable-libnfs \
+%if 0%{?suse_version} > 1140
+ --enable-libssh2 \
+%else
+ --disable-libssh2 \
+%endif
+%if 0%{?suse_version} > 1310
+ --enable-libusb \
+%else
+ --disable-libusb \
%endif
--enable-linux-aio \
- --enable-modules \
+ --enable-lzo \
+ --disable-netmap \
+%ifarch %ix86 aarch64
+%if 0%{?suse_version} > 1320
+ --enable-numa \
+%else
+ --disable-numa \
+%endif
+%else
+%ifarch %arm
+ --disable-numa \
+%else
+ --enable-numa \
+%endif
+%endif
+%if 0%{?suse_version} >= 1310
+ --enable-quorum \
+%else
+ --disable-quorum \
+%endif
+ --disable-rbd \
%if 0%{?suse_version} >= 1315
--enable-rdma \
+%else
+ --disable-rdma \
%endif
--enable-sdl \
--with-sdlabi=1.2 \
+%ifnarch ppc64le
+%if 0%{?suse_version} > 1320
+ --enable-seccomp \
+%else
+ --disable-seccomp \
+%endif
+%else
+ --disable-seccomp \
+%endif
--enable-smartcard-nss \
+%if 0%{?suse_version} >= 1310
+ --enable-snappy \
+%else
+ --disable-snappy \
+%endif
%if 0%{?suse_version} >= 1140
%ifarch %ix86 x86_64
--enable-spice \
@@ -552,15 +716,19 @@
%else
--disable-spice \
%endif
-%if 0%{?suse_version} > 1310
- --enable-libusb \
-%endif
+ --enable-tpm \
+ --enable-trace-backends=nop \
%if 0%{?sles_version} != 11
--enable-usb-redir \
+%else
+ --disable-usb-redir \
%endif
+ --enable-uuid \
--enable-vde \
+ --enable-vhdx \
+ --enable-vhost-net \
--enable-virtfs \
- --enable-virtio-blk-data-plane \
+ --enable-vnc \
--enable-vnc-jpeg \
--enable-vnc-png \
--enable-vnc-sasl \
@@ -568,8 +736,13 @@
--enable-vnc-ws \
%ifarch x86_64
--enable-xen \
+ --enable-xen-pci-passthrough \
+%else
+ --disable-xen \
%endif
+%if "%{name}" != "qemu-testsuite"
+
make %{?_smp_mflags} V=1
# Firmware
@@ -583,10 +756,41 @@
cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img
%endif
+%else # qemu-testsuite
+for conf in default-configs/*-softmmu.mak; do
+ arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'`
+ ln -s %{_bindir}/qemu-system-$arch $arch-softmmu/qemu-system-$arch
+done
+%endif
+
%check
-make check V=1
+%if "%{name}" == "qemu-testsuite"
+%if 0%{?suse_version} >= 1310
+make check-report.html V=1
+install -D -m 644 check-report.html %{buildroot}%{_datadir}/qemu/check-report.html
+%else
+make check-report.xml V=1
+%endif
+install -D -m 644 check-report.xml %{buildroot}%{_datadir}/qemu/check-report.xml
+%ifnarch %ix86 x64_64
+export QEMU_PROG=%{_bindir}/qemu-system-x86_64
+%endif
+export QEMU_IMG_PROG=%{_bindir}/qemu-img
+export QEMU_IO_PROG=%{_bindir}/qemu-io
+export QEMU_NBD_PROG=%{_bindir}/qemu-nbd
+# make check-block would rebuild qemu-img and qemu-io
+make tests/qemu-iotests/socket_scm_helper V=1
+pushd tests/qemu-iotests
+# -qcow 001 seems to hang?
+# TODO investigate hangs and failures
+#for fmt in -raw -bochs -cloop -parallels -qcow2 -qed -vdi -vpc -vhdx -vmdk; do
+# ./check -v -T $fmt -file -g quick || true
+#done
+popd
+%endif
%install
+%if "%{name}" != "qemu-testsuite"
make install DESTDIR=$RPM_BUILD_ROOT
rm -fr $RPM_BUILD_ROOT/%_datadir/doc
rm $RPM_BUILD_ROOT/%_libdir/libcacard*
@@ -628,6 +832,9 @@
%endif
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
%fdupes -s $RPM_BUILD_ROOT
+%endif
+
+%if "%{name}" != "qemu-testsuite"
%pre
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null
@@ -673,9 +880,11 @@
%service_del_postun ksm.service
%endif
+%endif # !qemu-testsuite
+
%files
%defattr(-, root, root)
-%dir %_libdir/%name
+%if "%{name}" != "qemu-testsuite"
%doc COPYING COPYING.LIB Changelog README VERSION qemu-doc.html qemu-tech.html
%doc %_mandir/man1/qemu.1.gz
%dir %_datadir/%name
@@ -684,6 +893,7 @@
%_datadir/%name/qemu-icon.bmp
%_datadir/%name/qemu_logo_no_text.svg
%dir %_sysconfdir/%name
+%dir %_libdir/%name
%if %{kvm_available}
%if 0%{?suse_version} >= 1230
%{_udevrulesdir}/80-kvm.rules
@@ -765,9 +975,20 @@
%files block-curl
%defattr(-, root, root)
-%dir %_libdir/%name
%_libdir/%name/block-curl.so
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+%files block-gluster
+%defattr(-, root, root)
+%_libdir/%name/block-gluster.so
+%endif
+
+%if 0%{?suse_version} > 1140
+%files block-ssh
+%defattr(-, root, root)
+%_libdir/%name/block-ssh.so
+%endif
+
%files lang -f %name.lang
%defattr(-, root, root)
@@ -820,6 +1041,7 @@
%verify(not mode) %_libexecdir/qemu-bridge-helper
%dir %_sysconfdir/%name
%config %_sysconfdir/%name/bridge.conf
+%dir %_libdir/%name
%files guest-agent
%defattr(-, root, root)
@@ -831,4 +1053,11 @@
%{_unitdir}/ksm.service
%endif
+%else # qemu-testsuite
+%doc %_datadir/qemu/check-report.xml
+%if 0%{?suse_version} >= 1310
+%doc %_datadir/qemu/check-report.html
+%endif
+%endif
+
%changelog
++++++ 0001-XXX-dont-dump-core-on-sigabort.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From a7cec19ab72bbe4172f010a2c56664ca3495034a Mon Sep 17 00:00:00 2001
+From 4e67113cd1c7eebeab06a62d97d39e6e77b59466 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Mon, 21 Nov 2011 23:50:36 +0100
Subject: [PATCH] XXX dont dump core on sigabort
@@ -8,7 +8,7 @@
1 file changed, 6 insertions(+)
diff --git a/linux-user/signal.c b/linux-user/signal.c
-index e11b208..48b6513 100644
+index 5bb399e..a849f26 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -448,6 +448,10 @@ static void QEMU_NORETURN force_sig(int target_sig)
++++++ 0002-XXX-work-around-SA_RESTART-race-wit.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 9fa4ad4feafe57010a39fcc1e02e482989fc07d1 Mon Sep 17 00:00:00 2001
+From e0496d8b8acb22e509d5d6bb6333689a5db615f6 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Thu, 1 Dec 2011 19:00:01 +0100
Subject: [PATCH] XXX work around SA_RESTART race with boehm-gc (ARM only)
@@ -13,7 +13,7 @@
4 files changed, 130 insertions(+), 10 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
-index 5c14c1e..46a4366 100644
+index a8adb04..f2c9391 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -815,15 +815,22 @@ void cpu_loop(CPUARMState *env)
@@ -70,7 +70,7 @@
/* Creates the initial guest address space in the host memory space using
* the given host start address hint and size. The guest_start parameter
diff --git a/linux-user/signal.c b/linux-user/signal.c
-index 48b6513..92ba798 100644
+index a849f26..ace2bfb 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -25,6 +25,7 @@
@@ -119,10 +119,10 @@
ignore state to avoid getting unexpected interrupted
syscalls */
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index aaac6a2..4a2bdcb 100644
+index 1622ad6..f70e4f3 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -5494,6 +5494,87 @@ static target_timer_t get_timer_id(abi_long arg)
+@@ -5512,6 +5512,87 @@ static target_timer_t get_timer_id(abi_long arg)
return timerid;
}
@@ -210,7 +210,7 @@
/* do_syscall() should always have a single exit point at the end so
that actions, such as logging of syscall results, can be performed.
All errnos that do_syscall() returns must be -TARGET_<errcode>. */
-@@ -5507,6 +5588,12 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
+@@ -5525,6 +5606,12 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
struct stat st;
struct statfs stfs;
void *p;
@@ -223,7 +223,7 @@
#ifdef DEBUG
gemu_log("syscall %d", num);
-@@ -8776,7 +8863,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
+@@ -8794,7 +8881,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
cmd = target_to_host_fcntl_cmd(arg2);
if (cmd == -TARGET_EINVAL) {
ret = cmd;
@@ -232,7 +232,7 @@
}
switch(arg2) {
-@@ -9792,6 +9879,7 @@ fail:
+@@ -9825,6 +9912,7 @@ fail:
#endif
if(do_strace)
print_syscall_ret(num, ret);
++++++ 0003-qemu-0.9.0.cvs-binfmt.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From bb576464efb0640bbdd813fe6c31cbb4a9051cf0 Mon Sep 17 00:00:00 2001
+From 29c2408bf7093a2d26485a08679cb14de49caf43 Mon Sep 17 00:00:00 2001
From: Ulrich Hecht <uli(a)suse.de>
Date: Tue, 14 Apr 2009 16:18:44 +0200
Subject: [PATCH] qemu-0.9.0.cvs-binfmt
++++++ 0004-qemu-cvs-alsa_bitfield.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From e5705a68df89fa4d2cd865ee2dbdddac6eaba9e7 Mon Sep 17 00:00:00 2001
+From 4fdcc1847221f05ba1721c84dbfe57f27fbc7cf6 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 14 Apr 2009 16:20:50 +0200
Subject: [PATCH] qemu-cvs-alsa_bitfield
++++++ 0005-qemu-cvs-alsa_ioctl.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 4d22a2c7752412d78e22bca9c564fff305ae61d1 Mon Sep 17 00:00:00 2001
+From 4c491a5962c8b54f89e61930e00293901d826679 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 14 Apr 2009 16:23:27 +0200
Subject: [PATCH] qemu-cvs-alsa_ioctl
@@ -2255,10 +2255,10 @@
+ unsigned char *code;
+};
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
-index ebb3be1..3a55989 100644
+index edd5f3c..e9f81f3 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
-@@ -2562,6 +2562,8 @@ struct target_ucred {
+@@ -2521,6 +2521,8 @@ struct target_ucred {
uint32_t gid;
};
++++++ 0006-qemu-cvs-alsa_mmap.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From cbcc253de553cdb66102efc20519284da29f11b0 Mon Sep 17 00:00:00 2001
+From cf0fce63b16eb24410ad11d10222350e3e47d2ef Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 14 Apr 2009 16:24:15 +0200
Subject: [PATCH] qemu-cvs-alsa_mmap
++++++ 0007-qemu-cvs-gettimeofday.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From e69459c8896b205aadb0d3a773a4ba91d121144b Mon Sep 17 00:00:00 2001
+From 04c1d47c2233cb3f49b27a51f5ad5c428f536faf Mon Sep 17 00:00:00 2001
From: Ulrich Hecht <uli(a)suse.de>
Date: Tue, 14 Apr 2009 16:25:41 +0200
Subject: [PATCH] qemu-cvs-gettimeofday
@@ -9,10 +9,10 @@
1 file changed, 2 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 4a2bdcb..0ea86cb 100644
+index f70e4f3..1244004 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -6666,6 +6666,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
+@@ -6684,6 +6684,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
case TARGET_NR_gettimeofday:
{
struct timeval tv;
++++++ 0008-qemu-cvs-ioctl_debug.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 3db8a988406437231e54a84c59450da30988ffb5 Mon Sep 17 00:00:00 2001
+From 3b21200fd89d9e3b840a226a2d506e742a4bdc02 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 14 Apr 2009 16:26:33 +0200
Subject: [PATCH] qemu-cvs-ioctl_debug
@@ -12,10 +12,10 @@
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 0ea86cb..ea8e4dd 100644
+index 1244004..28ca660 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -3844,7 +3844,12 @@ static abi_long do_ioctl(int fd, abi_long cmd, abi_long arg)
+@@ -3861,7 +3861,12 @@ static abi_long do_ioctl(int fd, abi_long cmd, abi_long arg)
ie = ioctl_entries;
for(;;) {
if (ie->target_cmd == 0) {
++++++ 0009-qemu-cvs-ioctl_nodirection.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From d3903e53cc2b7163fcc66bd6c642bf6fcc433135 Mon Sep 17 00:00:00 2001
+From 0cf9b5c4dab2e9bc57c405d58f02f13ded7fe8bd Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 14 Apr 2009 16:27:36 +0200
Subject: [PATCH] qemu-cvs-ioctl_nodirection
@@ -15,10 +15,10 @@
1 file changed, 6 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index ea8e4dd..f6187ce 100644
+index 28ca660..4f94afb 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -3878,6 +3878,11 @@ static abi_long do_ioctl(int fd, abi_long cmd, abi_long arg)
+@@ -3895,6 +3895,11 @@ static abi_long do_ioctl(int fd, abi_long cmd, abi_long arg)
arg_type++;
target_size = thunk_type_size(arg_type, 0);
switch(ie->access) {
@@ -30,7 +30,7 @@
case IOC_R:
ret = get_errno(ioctl(fd, ie->host_cmd, buf_temp));
if (!is_error(ret)) {
-@@ -3896,6 +3901,7 @@ static abi_long do_ioctl(int fd, abi_long cmd, abi_long arg)
+@@ -3913,6 +3918,7 @@ static abi_long do_ioctl(int fd, abi_long cmd, abi_long arg)
unlock_user(argptr, arg, 0);
ret = get_errno(ioctl(fd, ie->host_cmd, buf_temp));
break;
++++++ 0010-block-vmdk-Support-creation-of-SCSI.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 7cdc20646d413b3c1e31ff1dd85a7ef67147d56d Mon Sep 17 00:00:00 2001
+From 38f2bc40a08ec811b22e60dd4b71fa11b0f11e61 Mon Sep 17 00:00:00 2001
From: Ulrich Hecht <uli(a)suse.de>
Date: Tue, 14 Apr 2009 16:37:42 +0200
Subject: [PATCH] block/vmdk: Support creation of SCSI VMDK images in qemu-img
@@ -21,13 +21,13 @@
4 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/block.c b/block.c
-index a612594..74af007 100644
+index f2f8ae7..0d32442 100644
--- a/block.c
+++ b/block.c
-@@ -5630,6 +5630,9 @@ void bdrv_img_create(const char *filename, const char *fmt,
+@@ -5813,6 +5813,9 @@ void bdrv_img_create(const char *filename, const char *fmt,
if (!quiet) {
- printf("Formatting '%s', fmt=%s ", filename, fmt);
- qemu_opts_print(opts);
+ printf("Formatting '%s', fmt=%s", filename, fmt);
+ qemu_opts_print(opts, " ");
+ if (qemu_opt_get_bool(opts, BLOCK_OPT_SCSI, false)) {
+ printf(", SCSI");
+ }
@@ -35,10 +35,10 @@
}
diff --git a/block/vmdk.c b/block/vmdk.c
-index 2cbfd3e..caefe19 100644
+index 8410a15..2a34dd0 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
-@@ -1818,9 +1818,12 @@ static int vmdk_create(const char *filename, QemuOpts *opts, Error **errp)
+@@ -1848,9 +1848,12 @@ static int vmdk_create(const char *filename, QemuOpts *opts, Error **errp)
if (qemu_opt_get_bool_del(opts, BLOCK_OPT_ZEROED_GRAIN, false)) {
zeroed_grain = true;
}
@@ -52,7 +52,7 @@
} else if (strcmp(adapter_type, "ide") &&
strcmp(adapter_type, "buslogic") &&
strcmp(adapter_type, "lsilogic") &&
-@@ -2223,6 +2226,11 @@ static QemuOptsList vmdk_create_opts = {
+@@ -2265,6 +2268,11 @@ static QemuOptsList vmdk_create_opts = {
.help = "Enable efficient zero writes "
"using the zeroed-grain GTE feature"
},
@@ -65,7 +65,7 @@
}
};
diff --git a/include/block/block_int.h b/include/block/block_int.h
-index a1c17b9..9d03953 100644
+index dccb092..decca62 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -41,10 +41,12 @@
@@ -82,10 +82,10 @@
#define BLOCK_OPT_BACKING_FMT "backing_fmt"
#define BLOCK_OPT_CLUSTER_SIZE "cluster_size"
diff --git a/qemu-img.c b/qemu-img.c
-index a42335c..21c3bae 100644
+index 9dddfbe..cc8e976 100644
--- a/qemu-img.c
+++ b/qemu-img.c
-@@ -1583,6 +1583,13 @@ static int img_convert(int argc, char **argv)
+@@ -1602,6 +1602,13 @@ static int img_convert(int argc, char **argv)
}
}
++++++ 0011-linux-user-add-binfmt-wrapper-for-a.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 6a0fa7200207763976f8393156318e77a12e0625 Mon Sep 17 00:00:00 2001
+From 18eb0ea2c1656ebd3bc875ada67f73a4b36e13a1 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Fri, 30 Sep 2011 19:40:36 +0200
Subject: [PATCH] linux-user: add binfmt wrapper for argv[0] handling
@@ -37,7 +37,7 @@
create mode 100644 linux-user/binfmt.c
diff --git a/Makefile.target b/Makefile.target
-index e9ff1ee..8372b29 100644
+index 2262d89..efbd850 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -34,6 +34,10 @@ endif
@@ -72,9 +72,9 @@
all-obj-y := $(obj-y)
target-obj-y :=
-@@ -179,6 +189,9 @@ all-obj-$(CONFIG_SOFTMMU) += $(block-obj-y)
+@@ -181,6 +191,9 @@ $(QEMU_PROG_BUILD): config-devices.mak
$(QEMU_PROG_BUILD): $(all-obj-y) ../libqemuutil.a ../libqemustub.a
- $(call LINK,$^)
+ $(call LINK, $(filter-out %.mak, $^))
+$(QEMU_PROG)-binfmt: $(obj-binfmt-y)
+ $(call LINK,$^)
++++++ 0012-PPC-KVM-Disable-mmu-notifier-check.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 5fb70dbaac4a3508890ff482446276e9fc2f3cc8 Mon Sep 17 00:00:00 2001
+From 63b90611b240cc52fc311f0f13eff5b8cca0524e Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Fri, 6 Jan 2012 01:05:55 +0100
Subject: [PATCH] PPC: KVM: Disable mmu notifier check
@@ -13,10 +13,10 @@
1 file changed, 2 insertions(+)
diff --git a/exec.c b/exec.c
-index 71ac104..6d31d8f 100644
+index 874ecfc..0274800 100644
--- a/exec.c
+++ b/exec.c
-@@ -1108,11 +1108,13 @@ static void *file_ram_alloc(RAMBlock *block,
+@@ -1134,11 +1134,13 @@ static void *file_ram_alloc(RAMBlock *block,
goto error;
}
++++++ 0013-linux-user-fix-segfault-deadlock.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 55e52ca388a49f49a186deb9404de2f97905af3e Mon Sep 17 00:00:00 2001
+From 58a7f89554d2de5bb2ef05c43f97fccdad8c54e0 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Fri, 13 Jan 2012 17:05:41 +0100
Subject: [PATCH] linux-user: fix segfault deadlock
@@ -52,7 +52,7 @@
+
#endif
diff --git a/user-exec.c b/user-exec.c
-index 1ff8673..22f9692 100644
+index 8f57e8a..f63198a 100644
--- a/user-exec.c
+++ b/user-exec.c
@@ -94,6 +94,10 @@ static inline int handle_cpu_signal(uintptr_t pc, unsigned long address,
++++++ 0014-linux-user-binfmt-support-host-bina.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 2a1484963a8861e054abdfc178aadd48132730b3 Mon Sep 17 00:00:00 2001
+From cb2967f20959e9907669a2332ccd164f40351007 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Thu, 2 Feb 2012 18:02:33 +0100
Subject: [PATCH] linux-user: binfmt: support host binaries
++++++ 0015-linux-user-Ignore-broken-loop-ioctl.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 74eb0ee82d3d7550e4cd77a06ee2550edef437ab Mon Sep 17 00:00:00 2001
+From 1b00c1b548b8e05ce687a73d46f0c08f698edc0a Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 12 Jun 2012 04:41:10 +0200
Subject: [PATCH] linux-user: Ignore broken loop ioctl
@@ -46,10 +46,10 @@
#endif
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index f6187ce..84621cc 100644
+index 4f94afb..75ccd66 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -3821,6 +3821,13 @@ static abi_long do_ioctl_kdsigaccept(const IOCTLEntry *ie, uint8_t *buf_temp,
+@@ -3838,6 +3838,13 @@ static abi_long do_ioctl_kdsigaccept(const IOCTLEntry *ie, uint8_t *buf_temp,
return get_errno(ioctl(fd, ie->host_cmd, sig));
}
@@ -64,10 +64,10 @@
#define IOCTL(cmd, access, ...) \
{ TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
-index 3a55989..d6ccacc 100644
+index e9f81f3..9fabee7 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
-@@ -1061,6 +1061,7 @@ struct target_pollfd {
+@@ -1068,6 +1068,7 @@ struct target_pollfd {
#define TARGET_LOOP_SET_STATUS64 0x4C04
#define TARGET_LOOP_GET_STATUS64 0x4C05
#define TARGET_LOOP_CHANGE_FD 0x4C06
++++++ 0016-linux-user-lock-tcg.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From b78fc9fe9c68f6c5b1a647a83d203eb7a41f587f Mon Sep 17 00:00:00 2001
+From a2f780a45d6b328e1b2ed383784cd690bd3bb529 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Thu, 5 Jul 2012 17:31:39 +0200
Subject: [PATCH] linux-user: lock tcg
@@ -16,8 +16,8 @@
---
linux-user/mmap.c | 3 +++
tcg/tcg.c | 36 ++++++++++++++++++++++++++++++++++--
- tcg/tcg.h | 5 +++++
- 3 files changed, 42 insertions(+), 2 deletions(-)
+ tcg/tcg.h | 6 ++++++
+ 3 files changed, 43 insertions(+), 2 deletions(-)
diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index 34a5615..7ebf953 100644
@@ -48,7 +48,7 @@
}
diff --git a/tcg/tcg.c b/tcg/tcg.c
-index 7a84b87..7f582f7 100644
+index f1558b7..f7a40ba 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -39,6 +39,8 @@
@@ -90,7 +90,7 @@
#if TCG_TARGET_INSN_UNIT_SIZE == 1
static __attribute__((unused)) inline void tcg_out8(TCGContext *s, uint8_t v)
{
-@@ -339,7 +364,8 @@ void tcg_context_init(TCGContext *s)
+@@ -333,7 +358,8 @@ void tcg_context_init(TCGContext *s)
memset(s, 0, sizeof(*s));
s->nb_globals = 0;
@@ -100,7 +100,7 @@
/* Count total number of arguments and allocate the corresponding
space */
total_args = 0;
-@@ -2558,10 +2584,12 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf)
+@@ -2385,10 +2411,12 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf)
}
#endif
@@ -113,7 +113,7 @@
return tcg_current_code_size(s);
}
-@@ -2573,7 +2601,11 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf)
+@@ -2400,7 +2428,11 @@ int tcg_gen_code(TCGContext *s, tcg_insn_unit *gen_code_buf)
int tcg_gen_code_search_pc(TCGContext *s, tcg_insn_unit *gen_code_buf,
long offset)
{
@@ -127,7 +127,7 @@
#ifdef CONFIG_PROFILER
diff --git a/tcg/tcg.h b/tcg/tcg.h
-index 7285f71..ea7ef8d 100644
+index add7f75..bbd819e 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -27,6 +27,7 @@
@@ -138,17 +138,18 @@
#include "tcg-target.h"
/* Default target word size to pointer size. */
-@@ -533,6 +534,7 @@ struct TCGContext {
-
- /* The TCGBackendData structure is private to tcg-target.c. */
- struct TCGBackendData *be;
+@@ -555,6 +556,8 @@ struct TCGContext {
+ target_ulong gen_opc_pc[OPC_BUF_SIZE];
+ uint16_t gen_opc_icount[OPC_BUF_SIZE];
+ uint8_t gen_opc_instr_start[OPC_BUF_SIZE];
++
+ QemuMutex lock;
};
extern TCGContext tcg_ctx;
-@@ -711,6 +713,9 @@ void tcg_gen_shifti_i64(TCGv_i64 ret, TCGv_i64 arg1,
- TCGArg *tcg_optimize(TCGContext *s, uint16_t *tcg_opc_ptr, TCGArg *args,
- TCGOpDef *tcg_op_def);
+@@ -743,6 +746,9 @@ void tcg_gen_callN(TCGContext *s, void *func,
+ void tcg_op_remove(TCGContext *s, TCGOp *op);
+ void tcg_optimize(TCGContext *s);
+extern void tcg_lock(void);
+extern void tcg_unlock(void);
++++++ 0017-linux-user-Run-multi-threaded-code-.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From e8e669d084f6317fb739c38077bf4f26bbf5ef95 Mon Sep 17 00:00:00 2001
+From 32acfcfbaf593e8d657b5a09b48d05871250d444 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 10 Jul 2012 20:40:55 +0200
Subject: [PATCH] linux-user: Run multi-threaded code on a single core
@@ -19,10 +19,10 @@
1 file changed, 9 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 84621cc..6fc55b4 100644
+index 75ccd66..11a1572 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -4526,6 +4526,15 @@ static int do_fork(CPUArchState *env, unsigned int flags, abi_ulong newsp,
+@@ -4543,6 +4543,15 @@ static int do_fork(CPUArchState *env, unsigned int flags, abi_ulong newsp,
if (nptl_flags & CLONE_SETTLS)
cpu_set_tls (new_env, newtls);
++++++ 0018-linux-user-lock-tb-flushing-too.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From dce867750093888070a7875de37111af6a0d2b58 Mon Sep 17 00:00:00 2001
+From b447299e5493e4a6593e0ddde084e0ee59070199 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Wed, 11 Jul 2012 16:47:42 +0200
Subject: [PATCH] linux-user: lock tb flushing too
@@ -14,10 +14,10 @@
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/translate-all.c b/translate-all.c
-index ba5c840..17f4260 100644
+index 11763c6..fc6fc71 100644
--- a/translate-all.c
+++ b/translate-all.c
-@@ -709,19 +709,23 @@ static TranslationBlock *tb_alloc(target_ulong pc)
+@@ -715,19 +715,23 @@ static TranslationBlock *tb_alloc(target_ulong pc)
{
TranslationBlock *tb;
@@ -41,7 +41,7 @@
/* In practice this is mostly used for single use temporary TB
Ignore the hard cases and just back up if this TB happens to
be the last one generated. */
-@@ -730,6 +734,7 @@ void tb_free(TranslationBlock *tb)
+@@ -736,6 +740,7 @@ void tb_free(TranslationBlock *tb)
tcg_ctx.code_gen_ptr = tb->tc_ptr;
tcg_ctx.tb_ctx.nb_tbs--;
}
@@ -49,7 +49,7 @@
}
static inline void invalidate_page_bitmap(PageDesc *p)
-@@ -787,6 +792,7 @@ void tb_flush(CPUArchState *env1)
+@@ -793,6 +798,7 @@ void tb_flush(CPUArchState *env1)
((unsigned long)(tcg_ctx.code_gen_ptr - tcg_ctx.code_gen_buffer)) /
tcg_ctx.tb_ctx.nb_tbs : 0);
#endif
@@ -57,7 +57,7 @@
if ((unsigned long)(tcg_ctx.code_gen_ptr - tcg_ctx.code_gen_buffer)
> tcg_ctx.code_gen_buffer_size) {
cpu_abort(cpu, "Internal error: code buffer overflow\n");
-@@ -804,6 +810,7 @@ void tb_flush(CPUArchState *env1)
+@@ -810,6 +816,7 @@ void tb_flush(CPUArchState *env1)
/* XXX: flush processor icache at this point if cache flush is
expensive */
tcg_ctx.tb_ctx.tb_flush_count++;
@@ -65,7 +65,7 @@
}
#ifdef DEBUG_TB_CHECK
-@@ -1110,8 +1117,10 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
+@@ -1119,8 +1126,10 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
int current_flags = 0;
#endif /* TARGET_HAS_PRECISE_SMC */
@@ -76,7 +76,7 @@
return;
}
if (!p->code_bitmap &&
-@@ -1204,6 +1213,7 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
+@@ -1213,6 +1222,7 @@ void tb_invalidate_phys_page_range(tb_page_addr_t start, tb_page_addr_t end,
cpu_resume_from_signal(cpu, NULL);
}
#endif
@@ -84,7 +84,7 @@
}
/* len must be <= 8 and start must be a multiple of len */
-@@ -1415,13 +1425,16 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr)
+@@ -1420,13 +1430,16 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr)
{
int m_min, m_max, m;
uintptr_t v;
@@ -102,7 +102,7 @@
return NULL;
}
/* binary search (cf Knuth) */
-@@ -1432,6 +1445,7 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr)
+@@ -1437,6 +1450,7 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr)
tb = &tcg_ctx.tb_ctx.tbs[m];
v = (uintptr_t)tb->tc_ptr;
if (v == tc_ptr) {
@@ -110,7 +110,7 @@
return tb;
} else if (tc_ptr < v) {
m_max = m - 1;
-@@ -1439,7 +1453,9 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr)
+@@ -1444,7 +1458,9 @@ static TranslationBlock *tb_find_pc(uintptr_t tc_ptr)
m_min = m + 1;
}
}
@@ -120,4 +120,4 @@
+ return r;
}
- #if defined(TARGET_HAS_ICE) && !defined(CONFIG_USER_ONLY)
+ #if !defined(CONFIG_USER_ONLY)
++++++ 0019-linux-user-Fake-proc-cpuinfo.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From f8efdf93368a0f98d8608c44590e2c9f1ed44397 Mon Sep 17 00:00:00 2001
+From 83f8760297c5fac596c82a9e45449895071b90af Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Mon, 23 Jul 2012 10:24:14 +0200
Subject: [PATCH] linux-user: Fake /proc/cpuinfo
@@ -22,10 +22,10 @@
1 file changed, 20 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 6fc55b4..de930eb 100644
+index 11a1572..4c72020 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -5344,6 +5344,25 @@ static int open_self_stat(void *cpu_env, int fd)
+@@ -5362,6 +5362,25 @@ static int open_self_stat(void *cpu_env, int fd)
return 0;
}
@@ -51,7 +51,7 @@
static int open_self_auxv(void *cpu_env, int fd)
{
CPUState *cpu = ENV_GET_CPU((CPUArchState *)cpu_env);
-@@ -5458,6 +5477,7 @@ static int do_openat(void *cpu_env, int dirfd, const char *pathname, int flags,
+@@ -5476,6 +5495,7 @@ static int do_openat(void *cpu_env, int dirfd, const char *pathname, int flags,
#if defined(HOST_WORDS_BIGENDIAN) != defined(TARGET_WORDS_BIGENDIAN)
{ "/proc/net/route", open_net_route, is_proc },
#endif
++++++ 0020-linux-user-implement-FS_IOC_GETFLAG.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From d905cad0394b79353ae9bbcaea0d44228182a45c Mon Sep 17 00:00:00 2001
+From a7efb638bab217add93f4199939037730df222ba Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Mon, 20 Aug 2012 00:02:52 +0200
Subject: [PATCH] linux-user: implement FS_IOC_GETFLAGS ioctl
@@ -28,10 +28,10 @@
IOCTL(SIOCATMARK, 0, TYPE_NULL)
IOCTL(SIOCGIFNAME, IOC_RW, MK_PTR(TYPE_INT))
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
-index d6ccacc..be03d90 100644
+index 9fabee7..c8e47cf 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
-@@ -2477,6 +2477,8 @@ struct target_f_owner_ex {
+@@ -2436,6 +2436,8 @@ struct target_f_owner_ex {
#define TARGET_MTIOCGET TARGET_IOR('m', 2, struct mtget)
#define TARGET_MTIOCPOS TARGET_IOR('m', 3, struct mtpos)
++++++ 0021-linux-user-implement-FS_IOC_SETFLAG.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 4eec12072f7b5deb36f6e84a44acfdc979a16901 Mon Sep 17 00:00:00 2001
+From de8637cc5c349ec197315c9a06ca6163e3ca8dd1 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Mon, 20 Aug 2012 00:07:13 +0200
Subject: [PATCH] linux-user: implement FS_IOC_SETFLAGS ioctl
@@ -28,10 +28,10 @@
IOCTL(SIOCATMARK, 0, TYPE_NULL)
IOCTL(SIOCGIFNAME, IOC_RW, MK_PTR(TYPE_INT))
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
-index be03d90..f750d4c 100644
+index c8e47cf..1a8816d 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
-@@ -2478,6 +2478,7 @@ struct target_f_owner_ex {
+@@ -2437,6 +2437,7 @@ struct target_f_owner_ex {
#define TARGET_MTIOCPOS TARGET_IOR('m', 3, struct mtpos)
#define TARGET_FS_IOC_GETFLAGS TARGET_IORU('f', 1)
++++++ 0022-linux-user-XXX-disable-fiemap.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 579bfaa3dd897fd3c0dc33072e46051c8f01c182 Mon Sep 17 00:00:00 2001
+From 5d92384080c5f450560412313661ab0e84c42bd8 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 21 Aug 2012 14:20:40 +0200
Subject: [PATCH] linux-user: XXX disable fiemap
@@ -9,10 +9,10 @@
1 file changed, 5 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index de930eb..199084f 100644
+index 4c72020..30d6bcd 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -3318,6 +3318,11 @@ static abi_long do_ioctl_fs_ioc_fiemap(const IOCTLEntry *ie, uint8_t *buf_temp,
+@@ -3333,6 +3333,11 @@ static abi_long do_ioctl_fs_ioc_fiemap(const IOCTLEntry *ie, uint8_t *buf_temp,
uint32_t outbufsz;
int free_fm = 0;
++++++ 0023-slirp-nooutgoing.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 0f3c54d2f0ba8e3b607b98eae7987226c73fdd93 Mon Sep 17 00:00:00 2001
+From 7f2436d3ad31d2fd264f8dd9188abdb9a3bebae6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber(a)suse.de>
Date: Wed, 29 Aug 2012 18:42:56 +0200
Subject: [PATCH] slirp: -nooutgoing
@@ -12,10 +12,10 @@
4 files changed, 40 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
-index 64af16d..4424eab 100644
+index 319d971..4b6dd9a 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
-@@ -2821,6 +2821,16 @@ Store the QEMU process PID in @var{file}. It is useful if you launch QEMU
+@@ -2878,6 +2878,16 @@ Store the QEMU process PID in @var{file}. It is useful if you launch QEMU
from a script.
ETEXI
@@ -97,10 +97,10 @@
socket_set_fast_reuse(s);
opt = 1;
diff --git a/vl.c b/vl.c
-index eb89d62..1c96f7f 100644
+index 74c2681..51de200 100644
--- a/vl.c
+++ b/vl.c
-@@ -164,6 +164,7 @@ const char *vnc_display;
+@@ -163,6 +163,7 @@ int smp_threads = 1;
int acpi_enabled = 1;
int no_hpet = 0;
int fd_bootchk = 1;
@@ -108,7 +108,7 @@
static int no_reboot;
int no_shutdown = 0;
int cursor_hide = 1;
-@@ -3234,6 +3235,14 @@ int main(int argc, char **argv, char **envp)
+@@ -3146,6 +3147,14 @@ int main(int argc, char **argv, char **envp)
case QEMU_OPTION_singlestep:
singlestep = 1;
break;
++++++ 0024-vnc-password-file-and-incoming-conn.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,26 +1,27 @@
-From a1b57e540db8c75278ae1208ea22425f27723396 Mon Sep 17 00:00:00 2001
+From 1e17a16e5d7ac68f2679407f5468d11b73644f6b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber(a)suse.de>
Date: Wed, 29 Aug 2012 20:06:01 +0200
Subject: [PATCH] vnc: password-file= and incoming-connections=
TBD (from SUSE Studio team)
---
- ui/vnc.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 71 insertions(+)
+ ui/vnc.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 55 insertions(+)
diff --git a/ui/vnc.c b/ui/vnc.c
-index 5707015..f42340b 100644
+index cffb5b7..77c4027 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
-@@ -47,6 +47,7 @@ static const struct timeval VNC_REFRESH_LOSSY = { 2, 0 };
- #include "d3des.h"
+@@ -51,6 +51,8 @@ static const struct timeval VNC_REFRESH_LOSSY = { 2, 0 };
+ static QTAILQ_HEAD(, VncDisplay) vnc_displays =
+ QTAILQ_HEAD_INITIALIZER(vnc_displays);
- static VncDisplay *vnc_display; /* needed for info vnc */
+static int allowed_connections = 0;
-
++
static int vnc_cursor_define(VncState *vs);
static void vnc_release_modifiers(VncState *vs);
-@@ -1039,6 +1040,7 @@ static void vnc_disconnect_start(VncState *vs)
+
+@@ -1221,6 +1223,7 @@ static void vnc_disconnect_start(VncState *vs)
void vnc_disconnect_finish(VncState *vs)
{
int i;
@@ -28,7 +29,7 @@
vnc_jobs_join(vs); /* Wait encoding jobs */
-@@ -1087,6 +1089,13 @@ void vnc_disconnect_finish(VncState *vs)
+@@ -1269,6 +1272,13 @@ void vnc_disconnect_finish(VncState *vs)
}
g_free(vs->lossy_rect);
g_free(vs);
@@ -42,25 +43,25 @@
}
int vnc_client_io_error(VncState *vs, int ret, int last_errno)
-@@ -3050,6 +3059,39 @@ char *vnc_display_local_addr(DisplayState *ds)
+@@ -3240,6 +3250,39 @@ char *vnc_display_local_addr(const char *id)
return vnc_socket_local_addr("%s:%s", vs->lsock);
}
-+static void read_file_password(DisplayState *ds, char *filename)
++static void read_file_password(const char *id, const char *filename)
+{
+ FILE *pfile = NULL;
+ char *passwd = NULL;
+ int start = 0, length = 0, rc = 0;
+
-+ if(strlen(filename) == 0) {
-+ printf("No file supplied\n");
-+ return;
++ if (strlen(filename) == 0) {
++ printf("No file supplied\n");
++ return;
+ }
+
+ pfile = fopen(filename, "r");
-+ if(pfile == NULL) {
-+ printf("Could not read from %s\n", filename);
-+ return;
++ if (pfile == NULL) {
++ printf("Could not read from %s\n", filename);
++ return;
+ }
+
+ start = ftell(pfile);
@@ -68,60 +69,64 @@
+ length = ftell(pfile);
+ fseek(pfile, 0L, start);
+
-+ passwd = malloc(length+1);
++ passwd = g_malloc(length + 1);
+ rc = fread(passwd, 1, length, pfile);
+ fclose(pfile);
+
-+ if(rc == length && rc > 0) {
-+ vnc_display_password(ds, passwd);
++ if (rc == length && rc > 0) {
++ vnc_display_password(id, passwd);
+ }
+
-+ free(passwd);
++ g_free(passwd);
+}
+
- void vnc_display_open(DisplayState *ds, const char *display, Error **errp)
- {
- VncDisplay *vs = vnc_display;
-@@ -3083,6 +3125,9 @@ void vnc_display_open(DisplayState *ds, const char *display, Error **errp)
- while ((options = strchr(options, ','))) {
- options++;
- if (strncmp(options, "password", 8) == 0) {
-+ char *start, *end;
-+ start = strchr(options, '=');
-+ end = strchr(options, ',');
- if (fips_get_state()) {
- error_setg(errp,
- "VNC password auth disabled due to FIPS mode, "
-@@ -3091,6 +3136,32 @@ void vnc_display_open(DisplayState *ds, const char *display, Error **errp)
- goto fail;
- }
- password = 1; /* Require password auth */
-+ if (start && (!end || (start < end))) {
-+ int len = end ? end-(start+1) : strlen(start+1);
-+ char *text = g_malloc(len+1);
-+ strncpy(text, start+1, len);
-+ text[len] = '\0';
-+
-+ if (strncmp(options, "password-file=", 14) == 0) {
-+ read_file_password(ds, text);
-+ } else {
-+ vnc_display_password(ds, text);
-+ }
-+
-+ free(text);
-+ }
-+ } else if (strncmp(options, "allowed-connections=", 20) == 0) {
-+ char *start, *end;
-+ start = strchr(options, '=');
-+ end = strchr(options, ',');
-+ if (start && (!end || (start < end))) {
-+ int len = end ? end-(start+1) : strlen(start+1);
-+ char *text = g_malloc(len+1);
-+ strncpy(text, start+1, len);
-+ text[len] = '\0';
-+ VNC_DEBUG("Maximum number of disconnects: %s\n", text);
-+ allowed_connections = atoi(text);
-+ }
- } else if (strncmp(options, "reverse", 7) == 0) {
- reverse = 1;
- } else if (strncmp(options, "no-lock-key-sync", 16) == 0) {
+ static QemuOptsList qemu_vnc_opts = {
+ .name = "vnc",
+ .head = QTAILQ_HEAD_INITIALIZER(qemu_vnc_opts.head),
+@@ -3267,6 +3310,9 @@ static QemuOptsList qemu_vnc_opts = {
+ .name = "connections",
+ .type = QEMU_OPT_NUMBER,
+ },{
++ .name = "allowed-connections",
++ .type = QEMU_OPT_NUMBER,
++ },{
+ .name = "to",
+ .type = QEMU_OPT_NUMBER,
+ },{
+@@ -3279,6 +3325,9 @@ static QemuOptsList qemu_vnc_opts = {
+ .name = "password",
+ .type = QEMU_OPT_BOOL,
+ },{
++ .name = "password-file",
++ .type = QEMU_OPT_STRING,
++ },{
+ .name = "reverse",
+ .type = QEMU_OPT_BOOL,
+ },{
+@@ -3443,6 +3492,7 @@ void vnc_display_open(const char *id, Error **errp)
+ const char *share, *device_id;
+ QemuConsole *con;
+ bool password = false;
++ const char *password_file;
+ bool reverse = false;
+ const char *vnc;
+ const char *has_to;
+@@ -3516,6 +3566,10 @@ void vnc_display_open(const char *id, Error **errp)
+ "methods as an alternative");
+ goto fail;
+ }
++ password_file = qemu_opt_get(opts, "password-file");
++ if (password_file) {
++ read_file_password(id, password_file);
++ }
+
+ reverse = qemu_opt_get_bool(opts, "reverse", false);
+ lock_key_sync = qemu_opt_get_bool(opts, "lock-key-sync", true);
+@@ -3569,6 +3623,7 @@ void vnc_display_open(const char *id, Error **errp)
+ vs->share_policy = VNC_SHARE_POLICY_ALLOW_EXCLUSIVE;
+ }
+ vs->connections_limit = qemu_opt_get_number(opts, "connections", 32);
++ allowed_connections = qemu_opt_get_number(opts, "allowed-connections", 0);
+
+ websocket = qemu_opt_get(opts, "websocket");
+ if (websocket) {
++++++ 0025-linux-user-add-more-blk-ioctls.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 62b202fd44cd3e5148c950bfdf2ee40f47b4e9a5 Mon Sep 17 00:00:00 2001
+From 58d1cb20e7dbeddef1e12fd2dfac4fe2a9c16cff Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Wed, 10 Oct 2012 10:21:20 +0200
Subject: [PATCH] linux-user: add more blk ioctls
@@ -42,10 +42,10 @@
IOCTL(BLKRASET, 0, TYPE_INT)
IOCTL(BLKRAGET, IOC_R, MK_PTR(TYPE_LONG))
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
-index f750d4c..15fe242 100644
+index 1a8816d..f3ac211 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
-@@ -930,6 +930,12 @@ struct target_pollfd {
+@@ -937,6 +937,12 @@ struct target_pollfd {
#define TARGET_BLKGETSIZE64 TARGET_IOR(0x12,114,abi_ulong)
/* return device size in bytes
(u64 *arg) */
++++++ 0026-linux-user-use-target_ulong.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 3108d4f03c8124927f6462967a9d80f2049fae19 Mon Sep 17 00:00:00 2001
+From 4541994ba978226f288028aec1b9868efcc5ea9f Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 9 Oct 2012 09:06:49 +0200
Subject: [PATCH] linux-user: use target_ulong
@@ -36,10 +36,10 @@
extern THREAD CPUState *thread_cpu;
void cpu_loop(CPUArchState *env);
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 199084f..02599ce 100644
+index 30d6bcd..07c0138 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -5630,10 +5630,10 @@ int syscall_restartable(int syscall_nr)
+@@ -5648,10 +5648,10 @@ int syscall_restartable(int syscall_nr)
/* do_syscall() should always have a single exit point at the end so
that actions, such as logging of syscall results, can be performed.
All errnos that do_syscall() returns must be -TARGET_<errcode>. */
++++++ 0027-block-Add-support-for-DictZip-enabl.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 6cba6c6438b0ca67aa0e2b869e109f31d4a889a3 Mon Sep 17 00:00:00 2001
+From ded0e437f0cc9df0f0508f166db14cc54aaad784 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Wed, 5 Aug 2009 09:49:37 +0200
Subject: [PATCH] block: Add support for DictZip enabled gzip files
@@ -41,10 +41,10 @@
create mode 100644 block/dictzip.c
diff --git a/block/Makefile.objs b/block/Makefile.objs
-index 04b0e43..080fd26 100644
+index db2933e..1c6f9cf 100644
--- a/block/Makefile.objs
+++ b/block/Makefile.objs
-@@ -24,6 +24,7 @@ block-obj-y += accounting.o
+@@ -25,6 +25,7 @@ block-obj-y += write-threshold.o
common-obj-y += stream.o
common-obj-y += commit.o
common-obj-y += backup.o
++++++ 0028-block-Add-tar-container-format.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From 91448986f22a2b293d79ef101680ce6a681163c3 Mon Sep 17 00:00:00 2001
+From 6b8c3885607cbbbc5eb5a6b6c08e64eeabd639a5 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Wed, 5 Aug 2009 17:28:38 +0200
Subject: [PATCH] block: Add tar container format
@@ -42,10 +42,10 @@
create mode 100644 block/tar.c
diff --git a/block/Makefile.objs b/block/Makefile.objs
-index 080fd26..0790d19 100644
+index 1c6f9cf..c7e2178 100644
--- a/block/Makefile.objs
+++ b/block/Makefile.objs
-@@ -25,6 +25,7 @@ common-obj-y += stream.o
+@@ -26,6 +26,7 @@ common-obj-y += stream.o
common-obj-y += commit.o
common-obj-y += backup.o
common-obj-y += dictzip.o
++++++ 0029-Legacy-Patch-kvm-qemu-preXX-dictzip.patch ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -1,4 +1,4 @@
-From d0549750c5d361cf6e766c539c7b6f1fb913cd27 Mon Sep 17 00:00:00 2001
+From 36f1cdefb3ffc0b3e96f544ef3280dca57ea2e4c Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Wed, 12 Dec 2012 19:11:30 +0100
Subject: [PATCH] Legacy Patch kvm-qemu-preXX-dictzip3.patch
++++++ 0031-console-add-question-mark-escape-op.patch -> 0030-console-add-question-mark-escape-op.patch ++++++
--- /work/SRC/openSUSE:Factory/qemu/0031-console-add-question-mark-escape-op.patch 2015-02-14 13:53:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/0030-console-add-question-mark-escape-op.patch 2015-05-02 17:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-From 7e990dfe340a04dda4fa87deea9057dfbd7932e6 Mon Sep 17 00:00:00 2001
+From aaa848743a9634205cf4459ae12993673d428cc6 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Mon, 6 Jun 2011 06:53:52 +0200
Subject: [PATCH] console: add question-mark escape operator
@@ -16,7 +16,7 @@
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/console.c b/ui/console.c
-index 258af5d..59b5077 100644
+index b15ca87..a2364e6 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -853,7 +853,7 @@ static void console_putchar(QemuConsole *s, int ch)
++++++ 0032-Make-char-muxer-more-robust-wrt-sma.patch -> 0031-Make-char-muxer-more-robust-wrt-sma.patch ++++++
--- /work/SRC/openSUSE:Factory/qemu/0032-Make-char-muxer-more-robust-wrt-sma.patch 2015-02-14 13:53:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/0031-Make-char-muxer-more-robust-wrt-sma.patch 2015-05-02 17:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-From 5dd9c864211748f66cfcb24f1b623c935e88d13c Mon Sep 17 00:00:00 2001
+From 373aff92ccca07533a1bac043ccccbe8d1edb322 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Thu, 1 Apr 2010 17:36:23 +0200
Subject: [PATCH] Make char muxer more robust wrt small FIFOs
@@ -22,7 +22,7 @@
1 file changed, 16 insertions(+)
diff --git a/qemu-char.c b/qemu-char.c
-index a8b01da..2780d14 100644
+index a405d76..471ccfe 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -403,6 +403,9 @@ typedef struct {
++++++ 0033-linux-user-lseek-explicitly-cast-no.patch -> 0032-linux-user-lseek-explicitly-cast-no.patch ++++++
--- /work/SRC/openSUSE:Factory/qemu/0033-linux-user-lseek-explicitly-cast-no.patch 2015-02-14 13:53:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/0032-linux-user-lseek-explicitly-cast-no.patch 2015-05-02 17:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-From 9cf331fd06886bcec7a50c92f4385ca82317bf3a Mon Sep 17 00:00:00 2001
+From 21c375ae2e6cfc6dc7b6eb0bca58e127cdddfa63 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Thu, 13 Dec 2012 14:29:22 +0100
Subject: [PATCH] linux-user: lseek: explicitly cast non-set offsets to signed
@@ -16,10 +16,10 @@
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 02599ce..a41dd43 100644
+index 07c0138..4917e20 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
-@@ -5941,9 +5941,14 @@ abi_long do_syscall(void *cpu_env, int num, abi_ulong arg1,
+@@ -5959,9 +5959,14 @@ abi_long do_syscall(void *cpu_env, int num, abi_ulong arg1,
case TARGET_NR_oldstat:
goto unimplemented;
#endif
++++++ 0034-virtfs-proxy-helper-Provide-__u64-f.patch -> 0033-virtfs-proxy-helper-Provide-__u64-f.patch ++++++
--- /work/SRC/openSUSE:Factory/qemu/0034-virtfs-proxy-helper-Provide-__u64-f.patch 2015-02-14 13:53:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/0033-virtfs-proxy-helper-Provide-__u64-f.patch 2015-05-02 17:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-From e5d1f2561996297157d72b0af5442d71936c491f Mon Sep 17 00:00:00 2001
+From f8d920c04363d2059f43d81569bf68324bf52999 Mon Sep 17 00:00:00 2001
From: Bruce Rogers <brogers(a)suse.com>
Date: Thu, 16 May 2013 12:39:10 +0200
Subject: [PATCH] virtfs-proxy-helper: Provide __u64 for broken
@@ -12,7 +12,7 @@
1 file changed, 7 insertions(+)
diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c
-index cd291d3..7d7aa67 100644
+index a698e2d..bbc6233 100644
--- a/fsdev/virtfs-proxy-helper.c
+++ b/fsdev/virtfs-proxy-helper.c
@@ -9,6 +9,13 @@
++++++ 0035-configure-Enable-PIE-for-ppc-and-pp.patch -> 0034-configure-Enable-PIE-for-ppc-and-pp.patch ++++++
--- /work/SRC/openSUSE:Factory/qemu/0035-configure-Enable-PIE-for-ppc-and-pp.patch 2015-02-14 13:53:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/0034-configure-Enable-PIE-for-ppc-and-pp.patch 2015-05-02 17:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-From e54a63d9b564342f7b9c777a0a225d888fdf7716 Mon Sep 17 00:00:00 2001
+From 0c1e38643a275316ed01c40c085bec3f0d91af3d Mon Sep 17 00:00:00 2001
From: Dinar Valeev <k0da(a)opensuse.org>
Date: Wed, 2 Oct 2013 17:56:03 +0200
Subject: [PATCH] configure: Enable PIE for ppc and ppc64 hosts
@@ -14,10 +14,10 @@
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
-index 47048f0..35fbdb5 100755
+index 6969f6f..b43b371 100755
--- a/configure
+++ b/configure
-@@ -1544,7 +1544,7 @@ fi
+@@ -1551,7 +1551,7 @@ fi
if test "$pie" = ""; then
case "$cpu-$targetos" in
++++++ 0036-qtest-Increase-socket-timeout.patch -> 0035-qtest-Increase-socket-timeout.patch ++++++
--- /work/SRC/openSUSE:Factory/qemu/0036-qtest-Increase-socket-timeout.patch 2015-02-14 13:53:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/0035-qtest-Increase-socket-timeout.patch 2015-05-02 17:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-From 2d6b36cbf59e2f8e84889c2d52815191992bf421 Mon Sep 17 00:00:00 2001
+From 93d5e4be4758d956a6f9751c468432a105cc5084 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber(a)suse.de>
Date: Thu, 17 Apr 2014 18:39:10 +0200
Subject: [PATCH] qtest: Increase socket timeout
@@ -14,7 +14,7 @@
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/libqtest.c b/tests/libqtest.c
-index 9a92aa7..81ade4e 100644
+index 12d65bd..2931773 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -35,7 +35,7 @@
++++++ 0037-AIO-Reduce-number-of-threads-for-32.patch -> 0036-AIO-Reduce-number-of-threads-for-32.patch ++++++
--- /work/SRC/openSUSE:Factory/qemu/0037-AIO-Reduce-number-of-threads-for-32.patch 2015-02-14 13:53:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qemu.new/0036-AIO-Reduce-number-of-threads-for-32.patch 2015-05-02 17:31:33.000000000 +0200
@@ -1,4 +1,4 @@
-From c464e8e38da71cbc136ea2cf6fbf5bddfc25e7d5 Mon Sep 17 00:00:00 2001
+From 93385f479c5d050d6361d6835a2da091555b380a Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Wed, 14 Jan 2015 01:32:11 +0100
Subject: [PATCH] AIO: Reduce number of threads for 32bit hosts
++++++ 0037-linux-user-Allocate-thunk-size-dyna.patch ++++++
>From cead420737c71cbf46775b02815ff1ef7f7ee257 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Tue, 14 Apr 2015 17:12:29 +0200
Subject: [PATCH] linux-user: Allocate thunk size dynamically
We store all struct types in an array of static size without ever
checking whether we overrun it. Of course some day someone (like me
in another, ancient ALSA enabling patch set) will run into the limit
without realizing it.
So let's make the allocation dynamic. We already know the number of
structs that we want to allocate, so we only need to pass the variable
into the respective piece of code.
Also, to ensure we don't accidently overwrite random memory, add some
asserts to sanity check whether a thunk is actually part of our array.
Signed-off-by: Alexander Graf <agraf(a)suse.de>
---
include/exec/user/thunk.h | 4 +++-
linux-user/syscall.c | 3 +++
thunk.c | 16 ++++++++++++----
3 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/include/exec/user/thunk.h b/include/exec/user/thunk.h
index 6c35e64..f26c7f4 100644
--- a/include/exec/user/thunk.h
+++ b/include/exec/user/thunk.h
@@ -75,7 +75,7 @@ const argtype *thunk_convert(void *dst, const void *src,
const argtype *type_ptr, int to_host);
#ifndef NO_THUNK_TYPE_SIZE
-extern StructEntry struct_entries[];
+extern StructEntry *struct_entries;
int thunk_type_size_array(const argtype *type_ptr, int is_host);
int thunk_type_align_array(const argtype *type_ptr, int is_host);
@@ -189,4 +189,6 @@ unsigned int target_to_host_bitmask(unsigned int x86_mask,
unsigned int host_to_target_bitmask(unsigned int alpha_mask,
const bitmask_transtbl * trans_tbl);
+void thunk_init(unsigned int max_structs);
+
#endif
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 4917e20..49c0659 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -3277,6 +3277,7 @@ static abi_long do_ipc(unsigned int call, abi_long first,
#define STRUCT_SPECIAL(name) STRUCT_ ## name,
enum {
#include "syscall_types.h"
+STRUCT_MAX
};
#undef STRUCT
#undef STRUCT_SPECIAL
@@ -4911,6 +4912,8 @@ void syscall_init(void)
int size;
int i;
+ thunk_init(STRUCT_MAX);
+
#define STRUCT(name, ...) thunk_register_struct(STRUCT_ ## name, #name, struct_ ## name ## _def);
#define STRUCT_SPECIAL(name) thunk_register_struct_direct(STRUCT_ ## name, #name, &struct_ ## name ## _def);
#include "syscall_types.h"
diff --git a/thunk.c b/thunk.c
index c6a78ca..8bb46d0 100644
--- a/thunk.c
+++ b/thunk.c
@@ -25,10 +25,8 @@
//#define DEBUG
-#define MAX_STRUCTS 128
-
-/* XXX: make it dynamic */
-StructEntry struct_entries[MAX_STRUCTS];
+static unsigned int max_struct_entries;
+StructEntry *struct_entries;
static const argtype *thunk_type_next_ptr(const argtype *type_ptr);
@@ -71,6 +69,7 @@ void thunk_register_struct(int id, const char *name, const argtype *types)
StructEntry *se;
int nb_fields, offset, max_align, align, size, i, j;
+ assert(id < max_struct_entries);
se = struct_entries + id;
/* first we count the number of fields */
@@ -118,6 +117,8 @@ void thunk_register_struct_direct(int id, const char *name,
const StructEntry *se1)
{
StructEntry *se;
+
+ assert(id < max_struct_entries);
se = struct_entries + id;
*se = *se1;
se->name = name;
@@ -265,6 +266,7 @@ const argtype *thunk_convert(void *dst, const void *src,
const argtype *field_types;
const int *dst_offsets, *src_offsets;
+ assert(*type_ptr < max_struct_entries);
se = struct_entries + *type_ptr++;
if (se->convert[0] != NULL) {
/* specific conversion is needed */
@@ -335,3 +337,9 @@ int thunk_type_align_array(const argtype *type_ptr, int is_host)
return thunk_type_align(type_ptr, is_host);
}
#endif /* ndef NO_THUNK_TYPE_SIZE */
+
+void thunk_init(unsigned int max_structs)
+{
+ max_struct_entries = max_structs;
+ struct_entries = g_new(StructEntry, max_structs);
+}
++++++ 0038-Revert-Revert-seccomp-tests-that-al.patch ++++++
>From 0cf7218bdc4ee50a2554db9074c3366a09ca16ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber(a)suse.de>
Date: Tue, 14 Apr 2015 18:42:06 +0200
Subject: [PATCH] Revert "Revert seccomp tests that allow it to be used on
non-x86 architectures"
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This reverts commit ae6e8ef11e6cb43ec83a5846e8f3b266834cf280.
Our Factory libseccomp is patched to support ppc, ppc64, armv7l and soon
ppc64le.
Signed-off-by: Andreas Färber <afaerber(a)suse.de>
---
configure | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index b43b371..7f31e89 100755
--- a/configure
+++ b/configure
@@ -1848,14 +1848,19 @@ fi
# libseccomp check
if test "$seccomp" != "no" ; then
- if test "$cpu" = "i386" || test "$cpu" = "x86_64" &&
- $pkg_config --atleast-version=2.1.1 libseccomp; then
+ if $pkg_config --atleast-version=2.2.0 libseccomp ||
+ (test "$cpu" = "i386" || test "$cpu" = "x86_64" &&
+ $pkg_config --atleast-version=2.1.1 libseccomp); then
libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
seccomp="yes"
else
if test "$seccomp" = "yes"; then
+ if test "$cpu" = "i386" || test "$cpu" = "x86_64"; then
feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.1"
+ else
+ feature_not_found "libseccomp" "Install libseccomp devel >= 2.2.0"
+ fi
fi
seccomp="no"
fi
++++++ 0039-s390x-Fix-stoc-direction.patch ++++++
>From a8187b81c7ac84123ac4e4fb78d9219473fae1fa Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf(a)suse.de>
Date: Wed, 15 Apr 2015 02:28:05 +0200
Subject: [PATCH] s390x: Fix stoc direction
The store conditional instruction wants to store when the condition
is fulfilled, so we should branch out when it's not true.
The code today branches out when the condition is true, clearly
reversing the logic. Fix it up by negating the condition.
Signed-off-by: Alexander Graf <agraf(a)suse.de>
---
target-s390x/translate.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 4f82edd..8ae4912 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -3082,6 +3082,10 @@ static ExitStatus op_soc(DisasContext *s, DisasOps *o)
disas_jcc(s, &c, get_field(s->fields, m3));
+ /* We want to store when the condition is fulfilled, so branch
+ out when it's not */
+ c.cond = tcg_invert_cond(c.cond);
+
lab = gen_new_label();
if (c.is_64) {
tcg_gen_brcond_i64(c.cond, c.u.s64.a, c.u.s64.b, lab);
++++++ libcacard.spec.in ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -23,7 +23,7 @@
Group: System/Emulators/PC
QEMU_VERSION
Release: 0
-Source: http://wiki.qemu.org/download/qemu-2.2.0.tar.bz2
+Source: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
PATCH_FILES
# Please do not add patches manually here, run update_git.sh.
@@ -84,7 +84,7 @@
This sub-package contains development files for the Smartcard library.
%prep
-%setup -q -n qemu-%{version}
+%setup -q -n qemu-2.3.0
PATCH_EXEC
%build
++++++ pre_checkin.sh ++++++
#!/bin/sh
cp qemu.changes qemu-testsuite.changes
if [ "$1" != "-q" ]; then
echo "Note that the patch queue needs to be regenerated via update_git.sh"
echo "before running $0."
fi
++++++ qemu-2.2.0.tar.bz2 -> qemu-2.3.0.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/qemu/qemu-2.2.0.tar.bz2 /work/SRC/openSUSE:Factory/.qemu.new/qemu-2.3.0.tar.bz2 differ: char 11, line 1
++++++ qemu-linux-user.spec.in ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -23,7 +23,7 @@
Group: System/Emulators/PC
QEMU_VERSION
Release: 0
-Source: http://wiki.qemu.org/download/qemu-2.2.0.tar.bz2
+Source: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
PATCH_FILES
# Please do not add patches manually here, run update_git.sh.
@@ -78,7 +78,7 @@
run cross-architecture builds.
%prep
-%setup -q -n qemu-2.2.0
+%setup -q -n qemu-2.3.0
PATCH_EXEC
%build
++++++ qemu.spec.in ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -18,7 +18,7 @@
%ifarch %ix86 x86_64
# choice of building all from source or using provided binary x86 blobs
-%if 0%{?suse_version} >= 1140
+%if 0%{?suse_version} >= 1310
%define build_x86_fw_from_source 1
%else
%define build_x86_fw_from_source 0
@@ -45,8 +45,8 @@
Group: System/Emulators/PC
QEMU_VERSION
Release: 0
-Source: http://wiki.qemu.org/download/%name-2.2.0.tar.bz2
-Source99: http://wiki.qemu.org/download/%name-2.2.0.tar.bz2.sig
+Source: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2
+Source99: http://wiki.qemu.org/download/qemu-2.3.0.tar.bz2.sig
Source1: 80-kvm.rules
Source2: qemu-ifup
Source3: kvm_stat
@@ -54,9 +54,20 @@
Source5: 60-kvm.rules
Source6: ksm.service
Source7: 60-kvm.x86.rules
+# Upstream First -- http://wiki.qemu-project.org/Contribute/SubmitAPatch
# This patch queue is auto-generated from https://github.com/openSUSE/qemu
PATCH_FILES
-# Please do not add patches manually here, run update_git.sh.
+# Please do not add QEMU patches manually here.
+# Run update_git.sh to regenerate this queue.
+
+# SeaBIOS
+%if %{build_x86_fw_from_source}
+# PATCH-FIX-OPENSUSE seabios_128kb.patch brogers(a)suse.com -- make it fit
+Patch1000: seabios_128kb.patch
+# PATCH-FIX-UPSTREAM seabios_checkrom_typo.patch afaerber(a)suse.de -- tidy error message
+Patch1001: seabios_checkrom_typo.patch
+Patch1002: seabios_avoid_smbios_signature_string.patch
+%endif
# this is to make lint happy
Source300: qemu-rpmlintrc
@@ -78,6 +89,9 @@
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: glib2-devel
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+BuildRequires: glusterfs-devel
+%endif
%if 0%{?suse_version} >= 1220
BuildRequires: gtk3-devel
%else
@@ -86,6 +100,7 @@
BuildRequires: libaio
BuildRequires: libaio-devel
BuildRequires: libattr-devel
+BuildRequires: libbz2-devel
BuildRequires: libcap-devel
BuildRequires: libcap-ng-devel
%if 0%{?suse_version} >= 1310
@@ -97,6 +112,15 @@
BuildRequires: libibverbs-devel
%endif
BuildRequires: libjpeg-devel
+%ifarch %ix86 aarch64
+%if 0%{?suse_version} > 1320
+BuildRequires: libnuma-devel
+%endif
+%else
+%ifnarch %arm
+BuildRequires: libnuma-devel
+%endif
+%endif
BuildRequires: libpcap-devel
BuildRequires: libpixman-1-0-devel
BuildRequires: libpng-devel
@@ -104,18 +128,31 @@
%if 0%{?suse_version} >= 1315
BuildRequires: librdmacm-devel
%endif
+%ifnarch ppc64le
+%if 0%{?suse_version} > 1320
+BuildRequires: libseccomp-devel
+%endif
+%endif
+%if 0%{?suse_version} > 1140
+BuildRequires: libssh2-devel
+%endif
BuildRequires: libtool
%if 0%{?suse_version} > 1310
BuildRequires: libusb-devel
%endif
BuildRequires: libvdeplug3-devel
+BuildRequires: lzo-devel
%if 0%{?suse_version} > 1220
BuildRequires: makeinfo
%endif
BuildRequires: mozilla-nss-devel
BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
BuildRequires: pwdutils
BuildRequires: python
+%if 0%{?suse_version} >= 1310
+BuildRequires: snappy-devel
+%endif
%if 0%{?suse_version} >= 1210
BuildRequires: systemd
%{?systemd_requires}
@@ -149,6 +186,15 @@
BuildRequires: spice-protocol-devel
%endif
%endif
+%if "%{name}" == "qemu-testsuite"
+BuildRequires: bc
+BuildRequires: qemu-arm = %version
+BuildRequires: qemu-extra = %version
+BuildRequires: qemu-ppc = %version
+BuildRequires: qemu-s390 = %version
+BuildRequires: qemu-tools = %version
+BuildRequires: qemu-x86 = %version
+%endif
Requires: /usr/sbin/groupadd
Requires: pwdutils
Requires: timezone
@@ -189,6 +235,8 @@
system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
as PC and PowerMac systems.
+%if "%{name}" != "qemu-testsuite"
+
%package x86
Summary: Universal CPU emulator -- x86
Group: System/Emulators/PC
@@ -300,15 +348,22 @@
This sub-package contains translations.
+# Modules need to match {qemu-system-*,qemu-img} version.
+# We cannot have qemu and qemu-tools require them in the right version,
+# as that would drag in the dependencies the modules are supposed to avoid.
+# Nor can we have modules require the right version of qemu and qemu-tools
+# as Xen reuses our qemu-tools but does not want our qemu and qemu-x86.
+%define qemu_module_conflicts \
+Conflicts: qemu < %version \
+Conflicts: qemu > %version \
+Conflicts: qemu-tools < %version \
+Conflicts: qemu-tools > %version
+
%package block-curl
Summary: Universal CPU emulator -- cURL block support
Group: System/Emulators/PC
Provides: qemu:%_libdir/%name/block-curl.so
-# Needs to match {qemu-system-*,qemu-img} >= 2.0.0, but is optional.
-Conflicts: qemu < %version
-Conflicts: qemu > %version
-Conflicts: qemu-tools < %version
-Conflicts: qemu-tools > %version
+%{qemu_module_conflicts}
%description block-curl
QEMU is an extremely well-performing CPU emulator that allows you to
@@ -320,6 +375,40 @@
This sub-package contains a module for accessing network-based image files
over a network connection from qemu-img tool and QEMU system emulation.
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+%package block-gluster
+Summary: Universal CPU emulator -- GlusterFS block support
+Group: System/Emulators/PC
+%{qemu_module_conflicts}
+
+%description block-gluster
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+This sub-package contains a module for accessing network-based image files
+over a GlusterFS network connection from qemu-img tool and QEMU system emulation.
+%endif
+
+%if 0%{?suse_version} > 1140
+%package block-ssh
+Summary: Universal CPU emulator -- SSH block support
+Group: System/Emulators/PC
+%{qemu_module_conflicts}
+
+%description block-ssh
+QEMU is an extremely well-performing CPU emulator that allows you to
+choose between simulating an entire system and running userspace
+binaries for different architectures under your native operating
+system. It currently emulates x86, ARM, PowerPC and SPARC CPUs as well
+as PC and PowerMac systems.
+
+This sub-package contains a module for accessing network-based image files
+over an SSH network connection from qemu-img tool and QEMU system emulation.
+%endif
+
%package tools
Summary: Universal CPU emulator -- Tools
Group: System/Emulators/PC
@@ -424,11 +513,19 @@
This package provides a service file for starting and stopping KSM.
%endif
+%endif # !qemu-testsuite
+
%prep
-%setup -q -n %name-2.2.0
+%setup -q -n qemu-2.3.0
PATCH_EXEC
%if %{build_x86_fw_from_source}
+pushd roms/seabios
+%patch1000 -p1
+%patch1001 -p1
+%patch1002 -p1
+popd
+
# as a safeguard, delete the firmware files that we intend to build
for i in %built_firmware_files
do
@@ -445,30 +542,95 @@
--disable-strip \
--enable-system --disable-linux-user \
--enable-tools --enable-guest-agent \
+ --enable-modules \
--enable-pie \
--enable-docs \
--audio-drv-list="pa alsa sdl oss" \
+ --disable-archipelago \
+ --enable-attr \
+ --enable-bluez \
%if 0%{?suse_version} >= 1130
- --enable-brlapi \
+ --enable-brlapi \
+%else
+ --disable-brlapi \
%endif
+ --enable-bzip2 \
--enable-cap-ng \
--enable-curl \
--enable-curses \
+ --enable-fdt \
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+ --enable-glusterfs \
+%else
+ --disable-glusterfs \
+%endif
--enable-gtk \
%if 0%{?suse_version} >= 1220
--with-gtkabi=3.0 \
+%else
+ --with-gtkabi=2.0 \
%endif
%if %{kvm_available}
--enable-kvm \
+%else
+ --disable-kvm \
+%endif
+ --disable-libiscsi \
+ --disable-libnfs \
+%if 0%{?suse_version} > 1140
+ --enable-libssh2 \
+%else
+ --disable-libssh2 \
+%endif
+%if 0%{?suse_version} > 1310
+ --enable-libusb \
+%else
+ --disable-libusb \
%endif
--enable-linux-aio \
- --enable-modules \
+ --enable-lzo \
+ --disable-netmap \
+%ifarch %ix86 aarch64
+%if 0%{?suse_version} > 1320
+ --enable-numa \
+%else
+ --disable-numa \
+%endif
+%else
+%ifarch %arm
+ --disable-numa \
+%else
+ --enable-numa \
+%endif
+%endif
+%if 0%{?suse_version} >= 1310
+ --enable-quorum \
+%else
+ --disable-quorum \
+%endif
+ --disable-rbd \
%if 0%{?suse_version} >= 1315
--enable-rdma \
+%else
+ --disable-rdma \
%endif
--enable-sdl \
--with-sdlabi=1.2 \
+%ifnarch ppc64le
+%if 0%{?suse_version} > 1320
+ --enable-seccomp \
+%else
+ --disable-seccomp \
+%endif
+%else
+ --disable-seccomp \
+%endif
--enable-smartcard-nss \
+%if 0%{?suse_version} >= 1310
+ --enable-snappy \
+%else
+ --disable-snappy \
+%endif
%if 0%{?suse_version} >= 1140
%ifarch %ix86 x86_64
--enable-spice \
@@ -478,15 +640,19 @@
%else
--disable-spice \
%endif
-%if 0%{?suse_version} > 1310
- --enable-libusb \
-%endif
+ --enable-tpm \
+ --enable-trace-backends=nop \
%if 0%{?sles_version} != 11
--enable-usb-redir \
+%else
+ --disable-usb-redir \
%endif
+ --enable-uuid \
--enable-vde \
+ --enable-vhdx \
+ --enable-vhost-net \
--enable-virtfs \
- --enable-virtio-blk-data-plane \
+ --enable-vnc \
--enable-vnc-jpeg \
--enable-vnc-png \
--enable-vnc-sasl \
@@ -494,8 +660,13 @@
--enable-vnc-ws \
%ifarch x86_64
--enable-xen \
+ --enable-xen-pci-passthrough \
+%else
+ --disable-xen \
%endif
+%if "%{name}" != "qemu-testsuite"
+
make %{?_smp_mflags} V=1
# Firmware
@@ -509,10 +680,41 @@
cp pc-bios/s390-ccw/s390-ccw.img pc-bios/s390-ccw.img
%endif
+%else # qemu-testsuite
+for conf in default-configs/*-softmmu.mak; do
+ arch=`echo "$conf" | sed -e 's|default-configs/\(.*\)-softmmu.mak|\1|g'`
+ ln -s %{_bindir}/qemu-system-$arch $arch-softmmu/qemu-system-$arch
+done
+%endif
+
%check
-make check V=1
+%if "%{name}" == "qemu-testsuite"
+%if 0%{?suse_version} >= 1310
+make check-report.html V=1
+install -D -m 644 check-report.html %{buildroot}%{_datadir}/qemu/check-report.html
+%else
+make check-report.xml V=1
+%endif
+install -D -m 644 check-report.xml %{buildroot}%{_datadir}/qemu/check-report.xml
+%ifnarch %ix86 x64_64
+export QEMU_PROG=%{_bindir}/qemu-system-x86_64
+%endif
+export QEMU_IMG_PROG=%{_bindir}/qemu-img
+export QEMU_IO_PROG=%{_bindir}/qemu-io
+export QEMU_NBD_PROG=%{_bindir}/qemu-nbd
+# make check-block would rebuild qemu-img and qemu-io
+make tests/qemu-iotests/socket_scm_helper V=1
+pushd tests/qemu-iotests
+# -qcow 001 seems to hang?
+# TODO investigate hangs and failures
+#for fmt in -raw -bochs -cloop -parallels -qcow2 -qed -vdi -vpc -vhdx -vmdk; do
+# ./check -v -T $fmt -file -g quick || true
+#done
+popd
+%endif
%install
+%if "%{name}" != "qemu-testsuite"
make install DESTDIR=$RPM_BUILD_ROOT
rm -fr $RPM_BUILD_ROOT/%_datadir/doc
rm $RPM_BUILD_ROOT/%_libdir/libcacard*
@@ -554,6 +756,9 @@
%endif
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/ksm.service
%fdupes -s $RPM_BUILD_ROOT
+%endif
+
+%if "%{name}" != "qemu-testsuite"
%pre
%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null
@@ -599,9 +804,11 @@
%service_del_postun ksm.service
%endif
+%endif # !qemu-testsuite
+
%files
%defattr(-, root, root)
-%dir %_libdir/%name
+%if "%{name}" != "qemu-testsuite"
%doc COPYING COPYING.LIB Changelog README VERSION qemu-doc.html qemu-tech.html
%doc %_mandir/man1/qemu.1.gz
%dir %_datadir/%name
@@ -610,6 +817,7 @@
%_datadir/%name/qemu-icon.bmp
%_datadir/%name/qemu_logo_no_text.svg
%dir %_sysconfdir/%name
+%dir %_libdir/%name
%if %{kvm_available}
%if 0%{?suse_version} >= 1230
%{_udevrulesdir}/80-kvm.rules
@@ -691,9 +899,20 @@
%files block-curl
%defattr(-, root, root)
-%dir %_libdir/%name
%_libdir/%name/block-curl.so
+%if 0%{?suse_version} >= 1310 && 0%{?suse_version} != 1315
+%files block-gluster
+%defattr(-, root, root)
+%_libdir/%name/block-gluster.so
+%endif
+
+%if 0%{?suse_version} > 1140
+%files block-ssh
+%defattr(-, root, root)
+%_libdir/%name/block-ssh.so
+%endif
+
%files lang -f %name.lang
%defattr(-, root, root)
@@ -746,6 +965,7 @@
%verify(not mode) %_libexecdir/qemu-bridge-helper
%dir %_sysconfdir/%name
%config %_sysconfdir/%name/bridge.conf
+%dir %_libdir/%name
%files guest-agent
%defattr(-, root, root)
@@ -757,4 +977,11 @@
%{_unitdir}/ksm.service
%endif
+%else # qemu-testsuite
+%doc %_datadir/qemu/check-report.xml
+%if 0%{?suse_version} >= 1310
+%doc %_datadir/qemu/check-report.html
+%endif
+%endif
+
%changelog
++++++ seabios_128kb.patch ++++++
>From 5fff5f1e79d8bc7ef24d1f8ff42c8021215f23a6 Mon Sep 17 00:00:00 2001
From: Bruce Rogers <brogers(a)suse.com>
Date: Thu, 19 Mar 2015 16:34:31 -0600
Subject: [PATCH] Eliminate some duplicate string segments to reduce bios image
size
In some build environments, we are running up against the 128K bios
size limit. This change simply takes larger string segments which are
used in printf style messages and uses a single copy, now referenced
with a %s specifier, resulting in the needed space savings.
Signed-off-by: Bruce Rogers <brogers(a)suse.com>
---
src/boot.c | 20 +++++++++++---------
src/bootsplash.c | 5 +++--
src/fw/paravirt.c | 8 +++++---
src/fw/pciinit.c | 19 ++++++++++---------
src/hw/usb-hub.c | 9 +++++----
src/hw/usb-msc.c | 6 ++++--
6 files changed, 38 insertions(+), 29 deletions(-)
diff --git a/src/boot.c b/src/boot.c
index d6b1fb7..de37041 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -25,6 +25,8 @@
* Boot priority ordering
****************************************************************/
+static const char *no_boot_dev_str = "No bootable device.";
+static const char *boot_str = "Booting from ";
static char **Bootorder VARVERIFY32INIT;
static int BootorderCount;
@@ -587,7 +589,7 @@ bcv_prepboot(void)
static void
call_boot_entry(struct segoff_s bootsegip, u8 bootdrv)
{
- dprintf(1, "Booting from %04x:%04x\n", bootsegip.seg, bootsegip.offset);
+ dprintf(1, "%s%04x:%04x\n", boot_str, bootsegip.seg, bootsegip.offset);
struct bregs br;
memset(&br, 0, sizeof(br));
br.flags = F_IF;
@@ -641,7 +643,7 @@ boot_cdrom(struct drive_s *drive_g)
{
if (! CONFIG_CDROM_BOOT)
return;
- printf("Booting from DVD/CD...\n");
+ printf("%sDVD/CD...\n", boot_str);
int status = cdrom_boot(drive_g);
if (status) {
@@ -664,7 +666,7 @@ boot_cbfs(struct cbfs_file *file)
{
if (!CONFIG_COREBOOT_FLASH)
return;
- printf("Booting from CBFS...\n");
+ printf("%sCBFS...\n", boot_str);
cbfs_run_payload(file);
}
@@ -672,7 +674,7 @@ boot_cbfs(struct cbfs_file *file)
static void
boot_rom(u32 vector)
{
- printf("Booting from ROM...\n");
+ printf("%sROM...\n", boot_str);
struct segoff_s so;
so.segoff = vector;
call_boot_entry(so, 0);
@@ -683,10 +685,10 @@ static void
boot_fail(void)
{
if (BootRetryTime == (u32)-1)
- printf("No bootable device.\n");
+ printf("%s\n", no_boot_dev_str);
else
- printf("No bootable device. Retrying in %d seconds.\n"
- , BootRetryTime/1000);
+ printf("%s Retrying in %d seconds.\n", no_boot_dev_str,
+ BootRetryTime/1000);
// Wait for 'BootRetryTime' milliseconds and then reboot.
u32 end = irqtimer_calc(BootRetryTime);
for (;;) {
@@ -712,11 +714,11 @@ do_boot(int seq_nr)
struct bev_s *ie = &BEV[seq_nr];
switch (ie->type) {
case IPL_TYPE_FLOPPY:
- printf("Booting from Floppy...\n");
+ printf("%sFloppy...\n", boot_str);
boot_disk(0x00, CheckFloppySig);
break;
case IPL_TYPE_HARDDISK:
- printf("Booting from Hard Disk...\n");
+ printf("%sHard Disk...\n", boot_str);
boot_disk(0x80, 1);
break;
case IPL_TYPE_CDROM:
diff --git a/src/bootsplash.c b/src/bootsplash.c
index c572685..e28d264 100644
--- a/src/bootsplash.c
+++ b/src/bootsplash.c
@@ -16,6 +16,7 @@
#include "string.h" // memset
#include "util.h" // enable_bootsplash
+static const char *decode_failed_str = "_decode failed with return code ";
/****************************************************************
* Helper functions
@@ -154,7 +155,7 @@ enable_bootsplash(void)
dprintf(5, "Decoding bootsplash.jpg\n");
ret = jpeg_decode(jpeg, filedata);
if (ret) {
- dprintf(1, "jpeg_decode failed with return code %d...\n", ret);
+ dprintf(1, "jpeg%s%d...\n", decode_failed_str, ret);
goto done;
}
jpeg_get_size(jpeg, &width, &height);
@@ -168,7 +169,7 @@ enable_bootsplash(void)
dprintf(5, "Decoding bootsplash.bmp\n");
ret = bmp_decode(bmp, filedata, filesize);
if (ret) {
- dprintf(1, "bmp_decode failed with return code %d...\n", ret);
+ dprintf(1, "bmp%s%d...\n", decode_failed_str, ret);
goto done;
}
bmp_get_size(bmp, &width, &height);
diff --git a/src/fw/paravirt.c b/src/fw/paravirt.c
index db22ae8..868435a 100644
--- a/src/fw/paravirt.c
+++ b/src/fw/paravirt.c
@@ -36,6 +36,8 @@ int PlatformRunningOn VARFSEG;
*/
#define KVM_CPUID_SIGNATURE 0x40000000
+static const char *running_on_qemu_str = "Running on QEMU (";
+
static void kvm_detect(void)
{
unsigned int eax, ebx, ecx, edx;
@@ -73,13 +75,13 @@ static void qemu_detect(void)
PlatformRunningOn |= PF_QEMU;
switch (d) {
case 0x1237:
- dprintf(1, "Running on QEMU (i440fx)\n");
+ dprintf(1, "%si440fx)\n", running_on_qemu_str);
break;
case 0x29c0:
- dprintf(1, "Running on QEMU (q35)\n");
+ dprintf(1, "%sq35)\n", running_on_qemu_str);
break;
default:
- dprintf(1, "Running on QEMU (unknown nb: %04x:%04x)\n", v, d);
+ dprintf(1, "%sunknown nb: %04x:%04x)\n", running_on_qemu_str, v, d);
break;
}
kvm_detect();
diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c
index ac39d23..63018e4 100644
--- a/src/fw/pciinit.c
+++ b/src/fw/pciinit.c
@@ -27,6 +27,10 @@
#define PCI_BRIDGE_MEM_MIN (1<<21) // 2M == hugepage size
#define PCI_BRIDGE_IO_MIN 0x1000 // mandated by pci bridge spec
+static const char *pri_bus_str = "PCI: primary bus = ";
+static const char *sec_bus_str = "PCI: secondary bus = ";
+static const char *sub_bus_str = "PCI: subordinate bus = ";
+
static const char *region_type_name[] = {
[ PCI_REGION_TYPE_IO ] = "io",
[ PCI_REGION_TYPE_MEM ] = "mem",
@@ -425,7 +429,6 @@ static void pci_bios_init_platform(void)
}
}
-
/****************************************************************
* Bus initialization
****************************************************************/
@@ -456,21 +459,20 @@ pci_bios_init_bus_rec(int bus, u8 *pci_bus)
u8 pribus = pci_config_readb(bdf, PCI_PRIMARY_BUS);
if (pribus != bus) {
- dprintf(1, "PCI: primary bus = 0x%x -> 0x%x\n", pribus, bus);
+ dprintf(1, "%s0x%x -> 0x%x\n", pri_bus_str, pribus, bus);
pci_config_writeb(bdf, PCI_PRIMARY_BUS, bus);
} else {
- dprintf(1, "PCI: primary bus = 0x%x\n", pribus);
+ dprintf(1, "%s0x%x\n", pri_bus_str, pribus);
}
u8 secbus = pci_config_readb(bdf, PCI_SECONDARY_BUS);
(*pci_bus)++;
if (*pci_bus != secbus) {
- dprintf(1, "PCI: secondary bus = 0x%x -> 0x%x\n",
- secbus, *pci_bus);
+ dprintf(1, "%s0x%x -> 0x%x\n", sec_bus_str, secbus, *pci_bus);
secbus = *pci_bus;
pci_config_writeb(bdf, PCI_SECONDARY_BUS, secbus);
} else {
- dprintf(1, "PCI: secondary bus = 0x%x\n", secbus);
+ dprintf(1, "%s0x%x\n", sec_bus_str, secbus);
}
/* set to max for access to all subordinate buses.
@@ -481,11 +483,10 @@ pci_bios_init_bus_rec(int bus, u8 *pci_bus)
pci_bios_init_bus_rec(secbus, pci_bus);
if (subbus != *pci_bus) {
- dprintf(1, "PCI: subordinate bus = 0x%x -> 0x%x\n",
- subbus, *pci_bus);
+ dprintf(1, "%s0x%x -> 0x%x\n", sub_bus_str, subbus, *pci_bus);
subbus = *pci_bus;
} else {
- dprintf(1, "PCI: subordinate bus = 0x%x\n", subbus);
+ dprintf(1, "%s0x%x\n", sub_bus_str, subbus);
}
pci_config_writeb(bdf, PCI_SUBORDINATE_BUS, subbus);
}
diff --git a/src/hw/usb-hub.c b/src/hw/usb-hub.c
index 54e341b..337385d 100644
--- a/src/hw/usb-hub.c
+++ b/src/hw/usb-hub.c
@@ -11,6 +11,8 @@
#include "usb-hub.h" // struct usb_hub_descriptor
#include "util.h" // timer_calc
+static const char *port_hub_fail_str = "Failure on hub port ";
+
static int
get_hub_desc(struct usb_pipe *pipe, struct usb_hub_descriptor *desc)
{
@@ -82,7 +84,6 @@ get_port_status(struct usbhub_s *hub, int port, struct usb_port_status *sts)
mutex_unlock(&hub->lock);
return ret;
}
-
// Check if device attached to port
static int
usb_hub_detect(struct usbhub_s *hub, u32 port)
@@ -90,7 +91,7 @@ usb_hub_detect(struct usbhub_s *hub, u32 port)
struct usb_port_status sts;
int ret = get_port_status(hub, port, &sts);
if (ret) {
- dprintf(1, "Failure on hub port %d detect\n", port);
+ dprintf(1, "%s%d detect\n", port_hub_fail_str, port);
return -1;
}
return (sts.wPortStatus & USB_PORT_STAT_CONNECTION) ? 1 : 0;
@@ -102,7 +103,7 @@ usb_hub_disconnect(struct usbhub_s *hub, u32 port)
{
int ret = clear_port_feature(hub, port, USB_PORT_FEAT_ENABLE);
if (ret)
- dprintf(1, "Failure on hub port %d disconnect\n", port);
+ dprintf(1, "%s%d disconnect\n", port_hub_fail_str, port);
}
// Reset device on port
@@ -142,7 +143,7 @@ usb_hub_reset(struct usbhub_s *hub, u32 port)
>> USB_PORT_STAT_SPEED_SHIFT);
fail:
- dprintf(1, "Failure on hub port %d reset\n", port);
+ dprintf(1, "%s%d reset\n", port_hub_fail_str, port);
usb_hub_disconnect(hub, port);
return -1;
}
diff --git a/src/hw/usb-msc.c b/src/hw/usb-msc.c
index d90319f..9c6b3e2 100644
--- a/src/hw/usb-msc.c
+++ b/src/hw/usb-msc.c
@@ -50,6 +50,8 @@ struct csw_s {
u8 bCSWStatus;
} PACKED;
+static const char *cant_config_str = "Unable to configure USB MSC ";
+
static int
usb_msc_send(struct usbdrive_s *udrive_gf, int dir, void *buf, u32 bytes)
{
@@ -158,7 +160,7 @@ usb_msc_lun_setup(struct usb_pipe *inpipe, struct usb_pipe *outpipe,
int prio = bootprio_find_usb(usbdev, lun);
int ret = scsi_drive_setup(&drive->drive, "USB MSC", prio);
if (ret) {
- dprintf(1, "Unable to configure USB MSC drive.\n");
+ dprintf(1, "%sdrive.\n", cant_config_str);
free(drive);
return -1;
}
@@ -213,7 +215,7 @@ usb_msc_setup(struct usbdevice_s *usbdev)
return 0;
fail:
- dprintf(1, "Unable to configure USB MSC device.\n");
+ dprintf(1, "%sdevice.\n", cant_config_str);
usb_free_pipe(usbdev, inpipe);
usb_free_pipe(usbdev, outpipe);
return -1;
--
1.9.0
++++++ seabios_avoid_smbios_signature_string.patch ++++++
>From 9d3c06336ec443b6763c92f929013afcfce70c4a Mon Sep 17 00:00:00 2001
From: Kevin O'Connor <kevin(a)koconnor.net>
Date: Thu, 9 Apr 2015 11:57:44 -0400
Subject: [PATCH] smbios: Use integer signature instead of string signature
Change the smbios structure to use a 4 byte u32 signature field
instead of a 4 byte character string field. In practice, this allows
the compiler to place the signature in the initialize code segment and
thus makes it less likely the signature would be found in the
f-segment. (If the smbios signature is found in the f-segment it can
confuse some table scans.)
Reviewed-by: Bruce Rogers <brogers(a)suse.com>
Tested-by: Bruce Rogers <brogers(a)suse.com>
Signed-off-by: Kevin O'Connor <kevin(a)koconnor.net>
Signed-off-by: Andreas Färber <afaerber(a)suse.de>
---
src/fw/biostables.c | 2 +-
src/fw/smbios.c | 2 +-
src/std/smbios.h | 4 +++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/fw/biostables.c b/src/fw/biostables.c
index 50a891b..450aca2 100644
--- a/src/fw/biostables.c
+++ b/src/fw/biostables.c
@@ -271,7 +271,7 @@ copy_smbios(void *pos)
if (SMBiosAddr)
return;
struct smbios_entry_point *p = pos;
- if (memcmp(p->anchor_string, "_SM_", 4))
+ if (p->signature != SMBIOS_SIGNATURE)
return;
if (checksum(pos, 0x10) != 0)
return;
diff --git a/src/fw/smbios.c b/src/fw/smbios.c
index dba0541..f3b5ad9 100644
--- a/src/fw/smbios.c
+++ b/src/fw/smbios.c
@@ -37,7 +37,7 @@ smbios_entry_point_setup(u16 max_structure_size,
struct smbios_entry_point ep;
memset(&ep, 0, sizeof(ep));
- memcpy(ep.anchor_string, "_SM_", 4);
+ ep.signature = SMBIOS_SIGNATURE;
ep.length = 0x1f;
ep.smbios_major_version = 2;
ep.smbios_minor_version = 4;
diff --git a/src/std/smbios.h b/src/std/smbios.h
index 0513716..4ccf2ea 100644
--- a/src/std/smbios.h
+++ b/src/std/smbios.h
@@ -3,11 +3,13 @@
#include "types.h" // u32
+#define SMBIOS_SIGNATURE 0x5f4d535f // "_SM_"
+
/* SMBIOS entry point -- must be written to a 16-bit aligned address
between 0xf0000 and 0xfffff.
*/
struct smbios_entry_point {
- char anchor_string[4];
+ u32 signature;
u8 checksum;
u8 length;
u8 smbios_major_version;
--
2.1.4
++++++ seabios_checkrom_typo.patch ++++++
>From 6b0e2bd9d914f6421c015ec28d96cf069fb8015f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber(a)suse.de>
Date: Thu, 19 Mar 2015 17:13:00 +0100
Subject: [PATCH] checkrom: Fix typo in error message
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
increate -> increase
Reviewed-by: Alistair Francis <alistair.francis(a)xilinx.com>
Signed-off-by: Andreas Färber <afaerber(a)suse.de>
---
scripts/checkrom.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkrom.py b/scripts/checkrom.py
index 377277d..aced5e2 100755
--- a/scripts/checkrom.py
+++ b/scripts/checkrom.py
@@ -39,7 +39,7 @@ def main():
finalsize = 256*1024
if datasize > finalsize:
print("Error! ROM doesn't fit (%d > %d)" % (datasize, finalsize))
- print(" You have to either increate the size (CONFIG_ROM_SIZE)")
+ print(" You have to either increase the size (CONFIG_ROM_SIZE)")
print(" or turn off some features (such as hardware support not")
print(" needed) to make it fit. Trying a more recent gcc version")
print(" might work too.")
--
2.1.4
++++++ update_git.sh ++++++
--- /var/tmp/diff_new_pack.VeHR0X/_old 2015-05-02 17:31:36.000000000 +0200
+++ /var/tmp/diff_new_pack.VeHR0X/_new 2015-05-02 17:31:36.000000000 +0200
@@ -11,8 +11,8 @@
GIT_TREE=git://github.com/openSUSE/qemu.git
GIT_LOCAL_TREE=~/git/qemu-opensuse
-GIT_BRANCH=opensuse-2.2
-GIT_UPSTREAM_TAG=v2.2.0
+GIT_BRANCH=opensuse-2.3
+GIT_UPSTREAM_TAG=v2.3.0
GIT_DIR=/dev/shm/qemu-factory-git-dir
CMP_DIR=/dev/shm/qemu-factory-cmp-dir
@@ -145,3 +145,8 @@
)
rm -rf $CMP_DIR
+
+sed -e 's|^\(Name:.*qemu\)|\1-testsuite|' < qemu.spec > qemu-testsuite.spec
+osc service localrun format_spec_file
+
+/bin/sh pre_checkin.sh -q
1
0
Hello community,
here is the log from the commit of package btrfsprogs for openSUSE:Factory checked in at 2015-05-02 17:30:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/btrfsprogs (Old)
and /work/SRC/openSUSE:Factory/.btrfsprogs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "btrfsprogs"
Changes:
--------
--- /work/SRC/openSUSE:Factory/btrfsprogs/btrfsprogs.changes 2015-03-29 20:15:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.btrfsprogs.new/btrfsprogs.changes 2015-05-02 17:30:25.000000000 +0200
@@ -1,0 +2,19 @@
+Wed Apr 29 00:00:00 CEST 2015 - dsterba(a)suse.cz
+
+- version 4.0
+ * resize:
+ * don't accept file as an argument (it's confusing)
+ * print better error message in case of an error
+ * restore: optionally restore metadata (time, mode, uid/gid)
+ * receive: optionally enforce chroot
+ * new rescue subcommand 'zero-log', same as btrfs-zero-log, but
+ now also part of the main utility
+ * check:
+ * free space checks match kernel, fixes incorrect reports
+ * convert: fix setting of checksum bit if --no-datasum is used
+ * fsck.btrfs: don't print messages
+ * fix quota rescan on PPC64 (mangled ioctl number)
+ * test updates
+ * documentation: files renamed to .asciidoc, misc fixups
+
+-------------------------------------------------------------------
Old:
----
btrfs-progs-v3.19.1.tar.gz
New:
----
btrfs-progs-v4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ btrfsprogs.spec ++++++
--- /var/tmp/diff_new_pack.5Eg7vQ/_old 2015-05-02 17:30:26.000000000 +0200
+++ /var/tmp/diff_new_pack.5Eg7vQ/_new 2015-05-02 17:30:26.000000000 +0200
@@ -17,7 +17,7 @@
Name: btrfsprogs
-Version: 3.19.1
+Version: 4.0
Release: 0
Summary: Utilities for the Btrfs filesystem
License: GPL-2.0
++++++ btrfs-progs-v3.19.1.tar.gz -> btrfs-progs-v4.0.tar.gz ++++++
++++ 9789 lines of diff (skipped)
++++++ fix-doc-build-on-SLE11SP3.diff ++++++
--- /var/tmp/diff_new_pack.5Eg7vQ/_old 2015-05-02 17:30:27.000000000 +0200
+++ /var/tmp/diff_new_pack.5Eg7vQ/_new 2015-05-02 17:30:27.000000000 +0200
@@ -5,8 +5,8 @@
Index: btrfs-progs-v3.17.1/Documentation/btrfs-mount.txt
===================================================================
---- btrfs-progs-v3.17.1.orig/Documentation/btrfs-mount.txt
-+++ btrfs-progs-v3.17.1/Documentation/btrfs-mount.txt
+--- btrfs-progs-v3.17.1.orig/Documentation/btrfs-mount.asciidoc
++++ btrfs-progs-v3.17.1/Documentation/btrfs-mount.asciidoc
@@ -5,6 +5,10 @@ NAME
----
btrfs-mount - mount options and supported file attributes for the btrfs filesystem
++++++ local-version-override.patch ++++++
--- /var/tmp/diff_new_pack.5Eg7vQ/_old 2015-05-02 17:30:27.000000000 +0200
+++ /var/tmp/diff_new_pack.5Eg7vQ/_new 2015-05-02 17:30:27.000000000 +0200
@@ -6,8 +6,8 @@
# Copyright 2008, Oracle
# Released under the GNU GPLv2
--v="v3.19.1"
-+v="v3.19.1+20150325"
+-v="v4.0"
++v="v4.0+20150429"
opt=$1
1
0
Hello community,
here is the log from the commit of package kdepim4 for openSUSE:Factory checked in at 2015-05-02 17:29:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdepim4 (Old)
and /work/SRC/openSUSE:Factory/.kdepim4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdepim4"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdepim4/kdepim4.changes 2015-03-11 09:43:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kdepim4.new/kdepim4.changes 2015-05-02 17:29:22.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Apr 11 14:08:21 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to 4.14.7
+ * KDE Applications 15.04.0
+ * See https://www.kde.org/announcements/announce-applications-15.04.0.php
+
+-------------------------------------------------------------------
Old:
----
kdepim-4.14.6.tar.xz
New:
----
kdepim-4.14.7.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdepim4.spec ++++++
--- /var/tmp/diff_new_pack.fNuqxa/_old 2015-05-02 17:29:23.000000000 +0200
+++ /var/tmp/diff_new_pack.fNuqxa/_new 2015-05-02 17:29:23.000000000 +0200
@@ -17,7 +17,7 @@
Name: kdepim4
-Version: 4.14.6
+Version: 4.14.7
Release: 0
Summary: Base package of kdepim
License: GPL-2.0+ and LGPL-2.1+
++++++ kdepim-4.14.6.tar.xz -> kdepim-4.14.7.tar.xz ++++++
/work/SRC/openSUSE:Factory/kdepim4/kdepim-4.14.6.tar.xz /work/SRC/openSUSE:Factory/.kdepim4.new/kdepim-4.14.7.tar.xz differ: char 26, line 1
1
0
Hello community,
here is the log from the commit of package kdepim4-runtime for openSUSE:Factory checked in at 2015-05-02 17:28:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdepim4-runtime (Old)
and /work/SRC/openSUSE:Factory/.kdepim4-runtime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdepim4-runtime"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdepim4-runtime/kdepim4-runtime.changes 2015-03-11 09:43:04.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kdepim4-runtime.new/kdepim4-runtime.changes 2015-05-02 17:28:16.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Apr 11 14:07:08 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to 4.14.7
+ * KDE Applications 15.04.0
+ * See https://www.kde.org/announcements/announce-applications-15.04.0.php
+
+-------------------------------------------------------------------
Old:
----
kdepim-runtime-4.14.6.tar.xz
New:
----
kdepim-runtime-4.14.7.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdepim4-runtime.spec ++++++
--- /var/tmp/diff_new_pack.0AqAeM/_old 2015-05-02 17:28:18.000000000 +0200
+++ /var/tmp/diff_new_pack.0AqAeM/_new 2015-05-02 17:28:18.000000000 +0200
@@ -17,7 +17,7 @@
Name: kdepim4-runtime
-Version: 4.14.6
+Version: 4.14.7
Release: 0
Summary: Base package of kdepim
License: LGPL-2.1+
++++++ kdepim-runtime-4.14.6.tar.xz -> kdepim-runtime-4.14.7.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdepim-runtime-4.14.6/CMakeLists.txt new/kdepim-runtime-4.14.7/CMakeLists.txt
--- old/kdepim-runtime-4.14.6/CMakeLists.txt 2015-02-27 01:16:51.000000000 +0100
+++ new/kdepim-runtime-4.14.7/CMakeLists.txt 2015-03-24 13:29:50.000000000 +0100
@@ -36,7 +36,7 @@
set(KDEPIM_RUNTIME_DEV_VERSION "")
endif()
-set(KDEPIM_RUNTIME_VERSION "4.14.6${KDEPIM_RUNTIME_DEV_VERSION}")
+set(KDEPIM_RUNTIME_VERSION "4.14.7${KDEPIM_RUNTIME_DEV_VERSION}")
configure_file(kdepim-runtime-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdepim-runtime-version.h @ONLY)
@@ -49,11 +49,11 @@
set(CMAKE_AUTOMOC ON)
# Kdelibs
-find_package(KDE4 4.13.0 REQUIRED)
+find_package(KDE4 4.14.0 REQUIRED)
include(KDE4Defaults)
# KdepimLibs
-find_package(KdepimLibs 4.14.6)
+find_package(KdepimLibs 4.14.7)
set_package_properties(KdepimLibs PROPERTIES DESCRIPTION "The KDEPIM libraries" URL "http://www.kde.org" TYPE REQUIRED)
#Boost
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdepim-runtime-4.14.6/resources/birthdays/birthdaysresource.cpp new/kdepim-runtime-4.14.7/resources/birthdays/birthdaysresource.cpp
--- old/kdepim-runtime-4.14.6/resources/birthdays/birthdaysresource.cpp 2015-02-27 01:16:51.000000000 +0100
+++ new/kdepim-runtime-4.14.7/resources/birthdays/birthdaysresource.cpp 2015-03-24 13:29:50.000000000 +0100
@@ -38,6 +38,8 @@
#include <KLocalizedString>
#include <KWindowSystem>
+#include <Akonadi/TagCreateJob>
+
using namespace Akonadi;
using namespace KABC;
using namespace KCalCore;
@@ -252,7 +254,7 @@
ev->setCustomProperty( "KABC", "EMAIL-1", contact.preferredEmail() );
ev->setSummary( summary );
- ev->setCategories( i18n( "Birthday" ) );
+ checkForUnknownCategories(i18n( "Birthday" ), ev);
return ev;
}
return KCalCore::Event::Ptr();
@@ -309,7 +311,7 @@
event->setCustomProperty( "KABC", "EMAIL-1", contact.fullEmail() );
event->setCustomProperty( "KABC", "ANNIVERSARY", QLatin1String("YES") );
// insert category
- event->setCategories( i18n( "Anniversary" ) );
+ checkForUnknownCategories(i18n( "Anniversary" ), event);
return event;
}
return KCalCore::Event::Ptr();
@@ -346,6 +348,12 @@
return event;
}
+void BirthdaysResource::checkForUnknownCategories(const QString &categoryToCheck, Event::Ptr &event)
+{
+ Akonadi::TagCreateJob *tagCreateJob = new Akonadi::TagCreateJob(Akonadi::Tag(categoryToCheck), this);
+ tagCreateJob->setMergeIfExisting(true);
+ event->setCategories(categoryToCheck);
+}
AKONADI_RESOURCE_MAIN( BirthdaysResource )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdepim-runtime-4.14.6/resources/birthdays/birthdaysresource.h new/kdepim-runtime-4.14.7/resources/birthdays/birthdaysresource.h
--- old/kdepim-runtime-4.14.6/resources/birthdays/birthdaysresource.h 2015-02-27 01:16:51.000000000 +0100
+++ new/kdepim-runtime-4.14.7/resources/birthdays/birthdaysresource.h 2015-03-24 13:29:50.000000000 +0100
@@ -46,6 +46,7 @@
bool retrieveItem( const Akonadi::Item &item, const QSet<QByteArray> &parts );
private:
+ void checkForUnknownCategories(const QString &categoryToCheck, KCalCore::Event::Ptr &event);
void addPendingEvent( const KCalCore::Event::Ptr &event, const QString &remoteId );
KCalCore::Event::Ptr createBirthday( const Akonadi::Item &contactItem );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdepim-runtime-4.14.6/resources/dav/resource/davgroupwareprovider.desktop new/kdepim-runtime-4.14.7/resources/dav/resource/davgroupwareprovider.desktop
--- old/kdepim-runtime-4.14.6/resources/dav/resource/davgroupwareprovider.desktop 2015-02-27 01:16:51.000000000 +0100
+++ new/kdepim-runtime-4.14.7/resources/dav/resource/davgroupwareprovider.desktop 2015-03-24 13:29:50.000000000 +0100
@@ -66,3 +66,7 @@
[PropertyDef::X-DavGroupware-GroupDavPath]
Type=QString
+
+[PropertyDef::X-DavGroupware-Provider]
+Type=QString
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdepim-runtime-4.14.6/resources/dav/resource/setupwizard.cpp new/kdepim-runtime-4.14.7/resources/dav/resource/setupwizard.cpp
--- old/kdepim-runtime-4.14.6/resources/dav/resource/setupwizard.cpp 2015-02-27 01:16:51.000000000 +0100
+++ new/kdepim-runtime-4.14.7/resources/dav/resource/setupwizard.cpp 2015-03-24 13:29:50.000000000 +0100
@@ -70,6 +70,7 @@
QString pathPattern;
+
QString pathPropertyName( QLatin1String("X-DavGroupware-") + protocol + QLatin1String("Path") );
if ( service->property( pathPropertyName ).isNull() )
return QString();
@@ -81,15 +82,24 @@
localPart.remove( QRegExp( QLatin1String("@.*$") ) );
pathPattern.replace( QLatin1String("$user$"), username );
pathPattern.replace( QLatin1String("$localpart$"), localPart );
-
+ QString providerName;
+ if (!service->property("X-DavGroupware-Provider").isNull()) {
+ providerName = service->property("X-DavGroupware-Provider").toString();
+ }
QString localPath = wizard->field( QLatin1String("installationPath") ).toString();
if ( !localPath.isEmpty() ) {
- if ( !localPath.startsWith( QLatin1Char('/') ) )
- pathPattern.prepend( QLatin1Char('/') + localPath );
- else
- pathPattern.prepend( localPath );
+ if (providerName == QLatin1String("davical")) {
+ if (!localPath.endsWith(QLatin1Char('/') ))
+ pathPattern.append( localPath + QLatin1Char('/') );
+ else
+ pathPattern.append( localPath );
+ } else {
+ if ( !localPath.startsWith( QLatin1Char('/') ) )
+ pathPattern.prepend( QLatin1Char('/') + localPath );
+ else
+ pathPattern.prepend( localPath );
+ }
}
-
QUrl url;
if ( !wizard->property( "usePredefinedProvider" ).isNull() ) {
@@ -123,7 +133,6 @@
url.setPort( port );
}
}
-
return url.toString();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdepim-runtime-4.14.6/resources/dav/services/davical.desktop new/kdepim-runtime-4.14.7/resources/dav/services/davical.desktop
--- old/kdepim-runtime-4.14.6/resources/dav/services/davical.desktop 2015-02-27 01:16:51.000000000 +0100
+++ new/kdepim-runtime-4.14.7/resources/dav/services/davical.desktop 2015-03-24 13:29:50.000000000 +0100
@@ -46,5 +46,7 @@
Type=Service
X-KDE-ServiceTypes=DavGroupwareProvider
+X-DavGroupware-Provider=davical
X-DavGroupware-SupportedProtocols=CalDav
X-DavGroupware-CalDavPath=/caldav.php
+
1
0
Hello community,
here is the log from the commit of package kdepimlibs4 for openSUSE:Factory checked in at 2015-05-02 17:27:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdepimlibs4 (Old)
and /work/SRC/openSUSE:Factory/.kdepimlibs4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdepimlibs4"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdepimlibs4/kdepimlibs4.changes 2015-03-11 09:42:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kdepimlibs4.new/kdepimlibs4.changes 2015-05-02 17:27:13.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Apr 11 14:04:05 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to 4.14.7
+ * KDE Applications 15.04.0
+ * See https://www.kde.org/announcements/announce-applications-15.04.0.php
+
+-------------------------------------------------------------------
Old:
----
kdepimlibs-4.14.6.tar.xz
New:
----
kdepimlibs-4.14.7.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdepimlibs4.spec ++++++
--- /var/tmp/diff_new_pack.S8pBdX/_old 2015-05-02 17:27:13.000000000 +0200
+++ /var/tmp/diff_new_pack.S8pBdX/_new 2015-05-02 17:27:13.000000000 +0200
@@ -17,7 +17,7 @@
Name: kdepimlibs4
-Version: 4.14.6
+Version: 4.14.7
Release: 0
Summary: KDE PIM Libraries
License: LGPL-2.1+
++++++ kdepimlibs-4.14.6.tar.xz -> kdepimlibs-4.14.7.tar.xz ++++++
++++ 2121 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package kdelibs4 for openSUSE:Factory checked in at 2015-05-02 17:25:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdelibs4 (Old)
and /work/SRC/openSUSE:Factory/.kdelibs4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdelibs4"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdelibs4/kdelibs4-apidocs.changes 2015-03-11 09:42:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kdelibs4.new/kdelibs4-apidocs.changes 2015-05-02 17:25:55.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Apr 11 14:03:06 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to 4.14.7
+ * KDE Applications 15.04.0
+ * See https://www.kde.org/announcements/announce-applications-15.04.0.php
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/kdelibs4/kdelibs4.changes 2015-03-11 09:42:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kdelibs4.new/kdelibs4.changes 2015-05-02 17:25:55.000000000 +0200
@@ -1,0 +2,7 @@
+Sat Apr 11 14:01:47 UTC 2015 - tittiatcoke(a)gmail.com
+
+- Update to 4.14.7
+ * KDE Applications 15.04.0
+ * See https://www.kde.org/announcements/announce-applications-15.04.0.php
+
+-------------------------------------------------------------------
Old:
----
kdelibs-4.14.6.tar.xz
New:
----
kdelibs-4.14.7.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdelibs4-apidocs.spec ++++++
--- /var/tmp/diff_new_pack.NpvrvN/_old 2015-05-02 17:25:56.000000000 +0200
+++ /var/tmp/diff_new_pack.NpvrvN/_new 2015-05-02 17:25:56.000000000 +0200
@@ -17,7 +17,7 @@
Name: kdelibs4-apidocs
-Version: 4.14.6
+Version: 4.14.7
Release: 0
Summary: KDE 4 API documentation
License: LGPL-2.1+
++++++ kdelibs4.spec ++++++
--- /var/tmp/diff_new_pack.NpvrvN/_old 2015-05-02 17:25:56.000000000 +0200
+++ /var/tmp/diff_new_pack.NpvrvN/_new 2015-05-02 17:25:56.000000000 +0200
@@ -20,7 +20,7 @@
%bcond_with gendoxygen
Name: kdelibs4
-Version: 4.14.6
+Version: 4.14.7
Release: 0
BuildRequires: OpenEXR-devel
BuildRequires: automoc4
++++++ kdelibs-4.14.6.tar.xz -> kdelibs-4.14.7.tar.xz ++++++
/work/SRC/openSUSE:Factory/kdelibs4/kdelibs-4.14.6.tar.xz /work/SRC/openSUSE:Factory/.kdelibs4.new/kdelibs-4.14.7.tar.xz differ: char 27, line 1
1
0
Hello community,
here is the log from the commit of package git for openSUSE:Factory checked in at 2015-05-02 17:24:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/git (Old)
and /work/SRC/openSUSE:Factory/.git.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "git"
Changes:
--------
--- /work/SRC/openSUSE:Factory/git/git.changes 2015-04-28 20:47:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.git.new/git.changes 2015-05-02 17:24:46.000000000 +0200
@@ -1,0 +2,15 @@
+Tue Apr 28 15:56:38 UTC 2015 - astieger(a)suse.com
+
+- git 2.3.7:
+ * An earlier update to the parser that disects a URL broke an
+ address, followed by a colon, followed by an empty string (instead
+ of the port number), e.g. ssh://example.com:/path/to/repo.
+ * The completion script (in contrib/) contaminated global namespace
+ and clobbered on a shell variable $x.
+ * The "git push --signed" protocol extension did not limit what the
+ "nonce" that is a server-chosen string can contain or how long it
+ can be, which was unnecessarily lax. Limit both the length and the
+ alphabet to a reasonably small space that can still have enough
+ entropy.
+
+-------------------------------------------------------------------
Old:
----
git-2.3.6.tar.xz
New:
----
git-2.3.7.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ git.spec ++++++
--- /var/tmp/diff_new_pack.uaujAe/_old 2015-05-02 17:24:47.000000000 +0200
+++ /var/tmp/diff_new_pack.uaujAe/_new 2015-05-02 17:24:47.000000000 +0200
@@ -26,7 +26,7 @@
%endif
Name: git
-Version: 2.3.6
+Version: 2.3.7
Release: 0
Summary: Fast, scalable, distributed revision control system
License: GPL-2.0
++++++ git-2.3.6.tar.xz -> git-2.3.7.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/Documentation/RelNotes/2.3.7.txt new/git-2.3.7/Documentation/RelNotes/2.3.7.txt
--- old/git-2.3.6/Documentation/RelNotes/2.3.7.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/git-2.3.7/Documentation/RelNotes/2.3.7.txt 2015-04-27 21:29:33.000000000 +0200
@@ -0,0 +1,21 @@
+Git v2.3.7 Release Notes
+========================
+
+Fixes since v2.3.6
+------------------
+
+ * An earlier update to the parser that disects a URL broke an
+ address, followed by a colon, followed by an empty string (instead
+ of the port number), e.g. ssh://example.com:/path/to/repo.
+
+ * The completion script (in contrib/) contaminated global namespace
+ and clobbered on a shell variable $x.
+
+ * The "git push --signed" protocol extension did not limit what the
+ "nonce" that is a server-chosen string can contain or how long it
+ can be, which was unnecessarily lax. Limit both the length and the
+ alphabet to a reasonably small space that can still have enough
+ entropy.
+
+Also contains typofixes, documentation updates and trivial code
+clean-ups.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/Documentation/git.txt new/git-2.3.7/Documentation/git.txt
--- old/git-2.3.6/Documentation/git.txt 2015-04-21 23:09:37.000000000 +0200
+++ new/git-2.3.7/Documentation/git.txt 2015-04-27 21:29:33.000000000 +0200
@@ -43,9 +43,10 @@
branch of the `git.git` repository.
Documentation for older releases are available here:
-* link:v2.3.6/git.html[documentation for release 2.3.6]
+* link:v2.3.7/git.html[documentation for release 2.3.7]
* release notes for
+ link:RelNotes/2.3.7.txt[2.3.7],
link:RelNotes/2.3.6.txt[2.3.6],
link:RelNotes/2.3.5.txt[2.3.5],
link:RelNotes/2.3.4.txt[2.3.4],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/GIT-VERSION-GEN new/git-2.3.7/GIT-VERSION-GEN
--- old/git-2.3.6/GIT-VERSION-GEN 2015-04-21 23:09:37.000000000 +0200
+++ new/git-2.3.7/GIT-VERSION-GEN 2015-04-27 21:29:33.000000000 +0200
@@ -1,7 +1,7 @@
#!/bin/sh
GVF=GIT-VERSION-FILE
-DEF_VER=v2.3.6
+DEF_VER=v2.3.7
LF='
'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/RelNotes new/git-2.3.7/RelNotes
--- old/git-2.3.6/RelNotes 2015-05-02 17:24:49.000000000 +0200
+++ new/git-2.3.7/RelNotes 2015-05-02 17:24:49.000000000 +0200
@@ -1 +1 @@
-symbolic link to Documentation/RelNotes/2.3.6.txt
+symbolic link to Documentation/RelNotes/2.3.7.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/configure new/git-2.3.7/configure
--- old/git-2.3.6/configure 2015-04-21 23:09:38.000000000 +0200
+++ new/git-2.3.7/configure 2015-04-27 21:29:33.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for git 2.3.6.
+# Generated by GNU Autoconf 2.69 for git 2.3.7.
#
# Report bugs to <git(a)vger.kernel.org>.
#
@@ -580,8 +580,8 @@
# Identity of this package.
PACKAGE_NAME='git'
PACKAGE_TARNAME='git'
-PACKAGE_VERSION='2.3.6'
-PACKAGE_STRING='git 2.3.6'
+PACKAGE_VERSION='2.3.7'
+PACKAGE_STRING='git 2.3.7'
PACKAGE_BUGREPORT='git(a)vger.kernel.org'
PACKAGE_URL=''
@@ -1251,7 +1251,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures git 2.3.6 to adapt to many kinds of systems.
+\`configure' configures git 2.3.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1312,7 +1312,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of git 2.3.6:";;
+ short | recursive ) echo "Configuration of git 2.3.7:";;
esac
cat <<\_ACEOF
@@ -1451,7 +1451,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-git configure 2.3.6
+git configure 2.3.7
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1931,7 +1931,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by git $as_me 2.3.6, which was
+It was created by git $as_me 2.3.7, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -8044,7 +8044,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by git $as_me 2.3.6, which was
+This file was extended by git $as_me 2.3.7, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -8101,7 +8101,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-git config.status 2.3.6
+git config.status 2.3.7
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/connect.c new/git-2.3.7/connect.c
--- old/git-2.3.6/connect.c 2015-04-21 23:09:37.000000000 +0200
+++ new/git-2.3.7/connect.c 2015-04-27 21:29:33.000000000 +0200
@@ -310,6 +310,8 @@
if (end != colon + 1 && *end == '\0' && 0 <= portnr && portnr < 65536) {
*colon = 0;
*port = colon + 1;
+ } else if (!colon[1]) {
+ *colon = 0;
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/contrib/completion/git-completion.bash new/git-2.3.7/contrib/completion/git-completion.bash
--- old/git-2.3.6/contrib/completion/git-completion.bash 2015-04-21 23:09:37.000000000 +0200
+++ new/git-2.3.7/contrib/completion/git-completion.bash 2015-04-27 21:29:33.000000000 +0200
@@ -186,7 +186,7 @@
__gitcompappend ()
{
- local i=${#COMPREPLY[@]}
+ local x i=${#COMPREPLY[@]}
for x in $1; do
if [[ "$x" == "$3"* ]]; then
COMPREPLY[i++]="$2$x$4"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/git.spec new/git-2.3.7/git.spec
--- old/git-2.3.6/git.spec 2015-04-21 23:09:38.000000000 +0200
+++ new/git-2.3.7/git.spec 2015-04-27 21:29:33.000000000 +0200
@@ -1,7 +1,7 @@
# Pass --without docs to rpmbuild if you don't want the documentation
Name: git
-Version: 2.3.6
+Version: 2.3.7
Release: 1%{?dist}
Summary: Core git tools
License: GPL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/send-pack.c new/git-2.3.7/send-pack.c
--- old/git-2.3.6/send-pack.c 2015-04-21 23:09:37.000000000 +0200
+++ new/git-2.3.7/send-pack.c 2015-04-27 21:29:33.000000000 +0200
@@ -281,6 +281,28 @@
return update_seen;
}
+#define NONCE_LEN_LIMIT 256
+
+static void reject_invalid_nonce(const char *nonce, int len)
+{
+ int i = 0;
+
+ if (NONCE_LEN_LIMIT <= len)
+ die("the receiving end asked to sign an invalid nonce <%.*s>",
+ len, nonce);
+
+ for (i = 0; i < len; i++) {
+ int ch = nonce[i] & 0xFF;
+ if (isalnum(ch) ||
+ ch == '-' || ch == '.' ||
+ ch == '/' || ch == '+' ||
+ ch == '=' || ch == '_')
+ continue;
+ die("the receiving end asked to sign an invalid nonce <%.*s>",
+ len, nonce);
+ }
+}
+
int send_pack(struct send_pack_args *args,
int fd[], struct child_process *conn,
struct ref *remote_refs,
@@ -323,6 +345,7 @@
push_cert_nonce = server_feature_value("push-cert", &len);
if (!push_cert_nonce)
die(_("the receiving end does not support --signed push"));
+ reject_invalid_nonce(push_cert_nonce, len);
push_cert_nonce = xmemdupz(push_cert_nonce, len);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/t/t5500-fetch-pack.sh new/git-2.3.7/t/t5500-fetch-pack.sh
--- old/git-2.3.6/t/t5500-fetch-pack.sh 2015-04-21 23:09:37.000000000 +0200
+++ new/git-2.3.7/t/t5500-fetch-pack.sh 2015-04-27 21:29:33.000000000 +0200
@@ -576,13 +576,16 @@
do
for h in host user@host user@[::1] user@::1
do
- test_expect_success "fetch-pack --diag-url $p://$h/$r" '
- check_prot_host_port_path $p://$h/$r $p "$h" NONE "/$r"
- '
- # "/~" -> "~" conversion
- test_expect_success "fetch-pack --diag-url $p://$h/~$r" '
- check_prot_host_port_path $p://$h/~$r $p "$h" NONE "~$r"
- '
+ for c in "" :
+ do
+ test_expect_success "fetch-pack --diag-url $p://$h$c/$r" '
+ check_prot_host_port_path $p://$h/$r $p "$h" NONE "/$r"
+ '
+ # "/~" -> "~" conversion
+ test_expect_success "fetch-pack --diag-url $p://$h$c/~$r" '
+ check_prot_host_port_path $p://$h/~$r $p "$h" NONE "~$r"
+ '
+ done
done
for h in host User@host User@[::1]
do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/t/t5601-clone.sh new/git-2.3.7/t/t5601-clone.sh
--- old/git-2.3.6/t/t5601-clone.sh 2015-04-21 23:09:37.000000000 +0200
+++ new/git-2.3.7/t/t5601-clone.sh 2015-04-27 21:29:33.000000000 +0200
@@ -387,14 +387,17 @@
done
#with ssh:// scheme
-test_expect_success 'clone ssh://host.xz/home/user/repo' '
- test_clone_url "ssh://host.xz/home/user/repo" host.xz "/home/user/repo"
-'
-
-# from home directory
-test_expect_success 'clone ssh://host.xz/~repo' '
- test_clone_url "ssh://host.xz/~repo" host.xz "~repo"
+#ignore trailing colon
+for tcol in "" :
+do
+ test_expect_success "clone ssh://host.xz$tcol/home/user/repo" '
+ test_clone_url "ssh://host.xz$tcol/home/user/repo" host.xz /home/user/repo
+ '
+ # from home directory
+ test_expect_success "clone ssh://host.xz$tcol/~repo" '
+ test_clone_url "ssh://host.xz$tcol/~repo" host.xz "~repo"
'
+done
# with port number
test_expect_success 'clone ssh://host.xz:22/home/user/repo' '
@@ -407,9 +410,9 @@
'
#IPv6
-for tuah in ::1 [::1] user@::1 user@[::1] [user@::1]
+for tuah in ::1 [::1] [::1]: user@::1 user@[::1] user@[::1]: [user@::1] [user@::1]:
do
- ehost=$(echo $tuah | tr -d "[]")
+ ehost=$(echo $tuah | sed -e "s/1]:/1]/ "| tr -d "[]")
test_expect_success "clone ssh://$tuah/home/user/repo" "
test_clone_url ssh://$tuah/home/user/repo $ehost /home/user/repo
"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/git-2.3.6/version new/git-2.3.7/version
--- old/git-2.3.6/version 2015-04-21 23:09:38.000000000 +0200
+++ new/git-2.3.7/version 2015-04-27 21:29:33.000000000 +0200
@@ -1 +1 @@
-2.3.6
+2.3.7
1
0
Hello community,
here is the log from the commit of package perl-MIME-tools for openSUSE:Factory checked in at 2015-05-02 16:16:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MIME-tools (Old)
and /work/SRC/openSUSE:Factory/.perl-MIME-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MIME-tools"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MIME-tools/perl-MIME-tools.changes 2013-06-18 10:34:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-MIME-tools.new/perl-MIME-tools.changes 2015-05-02 16:16:53.000000000 +0200
@@ -1,0 +2,6 @@
+Sat May 2 09:30:38 UTC 2015 - coolo(a)suse.com
+
+- updated to 5.506
+ see /usr/share/doc/packages/perl-MIME-tools/ChangeLog
+
+-------------------------------------------------------------------
Old:
----
MIME-tools-5.504.tar.gz
New:
----
MIME-tools-5.506.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MIME-tools.spec ++++++
--- /var/tmp/diff_new_pack.4tANmU/_old 2015-05-02 16:16:54.000000000 +0200
+++ /var/tmp/diff_new_pack.4tANmU/_new 2015-05-02 16:16:54.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-MIME-tools
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-MIME-tools
-Version: 5.504
+Version: 5.506
Release: 0
%define cpan_name MIME-tools
Summary: Tools to manipulate MIME messages
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/MIME-tools/
-Source: MIME-tools-5.504.tar.gz
+Source0: http://www.cpan.org/authors/id/D/DS/DSKOLL/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -34,34 +35,6 @@
BuildRequires: perl(Mail::Header) >= 1.01
BuildRequires: perl(Mail::Internet) >= 1.0203
BuildRequires: perl(Test::Deep)
-#BuildRequires: perl(Convert::BinHex)
-#BuildRequires: perl(Globby)
-#BuildRequires: perl(inc::Module::Install)
-#BuildRequires: perl(JSON)
-#BuildRequires: perl(LWP::Simple)
-#BuildRequires: perl(MIME::Body)
-#BuildRequires: perl(MIME::Decoder)
-#BuildRequires: perl(MIME::Decoder::Base64)
-#BuildRequires: perl(MIME::Decoder::Gzip64)
-#BuildRequires: perl(MIME::Decoder::QuotedPrint)
-#BuildRequires: perl(MIME::Entity)
-#BuildRequires: perl(MIME::Field::ContDisp)
-#BuildRequires: perl(MIME::Field::ConTraEnc)
-#BuildRequires: perl(MIME::Field::ContType)
-#BuildRequires: perl(MIME::Field::ParamVal)
-#BuildRequires: perl(MIME::Head)
-#BuildRequires: perl(MIME::Parser)
-#BuildRequires: perl(MIME::Parser::Filer)
-#BuildRequires: perl(MIME::Parser::Reader)
-#BuildRequires: perl(MIME::Parser::Results)
-#BuildRequires: perl(MIME::Tools)
-#BuildRequires: perl(MIME::WordDecoder)
-#BuildRequires: perl(MIME::Words)
-#BuildRequires: perl(Module::Build)
-#BuildRequires: perl(Module::Install::Base)
-#BuildRequires: perl(Parse::CPAN::Meta)
-#BuildRequires: perl(Test::Kwalitee)
-#BuildRequires: perl(YAML::Tiny)
Requires: perl(File::Temp) >= 0.18
Requires: perl(Mail::Field) >= 1.05
Requires: perl(Mail::Header) >= 1.01
++++++ MIME-tools-5.504.tar.gz -> MIME-tools-5.506.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/ChangeLog new/MIME-tools-5.506/ChangeLog
--- old/MIME-tools-5.504/ChangeLog 2013-01-30 21:33:24.000000000 +0100
+++ new/MIME-tools-5.506/ChangeLog 2015-04-22 19:29:39.000000000 +0200
@@ -1,4 +1,29 @@
-5.504 2013-01-30 David F. Skoll <dfs(a)roaringpenguin.com>
+5.506 2015-04-22 Dianne Skoll <dfs(a)roaringpenguin.com>
+
+ * VERSION 5.506 RELEASED
+
+ * Update maintainer's name to "Dianne Skoll"
+
+5.505 2013-11-14 Dianne Skoll <dfs(a)roaringpenguin.com>
+
+ * VERSION 5.505 RELEASED
+
+ * Fix documentation typos.
+ https://rt.cpan.org/Public/Bug/Display.html?id=80473
+
+ * Fix broken test.
+ https://rt.cpan.org/Public/Bug/Display.html?id=84668
+
+ * Don't run Kwalitee tests unless author or release tests are enabled.
+ https://rt.cpan.org/Public/Bug/Display.html?id=87094
+
+ * Fix many documentation typos.
+ https://rt.cpan.org/Public/Bug/Display.html?id=87783
+
+ * Fix bug in header parsing that would fail to parse a header like:
+ Content-Type: ; name="malware.zip"
+
+5.504 2013-01-30 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.504 RELEASED
@@ -13,7 +38,7 @@
break multibyte-encodings (eg, utf-8)
https://rt.cpan.org/Public/Bug/Display.html?id=5462
-5.503 2012-06-08 David F. Skoll <dfs(a)roaringpenguin.com>
+5.503 2012-06-08 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.503 RELEASED
@@ -47,7 +72,7 @@
* Add "use strict" everywhere
https://rt.cpan.org/Public/Bug/Display.html?id=77582
-5.502 2011-03-08 David F. Skoll <dfs(a)roaringpenguin.com>
+5.502 2011-03-08 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.502 RELEASED
@@ -62,7 +87,7 @@
* Fix unit test failure on Win32: (https://rt.cpan.org/Ticket/Display.html?id=66286)
-5.501 2011-02-17 David F. Skoll <dfs(a)roaringpenguin.com>
+5.501 2011-02-17 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.501 RELEASED
@@ -168,7 +193,7 @@
never worked and has been removed, any code calling tmp_recycling()
should stop attempting to use the feature.
-5.424 2007-11-07 David Skoll <dfs(a)roaringpenguin.com>
+5.424 2007-11-07 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.424 RELEASED
@@ -248,14 +273,14 @@
* (cleanup) Merge all changelog information from README and
MIME/Tools.pm into ChangeLog
-5.420 2006-03-17 David F. Skoll <dfs(a)roaringpenguin.com>
+5.420 2006-03-17 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.420 RELEASED
* Fix regression introduced in 5.419 -- quoted-printable
encoding would sometimes fail on "textual" MIME parts.
-5.419 2005-12-22 David F. Skoll <dfs(a)roaringpenguin.com>
+5.419 2005-12-22 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.419 RELEASED
@@ -264,7 +289,7 @@
if you need the exact unmangled message source (for example,
for GPG-signing.) Patch submitted by J�rn Reder.
-5.418 2005-09-29 David F. Skoll <dfs(a)roaringpenguin.com>
+5.418 2005-09-29 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.418 RELEASED
@@ -279,7 +304,7 @@
* MANIFEST: Remove some useless internal files from the manifest.
They were never meant to be part of the actual distribution.
-5.417 2005-01-20 David F. Skoll <dfs(a)roaringpenguin.com>
+5.417 2005-01-20 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.417 RELEASED
@@ -291,7 +316,7 @@
parameters was buggy and caused decoding errors. This has been
fixed.
-5.416 2005-01-03 David F. Skoll <dfs(a)roaringpenguin.com>
+5.416 2005-01-03 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.416 RELEASED
@@ -303,14 +328,14 @@
parameters. Apparently, not doing so can cause Perl to core dump
on certain badly-formed messages.
-5.415 2004-10-27 David F. Skoll <dfs(a)roaringpenguin.com>
+5.415 2004-10-27 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.415 RELEASED
* Fixed parsing of parameter="" in headers, and fixed case where
multipart boundary is ""
-5.414 2004-10-06 David F. Skoll <dfs(a)roaringpenguin.com>
+5.414 2004-10-06 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.414 RELEASED
@@ -320,14 +345,14 @@
* Check return values of I/O operations like open(), close(), etc.
and die if they fail. Problem reported by Mark Martinec.
-5.413 2004-09-15 David F. Skoll <dfs(a)roaringpenguin.com>
+5.413 2004-09-15 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.413 RELEASED
* Fix some $VERSION = xxx assignments that were broken; make sure
VERSION shows up as 5.413 everywhere. Sorry about that!
-5.412 2004-09-09 David F. Skoll <dfs(a)roaringpenguin.com>
+5.412 2004-09-09 Dianne Skoll <dfs(a)roaringpenguin.com>
* VERSION 5.412 RELEASED
@@ -337,7 +362,7 @@
* Filer.pm: Be much more strict in evil_filename, allowing only
a set of known good characters.
-2004-09-08 David F. Skoll <dfs(a)roaringpenguin.com>
+2004-09-08 Dianne Skoll <dfs(a)roaringpenguin.com>
* Skip BinHex decoding if prerequisite modules not installed.
@@ -352,7 +377,7 @@
* Correct bad regexp test for "bad PDF" files.
-2004-09-07 David F. Skoll <dfs(a)roaringpenguin.com>
+2004-09-07 Dianne Skoll <dfs(a)roaringpenguin.com>
* lib/MIME/Parser/Filer.pm (evil_filename): Make evil_filename
more paranoid (Julian Field and Martin Blapp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/MANIFEST new/MIME-tools-5.506/MANIFEST
--- old/MIME-tools-5.504/MANIFEST 2013-01-30 21:34:12.000000000 +0100
+++ new/MIME-tools-5.506/MANIFEST 2013-11-14 16:23:53.000000000 +0100
@@ -1,5 +1,11 @@
-ChangeLog
COPYING
+ChangeLog
+INSTALLING
+MANIFEST
+META.yml
+Makefile.PL
+README
+examples/README
examples/mimeabuse
examples/mimedump
examples/mimeencode
@@ -10,7 +16,6 @@
examples/mimesend
examples/mimesender
examples/mimetour
-examples/README
inc/Module/Install.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
@@ -19,19 +24,18 @@
inc/Module/Install/Metadata.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
-INSTALLING
lib/MIME/Body.pm
lib/MIME/Decoder.pm
lib/MIME/Decoder/Base64.pm
-lib/MIME/Decoder/Binary.pm
lib/MIME/Decoder/BinHex.pm
+lib/MIME/Decoder/Binary.pm
lib/MIME/Decoder/Gzip64.pm
lib/MIME/Decoder/NBit.pm
lib/MIME/Decoder/QuotedPrint.pm
lib/MIME/Decoder/UU.pm
lib/MIME/Entity.pm
-lib/MIME/Field/ContDisp.pm
lib/MIME/Field/ConTraEnc.pm
+lib/MIME/Field/ContDisp.pm
lib/MIME/Field/ContType.pm
lib/MIME/Field/ParamVal.pm
lib/MIME/Head.pm
@@ -42,15 +46,10 @@
lib/MIME/Tools.pm
lib/MIME/WordDecoder.pm
lib/MIME/Words.pm
-Makefile.PL
-MANIFEST
-META.yml
-README
t/02-kwalitee.t
t/02-pod-coverage.t
t/02-pod.t
t/99-prepare.t
-t/attachment-filename-encoding.t
t/Body.t
t/BodyPrint.t
t/Decoder.t
@@ -67,6 +66,10 @@
t/ParserPreamble.t
t/Ref.t
t/Smtpsend.t
+t/WordDecoder.t
+t/WordEncoder.t
+t/Words.t
+t/attachment-filename-encoding.t
t/ticket-11901.t
t/ticket-22684.t
t/ticket-37139.t
@@ -80,9 +83,6 @@
t/ticket-71041.t
t/ticket-71677.t
t/ticket-80433.t
-t/WordDecoder.t
-t/WordEncoder.t
-t/Words.t
testin/ak-0696.msg
testin/andreas-1296.txt
testin/andreas-1296.uu
@@ -155,6 +155,7 @@
testmsgs/german.ref
testmsgs/hdr-fakeout.msg
testmsgs/hdr-fakeout.ref
+testmsgs/malformed-content-type-zip.msg
testmsgs/multi-2evil.msg
testmsgs/multi-2evil.ref
testmsgs/multi-2gifs.msg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/META.yml new/MIME-tools-5.506/META.yml
--- old/MIME-tools-5.504/META.yml 2013-01-30 21:34:29.000000000 +0100
+++ new/MIME-tools-5.506/META.yml 2015-04-22 19:30:05.000000000 +0200
@@ -1,15 +1,16 @@
---
abstract: 'Tools to manipulate MIME messages'
author:
- - "Eryq <eryq(a)zeegee.com>, David F. Skoll <dfs(a)roaringpenguin.com>, Dave O'Neill <dmo(a)roaringpenguin.com>"
+ - "Eryq <eryq(a)zeegee.com>, Dianne Skoll <dfs(a)roaringpenguin.com>, Dave O'Neill <dmo(a)roaringpenguin.com>"
build_requires:
- ExtUtils::MakeMaker: 6.42
+ ExtUtils::MakeMaker: 6.59
Test::Deep: 0
Test::More: 0
configure_requires:
- ExtUtils::MakeMaker: 6.42
+ ExtUtils::MakeMaker: 6.59
distribution_type: module
-generated_by: 'Module::Install version 1.00'
+dynamic_config: 1
+generated_by: 'Module::Install version 1.06'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -37,4 +38,4 @@
perl: 5.8.0
resources:
license: http://dev.perl.org/licenses/
-version: 5.504
+version: 5.506
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/Makefile.PL new/MIME-tools-5.506/Makefile.PL
--- old/MIME-tools-5.504/Makefile.PL 2012-05-14 15:42:01.000000000 +0200
+++ new/MIME-tools-5.506/Makefile.PL 2015-04-22 19:28:38.000000000 +0200
@@ -5,7 +5,7 @@
name 'MIME-tools';
module_name 'MIME::Tools';
version_from 'lib/MIME/Tools.pm';
-author q{Eryq <eryq(a)zeegee.com>, David F. Skoll <dfs(a)roaringpenguin.com>, Dave O'Neill <dmo(a)roaringpenguin.com>};
+author q{Eryq <eryq(a)zeegee.com>, Dianne Skoll <dfs(a)roaringpenguin.com>, Dave O'Neill <dmo(a)roaringpenguin.com>};
abstract 'Tools to manipulate MIME messages';
license 'perl';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/README new/MIME-tools-5.506/README
--- old/MIME-tools-5.504/README 2007-09-29 03:34:52.000000000 +0200
+++ new/MIME-tools-5.506/README 2015-04-22 19:28:38.000000000 +0200
@@ -642,7 +642,7 @@
TERMS AND CONDITIONS
Eryq (eryq(a)zeegee.com) ZeeGee Software Inc (http://www.zeegee.com)
- David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+ Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
Copyright (c) 1998, 1999 by ZeeGee Software Inc (www.zeegee.com)
Copyright (c) 2004 by Roaring Penguin Software Inc (www.roaringpenguin.com)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install/Base.pm new/MIME-tools-5.506/inc/Module/Install/Base.pm
--- old/MIME-tools-5.504/inc/Module/Install/Base.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install/Base.pm 2015-04-22 19:30:05.000000000 +0200
@@ -4,7 +4,7 @@
use strict 'vars';
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.06';
}
# Suspend handler for "redefined" warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install/Can.pm new/MIME-tools-5.506/inc/Module/Install/Can.pm
--- old/MIME-tools-5.504/inc/Module/Install/Can.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install/Can.pm 2015-04-22 19:30:05.000000000 +0200
@@ -3,13 +3,12 @@
use strict;
use Config ();
-use File::Spec ();
use ExtUtils::MakeMaker ();
use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.06';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -29,7 +28,7 @@
eval { require $mod; $pkg->VERSION($ver || 0); 1 };
}
-# check if we can run some command
+# Check if we can run some command
sub can_run {
my ($self, $cmd) = @_;
@@ -38,14 +37,88 @@
for my $dir ((split /$Config::Config{path_sep}/, $ENV{PATH}), '.') {
next if $dir eq '';
- my $abs = File::Spec->catfile($dir, $_[1]);
+ require File::Spec;
+ my $abs = File::Spec->catfile($dir, $cmd);
return $abs if (-x $abs or $abs = MM->maybe_command($abs));
}
return;
}
-# can we locate a (the) C compiler
+# Can our C compiler environment build XS files
+sub can_xs {
+ my $self = shift;
+
+ # Ensure we have the CBuilder module
+ $self->configure_requires( 'ExtUtils::CBuilder' => 0.27 );
+
+ # Do we have the configure_requires checker?
+ local $@;
+ eval "require ExtUtils::CBuilder;";
+ if ( $@ ) {
+ # They don't obey configure_requires, so it is
+ # someone old and delicate. Try to avoid hurting
+ # them by falling back to an older simpler test.
+ return $self->can_cc();
+ }
+
+ # Do we have a working C compiler
+ my $builder = ExtUtils::CBuilder->new(
+ quiet => 1,
+ );
+ unless ( $builder->have_compiler ) {
+ # No working C compiler
+ return 0;
+ }
+
+ # Write a C file representative of what XS becomes
+ require File::Temp;
+ my ( $FH, $tmpfile ) = File::Temp::tempfile(
+ "compilexs-XXXXX",
+ SUFFIX => '.c',
+ );
+ binmode $FH;
+ print $FH <<'END_C';
+#include "EXTERN.h"
+#include "perl.h"
+#include "XSUB.h"
+
+int main(int argc, char **argv) {
+ return 0;
+}
+
+int boot_sanexs() {
+ return 1;
+}
+
+END_C
+ close $FH;
+
+ # Can the C compiler access the same headers XS does
+ my @libs = ();
+ my $object = undef;
+ eval {
+ local $^W = 0;
+ $object = $builder->compile(
+ source => $tmpfile,
+ );
+ @libs = $builder->link(
+ objects => $object,
+ module_name => 'sanexs',
+ );
+ };
+ my $result = $@ ? 0 : 1;
+
+ # Clean up all the build files
+ foreach ( $tmpfile, $object, @libs ) {
+ next unless defined $_;
+ 1 while unlink;
+ }
+
+ return $result;
+}
+
+# Can we locate a (the) C compiler
sub can_cc {
my $self = shift;
my @chunks = split(/ /, $Config::Config{cc}) or return;
@@ -78,4 +151,4 @@
__END__
-#line 156
+#line 236
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install/Fetch.pm new/MIME-tools-5.506/inc/Module/Install/Fetch.pm
--- old/MIME-tools-5.504/inc/Module/Install/Fetch.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install/Fetch.pm 2015-04-22 19:30:05.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.06';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install/Makefile.pm new/MIME-tools-5.506/inc/Module/Install/Makefile.pm
--- old/MIME-tools-5.504/inc/Module/Install/Makefile.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install/Makefile.pm 2015-04-22 19:30:05.000000000 +0200
@@ -8,7 +8,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.06';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -215,18 +215,22 @@
require ExtUtils::MakeMaker;
if ( $perl_version and $self->_cmp($perl_version, '5.006') >= 0 ) {
- # MakeMaker can complain about module versions that include
- # an underscore, even though its own version may contain one!
- # Hence the funny regexp to get rid of it. See RT #35800
- # for details.
- my $v = $ExtUtils::MakeMaker::VERSION =~ /^(\d+\.\d+)/;
- $self->build_requires( 'ExtUtils::MakeMaker' => $v );
- $self->configure_requires( 'ExtUtils::MakeMaker' => $v );
+ # This previous attempted to inherit the version of
+ # ExtUtils::MakeMaker in use by the module author, but this
+ # was found to be untenable as some authors build releases
+ # using future dev versions of EU:MM that nobody else has.
+ # Instead, #toolchain suggests we use 6.59 which is the most
+ # stable version on CPAN at time of writing and is, to quote
+ # ribasushi, "not terminally fucked, > and tested enough".
+ # TODO: We will now need to maintain this over time to push
+ # the version up as new versions are released.
+ $self->build_requires( 'ExtUtils::MakeMaker' => 6.59 );
+ $self->configure_requires( 'ExtUtils::MakeMaker' => 6.59 );
} else {
# Allow legacy-compatibility with 5.005 by depending on the
# most recent EU:MM that supported 5.005.
- $self->build_requires( 'ExtUtils::MakeMaker' => 6.42 );
- $self->configure_requires( 'ExtUtils::MakeMaker' => 6.42 );
+ $self->build_requires( 'ExtUtils::MakeMaker' => 6.36 );
+ $self->configure_requires( 'ExtUtils::MakeMaker' => 6.36 );
}
# Generate the MakeMaker params
@@ -241,7 +245,6 @@
'all_from' if you prefer) in Makefile.PL.
EOT
- $DB::single = 1;
if ( $self->tests ) {
my @tests = split ' ', $self->tests;
my %seen;
@@ -412,4 +415,4 @@
__END__
-#line 541
+#line 544
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install/Metadata.pm new/MIME-tools-5.506/inc/Module/Install/Metadata.pm
--- old/MIME-tools-5.504/inc/Module/Install/Metadata.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install/Metadata.pm 2015-04-22 19:30:05.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.06';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
@@ -151,15 +151,21 @@
sub install_as_vendor { $_[0]->installdirs('vendor') }
sub dynamic_config {
- my $self = shift;
- unless ( @_ ) {
- warn "You MUST provide an explicit true/false value to dynamic_config\n";
- return $self;
+ my $self = shift;
+ my $value = @_ ? shift : 1;
+ if ( $self->{values}->{dynamic_config} ) {
+ # Once dynamic we never change to static, for safety
+ return 0;
}
- $self->{values}->{dynamic_config} = $_[0] ? 1 : 0;
+ $self->{values}->{dynamic_config} = $value ? 1 : 0;
return 1;
}
+# Convenience command
+sub static_config {
+ shift->dynamic_config(0);
+}
+
sub perl_version {
my $self = shift;
return $self->{values}->{perl_version} unless @_;
@@ -170,7 +176,7 @@
# Normalize the version
$version = $self->_perl_version($version);
- # We don't support the reall old versions
+ # We don't support the really old versions
unless ( $version >= 5.005 ) {
die "Module::Install only supports 5.005 or newer (use ExtUtils::MakeMaker)\n";
}
@@ -515,6 +521,7 @@
'GNU Free Documentation license' => 'unrestricted', 1,
'GNU Affero General Public License' => 'open_source', 1,
'(?:Free)?BSD license' => 'bsd', 1,
+ 'Artistic license 2\.0' => 'artistic_2', 1,
'Artistic license' => 'artistic', 1,
'Apache (?:Software )?license' => 'apache', 1,
'GPL' => 'gpl', 1,
@@ -550,9 +557,9 @@
sub _extract_bugtracker {
my @links = $_[0] =~ m#L<(
- \Qhttp://rt.cpan.org/\E[^>]+|
- \Qhttp://github.com/\E[\w_]+/[\w_]+/issues|
- \Qhttp://code.google.com/p/\E[\w_\-]+/issues/list
+ https?\Q://rt.cpan.org/\E[^>]+|
+ https?\Q://github.com/\E[\w_]+/[\w_]+/issues|
+ https?\Q://code.google.com/p/\E[\w_\-]+/issues/list
)>#gx;
my %links;
@links{@links}=();
@@ -581,7 +588,7 @@
sub requires_from {
my $self = shift;
my $content = Module::Install::_readperl($_[0]);
- my @requires = $content =~ m/^use\s+([^\W\d]\w*(?:::\w+)*)\s+([\d\.]+)/mg;
+ my @requires = $content =~ m/^use\s+([^\W\d]\w*(?:::\w+)*)\s+(v?[\d\.]+)/mg;
while ( @requires ) {
my $module = shift @requires;
my $version = shift @requires;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install/Win32.pm new/MIME-tools-5.506/inc/Module/Install/Win32.pm
--- old/MIME-tools-5.504/inc/Module/Install/Win32.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install/Win32.pm 2015-04-22 19:30:05.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.06';
@ISA = 'Module::Install::Base';
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install/WriteAll.pm new/MIME-tools-5.506/inc/Module/Install/WriteAll.pm
--- old/MIME-tools-5.504/inc/Module/Install/WriteAll.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install/WriteAll.pm 2015-04-22 19:30:05.000000000 +0200
@@ -6,7 +6,7 @@
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '1.00';
+ $VERSION = '1.06';
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/inc/Module/Install.pm new/MIME-tools-5.506/inc/Module/Install.pm
--- old/MIME-tools-5.504/inc/Module/Install.pm 2013-01-30 21:34:28.000000000 +0100
+++ new/MIME-tools-5.506/inc/Module/Install.pm 2015-04-22 19:30:04.000000000 +0200
@@ -31,7 +31,7 @@
# This is not enforced yet, but will be some time in the next few
# releases once we can make sure it won't clash with custom
# Module::Install extensions.
- $VERSION = '1.00';
+ $VERSION = '1.06';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -451,7 +451,7 @@
}
sub _cmp ($$) {
- _version($_[0]) <=> _version($_[1]);
+ _version($_[1]) <=> _version($_[2]);
}
# Cloned from Params::Util::_CLASS
@@ -467,4 +467,4 @@
1;
-# Copyright 2008 - 2010 Adam Kennedy.
+# Copyright 2008 - 2012 Adam Kennedy.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Body.pm new/MIME-tools-5.506/lib/MIME/Body.pm
--- old/MIME-tools-5.504/lib/MIME/Body.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Body.pm 2015-04-22 19:29:07.000000000 +0200
@@ -141,7 +141,7 @@
use IO::File;
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
#------------------------------
@@ -218,7 +218,7 @@
close($fh);
return $str;
}
-*data = \&as_string; ### silenty invoke preferred usage
+*data = \&as_string; ### silently invoke preferred usage
#------------------------------
@@ -659,7 +659,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder/Base64.pm new/MIME-tools-5.506/lib/MIME/Decoder/Base64.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder/Base64.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder/Base64.pm 2015-04-22 19:29:07.000000000 +0200
@@ -60,7 +60,7 @@
@ISA = qw(MIME::Decoder);
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### How many bytes to encode at a time (must be a multiple of 3, and
### less than (76 * 0.75)!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder/BinHex.pm new/MIME-tools-5.506/lib/MIME/Decoder/BinHex.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder/BinHex.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder/BinHex.pm 2015-04-22 19:29:07.000000000 +0200
@@ -47,7 +47,7 @@
@ISA = qw(MIME::Decoder);
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
#------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder/Binary.pm new/MIME-tools-5.506/lib/MIME/Decoder/Binary.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder/Binary.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder/Binary.pm 2015-04-22 19:29:07.000000000 +0200
@@ -47,7 +47,7 @@
@ISA = qw(MIME::Decoder);
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### Buffer length:
my $BUFLEN = 8192;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder/Gzip64.pm new/MIME-tools-5.506/lib/MIME/Decoder/Gzip64.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder/Gzip64.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder/Gzip64.pm 2015-04-22 19:29:07.000000000 +0200
@@ -61,7 +61,7 @@
@ISA = qw(MIME::Decoder::Base64);
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
# How to compress stdin to stdout:
$GZIP = "gzip -c";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder/NBit.pm new/MIME-tools-5.506/lib/MIME/Decoder/NBit.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder/NBit.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder/NBit.pm 2015-04-22 19:29:07.000000000 +0200
@@ -98,7 +98,7 @@
@ISA = qw(MIME::Decoder);
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### How many bytes to decode at a time?
my $DecodeChunkLength = 8 * 1024;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder/QuotedPrint.pm new/MIME-tools-5.506/lib/MIME/Decoder/QuotedPrint.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder/QuotedPrint.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder/QuotedPrint.pm 2015-04-22 19:29:07.000000000 +0200
@@ -58,7 +58,7 @@
@ISA = qw(MIME::Decoder);
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
#------------------------------
# If we have MIME::QuotedPrint 3.03 or later, use the three-argument
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder/UU.pm new/MIME-tools-5.506/lib/MIME/Decoder/UU.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder/UU.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder/UU.pm 2015-04-22 19:29:07.000000000 +0200
@@ -48,7 +48,7 @@
@ISA = qw(MIME::Decoder);
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
#------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Decoder.pm new/MIME-tools-5.506/lib/MIME/Decoder.pm
--- old/MIME-tools-5.504/lib/MIME/Decoder.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Decoder.pm 2015-04-22 19:29:07.000000000 +0200
@@ -126,7 +126,7 @@
);
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### Me:
my $ME = 'MIME::Decoder';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Entity.pm new/MIME-tools-5.506/lib/MIME/Entity.pm
--- old/MIME-tools-5.504/lib/MIME/Entity.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Entity.pm 2015-04-22 19:29:06.000000000 +0200
@@ -245,7 +245,7 @@
#------------------------------
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### Boundary counter:
my $BCount = 0;
@@ -570,7 +570,7 @@
$filename = undef if (defined($filename) and $filename eq '');
### Type-check sanity:
- if ($type =~ m{^(multipart|message)/}) {
+ if ($type =~ m{^(multipart/|message/(rfc822|partial|external-body|delivery-status|disposition-notification|feedback-report)$)}i) {
($encoding =~ /^(|7bit|8bit|binary|-suggest)$/i)
or croak "can't have encoding $encoding for message type $type!";
}
@@ -1700,7 +1700,7 @@
I<Instance method, override.>
Print the entity to the given OUTSTREAM, or to the currently-selected
filehandle if none given. OUTSTREAM can be a filehandle, or any object
-that reponds to a print() message.
+that responds to a print() message.
The entity is output as a valid MIME stream! This means that the
header is always output first, and the body data (if any) will be
@@ -1779,7 +1779,7 @@
I<Instance method, override.>
Print the body of the entity to the given OUTSTREAM, or to the
currently-selected filehandle if none given. OUTSTREAM can be a
-filehandle, or any object that reponds to a print() message.
+filehandle, or any object that responds to a print() message.
The body is output for inclusion in a valid MIME stream; this means
that the body data will be encoded if the header says that it should be.
@@ -2250,7 +2250,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Field/ConTraEnc.pm new/MIME-tools-5.506/lib/MIME/Field/ConTraEnc.pm
--- old/MIME-tools-5.504/lib/MIME/Field/ConTraEnc.pm 2013-01-30 21:28:03.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Field/ConTraEnc.pm 2015-04-22 19:29:07.000000000 +0200
@@ -35,7 +35,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
=cut
@@ -47,7 +47,7 @@
@ISA = qw(MIME::Field::ParamVal);
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
# Install it:
bless([])->register('Content-transfer-encoding');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Field/ContDisp.pm new/MIME-tools-5.506/lib/MIME/Field/ContDisp.pm
--- old/MIME-tools-5.504/lib/MIME/Field/ContDisp.pm 2013-01-30 21:27:49.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Field/ContDisp.pm 2015-04-22 19:29:07.000000000 +0200
@@ -35,7 +35,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
=cut
@@ -48,7 +48,7 @@
@ISA = qw(MIME::Field::ParamVal);
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
# Install it:
bless([])->register('Content-disposition');
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Field/ContType.pm new/MIME-tools-5.506/lib/MIME/Field/ContType.pm
--- old/MIME-tools-5.504/lib/MIME/Field/ContType.pm 2013-01-30 21:27:45.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Field/ContType.pm 2015-04-22 19:29:07.000000000 +0200
@@ -63,7 +63,7 @@
@ISA = qw(MIME::Field::ParamVal);
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
# Install it:
bless([])->register('Content-type');
@@ -186,7 +186,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Field/ParamVal.pm new/MIME-tools-5.506/lib/MIME/Field/ParamVal.pm
--- old/MIME-tools-5.504/lib/MIME/Field/ParamVal.pm 2013-01-30 21:27:41.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Field/ParamVal.pm 2015-04-22 19:29:07.000000000 +0200
@@ -80,7 +80,7 @@
#------------------------------
# The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
#------------------------------
@@ -93,7 +93,7 @@
my $PARAMNAME = '[^\x00-\x1f\x80-\xff :=]+';
# Pattern to match the first value on the line:
-my $FIRST = '[^\s\;\x00-\x1f\x80-\xff]+';
+my $FIRST = '[^\s\;\x00-\x1f\x80-\xff]*';
# Pattern to match an RFC 2045 token:
#
@@ -209,7 +209,7 @@
}
sub rfc2231percent {
- # Do percent-subsitution
+ # Do percent-substitution
my($str) = @_;
local $1;
$str =~ s/%([0-9a-fA-F]{2})/pack("C", hex($1))/ge;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Head.pm new/MIME-tools-5.506/lib/MIME/Head.pm
--- old/MIME-tools-5.504/lib/MIME/Head.pm 2013-01-30 21:27:38.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Head.pm 2015-04-22 19:29:07.000000000 +0200
@@ -138,7 +138,7 @@
#------------------------------
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### Sanity (we put this test after our own version, for CPAN::):
use Mail::Header 1.06 ();
@@ -216,7 +216,7 @@
=item read FILEHANDLE
I<Instance (or class) method.>
-This initiallizes a header object by reading it in from a FILEHANDLE,
+This initializes a header object by reading it in from a FILEHANDLE,
until the terminating blank line is encountered.
A syntax error or end-of-stream will also halt processing.
@@ -268,19 +268,19 @@
=item add TAG,TEXT,[INDEX]
I<Instance method, inherited.>
-Add a new occurence of the field named TAG, given by TEXT:
+Add a new occurrence of the field named TAG, given by TEXT:
### Add the trace information:
$head->add('Received',
'from eryq.pr.mcs.net by gonzo.net with smtp');
-Normally, the new occurence will be I<appended> to the existing
-occurences. However, if the optional INDEX argument is 0, then the
-new occurence will be I<prepended>. If you want to be I<explicit>
+Normally, the new occurrence will be I<appended> to the existing
+occurrences. However, if the optional INDEX argument is 0, then the
+new occurrence will be I<prepended>. If you want to be I<explicit>
about appending, specify an INDEX of -1.
-B<Warning>: this method always adds new occurences; it doesn't overwrite
-any existing occurences... so if you just want to I<change> the value
+B<Warning>: this method always adds new occurrences; it doesn't overwrite
+any existing occurrences... so if you just want to I<change> the value
of a field (creating it if necessary), then you probably B<don't> want to use
this method: consider using C<replace()> instead.
@@ -305,7 +305,7 @@
=item count TAG
I<Instance method, inherited.>
-Returns the number of occurences of a field; in a boolean context, this
+Returns the number of occurrences of a field; in a boolean context, this
tells you whether a given field exists:
### Was a "Subject:" field given?
@@ -408,7 +408,7 @@
=item delete TAG,[INDEX]
I<Instance method, inherited.>
-Delete all occurences of the field named TAG.
+Delete all occurrences of the field named TAG.
### Remove some MIME information:
$head->delete('MIME-Version');
@@ -444,7 +444,7 @@
I<Instance method, inherited.>
Get the contents of field TAG.
-If a B<numeric INDEX> is given, returns the occurence at that index,
+If a B<numeric INDEX> is given, returns the occurrence at that index,
or undef if not present:
### Print the first and last 'Received:' entries (explicitly):
@@ -458,7 +458,7 @@
my $most_recent = $head->get('received');
If B<no INDEX> is given, and invoked in an B<array> context, then
-I<all> occurences of the field are returned:
+I<all> occurrences of the field are returned:
### Get all 'Received:' entries:
my @all_received = $head->get('received');
@@ -476,21 +476,21 @@
=item get_all FIELD
I<Instance method.>
-Returns the list of I<all> occurences of the field, or the
+Returns the list of I<all> occurrences of the field, or the
empty list if the field is not present:
### How did it get here?
@history = $head->get_all('Received');
B<Note:> I had originally experimented with having C<get()> return all
-occurences when invoked in an array context... but that causes a lot of
+occurrences when invoked in an array context... but that causes a lot of
accidents when you get careless and do stuff like this:
print "\u$field: ", $head->get($field);
It also made the intuitive behaviour unclear if the INDEX argument
was given in an array context. So I opted for an explicit approach
-to asking for all occurences.
+to asking for all occurrences.
=cut
@@ -540,7 +540,7 @@
# set TAG,TEXT
#
# Instance method, DEPRECATED.
-# Set the field named TAG to [the single occurence given by the TEXT.
+# Set the field named TAG to [the single occurrence given by the TEXT.
#
sub set {
my $self = shift;
@@ -569,7 +569,7 @@
=item unfold [FIELD]
I<Instance method, inherited.>
-Unfold (remove newlines in) the text of all occurences of the given FIELD.
+Unfold (remove newlines in) the text of all occurrences of the given FIELD.
If the FIELD is omitted, I<all> fields are unfolded.
Returns the "self" object.
@@ -859,7 +859,7 @@
We could even make it a superclass of MIME::Head: that way, MIME::Head
would have to implement its interface, I<and> allow itself to be
-initiallized from a MIME::Attrs object.
+initialized from a MIME::Attrs object.
However, when you read RFC 2045, you begin to see how much MIME information
is organized by its presence in particular fields. I imagine that we'd
@@ -868,7 +868,7 @@
having MIME::Head.
-=item Why all this "occurence" and "index" jazz? Isn't every field unique?
+=item Why all this "occurrence" and "index" jazz? Isn't every field unique?
Aaaaaaaaaahh....no.
@@ -876,7 +876,7 @@
store the fields as a hash of strings, one string per hash entry.
Unfortunately, there's the little matter of the C<Received:> field,
which (unlike C<From:>, C<To:>, etc.) will often have multiple
-occurences; e.g.:
+occurrences; e.g.:
Received: from gsfc.nasa.gov by eryq.pr.mcs.net with smtp
(Linux Smail3.1.28.1 #5) id m0tStZ7-0007X4C;
@@ -899,9 +899,9 @@
information.
I also didn't want to make this a special case; after all, who
-knows what other fields could have multiple occurences in the
+knows what other fields could have multiple occurrences in the
future? So, clearly, multiple entries had to somehow be stored
-multiple times... and the different occurences had to be retrievable.
+multiple times... and the different occurrences had to be retrievable.
=back
@@ -912,7 +912,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Parser/Filer.pm new/MIME-tools-5.506/lib/MIME/Parser/Filer.pm
--- old/MIME-tools-5.504/lib/MIME/Parser/Filer.pm 2011-10-19 19:25:36.000000000 +0200
+++ new/MIME-tools-5.506/lib/MIME/Parser/Filer.pm 2013-08-13 17:18:53.000000000 +0200
@@ -889,7 +889,7 @@
### Invoke inherited method first!
$self->SUPER::init_parse;
- ### Determine the subdirectory of ther base to use:
+ ### Determine the subdirectory of their base to use:
my $subdir = (defined($self->{MPFU_DirName})
? $self->{MPFU_DirName}
: ("msg-".scalar(time)."-$$-".$GSubdirNo++));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Parser/Reader.pm new/MIME-tools-5.506/lib/MIME/Parser/Reader.pm
--- old/MIME-tools-5.504/lib/MIME/Parser/Reader.pm 2011-11-21 17:03:15.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Parser/Reader.pm 2015-01-07 15:40:00.000000000 +0100
@@ -241,7 +241,7 @@
if ($n_out) { ### native input, native output [fastest]
while (<$n_in>) {
# Normalize line ending
- $_ =~ s/(:?\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
+ $_ =~ s/(?:\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
if (substr($_, 0, 2) eq '--') {
($maybe = $_) =~ s/[ \t\r\n]+\Z//;
$bh{$maybe} and do { $eos = $bh{$maybe}; last };
@@ -253,7 +253,7 @@
else { ### native input, OO output [slower]
while (<$n_in>) {
# Normalize line ending
- $_ =~ s/(:?\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
+ $_ =~ s/(?:\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
if (substr($_, 0, 2) eq '--') {
($maybe = $_) =~ s/[ \t\r\n]+\Z//;
$bh{$maybe} and do { $eos = $bh{$maybe}; last };
@@ -267,7 +267,7 @@
if ($n_out) { ### OO input, native output [even slower]
while (defined($_ = $in->getline)) {
# Normalize line ending
- $_ =~ s/(:?\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
+ $_ =~ s/(?:\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
if (substr($_, 0, 2) eq '--') {
($maybe = $_) =~ s/[ \t\r\n]+\Z//;
$bh{$maybe} and do { $eos = $bh{$maybe}; last };
@@ -279,7 +279,7 @@
else { ### OO input, OO output [slowest]
while (defined($_ = $in->getline)) {
# Normalize line ending
- $_ =~ s/(:?\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
+ $_ =~ s/(?:\n\r|\r\n|\r)$/\n/ if $normalize_newlines;
if (substr($_, 0, 2) eq '--') {
($maybe = $_) =~ s/[ \t\r\n]+\Z//;
$bh{$maybe} and do { $eos = $bh{$maybe}; last };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Parser.pm new/MIME-tools-5.506/lib/MIME/Parser.pm
--- old/MIME-tools-5.504/lib/MIME/Parser.pm 2013-01-30 21:27:34.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Parser.pm 2015-04-22 19:29:07.000000000 +0200
@@ -153,7 +153,7 @@
#------------------------------
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### How to catenate:
$CAT = '/bin/cat';
@@ -1118,7 +1118,7 @@
$io = IO::File->new($data, '<:');
} elsif( ref $data eq 'ARRAY' ) {
# Passing arrays is deprecated now that we've nuked IO::ScalarArray
- # but for backwards compatability we still support it by joining the
+ # but for backwards compatibility we still support it by joining the
# array lines to a scalar and doing scalar IO on it.
my $tmp_data = join('', @$data);
$io = IO::File->new(\$tmp_data, '<:');
@@ -1791,7 +1791,7 @@
B<Native I/O is much faster than object-oriented I/O.>
It's much faster to use E<lt>$fooE<gt> than $foo-E<gt>getline.
-For backwards compatibilty, this module must continue to use
+For backwards compatibility, this module must continue to use
object-oriented I/O in most places, but if you use L<parse()|/parse>
with a "real" filehandle (string, globref, or subclass of IO::File)
then MIME::Parser is able to perform some crucial optimizations.
@@ -1903,11 +1903,11 @@
Some folks have asked for the ability to bypass this temp-file
mechanism, I suppose because they assume it would slow down their application.
-I considered accomodating this wish, but the temp-file
+I considered accommodating this wish, but the temp-file
approach solves a lot of thorny problems in parsing, and it also
protects against hidden bugs in user applications (what if you've
directed the encoded part into a scalar, and someone unexpectedly
-sends you a 6 MB tar file?). Finally, I'm just not conviced that
+sends you a 6 MB tar file?). Finally, I'm just not convinced that
the temp-file use adds significant overhead.
@@ -1993,7 +1993,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Tools.pm new/MIME-tools-5.506/lib/MIME/Tools.pm
--- old/MIME-tools-5.504/lib/MIME/Tools.pm 2013-01-30 21:27:30.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Tools.pm 2015-04-22 19:29:03.000000000 +0200
@@ -1,7 +1,7 @@
package MIME::Tools;
#------------------------------
-# Because the POD documenation is pretty extensive, it follows
+# Because the POD documentation is pretty extensive, it follows
# the __END__ statement below...
#------------------------------
@@ -28,7 +28,7 @@
Exporter::export_ok_tags('config', 'msgs', 'msgtypes', 'utils');
# The TOOLKIT version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
# Configuration (do NOT alter this directly)...
# All legal CONFIG vars *must* be in here, even if only to be set to undef:
@@ -421,7 +421,7 @@
sent C<quoted-printable> for reliability.
See the section on encoding/decoding for more details, as well as
-L<"A MIME PRIMER">.
+L<"A MIME PRIMER"> below.
=head2 Sending email
@@ -438,7 +438,7 @@
The B<MIME::Decoder> class can be used to I<encode> as well; this is done
when printing MIME entities. All the standard encodings are supported
-(see L<"A MIME PRIMER"> for details):
+(see L<"A MIME PRIMER"> below for details):
Encoding: | Normally used when message contents are:
-------------------------------------------------------------------
@@ -988,7 +988,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (F<dfs(a)roaringpenguin.com>) F<http://www.roaringpenguin.com>.
+Dianne Skoll (F<dfs(a)roaringpenguin.com>) F<http://www.roaringpenguin.com>.
Copyright (c) 1998, 1999 by ZeeGee Software Inc (www.zeegee.com)
Copyright (c) 2004 by Roaring Penguin Software Inc (www.roaringpenguin.com)
@@ -1036,4 +1036,11 @@
Please forgive me if I've accidentally left you out.
Better yet, email me, and I'll put you in.
+=head1 LICENSE
+
+This program is free software; you can redistribute it and/or
+modify it under the same terms as Perl itself.
+
+See the COPYING file for more details.
+
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/WordDecoder.pm new/MIME-tools-5.506/lib/MIME/WordDecoder.pm
--- old/MIME-tools-5.504/lib/MIME/WordDecoder.pm 2011-02-17 17:53:01.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/WordDecoder.pm 2015-04-22 19:28:39.000000000 +0200
@@ -172,7 +172,7 @@
I<Class method, constructor.>
If \@HANDLERS is given, then @HANDLERS is passed to handler()
-to initiallize the internal map.
+to initialize the internal map.
=cut
@@ -654,7 +654,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
=cut
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/lib/MIME/Words.pm new/MIME-tools-5.506/lib/MIME/Words.pm
--- old/MIME-tools-5.504/lib/MIME/Words.pm 2013-01-30 21:27:26.000000000 +0100
+++ new/MIME-tools-5.506/lib/MIME/Words.pm 2015-04-22 19:29:07.000000000 +0200
@@ -94,7 +94,7 @@
#------------------------------
### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = "5.504";
+$VERSION = "5.506";
### Nonprintables (controls + x7F + 8bit):
my $NONPRINT = "\\x00-\\x1F\\x7F-\\xFF";
@@ -338,7 +338,7 @@
=head1 AUTHOR
Eryq (F<eryq(a)zeegee.com>), ZeeGee Software Inc (F<http://www.zeegee.com>).
-David F. Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
+Dianne Skoll (dfs(a)roaringpenguin.com) http://www.roaringpenguin.com
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/t/02-kwalitee.t new/MIME-tools-5.506/t/02-kwalitee.t
--- old/MIME-tools-5.504/t/02-kwalitee.t 2007-09-29 03:34:52.000000000 +0200
+++ new/MIME-tools-5.506/t/02-kwalitee.t 2013-08-13 17:13:01.000000000 +0200
@@ -1,4 +1,9 @@
-use Test::More;
+BEGIN {
+ use Test::More;
+ unless ($ENV{AUTHOR_TESTING}||$ENV{RELEASE_TESTING}) {
+ plan(skip_all => 'These tests are for author or release candidate testing');
+ }
+}
eval { require Test::Kwalitee; Test::Kwalitee->import() };
plan( skip_all => 'Test::Kwalitee not installed; skipping' ) if $@;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/t/Entity.t new/MIME-tools-5.506/t/Entity.t
--- old/MIME-tools-5.504/t/Entity.t 2008-12-05 17:59:28.000000000 +0100
+++ new/MIME-tools-5.506/t/Entity.t 2014-09-11 16:00:11.000000000 +0200
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
use warnings;
-use Test::More tests => 34;
+use Test::More tests => 39;
use MIME::Entity;
use MIME::Parser;
@@ -101,6 +101,45 @@
my $got = $e->head->mime_attr('content-type.charset');
is($got, 'iso8859-1', 'Charset: explicit');
}
+
+ {
+ #-----test------
+ my $croaked = 1;
+ eval {
+ my $e = MIME::Entity->build(Type => 'message/rfc822',
+ Encoding => 'base64',
+ Data => "Subject: phooey\n\nBlat\n");
+ $croaked = 0;
+ };
+ ok($croaked, 'MIME::Entity->build croaked on message/rfc822 with base64 encoding');
+ ok($@ =~ /can't have encoding base64 for message type message\/rfc822/,
+ 'and it croaked with expected error.');
+ }
+
+ {
+ #-----test------
+ my $croaked = 1;
+ eval {
+ my $e = MIME::Entity->build(Type => 'message/global',
+ Encoding => 'base64',
+ Data => "Subject: phooey\n\nBlat\n");
+ $croaked = 0;
+ };
+ ok(!$croaked, 'MIME::Entity->build did not croak on message/global with base64 encoding');
+ }
+ {
+ #-----test------
+ my $croaked = 1;
+ eval {
+ my $e = MIME::Entity->build(Type => 'multipart/ALTERNATIVE',
+ Encoding => 'base64',
+ Data => "Subject: phooey\n\nBlat\n");
+ $croaked = 0;
+ };
+ ok($croaked, 'MIME::Entity->build croaked on multipart/alternative with base64 encoding');
+ ok($@ =~ /can't have encoding base64 for message type multipart\/ALTERNATIVE/,
+ 'and it croaked with expected error.');
+ }
}
#diag("Create an entity");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/t/Smtpsend.t new/MIME-tools-5.506/t/Smtpsend.t
--- old/MIME-tools-5.504/t/Smtpsend.t 2012-05-24 17:58:09.000000000 +0200
+++ new/MIME-tools-5.506/t/Smtpsend.t 2013-08-13 16:53:36.000000000 +0200
@@ -3,6 +3,7 @@
use warnings;
use Config;
use Test::More;
+$ENV{MAILDOMAIN}='example.com';
my $can_fork = $Config{d_fork} || $Config{d_pseudofork} ||
(($^O eq 'MSWin32' || $^O eq 'NetWare') and
$Config{useithreads} and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-tools-5.504/testmsgs/malformed-content-type-zip.msg new/MIME-tools-5.506/testmsgs/malformed-content-type-zip.msg
--- old/MIME-tools-5.504/testmsgs/malformed-content-type-zip.msg 1970-01-01 01:00:00.000000000 +0100
+++ new/MIME-tools-5.506/testmsgs/malformed-content-type-zip.msg 2013-10-10 19:46:41.000000000 +0200
@@ -0,0 +1,21 @@
+MIME-Version: 1.0
+To: someone(a)example.com
+Subject: Payroll Received by Intuit
+Content-Type: multipart/mixed;
+ boundary="----=_Part_67482_7396105824.6005753659145"
+
+------=_Part_67482_7396105824.6005753659145
+Content-Type: text/plain; charset=windows-1251; format=flowed
+Content-Transfer-Encoding: 7bit
+
+Dear, We received your payroll on October 9, 2013 at 4:55 PM .
+
+------=_Part_67482_7396105824.6005753659145
+Content-Type: ; name="payroll_report_429047_10092013.zip"
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment;
+ name="payroll_report_409401_10092013.zip"
+
+Z290Y2hhCg==
+
+------=_Part_67482_7396105824.6005753659145--
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
1
0