Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package drbd-utils for openSUSE:Factory checked in at 2021-04-22 18:04:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/drbd-utils (Old) and /work/SRC/openSUSE:Factory/.drbd-utils.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "drbd-utils" Thu Apr 22 18:04:11 2021 rev:43 rq:887442 version:9.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/drbd-utils/drbd-utils.changes 2020-11-23 10:25:23.757017902 +0100 +++ /work/SRC/openSUSE:Factory/.drbd-utils.new.12324/drbd-utils.changes 2021-04-22 18:05:45.906675337 +0200 @@ -1,0 +2,9 @@ +Wed Apr 21 10:15:08 UTC 2021 - Matthias Gerstner <[email protected]> + +- add pie-fix.patch: explicitly pass -pie linker flag when building drbdmon. + The Makefile explicitly passes -fPIC, thereby breaking our gcc-PIE profile. + In addition the Makefile also ignores CXXFLAGS and LDFLAGS passed via the + environment. Therefore fix it with this patch. This makes drbdmon a PIE + binary (bsc#1184122). + +------------------------------------------------------------------- New: ---- pie-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ drbd-utils.spec ++++++ --- /var/tmp/diff_new_pack.xV7b7Q/_old 2021-04-22 18:05:46.534676367 +0200 +++ /var/tmp/diff_new_pack.xV7b7Q/_new 2021-04-22 18:05:46.538676374 +0200 @@ -1,7 +1,7 @@ # # spec file for package drbd-utils # -# 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %if !0%{?usrmerged} %define sbindir /sbin %else @@ -39,6 +40,7 @@ # PATCH-SUSE-FIX: Disable quorum in default configuration (bsc#1032142) Patch4: 0001-Disable-quorum-in-default-configuration-bsc-1032142.patch Patch5: move_fencing_from_disk_to_net_in_example.patch +Patch6: pie-fix.patch Provides: drbd-bash-completion = %{version} Provides: drbd-pacemaker = %{version} @@ -88,6 +90,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build export WANT_DRBD_REPRODUCIBLE_BUILD=1 ++++++ pie-fix.patch ++++++ Index: drbd-utils-9.14.0/user/drbdmon/Makefile.in =================================================================== --- drbd-utils-9.14.0.orig/user/drbdmon/Makefile.in +++ drbd-utils-9.14.0/user/drbdmon/Makefile.in @@ -1,6 +1,7 @@ CXXFLAGS=-std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror --pedantic-errors -fPIC -O2 \ -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits \ --Wmissing-declarations -Wshadow +-Wmissing-declarations -Wshadow \ +-pie CXX = @CXX@ LIBS = @LIBS@
