Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gnuplot for openSUSE:Factory checked in at 2021-04-24 23:06:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnuplot (Old) and /work/SRC/openSUSE:Factory/.gnuplot.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnuplot" Sat Apr 24 23:06:38 2021 rev:80 rq:887452 version:5.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gnuplot/gnuplot.changes 2020-12-12 20:30:04.833709070 +0100 +++ /work/SRC/openSUSE:Factory/.gnuplot.new.12324/gnuplot.changes 2021-04-24 23:06:40.315184283 +0200 @@ -1,0 +2,10 @@ +Thu Apr 22 06:29:10 UTC 2021 - Dr. Werner Fink <wer...@suse.de> + +- Last commit had added patch gnuplot-PIE.patch + +------------------------------------------------------------------- +Thu Apr 15 13:04:05 UTC 2021 - Wolfgang Frisch <wolfgang.fri...@suse.com> + +- Hardening: compile with PIC and link with PIE. + +------------------------------------------------------------------- New: ---- gnuplot-PIE.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnuplot.spec ++++++ --- /var/tmp/diff_new_pack.mtY4E1/_old 2021-04-24 23:06:41.215185556 +0200 +++ /var/tmp/diff_new_pack.mtY4E1/_new 2021-04-24 23:06:41.219185562 +0200 @@ -1,7 +1,7 @@ # -# spec file for package gnuplot +# spec file for package gnuplot%{?psuffix} # -# 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 @@ -80,11 +80,11 @@ %global underscore 5_4 %if "%{flavor}" == "" Summary: Function Plotting Utility and more -License: SUSE-Gnuplot AND GPL-2.0-or-later +License: GPL-2.0-or-later AND SUSE-Gnuplot Group: Documentation/Other %else Summary: Documentation of GNUplot -License: SUSE-Gnuplot AND GPL-2.0-or-later +License: GPL-2.0-or-later AND SUSE-Gnuplot Group: Documentation/Other %endif Source0: http://downloads.sourceforge.net/project/gnuplot/gnuplot/%{version}/gnuplot-%{version}.tar.gz @@ -103,6 +103,7 @@ Patch5: gnuplot-wx3.diff Patch6: gnuplot-QtCore-PIC.dif Patch7: gnuplot-gd.patch +Patch8: gnuplot-PIE.patch %define _x11lib %{_libdir} %define _x11data %{_datadir}/X11 %define _libx11 %{_exec_prefix}/lib/X11 @@ -111,7 +112,7 @@ %if "%{flavor}" == "doc" Requires: %{sname} Requires(post): %install_info_prereq -Requires(preun): %install_info_prereq +Requires(preun):%install_info_prereq BuildArch: noarch %endif @@ -137,12 +138,14 @@ %patch5 -p1 -b .w3x %patch6 -p0 -b .pic %patch7 -p1 -b .gd +%patch8 -p1 -b .pie + %build autoreconf -fi export CPPFLAGS="-I%{_includedir}/gd -DAppDefDir=\\\"%{_appdef}\\\"" export CPPFLAGS="$CPPFLAGS -DGNUPLOT_LIB_DEFAULT=\\\"%{_docdir}/%{sname}/demo\\\"" - export CFLAGS="${RPM_OPT_FLAGS} -pipe -D_GNU_SOURCE" + export CFLAGS="${RPM_OPT_FLAGS} -pipe -D_GNU_SOURCE -fpic" export CXXFLAGS="$CFLAGS -fno-strict-aliasing" export LDFLAGS="-L%{_x11lib} -Wl,--as-needed" export ARCHLIB=%_lib ++++++ gnuplot-PIE.patch ++++++ Index: gnuplot-5.4.1/src/Makefile.am =================================================================== --- gnuplot-5.4.1.orig/src/Makefile.am +++ gnuplot-5.4.1/src/Makefile.am @@ -61,6 +61,7 @@ util3d.c util3d.h variable.c variable.h voxelgrid.c voxelgrid.h vplot.c vplot.h marching_cubes.h gnuplot_LDADD = $(GD_LIBS) $(TERMLIBS) $(TERMXLIBS) $(WX_LIBS) $(QT_LIBS) +gnuplot_LDFLAGS = -pie pkglibexec_PROGRAMS = @@ -69,6 +70,7 @@ pkglibexec_PROGRAMS += gnuplot_x11 gnuplot_x11_SOURCES = gplt_x11.c gplt_x11.h gpexecute.c gpexecute.h mousecmn.h version.c version.h XLIBS = @LIBRARIES_FOR_X@ gnuplot_x11_LDADD = getcolor_x11.o $(XLIBS) +gnuplot_x11_LDFLAGS = -pie endif getcolor_x11.o: getcolor.c @@ -185,6 +187,7 @@ qtterminal/QtGnuplotApplication.cpp qtte qtterminal/QtGnuplotScene.cpp qtterminal/QtGnuplotItems.cpp \ qtterminal/QtGnuplotEvent.cpp gnuplot_qt_LDADD = $(QT_LIBS) +gnuplot_qt_LDFLAGS = -pie # embed example (uncomment to build it) #