Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package afl for openSUSE:Factory checked in at 2021-04-06 17:30:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/afl (Old) and /work/SRC/openSUSE:Factory/.afl.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "afl" Tue Apr 6 17:30:26 2021 rev:60 rq:882886 version:3.12c Changes: -------- --- /work/SRC/openSUSE:Factory/afl/afl.changes 2021-03-29 18:22:33.566310269 +0200 +++ /work/SRC/openSUSE:Factory/.afl.new.2401/afl.changes 2021-04-06 17:31:52.671266021 +0200 @@ -1,0 +2,9 @@ +Sat Apr 3 23:31:18 UTC 2021 - Niklas Haas <[email protected]> + +- install `afl-clang-lto`, recommended by upstream as the best variant + - add dependency on `lld` + - bump llvm-devel up to >= 11.0.0 +- fix /usr/bin/env path in afl.cmin scripts +- prevent stripping of runtime objects (fix bug 1184324) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ afl.spec ++++++ --- /var/tmp/diff_new_pack.nyZGBS/_old 2021-04-06 17:31:53.119266528 +0200 +++ /var/tmp/diff_new_pack.nyZGBS/_new 2021-04-06 17:31:53.123266532 +0200 @@ -27,8 +27,10 @@ Patch1: afl-3.0c-fix-paths.patch BuildRequires: clang BuildRequires: gcc-c++ -BuildRequires: llvm-devel +BuildRequires: lld +BuildRequires: llvm-devel >= 11.0.0 BuildRequires: python3-devel +Requires: lld %description American fuzzy lop is a security-oriented fuzzer that employs a novel type @@ -48,7 +50,8 @@ %prep %setup -q -n AFLplusplus-%version %patch1 -p1 -sed -i 's|#!/usr/bin/env bash|#!/bin/bash|g' afl-cmin +sed -i 's|#!/usr/bin/env sh|#!/bin/sh|g' afl-cmin +sed -i 's|#!/usr/bin/env bash|#!/bin/bash|g' afl-cmin.bash %build export CFLAGS="$CFLAGS %{optflags} -fno-lto" @@ -63,6 +66,7 @@ export AFL_NO_X86=1 %endif make %{?_smp_mflags} PREFIX=%{_prefix} LIBEXEC_DIR=%{_libexecdir} DOC_DIR=%{_docdir} MAN_PATH=%{_mandir}/man8 DESTDIR=%{buildroot} install +chmod -x %{buildroot}/%{_libexecdir}/%{name}/*.o %files %license docs/COPYING LICENSE @@ -74,13 +78,16 @@ %ifarch x86_64 aarch64 ppc64 ppc64le s390x %{_libexecdir}/%{name}/afl-compiler-rt-64.o %{_libexecdir}/%{name}/afl-llvm-rt-64.o +%{_libexecdir}/%{name}/afl-llvm-rt-lto-64.o %endif %ifarch %ix86 %{arm} %{_libexecdir}/%{name}/afl-compiler-rt-32.o %{_libexecdir}/%{name}/afl-llvm-rt-32.o +%{_libexecdir}/%{name}/afl-llvm-rt-lto-32.o %endif %{_libexecdir}/%{name}/afl-compiler-rt.o %{_libexecdir}/%{name}/afl-llvm-rt.o +%{_libexecdir}/%{name}/afl-llvm-rt-lto.o %{_libexecdir}/%{name}/dynamic_list.txt %{_libexecdir}/%{name}/*.so %dir %{_datadir}/%{name}
