commit prelink for openSUSE:Factory
Hello community, here is the log from the commit of package prelink for openSUSE:Factory checked in at 2015-05-02 21:37:08 Comparing /work/SRC/openSUSE:Factory/prelink (Old) and /work/SRC/openSUSE:Factory/.prelink.new (New) Package is "prelink" Changes: --- /work/SRC/openSUSE:Factory/prelink/prelink.changes 2013-09-26 07:12:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.prelink.new/prelink.changes 2015-05-02 21:37:09.0 +0200 @@ -1,0 +2,6 @@ +Wed Apr 29 13:05:07 UTC 2015 - meiss...@suse.com + +- prelink-make-dry-run-verbose.diff: remove doit.c part, it was + making the action happen even in dryrun mode. bsc#923948 + +--- Other differences: -- ++ prelink.spec ++ --- /var/tmp/diff_new_pack.uDJmiG/_old 2015-05-02 21:37:10.0 +0200 +++ /var/tmp/diff_new_pack.uDJmiG/_new 2015-05-02 21:37:10.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package prelink # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++ prelink-make-dry-run-verbose.diff ++ --- /var/tmp/diff_new_pack.uDJmiG/_old 2015-05-02 21:37:11.0 +0200 +++ /var/tmp/diff_new_pack.uDJmiG/_new 2015-05-02 21:37:11.0 +0200 @@ -59,9 +59,19 @@ } if (info->conflict_rela_size) +--- src/execstack.c src/execstack.c +@@ -31,6 +31,7 @@ + + int set; + int execflag; ++int dry_run = 0; // for arch-i386 + + const char *argp_program_version = "execstack 1.0"; + --- src/doit.c +++ src/doit.c -@@ -137,10 +137,6 @@ +@@ -121,22 +121,17 @@ goto error_out; } @@ -69,28 +79,29 @@ -close_dso (dso); - else -{ - if (prelink_prepare (dso)) - goto make_unprelinkable; - if (ent->type == ET_DYN && relocate_dso (dso, ent->base)) -@@ -152,7 +148,10 @@ - dso = NULL; - goto error_out; - } +- if (prelink_prepare (dso)) +- goto make_unprelinkable; +- if (ent->type == ET_DYN && relocate_dso (dso, ent->base)) +- goto make_unprelinkable; +- if (prelink (dso, ent)) +- goto make_unprelinkable; +- if (update_dso (dso, NULL)) +- { +-dso = NULL; +-goto error_out; +- } -} -+ -+ if (dry_run) -+ close_dso (dso); -+ ++ if (prelink_prepare (dso)) goto make_unprelinkable; ++ if (ent->type == ET_DYN && relocate_dso (dso, ent->base)) ++goto make_unprelinkable; ++ if (prelink (dso, ent)) goto make_unprelinkable; ++ ++ if (dry_run) close_dso (dso); ++ else if (update_dso (dso, NULL)) { ++dso = NULL; ++goto error_out; ++ } ++ ent->done = 2; ent->flags |= PCF_PRELINKED; src/execstack.c -+++ src/execstack.c -@@ -31,6 +31,7 @@ - - int set; - int execflag; -+int dry_run = 0; // for arch-i386 - - const char *argp_program_version = "execstack 1.0"; -
commit prelink for openSUSE:Factory
Hello community, here is the log from the commit of package prelink for openSUSE:Factory checked in at 2013-09-26 07:12:21 Comparing /work/SRC/openSUSE:Factory/prelink (Old) and /work/SRC/openSUSE:Factory/.prelink.new (New) Package is "prelink" Changes: --- /work/SRC/openSUSE:Factory/prelink/prelink.changes 2012-06-25 12:44:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.prelink.new/prelink.changes 2013-09-26 07:12:22.0 +0200 @@ -1,0 +2,16 @@ +Wed Sep 25 15:19:01 UTC 2013 - meiss...@suse.com + +- disable unprel1.sh testcase, shows some problems in rpath handling + +--- +Tue Sep 24 18:02:40 UTC 2013 - tchva...@suse.com + +- Try to bump to 20130503: + * selinux support integration + * No changelog provided by upstream, mostly features everywhere +- Drop patch fix-copydtneeded.patch rather implement it with seds. +- Drop patch prelink-tests.diff as we need different test fixes + for now. + + +--- Old: fix-copydtneeded.patch prelink-20111012.tar.bz2 prelink-tests.diff New: disable-unprel1.patch prelink-20130503.tar.bz2 Other differences: -- ++ prelink.spec ++ --- /var/tmp/diff_new_pack.hqj6M5/_old 2013-09-26 07:12:22.0 +0200 +++ /var/tmp/diff_new_pack.hqj6M5/_new 2013-09-26 07:12:22.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package prelink # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,23 +20,23 @@ BuildRequires: gcc-c++ BuildRequires: glibc-devel-static BuildRequires: libelf0-devel +BuildRequires: libselinux-devel-static +BuildRequires: selinux-tools Summary:An ELF Prelinking Utility License:GPL-2.0+ Group: System/Base -Version:20111012 +Version:20130503 Release:0 Url:http://people.redhat.com/jakub/prelink/ PreReq: %fillup_prereq Source: http://people.redhat.com/jakub/prelink/%name-%version.tar.bz2 Source2:%name.conf Patch0: %name-make_it_cool.diff -Patch3: %name-tests.diff -Patch4: %name-make-dry-run-verbose.diff -Patch5: fix-copydtneeded.patch +Patch1: %name-make-dry-run-verbose.diff +Patch2: disable-unprel1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -# It does not work at all on ia64, so let's listen upstream supported -# architectures -ExclusiveArch: %{ix86} alpha sparc sparc64 s390 s390x x86_64 ppc ppc64 +# Copied from upstream archs, lets just trust them as they mostly know what they are doing. +ExclusiveArch: %{ix86} alpha sparc sparcv9 sparc64 s390 s390x x86_64 ppc ppc64 %{arm} %description The prelink program is a utility that modifies shared libraries and @@ -50,31 +50,48 @@ %prep %setup -q -n prelink %patch0 -p0 -%patch3 -p0 -%patch4 -p0 -%patch5 -p1 +%patch1 -p0 +%patch2 -p1 + +# Disalbe new dtags +sed -i -e '/^CC=/s: : -Wl,--disable-new-dtags :' testsuite/functions.sh +# Add dt-needed +sed -i \ +-e '/CCLINK=/s:CCLINK="$(CC):& -Wl,--copy-dt-needed-entries :' \ +-e '/CXXLINK=/s:CXXLINK="$(CXX):& -Wl,--copy-dt-needed-entries :' \ +testsuite/Makefile.{am,in} +# Fix pthread linking +sed -i \ +-e '/^prelink_LDADD/s/$/ -lpthread -pthread/' \ +src/Makefile.{am,in} +sed -i \ +-e 's:undosyslibs.sh::' \ +testsuite/Makefile.in %build +%configure --disable-shared +make %{?_smp_mflags} + +%check # This package failed when testing with -Wl,-as-needed being default. # So we disable it here, if you want to retest, just delete this comment and the line below. export SUSE_ASNEEDED=0 # Uninitialized memory in dynamic loader in ifunc3 test. export -n MALLOC_PERTURB_ unset MALLOC_PERTURB_ - -CFLAGS="$RPM_OPT_FLAGS" \ -./configure --prefix=/usr --mandir=%{_mandir} || cat config.log -make %{?jobs:-j%jobs} +# +make -C testsuite check-harder +make -C testsuite check-cycle make -C testsuite check-harder %install -make install DESTDIR=$RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT/etc -sed -e "s,LIBDIR,%_lib," %{SOURCE2} > $RPM_BUILD_ROOT/etc/prelink.conf -mkdir -p $FILLUP_DIR $RPM_BUILD_ROOT/sbin/conf.d -install -m 0755 -d $RPM_BUILD_ROOT/var/lib/prelink -mkdir -p $RPM_BUILD_ROOT/etc/rpm -cat > $RPM_BUILD_ROOT/etc/rpm/macros.prelink < %{buildroot}%{_sysconfdir}/prelink.conf +mkdir -p $FILLUP_DIR %{buildroot}/sbin/conf.d +install -m 0755 -d %{buildroot}/var/lib/prelink +mkdir -p %{buildroot}%{_sysconfdir}/rpm +cat > %{b
commit prelink for openSUSE:Factory
Hello community, here is the log from the commit of package prelink for openSUSE:Factory checked in at 2012-06-25 12:44:29 Comparing /work/SRC/openSUSE:Factory/prelink (Old) and /work/SRC/openSUSE:Factory/.prelink.new (New) Package is "prelink", Maintainer is "meiss...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/prelink/prelink.changes 2012-02-14 19:06:03.0 +0100 +++ /work/SRC/openSUSE:Factory/.prelink.new/prelink.changes 2012-06-25 12:44:31.0 +0200 @@ -1,0 +2,7 @@ +Tue Jun 19 15:49:24 UTC 2012 - meiss...@suse.com + +- Removed SuSEconfig prelink support for now, security wise ASLR is + done different these days and also previously claimed speed ups + might not be present. FATE#313545 + +--- Old: SuSEconfig.prelink sysconfig.prelink Other differences: -- ++ prelink.spec ++ --- /var/tmp/diff_new_pack.lhNT1D/_old 2012-06-25 12:44:33.0 +0200 +++ /var/tmp/diff_new_pack.lhNT1D/_new 2012-06-25 12:44:33.0 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: prelink BuildRequires: gcc-c++ BuildRequires: glibc-devel-static @@ -28,8 +29,6 @@ PreReq: %fillup_prereq Source: http://people.redhat.com/jakub/prelink/%name-%version.tar.bz2 Source2:%name.conf -Source3:SuSEconfig.%name -Source4:sysconfig.%name Patch0: %name-make_it_cool.diff Patch3: %name-tests.diff Patch4: %name-make-dry-run-verbose.diff @@ -44,18 +43,9 @@ executables in the ELF format so that far less relocations need to be resolved at run time. This decreases program start-up time. -You can enable prelink support via the YaST sysconfig editor or in -/etc/sysconfig/prelink. - -Be aware that prelink modifies all libraries and executables on your -system. Applications which monitor changes in files will no longer -work. - - - -Authors: - -Jakub Jelinek +Be aware that prelink can modify all libraries and executables on your +system. Applications which monitor changes in files or RPM itself +will no longer work. %prep %setup -q -n prelink @@ -81,10 +71,7 @@ make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc sed -e "s,LIBDIR,%_lib," %{SOURCE2} > $RPM_BUILD_ROOT/etc/prelink.conf -FILLUP_DIR=$RPM_BUILD_ROOT/var/adm/fillup-templates mkdir -p $FILLUP_DIR $RPM_BUILD_ROOT/sbin/conf.d -install -m 0644 %SOURCE4 $FILLUP_DIR/sysconfig.%name -install -m 0755 %SOURCE3 $RPM_BUILD_ROOT/sbin/conf.d/ install -m 0755 -d $RPM_BUILD_ROOT/var/lib/prelink mkdir -p $RPM_BUILD_ROOT/etc/rpm cat > $RPM_BUILD_ROOT/etc/rpm/macros.prelink <
commit prelink for openSUSE:Factory
Hello community, here is the log from the commit of package prelink for openSUSE:Factory checked in at 2012-02-14 19:06:00 Comparing /work/SRC/openSUSE:Factory/prelink (Old) and /work/SRC/openSUSE:Factory/.prelink.new (New) Package is "prelink", Maintainer is "meiss...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/prelink/prelink.changes 2012-01-04 07:29:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.prelink.new/prelink.changes 2012-02-14 19:06:03.0 +0100 @@ -9 +9 @@ -- Update to 20111012: +- Update to 20111012 (bnc#739072): Other differences: -- ++ prelink.spec ++ --- /var/tmp/diff_new_pack.3uzZEE/_old 2012-02-14 19:06:04.0 +0100 +++ /var/tmp/diff_new_pack.3uzZEE/_new 2012-02-14 19:06:04.0 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - Name: prelink BuildRequires: gcc-c++ BuildRequires: glibc-devel-static -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit prelink for openSUSE:Factory
Hello community, here is the log from the commit of package prelink for openSUSE:Factory checked in at 2012-01-04 07:29:44 Comparing /work/SRC/openSUSE:Factory/prelink (Old) and /work/SRC/openSUSE:Factory/.prelink.new (New) Package is "prelink", Maintainer is "meiss...@suse.com" Changes: --- /work/SRC/openSUSE:Factory/prelink/prelink.changes 2011-09-23 12:41:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.prelink.new/prelink.changes 2012-01-04 07:29:46.0 +0100 @@ -1,0 +2,17 @@ +Tue Jan 3 14:15:55 CET 2012 - meiss...@suse.de + +- fixed testsuite issue + +--- +Tue Jan 3 09:23:02 UTC 2012 - a...@suse.de + +- Update to 20111012: + - add --layout-page-size=N option, default to --layout-page-size=32768 +on AMD Bulldozer + - fix cxx3.sh for ppc + - support for arm + - handle various handle DW_OP_GNU parameters + - support copying over extended attributes + - fix handling of DW_OP_call_ref + +--- Old: prelink-20100106.tar.bz2 New: prelink-20111012.tar.bz2 Other differences: -- ++ prelink.spec ++ --- /var/tmp/diff_new_pack.dpenpY/_old 2012-01-04 07:29:48.0 +0100 +++ /var/tmp/diff_new_pack.dpenpY/_new 2012-01-04 07:29:48.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package prelink # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: prelink -BuildRequires: gcc-c++ glibc-devel-static libelf0-devel +BuildRequires: gcc-c++ +BuildRequires: glibc-devel-static +BuildRequires: libelf0-devel Summary:An ELF Prelinking Utility -Version:20100106 -Release:9 -Group: System/Base License:GPL-2.0+ -Url:ftp://people.redhat.com/jakub/prelink +Group: System/Base +Version:20111012 +Release:0 +Url:http://people.redhat.com/jakub/prelink/ PreReq: %fillup_prereq -Source: %name-%version.tar.bz2 +Source: http://people.redhat.com/jakub/prelink/%name-%version.tar.bz2 Source2:%name.conf Source3:SuSEconfig.%name Source4:sysconfig.%name ++ prelink-20100106.tar.bz2 -> prelink-20111012.tar.bz2 ++ 1939 lines of diff (skipped) ++ prelink-tests.diff ++ --- /var/tmp/diff_new_pack.dpenpY/_old 2012-01-04 07:29:48.0 +0100 +++ /var/tmp/diff_new_pack.dpenpY/_new 2012-01-04 07:29:48.0 +0100 @@ -79,25 +79,3 @@ esac # Disable this test under SELinux if textrel if test -z "$SHFLAGS" -a -x /usr/sbin/getenforce; then testsuite/reloc9.sh.orig 2009-12-16 13:23:03.0 +0100 -+++ testsuite/reloc9.sh2010-03-15 14:38:33.361358000 +0100 -@@ -11,7 +11,7 @@ - rm -f prelink.cache - NOCOPYRELOC=-Wl,-z,nocopyreloc - case "`uname -m`" in -- x86_64|s390*) if file reloc1lib1.so | grep -q 64-bit; then NOCOPYRELOC=; fi;; -+ x86_64|s390*|alpha) NOCOPYRELOC=; ;; - esac - $CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc9lib1.so $srcdir/reloc3lib1.c - $CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc9lib2.so $srcdir/reloc1lib2.c reloc9lib1.so testsuite/reloc8.sh.orig 2009-12-16 13:22:56.0 +0100 -+++ testsuite/reloc8.sh2010-03-15 14:38:02.84694 +0100 -@@ -11,7 +11,7 @@ - rm -f prelink.cache - NOCOPYRELOC=-Wl,-z,nocopyreloc - case "`uname -m`" in -- x86_64|s390*) if file reloc1lib1.so | grep -q 64-bit; then NOCOPYRELOC=; fi;; -+ x86_64|s390*|alpha) NOCOPYRELOC=; ;; - esac - $CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc8lib1.so $srcdir/reloc3lib1.c - $CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc8lib2.so $srcdir/reloc1lib2.c reloc8lib1.so -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit prelink for openSUSE:Factory
Hello community, here is the log from the commit of package prelink for openSUSE:Factory checked in at 2011-12-06 18:53:05 Comparing /work/SRC/openSUSE:Factory/prelink (Old) and /work/SRC/openSUSE:Factory/.prelink.new (New) Package is "prelink", Maintainer is "meiss...@suse.com" Changes: Other differences: -- ++ prelink.spec ++ --- /var/tmp/diff_new_pack.NM7g4x/_old 2011-12-06 19:26:26.0 +0100 +++ /var/tmp/diff_new_pack.NM7g4x/_new 2011-12-06 19:26:26.0 +0100 @@ -24,7 +24,7 @@ Version:20100106 Release:9 Group: System/Base -License:GPLv2+ +License:GPL-2.0+ Url:ftp://people.redhat.com/jakub/prelink PreReq: %fillup_prereq Source: %name-%version.tar.bz2 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit prelink for openSUSE:Factory
Hello community, here is the log from the commit of package prelink for openSUSE:Factory checked in at Mon Sep 5 18:09:38 CEST 2011. --- prelink/prelink.changes 2010-03-15 14:43:39.0 +0100 +++ prelink/prelink.changes 2011-09-05 13:41:20.0 +0200 @@ -1,0 +2,12 @@ +Mon Sep 5 11:05:02 CEST 2011 - meiss...@suse.de + +- buildrequire glibc-devel-static +- --copy-dt-needed-entries for testsuite. + +--- +Wed Feb 23 10:16:42 CET 2011 - meiss...@suse.de + +- ifunc3 test fails with malloc perturb, so disable that until fixed + in glibc. + +--- calling whatdependson for head-i586 New: fix-copydtneeded.patch Other differences: -- ++ prelink.spec ++ --- /var/tmp/diff_new_pack.HGPwj5/_old 2011-09-05 18:01:19.0 +0200 +++ /var/tmp/diff_new_pack.HGPwj5/_new 2011-09-05 18:01:19.0 +0200 @@ -1,7 +1,7 @@ # -# spec file for package prelink (Version 20100106) +# spec file for package prelink # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,10 +19,10 @@ Name: prelink -BuildRequires: gcc-c++ libelf0-devel +BuildRequires: gcc-c++ glibc-devel-static libelf0-devel Summary:An ELF Prelinking Utility Version:20100106 -Release:1 +Release:9 Group: System/Base License:GPLv2+ Url:ftp://people.redhat.com/jakub/prelink @@ -34,6 +34,7 @@ Patch0: %name-make_it_cool.diff Patch3: %name-tests.diff Patch4: %name-make-dry-run-verbose.diff +Patch5: fix-copydtneeded.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # It does not work at all on ia64, so let's listen upstream supported # architectures @@ -62,12 +63,18 @@ %patch0 -p0 %patch3 -p0 %patch4 -p0 +%patch5 -p1 %build # This package failed when testing with -Wl,-as-needed being default. # So we disable it here, if you want to retest, just delete this comment and the line below. export SUSE_ASNEEDED=0 -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --mandir=%{_mandir} +# Uninitialized memory in dynamic loader in ifunc3 test. +export -n MALLOC_PERTURB_ +unset MALLOC_PERTURB_ + +CFLAGS="$RPM_OPT_FLAGS" \ +./configure --prefix=/usr --mandir=%{_mandir} || cat config.log make %{?jobs:-j%jobs} make -C testsuite check-harder ++ fix-copydtneeded.patch ++ Index: prelink/testsuite/functions.sh === --- prelink.orig/testsuite/functions.sh +++ prelink/testsuite/functions.sh @@ -1,7 +1,7 @@ #!/bin/bash -CC="${CC:-gcc} ${LINKOPTS}" +CC="${CC:-gcc} ${LINKOPTS} -Wl,--copy-dt-needed-entries" ; echo "CC=$CC" -CCLINK=${CCLINK:-${CC} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`} +CCLINK="${CCLINK:-${CC} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`} -Wl,--copy-dt-needed-entries" -CXX="${CXX:-g++} ${LINKOPTS}" +CXX="${CXX:-g++} ${LINKOPTS} -Wl,--copy-dt-needed-entries" ; echo "CXX=$CXX" -CXXLINK=${CXXLINK:-${CXX} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`} +CXXLINK="${CXXLINK:-${CXX} -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`} -Wl,--copy-dt-needed-entries" PRELINK=${PRELINK:-../src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=`echo ./ld*.so.*[0-9]`} srcdir=${srcdir:-`dirname $0`} Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org