Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package virt-sandbox for openSUSE:Factory 
checked in at 2021-06-16 20:35:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-sandbox (Old)
 and      /work/SRC/openSUSE:Factory/.virt-sandbox.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-sandbox"

Wed Jun 16 20:35:18 2021 rev:19 rq:900432 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/virt-sandbox/virt-sandbox.changes        
2019-03-05 12:26:27.120831182 +0100
+++ /work/SRC/openSUSE:Factory/.virt-sandbox.new.32437/virt-sandbox.changes     
2021-06-16 20:37:10.647359414 +0200
@@ -1,0 +2,6 @@
+Wed Jun  9 16:58:05 UTC 2021 - Wolfgang Frisch <wolfgang.fri...@suse.com>
+
+- Link executables position-independent (bsc#1184124).
+  + PIE.patch
+
+-------------------------------------------------------------------

New:
----
  PIE.patch

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

Other differences:
------------------
++++++ virt-sandbox.spec ++++++
--- /var/tmp/diff_new_pack.vhDmoA/_old  2021-06-16 20:37:11.067360131 +0200
+++ /var/tmp/diff_new_pack.vhDmoA/_new  2021-06-16 20:37:11.071360138 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-sandbox
 #
-# Copyright (c) 2019 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
@@ -22,7 +22,7 @@
 Name:           virt-sandbox
 Version:        0.8.0
 Release:        1%{?dist}%{?extra_release}
-Url:            http://libvirt.org/
+URL:            http://libvirt.org/
 Summary:        Libvirt application sandbox framework
 License:        LGPL-2.0-or-later
 Group:          System/Management
@@ -32,6 +32,9 @@
 # Patches pending upstream review
 Patch100:       no-unmount-for-lxc-machines.patch
 
+# SUSE patches
+Patch200:       PIE.patch
+
 # Need to go upstream
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -96,12 +99,14 @@
 %prep
 %setup -q -n libvirt-sandbox-%{version}
 %patch100 -p1
+%patch200 -p1
 
 %build
 # We may have a more recent version of automake when building
 # than the one used to autoconfigure the project for the distribution
 # Just make sure the files are sync'ed with our version
-
+#export CFLAGS="%{optflags}"
+#export LDFLAGS="-pie"
 autoreconf -f -i
 %configure --enable-introspection --disable-static
 make V=1 %{?_smp_mflags}

++++++ PIE.patch ++++++
Index: libvirt-sandbox-0.8.0/libvirt-sandbox/Makefile.am
===================================================================
--- libvirt-sandbox-0.8.0.orig/libvirt-sandbox/Makefile.am
+++ libvirt-sandbox-0.8.0/libvirt-sandbox/Makefile.am
@@ -222,6 +222,7 @@ libvirt_sandbox_init_lxc_CFLAGS = \
                        $(NULL)
 libvirt_sandbox_init_lxc_LDFLAGS = \
                        -all-static \
+                       -static-pie \
                        $(COVERAGE_CFLAGS:-f%=-Wc,f%) \
                        $(WARN_CFLAGS) \
                        $(NULL)
@@ -236,6 +237,7 @@ libvirt_sandbox_init_qemu_CFLAGS = \
                        $(NULL)
 libvirt_sandbox_init_qemu_LDFLAGS = \
                        -all-static \
+                       -static-pie \
                        $(COVERAGE_CFLAGS:-f%=-Wc,f%) \
                        $(ZLIB_LIBS) \
                        $(LZMA_LIBS) \

Reply via email to