Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ibsim for openSUSE:Factory checked in at 2021-04-22 18:04:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ibsim (Old) and /work/SRC/openSUSE:Factory/.ibsim.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ibsim" Thu Apr 22 18:04:24 2021 rev:12 rq:887509 version:0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/ibsim/ibsim.changes 2020-03-21 00:00:52.001077801 +0100 +++ /work/SRC/openSUSE:Factory/.ibsim.new.12324/ibsim.changes 2021-04-22 18:06:01.322700626 +0200 @@ -1,0 +2,6 @@ +Thu Apr 15 15:11:41 UTC 2021 - Wolfgang Frisch <[email protected]> + +- Hardening: Link as Position Independent Executable. + - Added ibsim-PIE.patch + +------------------------------------------------------------------- New: ---- ibsim-PIE.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ibsim.spec ++++++ --- /var/tmp/diff_new_pack.BNJVVM/_old 2021-04-22 18:06:01.834701466 +0200 +++ /var/tmp/diff_new_pack.BNJVVM/_new 2021-04-22 18:06:01.834701466 +0200 @@ -1,7 +1,7 @@ # # spec file for package ibsim # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ibsim-%{version}%{git_ver}.tar.gz Patch1: ibsim-fix_type_punning.patch +Patch2: ibsim-PIE.patch URL: https://github.com/linux-rdma/ibsim BuildRequires: infiniband-diags-devel BuildRequires: libibumad-devel @@ -37,10 +38,10 @@ ibsim provides simulation of infiniband fabric for using with OFA OpenSM, diagnostic and management tools. - %prep %setup -q -n %{name}-%{version}%{git_ver} %patch1 +%patch2 -p1 %build export CFLAGS="${CFLAGS:-%{optflags}}" ++++++ ibsim-PIE.patch ++++++ Index: ibsim-0.9.0.7c2a604ec49a/ibsim/Makefile =================================================================== --- ibsim-0.9.0.7c2a604ec49a.orig/ibsim/Makefile +++ ibsim-0.9.0.7c2a604ec49a/ibsim/Makefile @@ -2,5 +2,7 @@ progs:=ibsim -include ../defs.mk +LDFLAGS += -pie + all: $(progs) ibsim: $(objs)
