openSUSE Commits
Threads by month
- ----- 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
June 2017
- 1 participants
- 2052 discussions
Hello community,
here is the log from the commit of package glib2 for openSUSE:Factory checked in at 2017-06-30 18:39:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glib2 (Old)
and /work/SRC/openSUSE:Factory/.glib2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glib2"
Fri Jun 30 18:39:58 2017 rev:186 rq:506737 version:2.52.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/glib2/glib2.changes 2017-06-12 15:07:57.531545457 +0200
+++ /work/SRC/openSUSE:Factory/.glib2.new/glib2.changes 2017-06-30 18:40:05.377309264 +0200
@@ -1,0 +2,10 @@
+Thu Jun 22 23:41:17 UTC 2017 - zaitor(a)opensuse.org
+
+- Update to version 2.52.3:
+ + Bugs fixed: bgo#781301, bgo#781601, bgo#781867, bgo#783130,
+ bgo#783193, bgo#783201.
+- Drop
+ glib2-gmain-only-signal-GWakeup-right-before-or-during-a-b.patch:
+ Fixed upstream.
+
+-------------------------------------------------------------------
@@ -4,2 +14,3 @@
-- Add glib2-gmain-only-signal-GWakeup-right-before-or-during-a-b.patch:
- Fix event loop thread wakeup issue (bgo#761102)
+- Add
+ glib2-gmain-only-signal-GWakeup-right-before-or-during-a-b.patch:
+ Fix event loop thread wakeup issue (bgo#761102).
Old:
----
glib-2.52.2.tar.xz
glib2-gmain-only-signal-GWakeup-right-before-or-during-a-b.patch
New:
----
glib-2.52.3.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ glib2.spec ++++++
--- /var/tmp/diff_new_pack.PrWLcD/_old 2017-06-30 18:40:07.181055556 +0200
+++ /var/tmp/diff_new_pack.PrWLcD/_new 2017-06-30 18:40:07.189054432 +0200
@@ -20,7 +20,7 @@
Name: glib2
%define _name glib
-Version: 2.52.2
+Version: 2.52.3
Release: 0
# FIXME: find out if tapsets should really be in devel package or in main package
Summary: General-Purpose Utility Library
@@ -50,8 +50,7 @@
Patch13: glib2-suppress-schema-deprecated-path-warning.patch
# PATCH-FIX-OPENSUSE glib2-dbus-socket-path.patch bnc#845287 dimstar(a)opensuse.org -- Have gio look for the system dbus socket in /run instead of /var/run.
Patch14: glib2-dbus-socket-path.patch
-# PATCH-FIX-UPSTREAM glib2-gmain-only-signal-GWakeup-right-before-or-during-a-b.patch bgo761102 pbonzini(a)redhat.com -- Fix event loop thread wakeup issue
-Patch15: glib2-gmain-only-signal-GWakeup-right-before-or-during-a-b.patch
+# PATCH-FIX-OPENSUSE glib2-gdbus-codegen-version.patch olaf(a)aepfle.de -- Remove version string from files generated by gdbus-codegen
Patch16: glib2-gdbus-codegen-version.patch
BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets
@@ -266,7 +265,6 @@
%patch11 -p1
%patch13 -p1
%patch14 -p1
-%patch15 -p1
%patch16 -p1
cp -a %{S:1} %{S:2} %{S:5} .
cp -a %{S:4} gnome_defaults.conf
++++++ glib-2.52.2.tar.xz -> glib-2.52.3.tar.xz ++++++
/work/SRC/openSUSE:Factory/glib2/glib-2.52.2.tar.xz /work/SRC/openSUSE:Factory/.glib2.new/glib-2.52.3.tar.xz differ: char 26, line 1
1
0
Hello community,
here is the log from the commit of package nautilus-sendto for openSUSE:Factory checked in at 2017-06-30 18:39:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nautilus-sendto (Old)
and /work/SRC/openSUSE:Factory/.nautilus-sendto.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nautilus-sendto"
Fri Jun 30 18:39:51 2017 rev:56 rq:506736 version:3.8.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/nautilus-sendto/nautilus-sendto.changes 2016-07-01 09:52:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nautilus-sendto.new/nautilus-sendto.changes 2017-06-30 18:39:52.395135283 +0200
@@ -1,0 +2,9 @@
+Thu Jun 22 18:39:51 UTC 2017 - zaitor(a)opensuse.org
+
+- Update to version 3.8.5:
+ + Add AppData to make it show up as a Files extension in
+ Software.
+ + Fix crash when fast-content-type is unavailable.
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
nautilus-sendto-3.8.4.tar.xz
New:
----
nautilus-sendto-3.8.5.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nautilus-sendto.spec ++++++
--- /var/tmp/diff_new_pack.dbN67j/_old 2017-06-30 18:39:52.999050338 +0200
+++ /var/tmp/diff_new_pack.dbN67j/_new 2017-06-30 18:39:53.003049776 +0200
@@ -1,7 +1,7 @@
#
# spec file for package nautilus-sendto
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,7 +17,7 @@
Name: nautilus-sendto
-Version: 3.8.4
+Version: 3.8.5
Release: 0
Summary: Integrate Nautilus, Evolution, Empathy and Pidgin
License: GPL-2.0+
@@ -60,6 +60,7 @@
%doc AUTHORS NEWS COPYING
%{_bindir}/nautilus-sendto
%{_mandir}/man1/nautilus-sendto.1%{?ext_man}
+%{_datadir}/appdata/nautilus-sendto.metainfo.xml
%files lang -f %{name}.lang
++++++ nautilus-sendto-3.8.4.tar.xz -> nautilus-sendto-3.8.5.tar.xz ++++++
++++ 7506 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package gnome-keyring for openSUSE:Factory checked in at 2017-06-30 18:39:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-keyring (Old)
and /work/SRC/openSUSE:Factory/.gnome-keyring.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-keyring"
Fri Jun 30 18:39:46 2017 rev:125 rq:506735 version:3.20.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-keyring/gnome-keyring.changes 2016-10-13 11:26:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnome-keyring.new/gnome-keyring.changes 2017-06-30 18:39:48.771644947 +0200
@@ -1,0 +2,9 @@
+Wed Jun 21 18:46:54 CEST 2017 - hpj(a)suse.com
+
+- Add gnome-keyring-bsc1039461-pam-man-page.patch (bsc#1039461,
+ bgo#784051), which adds a man page for the PAM module. In order
+ for a new Makefile.in to be generated from the patched
+ Makefile.am, automake was added to BuildRequires, and autoreconf
+ will now be run prior to configure.
+
+-------------------------------------------------------------------
New:
----
gnome-keyring-bsc1039461-pam-man-page.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-keyring.spec ++++++
--- /var/tmp/diff_new_pack.Zuk8wR/_old 2017-06-30 18:39:49.495543127 +0200
+++ /var/tmp/diff_new_pack.Zuk8wR/_new 2017-06-30 18:39:49.495543127 +0200
@@ -1,7 +1,7 @@
#
# spec file for package gnome-keyring
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -33,6 +33,9 @@
Patch3: gnome-keyring-bsc932232-use-libgcrypt-allocators.patch
# PATCH-FIX-SLE gnome-keyring-bsc932232-use-non-fips-md5.patch bsc#932232 hpj(a)suse.com
Patch4: gnome-keyring-bsc932232-use-non-fips-md5.patch
+# PATCH-FEATURE-UPSTREAM gnome-keyring-bsc1039461-pam-man-page.patch bsc#1039461 bgo#784051 hpj(a)suse.com -- Add a man page for the PAM module
+Patch5: gnome-keyring-bsc1039461-pam-man-page.patch
+BuildRequires: automake
BuildRequires: ca-certificates
BuildRequires: desktop-file-utils
BuildRequires: fdupes
@@ -75,8 +78,8 @@
%package -n libgck-modules-gnome-keyring
Summary: Glib wrapper library for PKCS#11 - Modules
-Group: System/GUI/GNOME
# libgck-X-Y has a Provides for gck, just to help us with this Requires
+Group: System/GUI/GNOME
Requires: gck
# libgp11 used to be the library providing all this. It turns out the
# modules are, as of 2.91.3, installed in the same place
@@ -123,8 +126,10 @@
%patch3 -p1
%patch4 -p1
%endif
+%patch5 -p1
%build
+autoreconf -f
%configure\
--enable-pam \
--with-pam-dir=/%{_lib}/security
@@ -218,5 +223,6 @@
%files pam
%defattr (-, root, root)
%attr(555,root,root) /%{_lib}/security/*.so
+%{_mandir}/man8/pam_gnome_keyring.8%{?ext_man}
%changelog
++++++ gnome-keyring-bsc1039461-pam-man-page.patch ++++++
diff --git a/pam/Makefile.am b/pam/Makefile.am
index 5c83c00..9b5bcc8 100644
--- a/pam/Makefile.am
+++ b/pam/Makefile.am
@@ -72,3 +72,18 @@ test_pam_CFLAGS = $(pam_CFLAGS)
check_PROGRAMS += $(pam_TESTS)
TESTS += $(pam_TESTS)
+
+# -----------------------------------------------------------------------------
+# Man page
+
+man_MANS = pam_gnome_keyring.8
+
+if ENABLE_DOC
+
+%.8: pam/%.8.xml
+ @XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+endif
+
+BUILT_EXTRA_DIST = $(man_MANS)
+EXTRA_DIST += pam_gnome_keyring.8.xml
diff --git a/pam/pam_gnome_keyring.8.xml b/pam/pam_gnome_keyring.8.xml
new file mode 100644
index 0000000..d4679a4
--- /dev/null
+++ b/pam/pam_gnome_keyring.8.xml
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding='UTF-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
+
+<refentry id="pam_gnome_keyring">
+
+ <refmeta>
+ <refentrytitle>pam_gnome_keyring</refentrytitle>
+ <manvolnum>8</manvolnum>
+ <refmiscinfo class="sectdesc">Gnome Keyring PAM Module Manual</refmiscinfo>
+ </refmeta>
+
+ <refnamediv id="pam_gnome_keyring-name">
+ <refname>pam_gnome_keyring</refname>
+ <refpurpose>automatic unlocking of Gnome Keyring</refpurpose>
+ </refnamediv>
+
+ <refsynopsisdiv>
+ <cmdsynopsis id="pam_gnome_keyring-cmdsynopsis">
+ <command>pam_gnome_keyring.so</command>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+
+ <refsect1 id="pam_gnome_keyring-description">
+
+ <title>DESCRIPTION</title>
+
+ <para>
+ The Gnome Keyring service module for PAM provides functionality for three
+ PAM categories: authentication, session management and password
+ management. In terms of module-type parameter, they are auth, session and
+ password.
+ </para>
+
+ <refsect2 id="pam_gnome_keyring-description-auth">
+
+ <title>Authentication Module</title>
+
+ <para>
+ Gnome Keyring authentication module retrieves password obtained by
+ previous module in PAM stack and stores it for later use. When no
+ password was obtained this module does nothing and returns success. It
+ will never prompt for password by itself. Unless otherwise noted, this
+ module returns success.
+ </para>
+
+ <para>
+ The following options may be passed to authentication module:
+ </para>
+
+ <variablelist>
+ <varlistentry>
+ <term>
+ <option>auto_start</option>
+ </term>
+ <listitem>
+ <para>
+ Gnome Keyring daemon is started if not already running and login
+ keyring unlocked using provided password. If any of this fail,
+ this module returns error.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>only_if=service</option>
+ </term>
+ <listitem>
+ <para>
+ Comma separated list of services (eg. gdm,xdm) this module will
+ handle. If a service is not in this list, module returns success
+ without doing anything.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </refsect2>
+
+ <refsect2 id="pam_gnome_keyring-description-session">
+
+ <title>Session Management Module</title>
+
+ <para>
+ The Gnome Keyring session management module provides functions to
+ initiate and terminate sessions. If Gnome Keyring daemon is not running
+ or no password was stored by authentication module, this module returns
+ success. Otherwise it will attempt to unlock login keyring. If
+ unlocking fails, this module will return error. When session is
+ terminated and daemon was started in either module, then that daemon
+ will be terminated.
+ </para>
+
+ <para>
+ The following options may be passed to session management module:
+ </para>
+
+ <variablelist>
+ <varlistentry>
+ <term>
+ <option>auto_start</option>
+ </term>
+ <listitem>
+ <para>
+ Same as in authentication. Please note that either authentication
+ or session management module must have option auto_start for
+ Gnome Keyring daemon to be started.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>only_if=service</option>
+ </term>
+ <listitem>
+ <para>
+ List of services to handle.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </refsect2>
+
+ <refsect2 id="pam_gnome_keyring-description-password">
+
+ <title>Password Management Module</title>
+
+ <para>
+ The Gnome Keyring password module allows changing password for login
+ keyring. If no old password was obtained by previous module in the stack, this
+ module is ignored. On the other hand, when no new password was obtained, this
+ module will prompt for one. Gnome Keyring daemon will be started if not already
+ running and stopped after concluding operation if it was not running before.
+ </para>
+
+ <para>
+ The following options may be passed to password management module:
+ </para>
+
+ <variablelist>
+ <varlistentry>
+ <term>
+ <option>auto_start</option>
+ </term>
+ <listitem>
+ <para>
+ Keep daemon running even when started by this module.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>only_if=service</option>
+ </term>
+ <listitem>
+ <para>
+ List of services to handle.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>
+ <option>use_authtok</option>
+ </term>
+ <listitem>
+ <para>
+ Do not prompt for new password. If not provided, return error.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </refsect2>
+ </refsect1>
+
+ <refsect1 id='pam_gnome_keyring-files'>
+
+ <title>FILES</title>
+
+ <variablelist>
+ <varlistentry>
+ <term>
+ $HOME/.local/share/keyrings/login.keyring
+ </term>
+ <listitem>
+ <para>
+ Encrypted login keyring.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </refsect1>
+
+ <refsect1 id='pam_gnome_keyring-examples'>
+
+ <title>EXAMPLES</title>
+
+ <para>
+ The following example of file /etc/pam.d/gdm configures gdm service to
+ use standard UNIX authentication, as well as start and unlock Gnome
+ Keyring. Rest of configuration is inherited from login service
+ configuration.
+ </para>
+
+ <programlisting>
+auth required pam_unix.so
+auth optional pam_gnome_keyring.so
+account include login
+session include login
+session optional pam_gnome_keyring.so auto_start
+password include login
+ </programlisting>
+
+ <para>
+ The following example of file /etc/pam.d/passwd configures passwd program
+ to update keyring password along with user's system password:
+ </para>
+
+ <programlisting>
+password required pam_unix.so
+password optional pam_gnome_keyring.so
+ </programlisting>
+
+ </refsect1>
+
+ <refsect1 id='pam_gnome_keyring-notes'>
+ <title>NOTES</title>
+ <para>
+ Gnome Keyring implements its own SSH agent, therefore you should not stack
+ it with pam_ssh for session management.
+ </para>
+ </refsect1>
+
+ <refsect1 id='pam_gnome_keyring-see_also'>
+ <title>SEE ALSO</title>
+ <para>
+ <citerefentry>
+ <refentrytitle>pam.conf</refentrytitle><manvolnum>5</manvolnum>
+ </citerefentry>,
+ <citerefentry>
+ <refentrytitle>pam.d</refentrytitle><manvolnum>5</manvolnum>
+ </citerefentry>,
+ <citerefentry>
+ <refentrytitle>pam</refentrytitle><manvolnum>8</manvolnum>
+ </citerefentry>,
+ <citerefentry>
+ <refentrytitle>auditctl</refentrytitle><manvolnum>8</manvolnum>
+ </citerefentry>,
+ <citerefentry>
+ <refentrytitle>auditd</refentrytitle><manvolnum>8</manvolnum>
+ </citerefentry>
+ </para>
+ </refsect1>
+
+ <refsect1 id='pam_gnome_keyring-author'>
+ <title>AUTHOR</title>
+ <para>
+ pam_gnome_keyring was written by Stef Walter <stef(a)thewalter.net>
+ </para>
+ </refsect1>
+
+</refentry>
1
0
Hello community,
here is the log from the commit of package kdump for openSUSE:Factory checked in at 2017-06-30 18:39:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdump (Old)
and /work/SRC/openSUSE:Factory/.kdump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdump"
Fri Jun 30 18:39:25 2017 rev:89 rq:507135 version:0.8.16
Changes:
--------
--- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2017-06-20 10:59:20.308487979 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new/kdump.changes 2017-06-30 18:39:36.849321892 +0200
@@ -1,0 +2,60 @@
+Thu Jun 29 16:31:26 UTC 2017 - ptesarik(a)suse.com
+
+- kdump-activate-QETH-devices.patch: Activate QETH network devices
+ (bsc#1038669).
+
+-------------------------------------------------------------------
+Tue Jun 27 06:06:54 UTC 2017 - ptesarik(a)suse.com
+
+- Drop kdump-do-not-reload-FADUMP-on-CPU-memory-hotplug.patch:
+ Reload is needed even with fadmp (bsc#1040567).
+
+-------------------------------------------------------------------
+Mon Jun 26 11:24:47 UTC 2017 - ptesarik(a)suse.com
+
+- kdump-fail-if-fadump-cannot-be-registered.patch: Fail at startup
+ if fadump cannot be registered (bsc#1040567).
+- kdump-do-not-reload-FADUMP-on-CPU-memory-hotplug.patch: Do not
+ reload on CPU/memory hotplug when using FADUMP (bsc#1040567).
+
+-------------------------------------------------------------------
+Fri Jun 23 12:56:45 UTC 2017 - ptesarik(a)suse.com
+
+- kdump-explicitly-request-zFCP-devices.patch: Explicitly request
+ zFCP devices in kdump initrd (bsc#1008352).
+
+-------------------------------------------------------------------
+Fri Jun 23 11:51:11 UTC 2017 - ptesarik(a)suse.com
+
+- kdump-move-class-SystemCPU-to-header-file.patch: Move class
+ SystemCPU to a header file (bsc#1036223).
+- kdump-treat-KDUMP_CPUS-0-as-all-available-CPUs.patch: Treat
+ KDUMP_CPUS=0 as "all available CPUs" (bsc#1036223).
+- kdump-multithreading-by-default.patch: Use multithreading by
+ default (bsc#1036223).
+
+-------------------------------------------------------------------
+Thu Jun 22 12:42:50 UTC 2017 - ptesarik(a)suse.com
+
+- kdump-fix-save_dump-to-NFS.patch: Fix save_dump to NFS targets
+ (bsc#1045541).
+- kdump-invoke-subcommand-destructors-on-exit.patch: Invoke
+ subcommand destructors on exit (bsc#1045541).
+
+-------------------------------------------------------------------
+Fri Jun 16 12:04:14 UTC 2017 - msuchanek(a)suse.com
+
+- kdump-do-not-free-fadump-memory-when-immediate-reboot-is-requested.patch
+ Releasing fadump memory can take a long time so skip it when
+ rebooting anyway (bsc#1040610).
+
+-------------------------------------------------------------------
+Tue Jun 15 12:55:34 UTC 2017 - msuchanek(a)suse.com
+
+- kdump-do-not-check-bind-mount.patch: Do not request filesystem
+ check on bind mounts (bsc#1034169).
+- kdump-remount-sysroot-readwrite.patch: Also remount writable
+ any mounts that were already mounted readonly by systemd
+ (bsc#1034169).
+
+-------------------------------------------------------------------
@@ -28,0 +89,8 @@
+Thu Jun 1 14:50:25 UTC 2017 - msuchanek(a)suse.com
+
+- kdump-source-save_dump.patch: save_dump.sh is designed to be
+ sourced and has numerous toplevel return statements. Source it
+ from the service definition as well to prevent bash complaints.
+ (bcs#1034169).
+
+-------------------------------------------------------------------
@@ -157 +225 @@
-------------------------------------------------------------------
+-------------------------------------------------------------------
New:
----
kdump-activate-QETH-devices.patch
kdump-do-not-check-bind-mount.patch
kdump-do-not-free-fadump-memory-when-immediate-reboot-is-requested.patch
kdump-explicitly-request-zFCP-devices.patch
kdump-fail-if-fadump-cannot-be-registered.patch
kdump-fix-save_dump-to-NFS.patch
kdump-invoke-subcommand-destructors-on-exit.patch
kdump-move-class-SystemCPU-to-header-file.patch
kdump-multithreading-by-default.patch
kdump-remount-sysroot-readwrite.patch
kdump-source-save_dump.patch
kdump-treat-KDUMP_CPUS-0-as-all-available-CPUs.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.v6iJSV/_old 2017-06-30 18:39:37.661207696 +0200
+++ /var/tmp/diff_new_pack.v6iJSV/_new 2017-06-30 18:39:37.665207133 +0200
@@ -55,6 +55,18 @@
Patch11: %{name}-Routable-preferred-source-address.patch
Patch12: %{name}-URLTransfer-complete-target.patch
Patch13: %{name}-prepend-IP-address.patch
+Patch14: %{name}-do-not-free-fadump-memory-when-immediate-reboot-is-requested.patch
+Patch15: %{name}-do-not-check-bind-mount.patch
+Patch16: %{name}-source-save_dump.patch
+Patch17: %{name}-remount-sysroot-readwrite.patch
+Patch18: %{name}-fix-save_dump-to-NFS.patch
+Patch19: %{name}-invoke-subcommand-destructors-on-exit.patch
+Patch20: %{name}-move-class-SystemCPU-to-header-file.patch
+Patch21: %{name}-treat-KDUMP_CPUS-0-as-all-available-CPUs.patch
+Patch22: %{name}-multithreading-by-default.patch
+Patch23: %{name}-explicitly-request-zFCP-devices.patch
+Patch24: %{name}-fail-if-fadump-cannot-be-registered.patch
+Patch25: %{name}-activate-QETH-devices.patch
BuildRequires: asciidoc
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -128,6 +140,18 @@
%patch11 -p1
%patch12 -p1
%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
+%patch19 -p1
+%patch20 -p1
+%patch21 -p1
+%patch22 -p1
+%patch23 -p1
+%patch24 -p1
+%patch25 -p1
%build
export CFLAGS="%{optflags}"
++++++ kdump-activate-QETH-devices.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Thu Jun 29 18:11:52 2017 +0200
Subject: Activate QETH network devices
References: bsc#1038669
Upstream: v0.8.17
Git-commit: 2288f2b56fec0298fdf21ff7a5dd03157d12242e
Take care of activating QETH devices in the kdump environment, because
dracut does not do it automatically.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
---
init/setup-kdump.functions | 72 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
--- a/init/setup-kdump.functions
+++ b/init/setup-kdump.functions
@@ -457,6 +457,7 @@ function kdump_vlan_config() # {
# kdump_netif corresponding ifname= initrd parameter added
# kdump_iface device name in initrd
# kdump_kmods additional kernel modules updated
+# kdump_hwif hardware interfaces updated
function kdump_ifname_config() # {{{
{
kdump_iface="$1"
@@ -464,6 +465,8 @@ function kdump_ifname_config() #
if [ -z "$ifkind" ]
then
+ kdump_hwif="$kdump_hwif $kdump_iface"
+
local hwaddr
local addrtype=$(<"/sys/class/net/$kdump_iface/addr_assign_type")
if [ "$addrtype" -eq 0 ]
@@ -1038,6 +1041,69 @@ function kdump_filter_sysctl() #
} # }}}
#
+# Set up a QETH network interface
+# Parameters:
+# 1) _root: initrd temporary root
+# 2) _iface: interface name
+# Input variables:
+# kdump_hwif hardware network interfaces
+function kdump_setup_qeth() # {{{
+{
+ local _root="$1"
+ local _iface="$2"
+ local _dev=$( readlink "/sys/class/net/$_iface/device" )
+ _dev="${_dev##*/}"
+ local _cdev0=$( readlink "/sys/class/net/$_iface/device/cdev0" )
+ _cdev0="${_cdev0##*/}"
+ local _cdev1=$( readlink "/sys/class/net/$_iface/device/cdev1" )
+ _cdev1="${_cdev1##*/}"
+ local _cdev2=$( readlink "/sys/class/net/$_iface/device/cdev2" )
+ _cdev2="${_cdev2##*/}"
+ local _layer2=$(</sys/class/net/$_iface/device/layer2)
+ local _portno=$(</sys/class/net/$_iface/device/portno)
+
+ cat >"${_root}/etc/udev/rules.d/51-qeth-${_dev}.rules" <<EOF
+ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT{program}="collect $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="$_cdev0", IMPORT{program}="collect $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="$_cdev1", IMPORT{program}="collect $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+ACTION=="add", SUBSYSTEM=="ccw", KERNEL=="$_cdev2", IMPORT{program}="collect $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+ACTION=="remove", SUBSYSTEM=="drivers", KERNEL=="qeth", IMPORT{program}="collect --remove $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+ACTION=="remove", SUBSYSTEM=="ccw", KERNEL=="$_cdev0", IMPORT{program}="collect --remove $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+ACTION=="remove", SUBSYSTEM=="ccw", KERNEL=="$_cdev1", IMPORT{program}="collect --remove $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+ACTION=="remove", SUBSYSTEM=="ccw", KERNEL=="$_cdev2", IMPORT{program}="collect --remove $_dev %k $_cdev0 $_cdev1 $_cdev2 qeth"
+TEST=="[ccwgroup/$_dev]", GOTO="qeth-${_dev}-end"
+ACTION=="add", SUBSYSTEM=="ccw", ENV{COLLECT_$_dev}=="0", ATTR{[drivers/ccwgroup:qeth]group}="$_cdev0,$_cdev1,$_cdev2"
+ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="qeth", ENV{COLLECT_$_dev}=="0", ATTR{[drivers/ccwgroup:qeth]group}="$_cdev0,$_cdev1,$_cdev2"
+LABEL="qeth-$_dev-end"
+ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="$_dev", ATTR{portno}="$_portno"
+ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="$_dev", ATTR{layer2}="$_layer2"
+ACTION=="add", SUBSYSTEM=="ccwgroup", KERNEL=="$_dev", ATTR{online}="1"
+EOF
+} # }}}
+
+#
+# Set up hardware network interfaces
+# Parameters:
+# 1) _root: initrd temporary root
+# Input variables:
+# kdump_hwif hardware network interfaces
+function kdump_setup_hwif() # {{{
+{
+ local _root="$1"
+ local _iface _drv
+
+ for _iface in $kdump_hwif
+ do
+ _drv=$( readlink "/sys/class/net/$_iface/device/driver" )
+ case "$_drv" in
+ */qeth)
+ kdump_setup_qeth "$_root" "$_iface"
+ ;;
+ esac
+ done
+} # }}}
+
+#
# Set up or create all necessary files
# Parameters:
# 1) outdir: initrd temporary root
@@ -1046,6 +1112,7 @@ function kdump_filter_sysctl() #
# Input variables:
# KDUMP_* see kdump_get_config
# kdump_mnt[] mountpoints in kdump environment
+# kdump_hwif hardware network interfaces
# Output variables:
# KDUMP_REQUIRED_PROGRAMS updated as necessary
function kdump_setup_files() # {{{
@@ -1087,5 +1154,10 @@ function kdump_setup_files() # {
#
kdump_filter_sysctl "$outdir"
+ #
+ # set up hardware interfaces
+ #
+ kdump_setup_hwif "$outdir"
+
return 0
} # }}}
++++++ kdump-do-not-check-bind-mount.patch ++++++
From: Michal Suchanek <msuchanek(a)suse.de>
Date: Wed Jun 21 15:31:21 2017 +0200
Subject: Do not request filesystem check on bind mounts
References: bsc#1034169
Upstream: v0.8.17
Git-commit: 395a14377816a19678da481cafdf2332e0b0c932
When creating fstab for kdump bind mounts the dump and fsck fields are not
specified. These should be 0 because the directory which is bind-mounted cannot
be checked nor dumped.
Reported-by: Neil Brown <nfbrown(a)suse.com>
Signed-off-by: Michal Suchanek <msuchanek(a)suse.de>
--- kdump-0.8.16/init/module-setup.sh~ 2017-06-01 16:56:11.765609113 +0200
+++ kdump-0.8.16/init/module-setup.sh 2017-06-01 16:58:31.295723256 +0200
@@ -168,7 +168,7 @@
do
line=( ${fstab_lines[i]} )
if [ "${line[1]%/*}" = "/kdump" ] ; then
- fstab_lines[i]="/sysroot ${line[1]} none bind"
+ fstab_lines[i]="/sysroot ${line[1]} none bind 0 0"
fi
done
fi
++++++ kdump-do-not-free-fadump-memory-when-immediate-reboot-is-requested.patch ++++++
From: Michal Suchanek <msuchanek(a)suse.de>
Date: Wed Jun 21 15:25:49 2017 +0200
Subject: Do not free fadump memory when reboot is requested
References: bsc#1040610
Upstream: v0.8.17
Git-commit: 653f8c0931c638cbb0bd5c22fc0e1dfd7969b29a
Freeing fadump memory can take a long time and doing it when we are going to
reboot anyway is pointless.
In bsc#1034169 a kernel oops is triggered by freeing fadump memory killing
save_dump.sh and preventing the reboot requested by the user from happening
entirely.
Avoid the issue and speed up reboot by not freeing fadump memory when reboot is
requested.
Signed-off-by: Michal Suchanek <msuchanek(a)suse.de>
--- kdump-0.8.16/init/save_dump.sh~ 2017-06-16 13:59:02.017110055 +0200
+++ kdump-0.8.16/init/save_dump.sh 2017-06-16 13:59:35.629621303 +0200
@@ -49,7 +49,8 @@
if fadump_enabled; then
# release memory if possible
- test -f $FADUMP_RELEASE_MEM && echo 1 > $FADUMP_RELEASE_MEM
+ [ -f $FADUMP_RELEASE_MEM -a $KDUMP_IMMEDIATE_REBOOT != "yes" \
+ -a "$KDUMP_IMMEDIATE_REBOOT" != "YES" ] && echo 1 > $FADUMP_RELEASE_MEM
if [ "$KDUMP_FADUMP_SHELL" = "yes" \
-o "$KDUMP_FADUMP_SHELL" = "YES" ] ; then
echo
++++++ kdump-explicitly-request-zFCP-devices.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Fri Jun 23 14:53:50 2017 +0200
Subject: Explicitly request zFCP devices in kdump initrd
References: bsc#1008352
Upstream: v0.8.17
Git-commit: 81899709e4a12bea4819d4ccc10f960cb535b447
When using NPIV with LUN autoscan, dracut does not save the port and
LUN information. However, LUN autoscan is always disabled in kdump
environment, so the LUNs will never appear.
To fix this case, the full information must be saved explicitly in a
kdump initrd.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
---
init/module-setup.sh | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
--- a/init/module-setup.sh
+++ b/init/module-setup.sh
@@ -81,6 +81,25 @@ kdump_add_mpath_dev() {
fi
}
+kdump_cmdline_zfcp() {
+ is_zfcp() {
+ local _dev=$1
+ local _devpath=$(cd -P /sys/dev/block/$_dev ; echo $PWD)
+ local _sdev _lun _wwpn _ccw
+
+ [ "${_devpath#*/sd}" == "$_devpath" ] && return 1
+ _sdev="${_devpath%%/block/*}"
+ [ -e ${_sdev}/fcp_lun ] || return 1
+ _ccw=$(cat ${_sdev}/hba_id)
+ _lun=$(cat ${_sdev}/fcp_lun)
+ _wwpn=$(cat ${_sdev}/wwpn)
+ echo "rd.zfcp=${_ccw},${_wwpn},${_lun}"
+ }
+ [[ $hostonly ]] || [[ $mount_needs ]] && {
+ for_each_host_dev_and_slaves_all is_zfcp
+ } | sort -u
+}
+
kdump_cmdline_ip() {
[ "$kdump_neednet" = y ] || return 0
@@ -142,6 +161,9 @@ kdump_gen_mount_units() {
}
cmdline() {
+ local _arch=$(uname -m)
+ [ "$_arch" = "s390" -o "$_arch" = "s390x" ] && kdump_cmdline_zfcp
+
kdump_cmdline_ip
}
++++++ kdump-fail-if-fadump-cannot-be-registered.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Mon Jun 26 13:22:10 2017 +0200
Subject: Fail at startup if fadump cannot be registered
References: bsc#1040567
Upstream: v0.8.17
Git-commit: 99a38e490012da75d83efb83385d42edbea100e9
If writing "1" into /sys/kernel/fadump_registered fails for whatever
reason, do not return success.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
diff --git a/init/load.sh b/init/load.sh
index 1894551..4fc7a82 100755
--- a/init/load.sh
+++ b/init/load.sh
@@ -241,17 +241,19 @@ function load_kdump_fadump()
fi
local msg
+ local result=0
# The kernel fails with EINVAL if registered already
# (see bnc#814780)
- if [ $(cat "$FADUMP_REGISTERED") != "1" ] ; then
- local output=$( (echo 1 > "$FADUMP_REGISTERED") 2>&1)
- local result=$?
+ if [ "$(cat $FADUMP_REGISTERED)" != "1" ] ; then
+ local output
- if [ $result -eq 0 ] ; then
+ output=$( (echo 1 > "$FADUMP_REGISTERED") 2>&1)
+ if [ $? -eq 0 ] ; then
msg="Registered fadump"
else
msg="FAILED to register fadump: $output"
+ result=1
fi
else
msg="fadump is already registered"
++++++ kdump-fix-save_dump-to-NFS.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Thu Jun 22 14:23:02 2017 +0200
Subject: Fix save_dump to NFS targets
References: bsc#1045541
Upstream: v0.8.17
Git-commit: 11d36a645ab99c9805f9fa3ca9eabce3aa2a9418
For NFS, the parent directory of the target must be mounted, because
the target directory itself does not exist yet.
For this to work, split the target path to directory (i.e. parent
directory) and basename. Then construct a unique mount point from the
host name and the parent directory, and finally append the base name
again to form a subdirectory in the target (to be created by the file
transfer method).
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
---
kdumptool/transfer.cc | 24 +++++++++++-------------
kdumptool/transfer.h | 4 +---
2 files changed, 12 insertions(+), 16 deletions(-)
--- a/kdumptool/transfer.cc
+++ b/kdumptool/transfer.cc
@@ -462,22 +462,20 @@ RootDirURL NFSTransfer::translate(const
if (!rt.check(config->KDUMP_NET_TIMEOUT.value()))
cerr << "WARNING: Dump target not reachable" << endl;
- string mountedDir = parser.getPath();
- FileUtil::nfsmount(parser.getHostname(), mountedDir,
- DEFAULT_MOUNTPOINT, options);
-
+ FilePath path = parser.getPath();
+ string mountedDir = path.dirName();
+ string rest = path.baseName();
m_mountpoint = DEFAULT_MOUNTPOINT;
- m_rest = parser.getPath();
- m_rest.replace(m_rest.begin(), m_rest.begin() + mountedDir.size(), "");
- m_rest.ltrim("/");
+ m_mountpoint.appendPath(parser.getHostname()).appendPath(mountedDir);
+ m_mountpoint.mkdir(true);
+ Debug::debug()->dbg("Path: %s, Mountpoint: %s, Rest: %s",
+ path.c_str(), m_mountpoint.c_str(), rest.c_str());
- (m_prefix = m_mountpoint).appendPath(m_rest);
-
- Debug::debug()->dbg("Mountpoint: %s, Rest: %s, Prefix: $s",
- m_mountpoint.c_str(), m_rest.c_str(), m_prefix.c_str());
+ FileUtil::nfsmount(parser.getHostname(), mountedDir,
+ m_mountpoint, options);
- return RootDirURL("file://" + m_prefix, "");
+ return RootDirURL("file://" + m_mountpoint + PATH_SEPARATOR + rest, "");
}
// -----------------------------------------------------------------------------
@@ -507,7 +505,7 @@ void NFSTransfer::close()
throw (KError)
{
Debug::debug()->trace("NFSTransfer::close()");
- if (m_mountpoint.size() > 0) {
+ if (!m_mountpoint.empty()) {
FileUtil::umount(m_mountpoint);
m_mountpoint.clear();
}
--- a/kdumptool/transfer.h
+++ b/kdumptool/transfer.h
@@ -271,9 +271,7 @@ class NFSTransfer : public URLTransfer {
private:
- std::string m_mountpoint;
- KString m_rest;
- FilePath m_prefix;
+ FilePath m_mountpoint;
FileTransfer *m_fileTransfer;
};
++++++ kdump-invoke-subcommand-destructors-on-exit.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Thu Jun 22 14:31:26 2017 +0200
Subject: Invoke subcommand destructors on exit
References: bsc#1045541
Upstream: v0.8.17
Git-commit: ff813cdc274caf7c006d438dbf30d83413bb896e
To execute the destructor for a subcommand, the object must be
explicitly freed in KdumpTool destructor. This fixes a bug that
NFS shares are not unmounted on exit.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
---
kdumptool/kdumptool.cc | 1 +
1 file changed, 1 insertion(+)
--- a/kdumptool/kdumptool.cc
+++ b/kdumptool/kdumptool.cc
@@ -67,6 +67,7 @@ KdumpTool::~KdumpTool()
throw ()
{
Debug::debug()->trace("KdumpTool::~KdumpTool()");
+ delete m_subcommand;
}
// -----------------------------------------------------------------------------
++++++ kdump-move-class-SystemCPU-to-header-file.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Fri Jun 23 13:19:41 2017 +0200
Subject: Move class SystemCPU to a header file
References: bsc#1036223
Upstream: v0.8.17
Git-commit: ded0d2117cce72fc98a7ca9ee577090889ef9b16
This allows to reuse the class outside of calibrate.cc.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
---
kdumptool/calibrate.cc | 47 ---------------------------------------------
kdumptool/calibrate.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+), 47 deletions(-)
--- a/kdumptool/calibrate.cc
+++ b/kdumptool/calibrate.cc
@@ -251,53 +251,6 @@ using std::ifstream;
//{{{ SystemCPU ----------------------------------------------------------------
-class SystemCPU {
-
- public:
- /**
- * Initialize a new SystemCPU object.
- *
- * @param[in] sysdir Mount point for sysfs
- */
- SystemCPU(const char *sysdir = "/sys")
- throw ()
- : m_cpudir(FilePath(sysdir).appendPath("devices/system/cpu"))
- {}
-
- protected:
- /**
- * Path to the cpu system devices base directory
- */
- const FilePath m_cpudir;
-
- /**
- * Count the number of CPUs in a cpuset
- *
- * @param[in] name Name of the cpuset ("possible", "present", "online")
- *
- * @exception KError if the file cannot be opened or parsed
- */
- unsigned long count(const char *name);
-
- public:
- /**
- * Count the number of online CPUs
- *
- * @exception KError see @c count()
- */
- unsigned long numOnline(void)
- { return count("online"); }
-
- /**
- * Count the number of offline CPUs
- *
- * @exception KError see @c count()
- */
- unsigned long numOffline(void)
- { return count("offline"); }
-
-};
-
// -----------------------------------------------------------------------------
unsigned long SystemCPU::count(const char *name)
{
--- a/kdumptool/calibrate.h
+++ b/kdumptool/calibrate.h
@@ -20,6 +20,7 @@
#define CALIBRATE_H
#include "subcommand.h"
+#include "fileutil.h"
//{{{ Calibrate ----------------------------------------------------------------
@@ -54,6 +55,56 @@ class Calibrate : public Subcommand {
};
//}}}
+//{{{ SystemCPU ----------------------------------------------------------------
+
+class SystemCPU {
+
+ public:
+ /**
+ * Initialize a new SystemCPU object.
+ *
+ * @param[in] sysdir Mount point for sysfs
+ */
+ SystemCPU(const char *sysdir = "/sys")
+ throw ()
+ : m_cpudir(FilePath(sysdir).appendPath("devices/system/cpu"))
+ {}
+
+ protected:
+ /**
+ * Path to the cpu system devices base directory
+ */
+ const FilePath m_cpudir;
+
+ /**
+ * Count the number of CPUs in a cpuset
+ *
+ * @param[in] name Name of the cpuset ("possible", "present", "online")
+ *
+ * @exception KError if the file cannot be opened or parsed
+ */
+ unsigned long count(const char *name);
+
+ public:
+ /**
+ * Count the number of online CPUs
+ *
+ * @exception KError see @c count()
+ */
+ unsigned long numOnline(void)
+ { return count("online"); }
+
+ /**
+ * Count the number of offline CPUs
+ *
+ * @exception KError see @c count()
+ */
+ unsigned long numOffline(void)
+ { return count("offline"); }
+
+};
+
+//}}}
#endif /* CALIBRATE_H */
++++++ kdump-multithreading-by-default.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Fri Jun 23 13:47:28 2017 +0200
Subject: Multithreading by default
References: bsc#1036223
Upstream: v0.8.17
Git-commit: 07534f44546e37c65a08fe7fb093255fbca6cd30
The "--num-threads" and "--split" makedumpfile options are mutually
exclusive. Before multithreading was implemented, "--split" was the
only way to use any additional CPUs. It makes more sense to use
multithreading by default.
To use "--split", the SPLIT flag can be specified.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
---
doc/man/kdump.5.txt.in | 16 +++++++++++-----
kdumptool/savedump.cc | 17 +++++++++++++++++
kdumptool/savedump.h | 1 +
sysconfig.kdump.in | 5 +++--
4 files changed, 32 insertions(+), 7 deletions(-)
--- a/doc/man/kdump.5.txt.in
+++ b/doc/man/kdump.5.txt.in
@@ -513,11 +513,17 @@ This is a space-separated list of flags
Because SFTP and FTP are not mounted, that option has no meaning when saving
the dump to SFTP and FTP.
-*NOSPLIT*::
- Disable the _--split_ option of *makedumpfile*(8). This option is normally
- added when KDUMP_CPUS>1, because otherwise the additional CPUs are idle.
- You can specify this flag to force the use of only one dumping process,
- regardless of the value of KDUMP_CPUS.
+*SPLIT*::
+ If KDUMP_CPUS>1, use the _--split_ option of *makedumpfile*(8) instead of
+ the default _--num-threads_.
+
+*SINGLE*::
+ Specify this flag to force the use of only one CPU for dumping, regardless
+ of the value of KDUMP_CPUS.
+ It disables the _--split_ and _--num-threads_ options of *makedumpfile*(8).
+
+ For compatibility with older versions, *NOSPLIT* is an alias for *SINGLE*.
+ Its use is deprecated.
*XENALLDOMAINS*::
When dumping a Xen virtualization host, *makedumpfile*(8) is normally
--- a/kdumptool/savedump.cc
+++ b/kdumptool/savedump.cc
@@ -291,11 +291,24 @@ void SaveDump::saveDump(const RootDirURL
cpus = syscpu.numOnline();
}
if (!config->kdumptoolContainsFlag("NOSPLIT") &&
+ !config->kdumptoolContainsFlag("SINGLE") &&
cpus > 1) {
if (!useElf)
m_split = cpus;
else
cerr << "Splitting ELF dumps is not supported." << endl;
+
+ if (config->kdumptoolContainsFlag("SPLIT")) {
+ if (!useElf)
+ m_split = cpus;
+ else
+ cerr << "Splitting ELF dumps is not supported." << endl;
+ } else {
+ if (!useElf)
+ m_threads = cpus - 1;
+ else
+ cerr << "Multithreading is unavailable for ELF dumps" << endl;
+ }
}
bool excludeDomU = false;
@@ -313,6 +326,10 @@ void SaveDump::saveDump(const RootDirURL
cmdline << "makedumpfile ";
if (m_split)
cmdline << "--split ";
+ if (m_threads) {
+ SystemCPU syscpu;
+ cmdline << "--num-threads " << m_threads << " ";
+ }
cmdline << config->MAKEDUMPFILE_OPTIONS.value() << " ";
cmdline << "-d " << config->KDUMP_DUMPLEVEL.value() << " ";
if (excludeDomU)
--- a/kdumptool/savedump.h
+++ b/kdumptool/savedump.h
@@ -113,6 +113,7 @@ class SaveDump : public Subcommand {
bool m_usedDirectSave;
bool m_useMakedumpfile;
unsigned long m_split;
+ unsigned long m_threads;
std::string m_crashtime;
std::string m_crashrelease;
std::string m_rootdir;
--- a/sysconfig.kdump.in
+++ b/sysconfig.kdump.in
@@ -271,14 +271,15 @@ KDUMP_POSTSCRIPT=""
#
KDUMP_COPY_KERNEL="yes"
-## Type: string(NOSPARSE,NOSPLIT,XENALLDOMAINS)
+## Type: string(NOSPARSE,SPLIT,SINGLE,XENALLDOMAINS)
## Default: ""
## ServiceRestart: kdump
#
# Space-separated list of flags to tweak the run-time behaviour of kdumptool:
#
# NOSPARSE disable creation of sparse files.
-# NOSPLIT do not pass "--split" to makedumpfile even if KDUMP_CPUS > 1
+# SPLIT split the dump file with "makedumpfile --split"
+# SINGLE use single CPU to save the dump
# XENALLDOMAINS do not filter out Xen DomU pages
#
# See also: kdump(5).
++++++ kdump-remount-sysroot-readwrite.patch ++++++
From: Michal Suchanek <msuchanek(a)suse.de>
Date: Wed Jun 21 15:23:30 2017 +0200
Subject: Remount /sysroot readwrite when used for kdump
References: bsc#1034169
Upstream: v0.8.17
Git-commit: b3e40e6cb5794e441ddabf1de88f3729ebd0cc6f
When kdump is saved to / (ie /var is not separate filesystem) /kdump/mnt0 is
bind mount of readonly /sysroot. Due to mount bug "mount /kdump/mnt0 -o
remount,rw" does nothing.
Remount the device by hand with "mount none /kdump/mnt0 -o remount,rw" which
avoids the bug.
Based on patch by Neil Brown <nfbrown(a)suse.com>
Signed-off-by: Michal Suchanek <msuchanek(a)suse.de>
--- kdump-0.8.16/init/save_dump.sh~ 2017-06-15 14:47:33.059006747 +0200
+++ kdump-0.8.16/init/save_dump.sh 2017-06-15 14:47:42.827155243 +0200
@@ -127,13 +127,38 @@
check_for_device "$@"
}
+function rw_fixup()
+{
+ # handle remounting existing readonly mounts readwrite
+ # mount -a works only for not yet mounted filesystems
+ # remounting bind mounts needs special incantation
+ while read dev mpt fs opt dummy ; do
+ case "$opt" in
+ *bind*)
+ if [ "$fs" = "none" ] && ! [ -w "$mpt" ]; then
+ mount none "$mpt" -o remount,rw
+ fi
+ ;;
+ ro,* | *,ro,* | *,ro) ;;
+ *)
+ if ! [ -w "$mpt" ]; then
+ mount "$mpt" -o remount,rw
+ fi
+ ;;
+ esac
+ done < /etc/fstab
+}
+
#
# Mounts all partitions listed in /etc/fstab.kdump
function mount_all()
{
local ret=0
- test -f /etc/fstab.kdump || return 0
+ if ! [ -f /etc/fstab.kdump ] ; then
+ rw_fixup
+ return 0
+ fi
if [ -f /etc/fstab ] ; then
mv /etc/fstab /etc/fstab.orig
@@ -143,6 +167,8 @@
mount -a
ret=$?
+ rw_fixup
+
if [ -f /etc/fstab.orig ] ; then
mv /etc/fstab.orig /etc/fstab
else
++++++ kdump-source-save_dump.patch ++++++
From: Michal Suchanek <msuchanek(a)suse.de>
Date: Wed Jun 21 15:33:01 2017 +0200
Subject: Source save_dump.sh in systemd service.
References: bcs#1034169
Upstream: v0.8.17
Git-commit: b053165dd633978b1a78f6f7f993d34a62ee97c3
save_dump.sh is designed to be sourced and contains a number of toplevel return
statements. Bash will complain when these are executed unless the script is
sourced so source it to prevent useless noise.
Reported-by: Neil Brown <nfbrown(a)suse.com>
Signed-off-by: Michal Suchanek <msuchanek(a)suse.de>
--- kdump-0.8.16/init/kdump-save.service.in~ 2016-10-05 09:37:12.000000000 +0200
+++ kdump-0.8.16/init/kdump-save.service.in 2017-06-01 17:04:00.428710624 +0200
@@ -17,7 +17,7 @@
[Service]
Type=oneshot
-ExecStart=/lib/kdump/save_dump.sh
+ExecStart=/bin/bash -c "source /lib/kdump/save_dump.sh"
StandardInput=tty
StandardOutput=tty
StandardError=tty
++++++ kdump-treat-KDUMP_CPUS-0-as-all-available-CPUs.patch ++++++
From: Petr Tesarik <ptesarik(a)suse.com>
Date: Fri Jun 23 13:43:15 2017 +0200
Subject: Treat KDUMP_CPUS=0 as "all available CPUs"
References: bsc#1036223
Upstream: v0.8.17
Git-commit: 34192abe9a0f5ddbcd580fa52b7fa4400533b9a4
Since SMP after crash is now considered stable, remove the warnings and
make the feature more useful by not requiring a fixed number of CPUs.
Signed-off-by: Petr Tesarik <ptesarik(a)suse.com>
---
doc/man/kdump.5.txt.in | 7 +++----
init/load.sh | 7 +++++--
kdumptool/calibrate.cc | 6 +++---
kdumptool/savedump.cc | 23 ++++++++++++++---------
kdumptool/savedump.h | 2 +-
sysconfig.kdump.in | 7 +------
6 files changed, 27 insertions(+), 25 deletions(-)
--- a/doc/man/kdump.5.txt.in
+++ b/doc/man/kdump.5.txt.in
@@ -136,13 +136,12 @@ the number of CPUs in your system.
This parameter modifies the _maxcpus_ parameter of the kdump kernel and
the number of *makedumpfile*(8) processes created.
+If the value is zero, all available CPUs are used, i.e. the _maxcpus_
+parameter is not added to the kdump kernel command line.
+
*Note:* This parameter does not work properly for the _ELF_ format,
because *makedumpfile*(8) does not support split _ELF_ dump files.
-*WARNING:* SETTING THIS NUMBER TO A NUMBER HIGHER THAN 1 IS EXPERIMENTAL!
-SOME MACHINES ARE KNOWN TO HANG OR REBOOT RANDOMLY DURING INITIALISATION
-OF THE DUMP KERNEL IF KDUMP_CPUS > 1.
-
Default is 1.
--- a/init/load.sh
+++ b/init/load.sh
@@ -63,14 +63,17 @@ function build_kdump_commandline()
local commandline="$KDUMP_COMMANDLINE"
if [ -z "$commandline" ] ; then
- local nr_cpus=$(cpus_param "$kdump_kernel")
+ local nr_cpus
commandline=$(
remove_from_commandline \
'root|resume|crashkernel|splash|mem|BOOT_IMAGE|showopts|zfcp\.allow_lun_scan|hugepages|acpi_no_memhotplug|cgroup_disable|unknown_nmi_panic|rd\.udev\.children-max' \
< /proc/cmdline)
+ if [ ${KDUMP_CPUS:-1} -ne 0 ] ; then
+ nr_cpus=$(cpus_param "$kdump_kernel")=${KDUMP_CPUS:-1}
+ fi
# Use deadline for saving the memory footprint
commandline="$commandline elevator=deadline sysrq=yes reset_devices acpi_no_memhotplug cgroup_disable=memory"
- commandline="$commandline irqpoll ${nr_cpus}=${KDUMP_CPUS:-1}"
+ commandline="$commandline irqpoll ${nr_cpus}"
commandline="$commandline root=kdump rootflags=bind rd.udev.children-max=8"
case $(uname -i) in
i?86|x86_64)
--- a/kdumptool/calibrate.cc
+++ b/kdumptool/calibrate.cc
@@ -905,10 +905,10 @@ void Calibrate::execute()
}
// Add memory based on CPU count
- unsigned long cpus;
- if (CAN_REDUCE_CPUS) {
+ unsigned long cpus = 0;
+ if (CAN_REDUCE_CPUS)
cpus = config->KDUMP_CPUS.value();
- } else {
+ if (!cpus) {
SystemCPU syscpu;
unsigned long online = syscpu.numOnline();
unsigned long offline = syscpu.numOffline();
--- a/kdumptool/savedump.cc
+++ b/kdumptool/savedump.cc
@@ -41,6 +41,7 @@
#include "identifykernel.h"
#include "email.h"
#include "routable.h"
+#include "calibrate.h"
using std::string;
using std::list;
@@ -60,7 +61,7 @@ using std::ifstream;
SaveDump::SaveDump()
throw ()
: m_dump(DEFAULT_DUMP), m_transfer(NULL), m_usedDirectSave(false),
- m_useMakedumpfile(false), m_useSplit(false), m_nomail(false)
+ m_useMakedumpfile(false), m_split(0), m_nomail(false)
{
Debug::debug()->trace("SaveDump::SaveDump()");
@@ -284,10 +285,15 @@ void SaveDump::saveDump(const RootDirURL
if (noDump)
return; // nothing to be done
+ unsigned long cpus = config->KDUMP_CPUS.value();
+ if (cpus) {
+ SystemCPU syscpu;
+ cpus = syscpu.numOnline();
+ }
if (!config->kdumptoolContainsFlag("NOSPLIT") &&
- config->KDUMP_CPUS.value() > 1) {
+ cpus > 1) {
if (!useElf)
- m_useSplit = true;
+ m_split = cpus;
else
cerr << "Splitting ELF dumps is not supported." << endl;
}
@@ -305,7 +311,7 @@ void SaveDump::saveDump(const RootDirURL
// use makedumpfile
ostringstream cmdline;
cmdline << "makedumpfile ";
- if (m_useSplit)
+ if (m_split)
cmdline << "--split ";
cmdline << config->MAKEDUMPFILE_OPTIONS.value() << " ";
cmdline << "-d " << config->KDUMP_DUMPLEVEL.value() << " ";
@@ -340,10 +346,9 @@ void SaveDump::saveDump(const RootDirURL
provider->setProgress(&progress);
else
cout << "Saving dump ..." << endl;
- if (m_useSplit) {
+ if (m_split) {
StringVector targets;
- const int cpus = config->KDUMP_CPUS.value();
- for (int i = 1; i <= cpus; ++i) {
+ for (unsigned long i = 1; i <= m_split; ++i) {
ostringstream ss;
ss << "vmcore" << i;
targets.push_back(ss.str());
@@ -482,8 +487,8 @@ void SaveDump::generateInfo()
ss << "Dump level : "
<< Stringutil::number2string(config->KDUMP_DUMPLEVEL.value()) << endl;
ss << "Dump format : " << config->KDUMP_DUMPFORMAT.value() << endl;
- if (m_useSplit && m_usedDirectSave)
- ss << "Split parts : " << config->KDUMP_CPUS.value() << endl;
+ if (m_split && m_usedDirectSave)
+ ss << "Split parts : " << m_split << endl;
ss << endl;
--- a/kdumptool/savedump.h
+++ b/kdumptool/savedump.h
@@ -112,7 +112,7 @@ class SaveDump : public Subcommand {
Transfer *m_transfer;
bool m_usedDirectSave;
bool m_useMakedumpfile;
- bool m_useSplit;
+ unsigned long m_split;
std::string m_crashtime;
std::string m_crashrelease;
std::string m_rootdir;
--- a/sysconfig.kdump.in
+++ b/sysconfig.kdump.in
@@ -18,13 +18,8 @@ KDUMP_KERNELVER=""
#
# Number of CPUs to be used in the kdump environment. You may want to
# increase the number if computing power is the bottleneck in your setup.
-# This value is used as the maxcpus parameter of the secondary kernel, so
-# DON'T CHANGE IT unless your system can reliably re-initialize SMP after
-# a kernel crash.
#
-# WARNING: SETTING THIS NUMBER TO A NUMBER HIGHER THAN 1 IS EXPERIMENTAL!
-# SOME MACHINES ARE KNOWN TO HANG OR REBOOT RANDOMLY DURING INITIALISATION
-# OF THE DUMP KERNEL IF KDUMP_CPUS > 1.
+# If the value is zero, use all available CPUs.
#
# See also: kdump(5).
#
1
0
Hello community,
here is the log from the commit of package liferea for openSUSE:Factory checked in at 2017-06-30 18:39:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liferea (Old)
and /work/SRC/openSUSE:Factory/.liferea.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liferea"
Fri Jun 30 18:39:18 2017 rev:82 rq:506882 version:1.12~rc3
Changes:
--------
--- /work/SRC/openSUSE:Factory/liferea/liferea.changes 2017-03-15 01:59:46.320769563 +0100
+++ /work/SRC/openSUSE:Factory/.liferea.new/liferea.changes 2017-06-30 18:39:34.881598664 +0200
@@ -1,0 +2,41 @@
+Wed Jun 28 14:17:52 UTC 2017 - dimstar(a)opensuse.org
+
+- Change license to 'GPL-2.0' in place of 'GPL-2.0+':
+ src/debug.[c|h]) does not specify 'or higher'.
+
+-------------------------------------------------------------------
+Wed Jun 21 19:07:01 UTC 2017 - zaitor(a)opensuse.org
+
+- Update to version 1.12~rc3:
+ + Fix GtkDoc warnings.
+ + Filter commands are not asynchronous.
+ + Missing space above internal browser address bar.
+ + All "Unread" search folder items marked read at once.
+ + Liferea does not always use theme icons when it is launched on
+ system startup.
+ + Updated translations.
+- Changes from version 1.12~rc2:
+ + Change all g_warnings() to g_print() for remote source to avoid
+ "crashing" on errors.
+ + Reorganized all UI definitions in separate files to simplify
+ GtkBuilder handling.
+ + Add GeoRSS info and map link in item header.
+ + Replacing deprecated elements in preferences.
+ + Create LifereaApplication type.
+ + Partial RFC3229+feed support for bandwidth savings.
+ + gtk_tree_store_get_path: assertion
+ 'iter->stamp == priv->stamp'.
+ + Leftover OSM XSLT in item view.
+ + Internal browser shows files system on go-back.
+ + Updated translations.
+- Changes from version 1.12~rc1:
+ + Switch to webkit2gtk3.
+ + Support for Do-Not-Track.
+ + Improved trayicon plugin.
+ + Support for Reedah and InoReader.
+ + Support for categories in TheOldReader.
+ + Simplified handling of external browsers.
+- Replace pkgconfig(webkitgtk-3.0) with pkgconfig(webkit2gtk-4.0)
+ BuildRequires following upstreams port.
+
+-------------------------------------------------------------------
Old:
----
liferea-1.11.7.tar.bz2
New:
----
liferea-1.12-rc3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ liferea.spec ++++++
--- /var/tmp/diff_new_pack.LGixxT/_old 2017-06-30 18:39:36.125423713 +0200
+++ /var/tmp/diff_new_pack.LGixxT/_new 2017-06-30 18:39:36.125423713 +0200
@@ -17,13 +17,14 @@
Name: liferea
-Version: 1.11.7
+Version: 1.12~rc3
Release: 0
Summary: Linux Feed Reader
-License: GPL-2.0+
+License: GPL-2.0
Group: Productivity/Other
Url: http://liferea.sourceforge.net/
-Source: https://github.com/lwindolf/liferea/releases/download/v%{version}/%{name}-%…
+Source0: https://github.com/lwindolf/liferea/releases/download/v1.12-rc3/liferea-1.1…
+#Source: https://github.com/lwindolf/liferea/releases/download/v%%{version}/%%{name}…
# PATCH-FEATURE-OPENSUSE liferea-opensuse-feeds.patch -- Add openSUSE feeds to default feeds
Patch0: liferea-opensuse-feeds.patch
BuildRequires: fdupes
@@ -43,7 +44,7 @@
BuildRequires: pkgconfig(libxslt) >= 1.1.19
BuildRequires: pkgconfig(pango) >= 1.4.0
BuildRequires: pkgconfig(sqlite3) >= 3.7.0
-BuildRequires: pkgconfig(webkitgtk-3.0)
+BuildRequires: pkgconfig(webkit2gtk-4.0)
Requires: dbus-1 >= 0.30
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -59,7 +60,8 @@
%lang_package
%prep
-%setup -q
+#%%setup -q -n %%{name}-%%{version}
+%setup -q -n %{name}-1.12-rc3
%patch0
%build
@@ -69,7 +71,7 @@
%install
%make_install
-%suse_update_desktop_file -N "Liferea" liferea X-SuSE-RSS-News
+%suse_update_desktop_file net.sourceforge.liferea X-SuSE-RSS-News
%find_lang %{name} %{?no_lang_C}
rm doc/Makefile*
rm doc/html/Makefile*
@@ -93,7 +95,8 @@
%doc AUTHORS COPYING ChangeLog
%{_bindir}/liferea
%{_bindir}/liferea-add-feed
-%{_datadir}/applications/liferea.desktop
+%{_datadir}/applications/net.sourceforge.liferea.desktop
+%{_datadir}/dbus-1/services/net.sourceforge.liferea.service
%{_datadir}/liferea/
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.appdata.xml
1
0
Hello community,
here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2017-06-30 18:39:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old)
and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp-plugin-appdata"
Fri Jun 30 18:39:13 2017 rev:12 rq:506830 version:1.0+git.20150408
Changes:
--------
--- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2016-07-15 12:55:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2017-06-30 18:39:30.906157832 +0200
@@ -1,0 +2,25 @@
+Wed Jun 28 11:55:21 UTC 2017 - dimstar(a)opensuse.org
+
+- Update to version 1.0+git.20150408:
+ + Drop the irrelevant LICENSE file from git.
+- Update License tag to be MIT (InstallAppdata.sh) AND CC0-1.0 (the
+ appdata metafiles).
+
+-------------------------------------------------------------------
+Mon Jun 26 15:02:47 UTC 2017 - dimstar(a)opensuse.org
+
+- Provide 'appstream-provider': we might want to implement
+ different methods of providing AppStream metadata to
+ applications, and the frontends should not have to care about the
+ technical details in the background. Software Centers like GNOME
+ Software and Discover are supposed to use the new symbol.
+
+-------------------------------------------------------------------
+Fri Jun 23 12:21:44 UTC 2017 - dimstar(a)opensuse.org
+
+- Update InstallAppdata.sh: use appstreamcli refresh-cache instead
+ of refresh-index (boo#1044114).
+- Drop GNOME software mention from the description. There are other
+ frontends out there by now.
+
+-------------------------------------------------------------------
Old:
----
openSUSE-appstream-1.0.tar.xz
New:
----
openSUSE-appstream-1.0+git.20150408.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libzypp-plugin-appdata.spec ++++++
--- /var/tmp/diff_new_pack.jy96GL/_old 2017-06-30 18:39:32.441941816 +0200
+++ /var/tmp/diff_new_pack.jy96GL/_new 2017-06-30 18:39:32.445941253 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libzypp-plugin-appdata
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,13 +17,13 @@
Name: libzypp-plugin-appdata
-Version: 1.0.1
+Version: 1.0+git.20150408
Release: 0
Summary: Extend libzypp to handle AppStream metadata
-License: MIT
+License: MIT AND CC0-1.0
Group: System/Libraries
Url: https://wiki.gnome.org/Design/Apps/Software
-Source0: openSUSE-appstream-1.0.tar.xz
+Source0: openSUSE-appstream-%{version}.tar.xz
Source2: InstallAppdata.sh
BuildArch: noarch
# appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache
@@ -34,23 +34,24 @@
Requires: AppStream
# The script uses awk to find the right filename for the appdata.xml.gz file
Requires: awk
+# This is one way of providing valid appstream metadata to applications (currently the only implemented one)
+Provides: appstream-provider
%description
This plugin extends libzypp to install AppStream metadata, as extracted from the
repository metadata, onto the file system in order to be picked up by
software centers.
-At this moment, gnome-software is the only known implementation making use of it.
-
%package -n openSUSE-appdata-extra
Summary: Additional Appstream Metadata
+License: CC0-1.0
Group: System
%description -n openSUSE-appdata-extra
This package contains extra appstream metadata to be used by appstream-builder
%prep
-%setup -q -n openSUSE-appstream-1.0
+%setup -q -n openSUSE-appstream-%{version}
%build
++++++ InstallAppdata.sh ++++++
--- /var/tmp/diff_new_pack.jy96GL/_old 2017-06-30 18:39:32.473937316 +0200
+++ /var/tmp/diff_new_pack.jy96GL/_new 2017-06-30 18:39:32.473937316 +0200
@@ -58,5 +58,5 @@
chmod 755 /var/cache/app-info/icons/*
# (Re)create the Xapian database required by the KDE tools
-appstreamcli refresh-index
+appstreamcli refresh-cache
++++++ _service ++++++
--- /var/tmp/diff_new_pack.jy96GL/_old 2017-06-30 18:39:32.493934503 +0200
+++ /var/tmp/diff_new_pack.jy96GL/_new 2017-06-30 18:39:32.497933940 +0200
@@ -2,10 +2,11 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/DimStar77/openSUSE-appstream.git</param>
<param name="scm">git</param>
- <param name="versionformat">1.0</param>
+ <param name="versionformat">1.0+git.%cd</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
+ <service name="set_version" mode="disabled"/>
</services>
1
0
Hello community,
here is the log from the commit of package kernel-firmware for openSUSE:Factory checked in at 2017-06-30 18:39:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-firmware (Old)
and /work/SRC/openSUSE:Factory/.kernel-firmware.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-firmware"
Fri Jun 30 18:39:06 2017 rev:86 rq:506469 version:20170622
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-firmware/kernel-firmware.changes 2017-06-17 10:19:21.050546671 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-firmware.new/kernel-firmware.changes 2017-06-30 18:39:28.282526862 +0200
@@ -1,0 +2,34 @@
+Tue Jun 27 07:21:43 UTC 2017 - mpluskal(a)suse.com
+
+- Update to version 20170622:
+ * ath10k: QCA4019 hw1.0: update board-2.bin
+ * ath10k: QCA4019 hw1.0: update firmware to 10.4-3.4-00082
+ * ath10k: QCA6174 hw3.0: update board-2.bin
+ * ath10k: QCA6174 hw3.0: add WLAN.RM.4.4-00022-QCARMSWPZ-2
+ * ath10k: QCA9377 hw1.0: update board-2.bin
+ * ath10k: QCA9887 hw1.0: update firmware to 10.2.4-1.0-00029
+ * ath10k: QCA9888 hw2.0: update board-2.bin
+ * ath10k: QCA9888 hw2.0: update firmware to 10.4-3.5.1-00014
+ * ath10k: QCA988X hw2.0: update firmware to 10.2.4.70.63-2
+ * ath10k: QCA9984 hw1.0: update board-2.bin
+ * ath10k: QCA9984 hw1.0: update firmware to 10.4-3.4-00082
+ * ath10k: update year in license
+
+-------------------------------------------------------------------
+Thu Jun 22 13:04:03 UTC 2017 - mpluskal(a)suse.com
+
+- Update to version 20170615:
+ * Mellanox: Add firmware for mlxsw_spectrum
+ * linux-firmware: add firmware image for Redpine 9113 chipset
+ * linux-firmware: liquidio: update firmware to v1.6.0
+ * qcom: add venus firmware files for v1.8
+ * linux-firmware: intel: Update Kabylake audio firmware
+ * qla2xxx: Update firmware version to 8.07.00
+ * firmware: tegra: Add VIC firmware
+ * imx: Add SDMA firmware for Freescale i.MX6/7 SoCs.
+ * linux-firmware: wilc1000: Add unified firmware for wilc1000 WLAN
+- Run spec-cleaner
+ * Correct uppercase license information
+ * Remove duplicite entries for iwl1000-ucode
+
+-------------------------------------------------------------------
Old:
----
kernel-firmware-20170530.tar.xz
New:
----
kernel-firmware-20170622.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-firmware.spec ++++++
--- /var/tmp/diff_new_pack.Od7sTv/_old 2017-06-30 18:39:29.970289468 +0200
+++ /var/tmp/diff_new_pack.Od7sTv/_new 2017-06-30 18:39:29.970289468 +0200
@@ -19,13 +19,13 @@
%define __find_supplements bash %{_sourcedir}/firmware.sh --find-supplements
%define __ksyms_supplements bash %{_sourcedir}/firmware.sh --cache %{_builddir}/%{?buildsubdir}/find_supplements.cache --find-supplements
%define __ksyms_path ^/lib/firmware
-%define version_unconverted 20170530
+%define version_unconverted 20170622
Name: kernel-firmware
-Version: 20170530
+Version: 20170622
Release: 0
Summary: Linux kernel firmware files
-License: SUSE-Firmware and GPL-2.0 and GPL-2.0+ and MIT
+License: SUSE-Firmware AND GPL-2.0 AND GPL-2.0+ AND MIT
Group: System/Kernel
Url: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/
# Created with umask 022; cd /_tmp
@@ -65,8 +65,6 @@
Obsoletes: iwl5150-ucode
Provides: iwl100-ucode
Obsoletes: iwl100-ucode
-Provides: iwl1000-ucode
-Obsoletes: iwl1000-ucode
Provides: iwl6000-ucode
Obsoletes: iwl6000-ucode
Provides: iwl6050-ucode
@@ -97,7 +95,7 @@
%prep
%setup -q
-cp %{S:2} %{S:8} %{S:9} %{S:10} .
+cp %{SOURCE2} %{SOURCE8} %{SOURCE9} %{SOURCE10} .
%build
# nothing to do
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Od7sTv/_old 2017-06-30 18:39:30.022282155 +0200
+++ /var/tmp/diff_new_pack.Od7sTv/_new 2017-06-30 18:39:30.022282155 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git</param>
- <param name="changesrevision">2c9407690352b29206036b4502bcefc74f01063d</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">7d2c913dcd1be083350d97a8cb1eba24cfacbc8a</param></service></servicedata>
\ No newline at end of file
++++++ kernel-firmware-20170530.tar.xz -> kernel-firmware-20170622.tar.xz ++++++
/work/SRC/openSUSE:Factory/kernel-firmware/kernel-firmware-20170530.tar.xz /work/SRC/openSUSE:Factory/.kernel-firmware.new/kernel-firmware-20170622.tar.xz differ: char 26, line 1
1
0
Hello community,
here is the log from the commit of package xz for openSUSE:Factory checked in at 2017-06-30 18:39:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xz (Old)
and /work/SRC/openSUSE:Factory/.xz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xz"
Fri Jun 30 18:39:00 2017 rev:59 rq:506130 version:5.2.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/xz/xz.changes 2017-03-08 00:45:43.294526831 +0100
+++ /work/SRC/openSUSE:Factory/.xz.new/xz.changes 2017-06-30 18:39:02.754117581 +0200
@@ -1,0 +2,12 @@
+Sun Jun 25 11:37:03 UTC 2017 - astieger(a)suse.com
+
+- fix CentOS/RHEL builds after clean-up
+
+-------------------------------------------------------------------
+Wed Jun 21 14:11:44 UTC 2017 - mpluskal(a)suse.com
+
+- Simplify spec file conditions
+- Clenup profiled building
+- Use full lists of files
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xz.spec ++++++
--- /var/tmp/diff_new_pack.OFGVDo/_old 2017-06-30 18:39:03.522009573 +0200
+++ /var/tmp/diff_new_pack.OFGVDo/_new 2017-06-30 18:39:03.522009573 +0200
@@ -18,18 +18,11 @@
# avoid bootstrapping problem
%define _binary_payload w9.bzdio
-%if 0%{?suse_version} < 1130
-%define do_profiling 0
-%endif
-%ifarch aarch64 %{arm} %{sparc}
-%define do_profiling 0
-%endif
-%bcond_without static_libs
Name: xz
Version: 5.2.3
Release: 0
Summary: A Program for Compressing Files
-License: LGPL-2.1+ and GPL-2.0+
+License: LGPL-2.1+ AND GPL-2.0+
Group: Productivity/Archiving/Compression
Url: http://tukaani.org/xz/
Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz
@@ -43,7 +36,7 @@
Provides: lzma = %{version}
Obsoletes: lzma < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?lang_package:1} > 0
+%if 0%{?lang_package:1}
Recommends: %{name}-lang
%endif
@@ -82,7 +75,6 @@
This package contains the header files and libraries needed for
compiling programs using the LZMA library.
-%if %{with static_libs}
%package static-devel
Summary: Static version of LZMA library
Group: Development/Libraries/C and C++
@@ -90,68 +82,116 @@
%description static-devel
Static library for the LZMA library
-%endif
%prep
%setup -q
%build
-%global optflags %{optflags} -D_REENTRANT -pipe -fPIE
+export CFLAGS="%{optflags} -D_REENTRANT -pipe -fPIE"
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
%configure \
-%if ! %{with static_libs}
- --disable-static \
-%endif
--with-pic \
--docdir=%{_docdir}/%{name}
-%if 0%{do_profiling}
-profiledir=$(mktemp -d)
-trap "rm -rf $profiledir" EXIT
-make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir"
-time make check
-make clean %{?_smp_mflags}
-make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir"
+%if 0%{?do_profiling}
+ make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
+ make check %{?_smp_mflags}
+ make clean
+ make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else
-make %{?_smp_mflags}
+ make %{?_smp_mflags}
%endif
%check
-time make check
+make %{?_smp_mflags} check
%install
+%if 0%{?make_install:1}
%make_install
-rm -v %{buildroot}%{_libdir}/liblzma.la
+%else
+make DESTDIR=%{buildroot} install %{?_smp_mflags} #
+%endif
+find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
-install -D -m 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew
-install -D -m 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1
+install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew
+install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1
%post -n liblzma5 -p /sbin/ldconfig
%postun -n liblzma5 -p /sbin/ldconfig
+%if 0%{?lang_package:1}
%files lang -f %{name}.lang
%defattr(-, root, root)
+%endif
%files
%defattr(-, root, root)
%{_docdir}/%{name}
-%{_bindir}/*
-%{_mandir}/man?/*
+%{_bindir}/lzcat
+%{_bindir}/lzcmp
+%{_bindir}/lzdiff
+%{_bindir}/lzegrep
+%{_bindir}/lzfgrep
+%{_bindir}/lzgrep
+%{_bindir}/lzless
+%{_bindir}/lzma
+%{_bindir}/lzmadec
+%{_bindir}/lzmainfo
+%{_bindir}/lzmore
+%{_bindir}/unlzma
+%{_bindir}/unxz
+%{_bindir}/xz
+%{_bindir}/xzcat
+%{_bindir}/xzcmp
+%{_bindir}/xzdec
+%{_bindir}/xzdiff
+%{_bindir}/xzegrep
+%{_bindir}/xzfgrep
+%{_bindir}/xzgrep
+%{_bindir}/xzless
+%{_bindir}/xzmore
+%{_bindir}/xznew
+%{_mandir}/man1/lzcat.1%{ext_man}
+%{_mandir}/man1/lzcmp.1%{ext_man}
+%{_mandir}/man1/lzdiff.1%{ext_man}
+%{_mandir}/man1/lzegrep.1%{ext_man}
+%{_mandir}/man1/lzfgrep.1%{ext_man}
+%{_mandir}/man1/lzgrep.1%{ext_man}
+%{_mandir}/man1/lzless.1%{ext_man}
+%{_mandir}/man1/lzma.1%{ext_man}
+%{_mandir}/man1/lzmadec.1%{ext_man}
+%{_mandir}/man1/lzmainfo.1%{ext_man}
+%{_mandir}/man1/lzmore.1%{ext_man}
+%{_mandir}/man1/unlzma.1%{ext_man}
+%{_mandir}/man1/unxz.1%{ext_man}
+%{_mandir}/man1/xz.1%{ext_man}
+%{_mandir}/man1/xzcat.1%{ext_man}
+%{_mandir}/man1/xzcmp.1%{ext_man}
+%{_mandir}/man1/xzdec.1%{ext_man}
+%{_mandir}/man1/xzdiff.1%{ext_man}
+%{_mandir}/man1/xzegrep.1%{ext_man}
+%{_mandir}/man1/xzfgrep.1%{ext_man}
+%{_mandir}/man1/xzgrep.1%{ext_man}
+%{_mandir}/man1/xzless.1%{ext_man}
+%{_mandir}/man1/xzmore.1%{ext_man}
+%{_mandir}/man1/xznew.1%{ext_man}
+%if 0%{!?lang_package:1}
+%{_datadir}/locale/*/LC_MESSAGES/xz.mo
+%endif
%files -n liblzma5
%defattr(-, root, root)
-%{_libdir}/lib*.so.5*
+%{_libdir}/liblzma.so.5*
%files devel
%defattr(-, root, root)
-%{_includedir}/*.h
-%{_includedir}/lzma
-%{_libdir}/lib*.so
-%{_libdir}/pkgconfig/*.pc
+%{_includedir}/lzma.h
+%dir %{_includedir}/lzma/
+%{_includedir}/lzma/*
+%{_libdir}/liblzma.so
+%{_libdir}/pkgconfig/liblzma.pc
-%if %{with static_libs}
%files static-devel
%defattr(-, root, root)
-%{_libdir}/*.a
-%endif
+%{_libdir}/liblzma.a
%changelog
1
0
Hello community,
here is the log from the commit of package meson for openSUSE:Factory checked in at 2017-06-30 18:38:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/meson (Old)
and /work/SRC/openSUSE:Factory/.meson.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "meson"
Fri Jun 30 18:38:48 2017 rev:19 rq:505969 version:0.41.1
Changes:
--------
New Changes file:
--- /dev/null 2017-06-30 09:57:03.955002226 +0200
+++ /work/SRC/openSUSE:Factory/.meson.new/meson-testsuite.changes 2017-06-30 18:38:52.171606074 +0200
@@ -0,0 +1,255 @@
+-------------------------------------------------------------------
+Fri Jun 23 21:47:40 UTC 2017 - dimstar(a)opensuse.org
+
+- Split testsuite into an own package, in order to keep the build
+ dep chain of meson minimal.
+- Drop meson-disable-untested-code.patch: no longer required.
+- Add meson-test-installed-bin.patch: use /usr/bin/meson instead of
+ meson.py from the source tarball. We want to test the meson
+ binary package we produced, not the sources directly.
+
+-------------------------------------------------------------------
+Fri Jun 23 19:27:31 UTC 2017 - dimstar(a)opensuse.org
+
+- Update to version 0.41.1:
+ + wxwidgets: Fix usage of multiple dependency() calls.
+ + Make external library no-op when used with incompatible
+ target (gh#mesonbuild/meson#1941).
+ + Failing test for -D dedupping.
+ + Preserve standalone -D arguments always.
+ + Handle both pkg-config and pkgconf argument order
+ (gh#mesonbuild/meson#1934).
+
+-------------------------------------------------------------------
+Fri Jun 23 13:56:37 UTC 2017 - dimstar(a)opensuse.org
+
+- Update meson-suse-ify-macros.patch: export LANG for all macros.
+
+-------------------------------------------------------------------
+Mon Jun 19 12:35:49 UTC 2017 - rpm(a)fthiessen.de
+
+- Update to version 0.41.0:
+ * Native support for linking against LLVM using
+ the dependency function.
+ * Pkgconfig support for custom variables.
+ * A target for creating tarballs using 'ninja dist'.
+ * Support for passing arguments to Rust compiler.
+ * All known issues regarding reproducible builds are fixed.
+ * Extended template substitution in configure_file
+ for @BASENAME@ and @PLAINNAME@ .
+ * Support for capturing stdout of a command in configure_file.
+- Removed SDL2 test to reduce dependencies (smaller build footprint)
+- Dropped upstreamed patch meson-handle-skipped-tests.patch
+- Rebased meson-suse-ify-macros.patch and meson-fix-gcc48.patch
+
+-------------------------------------------------------------------
+Tue Jun 6 13:08:19 UTC 2017 - dimstar(a)opensuse.org
+
+- Make the build footprint smaller to enter ring1: This means we
+ skip a couple tests though. Removed BuildRequires: java-devel,
+ libqt5-qtbase-devel, mono-core, mono-devel, wxWidgets-devel,
+ pkgconfig(protobuf) and pkgconfig(gtk+-3.0).
+
+-------------------------------------------------------------------
+Wed May 17 20:26:25 UTC 2017 - dimstar(a)opensuse.org
+
+- Add meson-handle-skipped-tests.patch: Actually do skip tests that
+ are marked as MESON_SKIP_TEST (gh#mesonbuild/meson#1804).
+
+-------------------------------------------------------------------
+Mon May 8 07:53:20 UTC 2017 - dimstar(a)opensuse.org
+
+- Update to version 0.40.1:
+ + Outputs of generators can be used in custom targets in the VS
+ backend.
+ + Visual Studio 2017 support.
+ + Automatic initialization of subprojects that are git
+ submodules.
+ + No download mode for wraps.
+ + Overriding options per target.
+ + Compiler object get define.
+ + Cygwin support.
+ + Multiple install directories.
+ + Can specify method of obtaining dependencies.
+ + Link whole contents of static libraries.
+ + Unity builds only for subprojects.
+ + Running mesonintrospect from scripts.
+
+-------------------------------------------------------------------
+Mon Mar 20 11:21:10 UTC 2017 - dimstar(a)opensuse.org
+
+- Add meson-disable-untested-code.patch: meson has code in the test
+ suite that assumes different behaviour between glib 2.51.5 (rc)
+ and 2.52.0 (final); this must be a wrong assumption to start with
+ and the test suite fails with 2.52.0. When this was added by
+ upstream 4 months before glib-2.52.0 was released, there must
+ have been no way at all to test this. We revert back to a state
+ like with the previous glib verison, where this test was simply
+ skipped (gh#mesonbuild/meson#1480).
+
+-------------------------------------------------------------------
+Thu Mar 16 11:04:13 UTC 2017 - sor.alexei(a)meowr.ru
+
+- Update to version 0.39.1 (changes since 0.38.1):
+ * Allow specifying extra arguments for tests.
+ * Bug fixes and minor polishes.
+- Add meson-fix-gcc48.patch: fix GCC 4.8 handling for
+ openSUSE Leap 42.x.
+
+-------------------------------------------------------------------
+Sat Mar 4 14:50:28 UTC 2017 - dimstar(a)opensuse.org
+
+- Update to version 0.38.1:
+ + New Uninstall target.
+ + Support for arbitrary test setups.
+ + Intel C/C++ compiler support.
+ + Get values from configuration data objects.
+ + Python 3 module support simplified.
+ + Default options to subprojects.
+ + Set targets to be built (or not) by default.
+ + Add option to mesonconf to wipe cached data.
+ + Can specify file permissions and owner when installing data.
+ + has_header() checks are now faster.
+ + Array indexing now supports fallback values.
+ + Silent mode for Mesontest.
+- Rebase meson-suse-ify-macros.patch.
+
+-------------------------------------------------------------------
+Tue Jan 10 16:14:32 UTC 2017 - dimstar(a)opensuse.org
+
+- Add meson-suse-ify-macros.patch: Make the meson macros also work
+ on openSUSE. We do not (yet?) have separate macros for CFLAGS,
+ CXXFLAGS, FFLAGS and LDFLAGS, but only carry optflags. This is no
+ issue, since openSUSE so far only added flags that work accross
+ compilers/languages. This might change in the future, making the
+ patch obsolete.
+
+-------------------------------------------------------------------
+Sun Jan 1 12:51:36 UTC 2017 - sor.alexei(a)meowr.ru
+
+- Update to version 0.37.1:
+ * No changelog available.
+
+-------------------------------------------------------------------
+Sun Jan 1 11:38:34 UTC 2017 - jengelh(a)inai.de
+
+- Trim boasting words from descriptions. Add to description two
+ points from the feature list.
+
+-------------------------------------------------------------------
+Mon Dec 19 05:55:00 UTC 2016 - dev(a)antergos.com
+
+- Update to version 0.37.0:
+ * Mesontest: a new testing tool that allows you to run your
+ tests in many different ways.
+ * New shared_module function allows shared modules creation.
+ * GNOME module now detects required programs and prints useful
+ errors if any are missing.
+ * GNOME module uses depfile support available in GLib >= 2.52.0.
+ * i18n module has a new merge_file() function for creating
+ translated files.
+ * LLVM IR compilation is now supported.
+ * .wrap files for subprojects can now include a separate push
+ URL to allow developers to push changes directly from a
+ subproject git checkout.
+ * Multiple version restrictions while searching for pkg-config
+ dependencies is now supported.
+ * Support for localstatedir has been added.
+ * You can now pass arguments to install scripts added with
+ meson.add_install_script().
+ * Added new options sbindir and infodir that can be used for
+ installation.
+- Remove meson-0.36.0-fix-old-pkgconfig-test.patch.
+
+-------------------------------------------------------------------
+Sat Dec 10 20:38:23 UTC 2016 - sor.alexei(a)meowr.ru
+
+- Add meson-0.36.0-fix-old-pkgconfig-test.patch: tests/common/51:
+ Skip validate if pkg-config is too old (commit 2f804e9).
+
+-------------------------------------------------------------------
+Tue Nov 22 15:04:05 UTC 2016 - dimstar(a)opensuse.org
+
+- Update to version 0.36.0:
+ + Add option to run under gdb.
+ + Always specify installed data with a File object
+ (gh#mesonbuild/meson#858).
+ + Made has_function survive optimization flags
+ (gh#mesonbuild/meson#1053).
+ + Can give many alternative names to find_program to simplify
+ searching.
+ + Can set compiler arguments in Java.
+- Export SUSE_ASNEEDED=0 when running the test suite: linking the
+ test libraries/binaries is not done optimally.
+
+-------------------------------------------------------------------
+Tue Oct 18 20:43:34 UTC 2016 - sor.alexei(a)meowr.ru
+
+- Update to version 0.35.1:
+ * No changelog available.
+
+-------------------------------------------------------------------
+Fri Oct 14 20:46:56 UTC 2016 - zaitor(a)opensuse.org
+
+- Update to version 0.35.0:
+ + No changelog available from upstream.
+- Changes from version 0.34.0:
+ + No changelog available from upstream.
++++ 58 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:Factory/.meson.new/meson-testsuite.changes
--- /work/SRC/openSUSE:Factory/meson/meson.changes 2017-06-08 16:38:13.436537399 +0200
+++ /work/SRC/openSUSE:Factory/.meson.new/meson.changes 2017-06-30 18:38:52.963494690 +0200
@@ -1,0 +2,44 @@
+Fri Jun 23 21:47:40 UTC 2017 - dimstar(a)opensuse.org
+
+- Split testsuite into an own package, in order to keep the build
+ dep chain of meson minimal.
+- Drop meson-disable-untested-code.patch: no longer required.
+- Add meson-test-installed-bin.patch: use /usr/bin/meson instead of
+ meson.py from the source tarball. We want to test the meson
+ binary package we produced, not the sources directly.
+
+-------------------------------------------------------------------
+Fri Jun 23 19:27:31 UTC 2017 - dimstar(a)opensuse.org
+
+- Update to version 0.41.1:
+ + wxwidgets: Fix usage of multiple dependency() calls.
+ + Make external library no-op when used with incompatible
+ target (gh#mesonbuild/meson#1941).
+ + Failing test for -D dedupping.
+ + Preserve standalone -D arguments always.
+ + Handle both pkg-config and pkgconf argument order
+ (gh#mesonbuild/meson#1934).
+
+-------------------------------------------------------------------
+Fri Jun 23 13:56:37 UTC 2017 - dimstar(a)opensuse.org
+
+- Update meson-suse-ify-macros.patch: export LANG for all macros.
+
+-------------------------------------------------------------------
+Mon Jun 19 12:35:49 UTC 2017 - rpm(a)fthiessen.de
+
+- Update to version 0.41.0:
+ * Native support for linking against LLVM using
+ the dependency function.
+ * Pkgconfig support for custom variables.
+ * A target for creating tarballs using 'ninja dist'.
+ * Support for passing arguments to Rust compiler.
+ * All known issues regarding reproducible builds are fixed.
+ * Extended template substitution in configure_file
+ for @BASENAME@ and @PLAINNAME@ .
+ * Support for capturing stdout of a command in configure_file.
+- Removed SDL2 test to reduce dependencies (smaller build footprint)
+- Dropped upstreamed patch meson-handle-skipped-tests.patch
+- Rebased meson-suse-ify-macros.patch and meson-fix-gcc48.patch
+
+-------------------------------------------------------------------
Old:
----
meson-0.40.1.tar.gz
meson-0.40.1.tar.gz.asc
meson-disable-untested-code.patch
meson-handle-skipped-tests.patch
New:
----
meson-0.41.1.tar.gz
meson-0.41.1.tar.gz.asc
meson-test-installed-bin.patch
meson-testsuite.changes
meson-testsuite.spec
pre_checkin.sh
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ meson-testsuite.spec ++++++
#
# spec file for package meson-testsuite
#
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define testsuite 1
%if %{testsuite}
%define name_ext -testsuite
%else
%define name_ext %nil
%endif
%define _name mesonbuild
Name: meson%{name_ext}
Version: 0.41.1
Release: 0
Summary: Python-based build system
License: Apache-2.0
Group: Development/Tools/Building
Url: http://mesonbuild.com/
Source: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{vers…
Source1: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{vers…
Source2: meson.keyring
# PATCH-FIX-OPENSUSE meson-suse-ify-macros.patch dimstar(a)opensuse.org -- Make the macros non-RedHat specific: so far there are no separate {C,CXX,F}FLAGS.
Patch0: meson-suse-ify-macros.patch
# PATCH-FIX-OPENSUSE meson-fix-gcc48.patch sor.alexei(a)meowr.ru -- Fix GCC 4.8 handling for openSUSE Leap 42.x.
Patch1: meson-fix-gcc48.patch
# PATCH-FIX-OPENSUSE meson-test-installed-bin.patch dimstar(a)opensuse.org -- We want the test suite to run against /usr/bin/meson coming from our meson package
Patch100: meson-test-installed-bin.patch
BuildRequires: python3 >= 3.4
%if %{testsuite}
BuildRequires: bison
BuildRequires: boost-devel
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
BuildRequires: gcc-obj-c++
BuildRequires: gcc-objc
BuildRequires: gettext
BuildRequires: git
BuildRequires: gnustep-make
BuildRequires: googletest-devel
BuildRequires: gtk-doc
BuildRequires: itstool
BuildRequires: llvm-devel
BuildRequires: meson
BuildRequires: ncurses-devel
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: python3-devel
BuildRequires: python3-gobject
BuildRequires: python3-setuptools
BuildRequires: vala
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
%else
Requires: ninja
# meson-gui was last used in openSUSE Leap 42.1.
Provides: meson-gui = %{version}
Obsoletes: meson-gui < %{version}
%endif
BuildArch: noarch
%description
Meson is a build system designed to optimise programmer productivity.
It aims to do this by providing support for software development
tools and practices, such as unit tests, coverage reports, Valgrind,
CCache and the like. Supported languages include C, C++, Fortran,
Java, Rust. Build definitions are written in a non-turing complete
Domain Specific Language.
%prep
%setup -q -n meson-%{version}
%patch0 -p1
%patch1 -p1
%patch100 -p1
# We do not have gmock available at this moment - can't run the test suite for it
rm -rf "test cases/frameworks/3 gmock" \
"test cases/objc/2 nsstring"
%build
# If this is the test suite, we don't need anything else but the meson package
%if ! %{testsuite}
python3 setup.py build
%else
# When running the test suite, we want to be sure to use the installed meson version
rm -rf meson.py mesonbuild
%endif
%install
# If this is the test suite, we don't need anything else but the meson package
%if ! %{testsuite}
python3 setup.py install \
--root=%{buildroot} --prefix=%{_prefix}
install -Dpm 0644 data/macros.meson \
%{buildroot}%{_rpmconfigdir}/macros.d/macros.meson
%endif
%if %{testsuite}
%check
export LANG=C.UTF-8
export MESON_PRINT_TEST_OUTPUT=1
export SUSE_ASNEEDED=0
python3 run_tests.py
%endif
%files
%defattr(-,root,root)
%doc contributing.txt COPYING
%if !%{testsuite}
%{_bindir}/meson
%{_bindir}/mesonconf
%{_bindir}/mesonintrospect
%{_bindir}/mesontest
%{_bindir}/wraptool
%{python3_sitelib}/%{_name}/
%{python3_sitelib}/meson-*
%{_rpmconfigdir}/macros.d/macros.meson
%{_mandir}/man1/meson.1%{?ext_man}
%{_mandir}/man1/mesonconf.1%{?ext_man}
%{_mandir}/man1/mesonintrospect.1%{?ext_man}
%{_mandir}/man1/mesontest.1%{?ext_man}
%{_mandir}/man1/wraptool.1%{?ext_man}
%endif
%changelog
++++++ meson.spec ++++++
--- /var/tmp/diff_new_pack.KxaNl6/_old 2017-06-30 18:38:54.095335490 +0200
+++ /var/tmp/diff_new_pack.KxaNl6/_new 2017-06-30 18:38:54.099334927 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package meson
+# spec file for package meson-testsuite
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
@@ -16,25 +16,33 @@
#
+%define testsuite 0
+
+%if %{testsuite}
+%define name_ext -testsuite
+%else
+%define name_ext %nil
+%endif
+
%define _name mesonbuild
-Name: meson
-Version: 0.40.1
+Name: meson%{name_ext}
+Version: 0.41.1
Release: 0
Summary: Python-based build system
License: Apache-2.0
Group: Development/Tools/Building
Url: http://mesonbuild.com/
-Source: https://github.com/%{_name}/%{name}/releases/download/%{version}/%{name}-%{…
-Source1: https://github.com/%{_name}/%{name}/releases/download/%{version}/%{name}-%{…
-Source2: %{name}.keyring
+Source: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{vers…
+Source1: https://github.com/%{_name}/meson/releases/download/%{version}/meson-%{vers…
+Source2: meson.keyring
# PATCH-FIX-OPENSUSE meson-suse-ify-macros.patch dimstar(a)opensuse.org -- Make the macros non-RedHat specific: so far there are no separate {C,CXX,F}FLAGS.
Patch0: meson-suse-ify-macros.patch
# PATCH-FIX-OPENSUSE meson-fix-gcc48.patch sor.alexei(a)meowr.ru -- Fix GCC 4.8 handling for openSUSE Leap 42.x.
Patch1: meson-fix-gcc48.patch
-# PATCH-FIX-UPSTREAM meson-disable-untested-code.patch gh#mesonbuild/meson#1480 dimstar(a)opensuse.org -- Do not assume that the untested meson test works with glib 2.52.0
-Patch2: meson-disable-untested-code.patch
-# PATCH-FIX-UPSTREAM meson-handle-skipped-tests.patch gh#mesonbuild/meson#1804 dimstar(a)opensuse.org -- Actually do skip tests that are marked as MESON_SKIP_TEST
-Patch3: meson-handle-skipped-tests.patch
+# PATCH-FIX-OPENSUSE meson-test-installed-bin.patch dimstar(a)opensuse.org -- We want the test suite to run against /usr/bin/meson coming from our meson package
+Patch100: meson-test-installed-bin.patch
+BuildRequires: python3 >= 3.4
+%if %{testsuite}
BuildRequires: bison
BuildRequires: boost-devel
BuildRequires: flex
@@ -44,22 +52,33 @@
BuildRequires: gcc-objc
BuildRequires: gettext
BuildRequires: git
+BuildRequires: gnustep-make
+BuildRequires: googletest-devel
BuildRequires: gtk-doc
BuildRequires: itstool
+BuildRequires: llvm-devel
+BuildRequires: meson
+BuildRequires: ncurses-devel
BuildRequires: ninja
BuildRequires: pkgconfig
-BuildRequires: python3 >= 3.4
BuildRequires: python3-devel
BuildRequires: python3-gobject
BuildRequires: python3-setuptools
BuildRequires: vala
+BuildRequires: cmake(Qt5Core)
+BuildRequires: cmake(Qt5Gui)
+BuildRequires: cmake(Qt5Widgets)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
+BuildRequires: pkgconfig(gtk+-3.0)
+BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
+%else
Requires: ninja
# meson-gui was last used in openSUSE Leap 42.1.
-Provides: %{name}-gui = %{version}
-Obsoletes: %{name}-gui < %{version}
+Provides: meson-gui = %{version}
+Obsoletes: meson-gui < %{version}
+%endif
BuildArch: noarch
%description
@@ -71,51 +90,59 @@
Domain Specific Language.
%prep
-%setup -q
+%setup -q -n meson-%{version}
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch100 -p1
-# Lack of gtest, gmock, gnustep, for the vala test, we'd need gtk3 which causes a build cycle
-# but considering the GNOME stack is the main driver for meson and the GNOME team is maintaining
-# also this build system, we will see issues in GNOME soon enough too
-rm -rf "test cases/frameworks/2 gtest" \
- "test cases/frameworks/3 gmock/" \
- "test cases/frameworks/4 qt" \
- "test cases/objc/2 nsstring" \
- "test cases/vala/14 target glib version and gresources"
+# We do not have gmock available at this moment - can't run the test suite for it
+rm -rf "test cases/frameworks/3 gmock" \
+ "test cases/objc/2 nsstring"
%build
+# If this is the test suite, we don't need anything else but the meson package
+%if ! %{testsuite}
python3 setup.py build
+%else
+# When running the test suite, we want to be sure to use the installed meson version
+rm -rf meson.py mesonbuild
+%endif
%install
+# If this is the test suite, we don't need anything else but the meson package
+%if ! %{testsuite}
python3 setup.py install \
--root=%{buildroot} --prefix=%{_prefix}
-install -Dpm 0644 data/macros.%{name} \
- %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name}
+install -Dpm 0644 data/macros.meson \
+ %{buildroot}%{_rpmconfigdir}/macros.d/macros.meson
+%endif
+%if %{testsuite}
%check
+export LANG=C.UTF-8
export MESON_PRINT_TEST_OUTPUT=1
export SUSE_ASNEEDED=0
python3 run_tests.py
+%endif
%files
%defattr(-,root,root)
-%doc authors.txt contributing.txt COPYING
-%{_bindir}/%{name}
-%{_bindir}/%{name}conf
-%{_bindir}/%{name}introspect
-%{_bindir}/%{name}test
+%doc contributing.txt COPYING
+%if !%{testsuite}
+%{_bindir}/meson
+%{_bindir}/mesonconf
+%{_bindir}/mesonintrospect
+%{_bindir}/mesontest
%{_bindir}/wraptool
%{python3_sitelib}/%{_name}/
-%{python3_sitelib}/%{name}-*
-%{_rpmconfigdir}/macros.d/macros.%{name}
-%{_mandir}/man1/%{name}.1%{?ext_man}
-%{_mandir}/man1/%{name}conf.1%{?ext_man}
-%{_mandir}/man1/%{name}introspect.1%{?ext_man}
-%{_mandir}/man1/%{name}test.1%{?ext_man}
+%{python3_sitelib}/meson-*
+%{_rpmconfigdir}/macros.d/macros.meson
+%{_mandir}/man1/meson.1%{?ext_man}
+%{_mandir}/man1/mesonconf.1%{?ext_man}
+%{_mandir}/man1/mesonintrospect.1%{?ext_man}
+%{_mandir}/man1/mesontest.1%{?ext_man}
%{_mandir}/man1/wraptool.1%{?ext_man}
+%endif
%changelog
++++++ meson-0.40.1.tar.gz -> meson-0.41.1.tar.gz ++++++
++++ 11928 lines of diff (skipped)
++++++ meson-fix-gcc48.patch ++++++
--- /var/tmp/diff_new_pack.KxaNl6/_old 2017-06-30 18:38:54.639258984 +0200
+++ /var/tmp/diff_new_pack.KxaNl6/_new 2017-06-30 18:38:54.643258421 +0200
@@ -1,6 +1,7 @@
---- a/mesonbuild/compilers.py
-+++ b/mesonbuild/compilers.py
-@@ -2403,9 +2403,13 @@ class GnuCPPCompiler(GnuCompiler, CPPCom
+diff -Nur meson-0.41.0/mesonbuild/compilers.py new/mesonbuild/compilers.py
+--- meson-0.41.0/mesonbuild/compilers.py 2017-06-12 20:30:20.000000000 +0200
++++ new/mesonbuild/compilers.py 2017-06-19 13:43:25.771564616 +0200
+@@ -2621,9 +2621,13 @@
'3': default_warn_args + ['-Wextra', '-Wpedantic']}
def get_options(self):
++++++ meson-suse-ify-macros.patch ++++++
--- /var/tmp/diff_new_pack.KxaNl6/_old 2017-06-30 18:38:54.651257296 +0200
+++ /var/tmp/diff_new_pack.KxaNl6/_new 2017-06-30 18:38:54.655256734 +0200
@@ -1,9 +1,10 @@
-Index: meson-0.38.1/data/macros.meson
+Index: meson-0.41.0/data/macros.meson
===================================================================
---- meson-0.38.1.orig/data/macros.meson
-+++ meson-0.38.1/data/macros.meson
-@@ -1,11 +1,13 @@
+--- meson-0.41.0.orig/data/macros.meson
++++ meson-0.41.0/data/macros.meson
+@@ -1,12 +1,14 @@
%__meson %{_bindir}/meson
+ %__meson_wrap_mode nodownload
+%_vpath_srcdir .
+%_vpath_builddir build
@@ -13,11 +14,25 @@
- export FFLAGS="${FFLAGS:-%__global_fflags}" \
- export FCFLAGS="${FCFLAGS:-%__global_fcflags}" \
- export LDFLAGS="${LDFLAGS:-%__global_ldflags}" \
-+ export LANG=C.UTF-8 \
-+ export CFLAGS="${CFLAGS:-%optflags}" \
++ export LANG=C.UTF-8 \
++ export CFLAGS="${CFLAGS:-%optflags}" \
+ export CXXFLAGS="${CXXFLAGS:-%optflags}" \
-+ export FFLAGS="${FFLAGS:-%optflags}" \
-+ export FCFLAGS="${FCFLAGS:-%optflags}" \
++ export FFLAGS="${FFLAGS:-%optflags}" \
++ export FCFLAGS="${FCFLAGS:-%optflags}" \
%{__meson} \\\
--buildtype=plain \\\
--prefix=%{_prefix} \\\
+@@ -27,10 +29,13 @@
+ %{nil}
+
+ %meson_build \
++ export LANG=C.UTF-8 \
+ %ninja_build -C %{_vpath_builddir}
+
+ %meson_install \
++ export LANG=C.UTF-8 \
+ %ninja_install -C %{_vpath_builddir}
+
+ %meson_test \
++ export LANG=C.UTF-8 \
+ %ninja_test -C %{_vpath_builddir}
++++++ meson-test-installed-bin.patch ++++++
Index: meson-0.41.0/run_unittests.py
===================================================================
--- meson-0.41.0.orig/run_unittests.py
+++ meson-0.41.0/run_unittests.py
@@ -414,7 +414,7 @@ class BasePlatformTests(unittest.TestCas
# Get the backend
# FIXME: Extract this from argv?
self.backend = getattr(Backend, os.environ.get('MESON_UNIT_TEST_BACKEND', 'ninja'))
- self.meson_args = [os.path.join(src_root, 'meson.py'), '--backend=' + self.backend.name]
+ self.meson_args = ['/usr/bin/meson', '--backend=' + self.backend.name]
self.meson_command = [sys.executable] + self.meson_args
self.mconf_command = [sys.executable, os.path.join(src_root, 'mesonconf.py')]
self.mintro_command = [sys.executable, os.path.join(src_root, 'mesonintrospect.py')]
Index: meson-0.41.0/run_project_tests.py
===================================================================
--- meson-0.41.0.orig/run_project_tests.py
+++ meson-0.41.0/run_project_tests.py
@@ -125,7 +125,7 @@ print_debug = 'MESON_PRINT_TEST_OUTPUT'
do_debug = not {'MESON_PRINT_TEST_OUTPUT', 'TRAVIS', 'APPVEYOR'}.isdisjoint(os.environ)
no_meson_log_msg = 'No meson-log.txt found.'
-meson_command = os.path.join(os.getcwd(), 'meson')
+meson_command = '/usr/bin/meson'
if not os.path.exists(meson_command):
meson_command += '.py'
if not os.path.exists(meson_command):
++++++ pre_checkin.sh ++++++
#!/bin/bash
sed meson.spec -e "s:%define testsuite 0:%define testsuite 1:" > meson-testsuite.spec
cp meson.changes meson-testsuite.changes
1
0
Hello community,
here is the log from the commit of package unixODBC for openSUSE:Factory checked in at 2017-06-30 18:38:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/unixODBC (Old)
and /work/SRC/openSUSE:Factory/.unixODBC.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unixODBC"
Fri Jun 30 18:38:42 2017 rev:32 rq:505899 version:2.3.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/unixODBC/unixODBC.changes 2016-05-16 12:02:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.unixODBC.new/unixODBC.changes 2017-06-30 18:38:43.156874048 +0200
@@ -1,0 +2,5 @@
+Fri Jun 23 13:53:00 UTC 2017 - adam.majer(a)suse.de
+
+- Enabled --enable-fastvalidate option in configure (bnc#1044970)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unixODBC.spec ++++++
--- /var/tmp/diff_new_pack.ZX9u84/_old 2017-06-30 18:38:44.056747475 +0200
+++ /var/tmp/diff_new_pack.ZX9u84/_new 2017-06-30 18:38:44.056747475 +0200
@@ -1,7 +1,7 @@
#
# spec file for package unixODBC
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -73,6 +73,7 @@
--enable-iconv \
--with-iconv-char-enc=UTF8 \
--with-iconv-ucode-enc=UTF16LE \
+ --enable-fastvalidate \
--enable-threads \
--enable-gui=no \
--disable-stats \
1
0