diff --git a/README.md b/README.md index 3ca3412..d35f495 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # flawfinder +Flawfinder is a program that examines source code and reports possible security weaknesses (``flaws'') sorted by risk level. +It's very useful for quickly finding and removing at least some potential security problems before a program is widely released to the public. + diff --git a/flawfinder.spec b/flawfinder.spec new file mode 100644 index 0000000..abe1868 --- /dev/null +++ b/flawfinder.spec @@ -0,0 +1,55 @@ +Name: flawfinder +Version: 1.27 +Release: 2mamba +Summary: A program that examines source code looking for security weaknesses +Group: Applications/Security +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.dwheeler.com/flawfinder/ +Source: http://www.dwheeler.com/flawfinder/flawfinder-%{version}.tar.gz +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot +Requires: python >= 1.5 +## AUTOBUILDREQ-BEGIN +BuildRequires: python +## AUTOBUILDREQ-END + +%description +Flawfinder is a program that examines source code and reports possible security weaknesses (``flaws'') sorted by risk level. +It's very useful for quickly finding and removing at least some potential security problems before a program is widely released to the public. + +%prep +%setup -q + +%build +gzip -c flawfinder.1 > flawfinder.1.gz +%{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%{__python} setup.py install \ + --root=%{buildroot} \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_bindir}/flawfinder +%{_mandir}/man?/flawfinder.* +%{python_sitearch}/flawfinder-%{version}-py%{python_version}.egg-info +%doc COPYING +#%doc announcement ChangeLog + +%changelog +* Tue Jul 16 2013 Automatic Build System 1.27-2mamba +- automatic rebuild by autodist + +* Thu Jun 19 2008 Tiziana Ferro 1.27-1mamba +- update to 1.27 + +* Thu Mar 31 2005 Davide Madrisan 1.26-1qilnx +- package created by autospec