Hello community,

here is the log from the commit of package systemtap for openSUSE:Factory 
checked in at 2017-11-23 09:36:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemtap (Old)
 and      /work/SRC/openSUSE:Factory/.systemtap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemtap"

Thu Nov 23 09:36:13 2017 rev:97 rq:544287 version:3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/systemtap/systemtap-docs.changes 2017-04-24 
09:45:35.671022147 +0200
+++ /work/SRC/openSUSE:Factory/.systemtap.new/systemtap-docs.changes    
2017-11-23 09:36:18.742250740 +0100
@@ -1,0 +2,6 @@
+Mon Nov 20 23:06:17 UTC 2017 - [email protected]
+
+- Upgrade to version 3.2. See systemtap.spec for changelog
+  Drop patch: systemtap-doc-back-down-gettext-version.diff
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/systemtap/systemtap.changes      2017-11-14 
14:18:59.539744882 +0100
+++ /work/SRC/openSUSE:Factory/.systemtap.new/systemtap.changes 2017-11-23 
09:36:18.890245340 +0100
@@ -1,0 +2,11 @@
+Mon Nov 20 23:01:35 UTC 2017 - [email protected]
+
+- Upgrade to version 3.2
+  Changelog: https://sourceware.org/ml/systemtap/2017-q4/msg00096.html
+  Drop patch: systemtap-tweak-i386-argument-passing.patch (upstream)
+  Update keyring.
+
+- Fix issue with Kbuild handling of escaped paths (bsc#1067437)
+  Add patch: systemtap-change-extra_cflags-escape-processing.patch 
+
+-------------------------------------------------------------------

Old:
----
  systemtap-3.1.tar.gz
  systemtap-3.1.tar.gz.asc
  systemtap-doc-back-down-gettext-version.diff
  systemtap-tweak-i386-argument-passing.patch

New:
----
  systemtap-3.2.tar.gz
  systemtap-3.2.tar.gz.asc
  systemtap-change-extra_cflags-escape-processing.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ systemtap-docs.spec ++++++
--- /var/tmp/diff_new_pack.AMibX1/_old  2017-11-23 09:36:20.174198494 +0100
+++ /var/tmp/diff_new_pack.AMibX1/_new  2017-11-23 09:36:20.174198494 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           systemtap-docs
-Version:        3.1
+Version:        3.2
 Release:        0
 Summary:        Documents and examples for systemtap
 License:        GPL-2.0+
@@ -29,7 +29,6 @@
 Source3:        README-BEFORE-ADDING-PATCHES
 Source4:        README-KEYRING
 Patch1:         systemtap-docdir-fix.diff
-Patch2:         systemtap-doc-back-down-gettext-version.diff
 BuildRequires:  autoconf
 BuildRequires:  automake
 # for documents
@@ -59,7 +58,6 @@
 %prep
 %setup -q -n systemtap-%{version}
 %patch1 -p1
-%patch2 -p1
 
 %build
 # fix interpreter

++++++ systemtap.spec ++++++
--- /var/tmp/diff_new_pack.AMibX1/_old  2017-11-23 09:36:20.202197473 +0100
+++ /var/tmp/diff_new_pack.AMibX1/_new  2017-11-23 09:36:20.206197327 +0100
@@ -20,7 +20,7 @@
 %define _rundir %{_localstatedir}/run
 %endif
 Name:           systemtap
-Version:        3.1
+Version:        3.2
 Release:        0
 Summary:        Instrumentation System
 License:        GPL-2.0+
@@ -33,7 +33,7 @@
 Source4:        README-KEYRING
 Source5:        stap-server.conf
 Patch1:         systemtap-build-source-dir.patch
-Patch2:         systemtap-tweak-i386-argument-passing.patch
+Patch2:         systemtap-change-extra_cflags-escape-processing.patch
 BuildRequires:  gcc-c++
 BuildRequires:  glib2-devel
 BuildRequires:  libcap-devel
@@ -144,6 +144,7 @@
 %{_bindir}/stapsh
 %{_bindir}/stap-merge
 %{_bindir}/stap-report
+%{_bindir}/stapbpf
 %dir %{_libexecdir}/%{name}
 %{_libexecdir}/%{name}/stapio
 %{_libexecdir}/%{name}/stap-env
@@ -153,6 +154,7 @@
 %{_mandir}/cs/man8/systemtap.8*
 %{_mandir}/man8/stapsh.8*
 %{_mandir}/cs/man8/stapsh.8*
+%{_mandir}/man8/stapbpf.8*
 
 %files server
 %defattr(-,root,root)

++++++ systemtap-3.1.tar.gz -> systemtap-3.2.tar.gz ++++++
++++ 160366 lines of diff (skipped)

++++++ systemtap-change-extra_cflags-escape-processing.patch ++++++
From: David Smith <[email protected]>
Date: Mon Nov 20 09:51:40 2017 -0600
Subject: change EXTRA_CFLAGS escape processing
Git-commit: c0a01780574234b7c87a7babdc7ee41f33a83983
References: bsc#1067437
Signed-off-by: Tony Jones <[email protected]>

    Fix PR22462 by updating the way we generate the Makefile.
    
    * buildrun.cxx (compile_pass): If the runtime path doesn't have any odd
      characters in it, don't bother quoting it in the generated Makefile.

diff --git a/buildrun.cxx b/buildrun.cxx
index 6dc4e5fda..c286a4a80 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -36,6 +36,8 @@ extern "C" {
 // https://bugs.gentoo.org/show_bug.cgi?id=522908
 #define WERROR ("-W" "error")
 
+#define PATH_ALLOWED_CHARS 
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+,-./_"
+
 using namespace std;
 
 /* Adjust and run make_cmd to build a kernel module. */
@@ -513,7 +515,18 @@ compile_pass (systemtap_session& s)
   #if CHECK_POINTER_ARITH_PR5947
   o << "EXTRA_CFLAGS += -Wpointer-arith" << endl;
   #endif
-  o << "EXTRA_CFLAGS += -I\"" << s.runtime_path << "\"" << endl;
+
+  // If we've got a reasonable runtime path from the user, we'll just
+  // do '-IDIR'. If there are any sneaky/odd characters in it, we'll
+  // have to quote it, like '-I"DIR"'.
+  if (s.runtime_path.find_first_not_of(PATH_ALLOWED_CHARS, 0) == string::npos)
+    o << "EXTRA_CFLAGS += -I" << s.runtime_path << endl;
+  else
+    {
+      s.print_warning("quoting runtime path in the module Makefile.");
+      o << "EXTRA_CFLAGS += -I\"" << s.runtime_path << "\"" << endl;
+    }
+
   // XXX: this may help ppc toc overflow
   // o << "CFLAGS := $(subst -Os,-O2,$(CFLAGS)) -fminimal-toc" << endl;
   o << "obj-m := " << s.module_name << ".o" << endl;
++++++ systemtap.keyring ++++++
--- /var/tmp/diff_new_pack.AMibX1/_old  2017-11-23 09:36:21.706142601 +0100
+++ /var/tmp/diff_new_pack.AMibX1/_new  2017-11-23 09:36:21.710142455 +0100
@@ -1,5 +1,4 @@
 -----BEGIN PGP PUBLIC KEY BLOCK-----
-Comment: GPGTools - http://gpgtools.org
 
 mQENBFJWrakBCADZrDaBQdpt/RCpkqbXY4EjqbCgScNlhROmQ73zYr38ZAAifR4l
 z2quHwlqbirVMldAFDlpgcF7DGFEI3J7jEaTupB/2FehBwEfMZBRnYu24vgyCHYW


Reply via email to