52 lines
1.7 KiB
RPMSpec
52 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package hongfuzx
|
|
#
|
|
# Copyright (c) 2017 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# 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/
|
|
#
|
|
|
|
Name: honggfuzz
|
|
Version: 0.8
|
|
Release: 0
|
|
License: Apache-2.0
|
|
Summary: Security oriented fuzzer with powerful analysis options
|
|
Url: https://google.github.io/honggfuzz/
|
|
Group: Development/Tools/Other
|
|
Source: https://github.com/google/honggfuzz/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: libunwind-devel
|
|
BuildRequires: binutils-devel
|
|
BuildRequires: zlib-devel
|
|
|
|
%description
|
|
Security oriented fuzzer with powerful analysis options. Supports
|
|
evolutionary, feedback-driven fuzzing based on code coverage (sw and hw).
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
make %{?_smp_mflags} ARCH_LDFLAGS="-L/usr/local/include -L/usr/include -lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt -liberty -lz -ldl"
|
|
|
|
%install
|
|
install -D -p -m 0755 %{name} \
|
|
%{buildroot}%{_bindir}/%{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING CHANGELOG CONTRIBUTING README.md
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|
|
|