Hello community,

here is the log from the commit of package infinipath-psm for openSUSE:Factory 
checked in at 2015-09-03 17:58:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/infinipath-psm (Old)
 and      /work/SRC/openSUSE:Factory/.infinipath-psm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "infinipath-psm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/infinipath-psm/infinipath-psm.changes    
2014-11-10 17:28:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.infinipath-psm.new/infinipath-psm.changes       
2015-09-03 18:03:39.000000000 +0200
@@ -1,0 +2,23 @@
+Mon Aug 31 07:40:43 CEST 2015 - p...@suse.de
+
+- Fix source URI.
+
+-------------------------------------------------------------------
+Tue Aug 25 10:11:14 CEST 2015 - p...@suse.de
+
+- Set libdir when calling make for installing.
+- Add infinipath-non_executable_stack.patch to mark the stack
+  unexecutable (bsc#942689).
+- Remove bogus line in spec file.
+
+-------------------------------------------------------------------
+Wed Jun 10 12:49:19 CEST 2015 - p...@suse.de
+
+- Fix name of libdir.
+
+-------------------------------------------------------------------
+Fri May 29 11:13:39 CEST 2015 - p...@suse.de
+
+- Adapt patches to changed sources.
+
+-------------------------------------------------------------------

Old:
----
  infinipath-psm-3.2-2_ga8c3e3e_open.tar.gz

New:
----
  infinipath-non_executable_stack.patch
  infinipath-psm-3.3-2_g6f42cdb_open.tar.gz

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

Other differences:
------------------
++++++ infinipath-psm.spec ++++++
--- /var/tmp/diff_new_pack.VRcqP6/_old  2015-09-03 18:03:42.000000000 +0200
+++ /var/tmp/diff_new_pack.VRcqP6/_new  2015-09-03 18:03:42.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package infinipath-psm
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,24 @@
 #
 
 
-%define my_release 2_ga8c3e3e_open
+%define my_release -2_g6f42cdb
 
 Name:           infinipath-psm
-Version:        3.2
+Version:        3.3
 Release:        0
 Summary:        QLogic PSM Libraries
 License:        BSD-2-Clause or GPL-2.0
 Group:          Productivity/Networking/System
 Url:            http://www.qlogic.com/
-Source0:        %{name}-%{version}-%{my_release}.tar.gz
+Source0:        
http://downloads.openfabrics.org/downloads/infinipath-psm/%{name}-%{version}%{my_release}_open.tar.gz
 # PATCH-FIX-UPSTREAM infinipath-psm-cflags.patch p...@suse.de
 Patch0:         infinipath-psm-cflags.patch
 # PATCH-FIX-UPSTREAM infinipath-psm-no_werror.patch p...@suse.de
 Patch1:         infinipath-psm-no_werror.patch
 # PATCH-FIX-UPSTREAM infinipath-psm-executable_headers.patch p...@suse.de
 Patch3:         infinipath-psm-executable_headers.patch
+# PATCH-FIX-UPSTREAM infinipath-non_executable_stack.patch p...@suse.de
+Patch4:         infinipath-non_executable_stack.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Conflicts:      infinipath-libs
 ExclusiveArch:  %ix86 x86_64
@@ -69,26 +71,26 @@
 interfaces in parallel environments.
 
 %prep
-%setup -q -n infinipath-psm-%{version}-%{my_release}
+%setup -q -n infinipath-psm-%{version}%{my_release}_open
 %patch0
 %patch1
 %patch3
+%patch4
 
 %build
 %if 0%{?suse_version} >= 1150
 export RPM_OPT_FLAGS="%{optflags} -Wno-unused-but-set-variable"
 %endif
-make USE_PSM_UUID=1 %{?_smp_mflags}
+make USE_PSM_UUID=1 libdir=%{_libdir} %{?_smp_mflags} 
 
 %install
-make DESTDIR=%{buildroot} install
+make USE_PSM_UUID=1 libdir=%{_libdir} DESTDIR=%{buildroot} install
 
 %post -n %{lname} -p /sbin/ldconfig
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files -n %{lname}
 %defattr(-,root,root,-)
-%doc COPYING
 %{_libdir}/libpsm_infinipath.so.*
 %{_libdir}/libinfinipath.so.*
 

++++++ infinipath-non_executable_stack.patch ++++++
---
 ipath/ipath_dwordcpy-i386.S        |    5 +++++
 ipath/ipath_dwordcpy-x86_64-fast.S |    5 +++++
 2 files changed, 10 insertions(+)

Index: ipath/ipath_dwordcpy-i386.S
===================================================================
--- ipath/ipath_dwordcpy-i386.S.orig    2014-10-10 23:07:04.000000000 +0200
+++ ipath/ipath_dwordcpy-i386.S 2015-08-19 07:41:52.628711854 +0200
@@ -56,3 +56,8 @@ ipath_dwordcpy:
        mov %eax,%edi
        mov %edx,%esi
        ret
+
+// Mark stack unexecutable
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
Index: ipath/ipath_dwordcpy-x86_64-fast.S
===================================================================
--- ipath/ipath_dwordcpy-x86_64-fast.S.orig     2014-10-10 23:07:04.000000000 
+0200
+++ ipath/ipath_dwordcpy-x86_64-fast.S  2015-08-19 07:41:51.293742890 +0200
@@ -49,3 +49,8 @@ ipath_dwordcpy:
        rep
        movsd
        ret
+
+// Mark stack unexecutable
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
++++++ infinipath-psm-3.2-2_ga8c3e3e_open.tar.gz -> 
infinipath-psm-3.3-2_g6f42cdb_open.tar.gz ++++++
++++ 11726 lines of diff (skipped)

++++++ infinipath-psm-cflags.patch ++++++
--- /var/tmp/diff_new_pack.VRcqP6/_old  2015-09-03 18:03:42.000000000 +0200
+++ /var/tmp/diff_new_pack.VRcqP6/_new  2015-09-03 18:03:42.000000000 +0200
@@ -1,21 +1,35 @@
 ---
- buildflags.mak |    4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ buildflags.mak |    6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
 
 Index: buildflags.mak
 ===================================================================
---- buildflags.mak.orig        2014-01-08 22:33:34.000000000 +0100
-+++ buildflags.mak     2014-01-17 14:58:34.775548741 +0100
-@@ -108,10 +108,10 @@ else
-       endif
-     else
-       ifeq (${CCARCH},gcc)
--          CFLAGS += $(BASECFLAGS) -Wno-strict-aliasing 
-+          CFLAGS += $(BASECFLAGS) $(RPM_OPT_FLAGS)
-       else
-           ifeq (${CCARCH},gcc4)
--              CFLAGS += $(BASECFLAGS)
-+              CFLAGS += $(BASECFLAGS) $(RPM_OPT_FLAGS)
-           else
-               $(error Unknown compiler arch "${CCARCH}")
-           endif # gcc4
+--- buildflags.mak.orig        2014-10-10 23:07:04.000000000 +0200
++++ buildflags.mak     2015-05-29 13:40:24.855086640 +0200
+@@ -61,7 +61,7 @@ ifdef SCIF_ROOT_DIR
+ endif
+ 
+ PSM_HAVE_SCIF ?= $(shell printf '\#include <scif.h>\nint 
main(void){return(0);}\n' | \
+-      $(CC) $(CFLAGS) $(LDFLAGS) -x c - -o /dev/null &> /dev/null && echo 1 
|| echo 0)
++      $(CC) $(CFLAGS) $(RPM_OPT_FLAGS) $(LDFLAGS) -x c - -o /dev/null &> 
/dev/null && echo 1 || echo 0)
+ 
+ ifeq (1,$(PSM_HAVE_SCIF))
+       SCIF_INCLUDE_FLAGS += -DPSM_HAVE_SCIF=1
+@@ -72,7 +72,7 @@ WERROR := -Werror
+ INCLUDES := -I. -I$(top_srcdir)/include -I$(top_srcdir)/mpspawn \
+       -I$(top_srcdir)/include/$(os)-$(arch) $(SCIF_INCLUDE_FLAGS)
+ BASECFLAGS += $(BASE_FLAGS) $(if $(MIC:0=),$(if $(filter 
$(CC),icc),-mmic,-D__MIC__)) \
+-      -Wall $(WERROR) $(if $(MIC:0=),-Wno-unused) -fpic -fPIC -D_GNU_SOURCE \
++      -Wall $(WERROR) $(RPM_OPT_FLAGS) $(if $(MIC:0=),-Wno-unused) -fpic 
-fPIC -D_GNU_SOURCE \
+       $(if $(filter $(CC),icc),,-funwind-tables) $(if 
$(PSM_PROFILE:0=),-DPSM_PROFILE) \
+       ${IPATH_CFLAGS}
+ ASFLAGS += $(BASE_FLAGS) $(if $(MIC:0=),$(if $(filter 
$(CC),icc),-mmic,-D__MIC__)) -g3 -fpic
+@@ -85,8 +85,6 @@ LDFLAGS += $(SCIF_LINK_FLAGS)
+ ifneq (,${PSM_DEBUG})
+   BASECFLAGS += -O -g3 -DPSM_DEBUG $(if $(filter 
$(CC),icc),,-funit-at-a-time) \
+       -Wp,-D_FORTIFY_SOURCE=2
+-else
+-  BASECFLAGS += -O3 -g3 
+ endif
+ ifeq (1,${PSM_USE_SYS_UUID})
+   BASECFLAGS += -DPSM_USE_SYS_UUID

