Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ipvsadm for openSUSE:Factory checked in at 2021-05-10 15:36:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ipvsadm (Old) and /work/SRC/openSUSE:Factory/.ipvsadm.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ipvsadm" Mon May 10 15:36:49 2021 rev:25 rq:891079 version:1.29 Changes: -------- --- /work/SRC/openSUSE:Factory/ipvsadm/ipvsadm.changes 2017-11-27 22:16:52.405983471 +0100 +++ /work/SRC/openSUSE:Factory/.ipvsadm.new.2988/ipvsadm.changes 2021-05-10 15:39:18.281582744 +0200 @@ -1,0 +2,6 @@ +Mon Apr 19 17:28:52 UTC 2021 - Wolfgang Frisch <wolfgang.fri...@suse.com> + +- Hardening: link as position independent executable (bsc#1184988). + ipvsadm-PIE.patch + +------------------------------------------------------------------- New: ---- ipvsadm-PIE.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ipvsadm.spec ++++++ --- /var/tmp/diff_new_pack.f5lfyd/_old 2021-05-10 15:39:18.717580960 +0200 +++ /var/tmp/diff_new_pack.f5lfyd/_new 2021-05-10 15:39:18.717580960 +0200 @@ -1,7 +1,7 @@ # # spec file for package ipvsadm # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -29,15 +29,16 @@ BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libnl-genl-3.0) Summary: A Utility for Administering the Linux Virtual Server -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Networking/System Version: 1.29 Release: 0 -Url: http://www.linuxvirtualserver.org/ +URL: http://www.linuxvirtualserver.org/ Source0: https://www.kernel.org/pub/linux/utils/kernel/ipvsadm/%{name}-%{version}.tar.xz Source1: ipvsadm.service Patch1: ipvsadm-1.26.diff Patch2: ipvsadm-print_largenum.diff +Patch3: ipvsadm-PIE.patch Provides: %{name}-%{version} Requires: grep Requires(pre): %fillup_prereq @@ -47,8 +48,6 @@ ipvsadm is a utility for administering the IP virtual server services offered by the Linux kernel with Linux Virtual Server support. - - %prep %setup -q # This files are embedded here instead of being another source in order @@ -71,6 +70,7 @@ EOFF %patch1 %patch2 +%patch3 -p1 %build make POPT_LIB="-lpopt" CFLAGS="%{optflags} -fPIC -DHAVE_POPT -DLIBIPVS_USE_NL -I%{_includedir}/libnl3" ++++++ ipvsadm-PIE.patch ++++++ Index: ipvsadm-1.29/Makefile =================================================================== --- ipvsadm-1.29.orig/Makefile +++ ipvsadm-1.29/Makefile @@ -87,7 +87,7 @@ libs: make -C libipvs ipvsadm: $(OBJS) $(STATIC_LIBS) - $(CC) $(CFLAGS) -o $@ $^ $(LIBS) + $(CC) $(CFLAGS) -pie -o $@ $^ $(LIBS) install: all if [ ! -d $(SBIN) ]; then $(MKDIR) -p $(SBIN); fi