2007-01-16 03:44:45 +01:00
|
|
|
Name: flawfinder
|
|
|
|
Summary: Examines C/C++ source code for security flaws
|
2021-05-31 21:31:37 +02:00
|
|
|
Version: 2.0.16
|
2014-07-12 17:56:11 +02:00
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+
|
2007-01-16 03:44:45 +01:00
|
|
|
Group: Development/Tools
|
2018-10-01 03:35:11 +02:00
|
|
|
URL: http://dwheeler.com/flawfinder/
|
|
|
|
Source: http://dwheeler.com/flawfinder/%{name}-%{version}.tar.gz
|
2007-01-16 03:44:45 +01:00
|
|
|
Requires: python
|
|
|
|
BuildArch: noarch
|
2014-07-12 17:56:11 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-01-16 03:44:45 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Flawfinder scans through C/C++ source code,
|
|
|
|
identifying lines ("hits") with potential security flaws.
|
|
|
|
By default it reports hits sorted by severity, with the riskiest lines first.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-07-12 17:56:11 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 03:44:45 +01:00
|
|
|
|
|
|
|
%install
|
2014-07-12 17:56:11 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-16 03:44:45 +01:00
|
|
|
install -m755 -D flawfinder ${RPM_BUILD_ROOT}%{_bindir}/flawfinder
|
|
|
|
install -m644 -D flawfinder.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/flawfinder.1
|
|
|
|
|
|
|
|
%clean
|
2014-07-12 17:56:11 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-01-16 03:44:45 +01:00
|
|
|
|
|
|
|
%files
|
2014-07-12 17:56:11 +02:00
|
|
|
%defattr(-,root,root,-)
|
2018-10-07 00:46:09 +02:00
|
|
|
%doc README.md ChangeLog COPYING flawfinder.ps
|
2007-01-16 03:44:45 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|
2014-07-12 17:56:11 +02:00
|
|
|
* Mon Aug 27 2007 Horst H. von Brand <vonbrand@inf.utfsm.cl> 1.27-2
|
|
|
|
- Fix specfile as per Fedora guidelines
|
|
|
|
|
|
|
|
* Sat Feb 1 2003 Jose Pedro Oliveira <jpo@di.uminho.pt>
|
2007-01-16 03:44:45 +01:00
|
|
|
- changed build architecture to noarch
|
|
|
|
- replaced hardcoded directories by rpm macros
|
|
|
|
- removed several rpmlint warnings/errors
|
|
|
|
|
|
|
|
# vim:set ai ts=4 sw=4:
|