commit wodim for openSUSE:Factory
Hello community, here is the log from the commit of package wodim for openSUSE:Factory checked in at 2014-06-23 09:23:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wodim (Old) and /work/SRC/openSUSE:Factory/.wodim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "wodim" Changes: -------- --- /work/SRC/openSUSE:Factory/wodim/wodim.changes 2014-03-23 22:28:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.wodim.new/wodim.changes 2014-06-23 09:23:38.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Jun 20 09:23:55 UTC 2014 - lnussel@suse.de + +- make wodim position independent (bnc#882035, cdrkit-pie.diff) + +------------------------------------------------------------------- New: ---- cdrkit-pie.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wodim.spec ++++++ --- /var/tmp/diff_new_pack.KC3fl7/_old 2014-06-23 09:23:39.000000000 +0200 +++ /var/tmp/diff_new_pack.KC3fl7/_new 2014-06-23 09:23:39.000000000 +0200 @@ -40,6 +40,8 @@ Patch4: icedax.1_macro_warning_fix.patch # PATCH-FIX-OPENSUSE genisoimage-multi-extent.patch-fix-bnc615177 -- Patch5: genisoimage-multi-extent-fix-bnc615177.patch +# PATCH-FIX-OPENSUSE cdrkit-pie.diff lnussel@suse.de -- wodim must be pie as users may set suid bit on it +Patch6: cdrkit-pie.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake @@ -116,6 +118,7 @@ %patch3 -p1 %patch4 %patch5 +%patch6 -p1 # Fix perl path find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g' # Fix permissions (no executables in doc files) @@ -130,6 +133,7 @@ mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=%{_prefix} +# -DCMAKE_POSITION_INDEPENDENT_CODE=ON make VERBOSE=1 MANDIR=share/man %{?_smp_mflags} gcc %{optflags} %{S:2} -o cdinfo cd .. ++++++ cdrkit-pie.diff ++++++ Index: cdrkit-1.1.11/wodim/CMakeLists.txt =================================================================== --- cdrkit-1.1.11.orig/wodim/CMakeLists.txt +++ cdrkit-1.1.11/wodim/CMakeLists.txt @@ -30,6 +30,7 @@ LIST(APPEND EXTRA_LIBS wodimstuff) TARGET_LINK_LIBRARIES(wodim ${EXTRA_LIBS} edc) SET_TARGET_PROPERTIES(wodim PROPERTIES SKIP_BUILD_RPATH TRUE) +SET_TARGET_PROPERTIES(wodim PROPERTIES POSITION_INDEPENDENT_CODE TRUE LINK_FLAGS -pie) INSTALL(TARGETS wodim DESTINATION bin) INSTALL(FILES -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de