++++++ infinipath-psm-executable_headers.patch ++++++
--- /var/tmp/diff_new_pack.VRcqP6/_old  2015-09-03 18:03:42.000000000 +0200
+++ /var/tmp/diff_new_pack.VRcqP6/_new  2015-09-03 18:03:42.000000000 +0200
@@ -12,16 +12,16 @@
 
 Index: Makefile
 ===================================================================
---- Makefile.orig      2014-01-17 14:54:38.418004126 +0100
-+++ Makefile   2014-01-17 14:55:35.516686291 +0100
-@@ -149,8 +149,8 @@ install: all
-       (cd ${DESTDIR}${INSTALL_LIB_TARG} ; \
+--- Makefile.orig      2015-05-29 11:12:00.395739876 +0200
++++ Makefile   2015-05-29 11:13:00.555359945 +0200
+@@ -188,8 +188,8 @@ install: all
                ln -sf ${TARGLIB}.so.${MAJOR}.${MINOR} ${TARGLIB}.so.${MAJOR} ; 
\
-               ln -sf ${TARGLIB}.so.${MAJOR} ${TARGLIB}.so)
--      install -D psm.h ${DESTDIR}/usr/include/psm.h
--      install -D psm_mq.h ${DESTDIR}/usr/include/psm_mq.h
-+      install -D -m 644 psm.h ${DESTDIR}/usr/include/psm.h
-+      install -D -m 644 psm_mq.h ${DESTDIR}/usr/include/psm_mq.h
- 
- specfile:
-       sed \
+               ln -sf ${TARGLIB}.so.${MAJOR} ${TARGLIB}.so) ; \
+       if [ X$(MIC) != X1 ]; then \
+-              install -D psm.h ${DESTDIR}/usr/include/psm.h ; \
+-              install -D psm_mq.h ${DESTDIR}/usr/include/psm_mq.h ; \
++              install -D -m 644 psm.h ${DESTDIR}/usr/include/psm.h ; \
++              install -D -m 644 psm_mq.h ${DESTDIR}/usr/include/psm_mq.h ; \
+       else \
+               filelist=/opt/intel/mic/psm/psm.filelist ; \
+               sed -e 's!%IPATHMAJOR%!$(IPATH_LIB_MAJOR)!g' \

