update to 2.4 [release 2.4-1mamba;Fri May 21 2021]
This commit is contained in:
parent
c06e651320
commit
d66312374f
39
rats.spec
39
rats.spec
@ -1,16 +1,15 @@
|
|||||||
Name: rats
|
Name: rats
|
||||||
Version: 2.1
|
Version: 2.4
|
||||||
Release: 3mamba
|
Release: 1mamba
|
||||||
Summary: A security auditing utility for C, C++, Python, Perl and PHP code
|
Summary: A security auditing utility for C, C++, Python, Perl and PHP code
|
||||||
Group: Applications/Security
|
Group: Applications/Security
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Aleph0 <aleph0@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.fortify.com/security-resources/rats.jsp
|
URL: https://code.google.com/archive/p/rough-auditing-tool-for-security
|
||||||
Source: http://www.fortify.com/servlet/downloads/public/%{name}-%{version}.tar.gz
|
Source: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/rats-%{version}.tgz
|
||||||
Patch: %{name}-2.1-Makefile.patch
|
Patch: %{name}-2.1-Makefile.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libexpat-devel
|
BuildRequires: libexpat-devel
|
||||||
@ -22,17 +21,24 @@ BuildRequires: libexpat-devel
|
|||||||
RATS, the Rough Auditing Tool for Security, is a security auditing utility for C, C++, Python, Perl and PHP code. RATS scans source code, finding potentially dangerous function calls.
|
RATS, the Rough Auditing Tool for Security, is a security auditing utility for C, C++, Python, Perl and PHP code. RATS scans source code, finding potentially dangerous function calls.
|
||||||
The goal of this project is not to definitively find bugs, but to provide a reasonable starting point for performing manual security audits.
|
The goal of this project is not to definitively find bugs, but to provide a reasonable starting point for performing manual security audits.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
#%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure \
|
||||||
|
--datadir=%{_datadir}/rats
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
%makeinstall
|
%makeinstall \
|
||||||
|
BINDIR=%{buildroot}%{_bindir} \
|
||||||
|
SHAREDIR=%{buildroot}%{_datadir}/rats \
|
||||||
|
MANDIR=%{buildroot}%{_mandir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
@ -40,15 +46,16 @@ The goal of this project is not to definitively find bugs, but to provide a reas
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/rats
|
%{_bindir}/rats
|
||||||
%{_datadir}/rats-c.xml
|
%dir %{_datadir}/rats
|
||||||
%{_datadir}/rats-openssl.xml
|
%{_datadir}/rats/*
|
||||||
%{_datadir}/rats-perl.xml
|
%{_mandir}/man1/rats.1*
|
||||||
%{_datadir}/rats-php.xml
|
%doc COPYING
|
||||||
%{_datadir}/rats-python.xml
|
#README README.win32
|
||||||
%{_mandir}/man1/rats.*
|
|
||||||
%doc COPYING README README.win32
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4-1mamba
|
||||||
|
- update to 2.4
|
||||||
|
|
||||||
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 2.1-3mamba
|
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 2.1-3mamba
|
||||||
- automatic rebuild by autodist
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user