++++++ infinipath-psm-no_werror.patch ++++++
--- /var/tmp/diff_new_pack.VRcqP6/_old  2015-09-03 18:03:42.000000000 +0200
+++ /var/tmp/diff_new_pack.VRcqP6/_new  2015-09-03 18:03:42.000000000 +0200
@@ -4,14 +4,14 @@
 
 Index: buildflags.mak
 ===================================================================
---- buildflags.mak.orig        2014-01-17 14:58:19.301905910 +0100
-+++ buildflags.mak     2014-01-17 14:58:19.318905518 +0100
-@@ -71,7 +71,7 @@ ASFLAGS += $(BASE_FLAGS)
- 
- WERROR := -Werror
- INCLUDES := -I. -I$(top_srcdir)/include -I$(top_srcdir)/mpspawn 
-I$(top_srcdir)/include/$(os)-$(arch) 
--BASECFLAGS +=-Wall $(WERROR)
-+BASECFLAGS +=-Wall -Wno-attributes
- ifneq (,${PSM_DEBUG})
-   BASECFLAGS += -O0 -g3 -DPSM_DEBUG -funit-at-a-time -Wp,-D_FORTIFY_SOURCE=2
- else
+--- buildflags.mak.orig        2015-05-29 11:10:57.686178275 +0200
++++ buildflags.mak     2015-05-29 11:11:35.955300481 +0200
+@@ -72,7 +72,7 @@ WERROR := -Werror
+ INCLUDES := -I. -I$(top_srcdir)/include -I$(top_srcdir)/mpspawn \
+       -I$(top_srcdir)/include/$(os)-$(arch) $(SCIF_INCLUDE_FLAGS)
+ BASECFLAGS += $(BASE_FLAGS) $(if $(MIC:0=),$(if $(filter 
$(CC),icc),-mmic,-D__MIC__)) \
+-      -Wall $(WERROR) $(RPM_OPT_FLAGS) $(if $(MIC:0=),-Wno-unused) -fpic 
-fPIC -D_GNU_SOURCE \
++      -Wall -Wno-attributes $(RPM_OPT_FLAGS) $(if $(MIC:0=),-Wno-unused) 
-fpic -fPIC -D_GNU_SOURCE \
+       $(if $(filter $(CC),icc),,-funwind-tables) $(if 
$(PSM_PROFILE:0=),-DPSM_PROFILE) \
+       ${IPATH_CFLAGS}
+ ASFLAGS += $(BASE_FLAGS) $(if $(MIC:0=),$(if $(filter 
$(CC),icc),-mmic,-D__MIC__)) -g3 -fpic


Reply via email to