3 Summary: Web application security scanner
6 Release: 0.%{subver}.%{rel}
8 Group: Applications/Networking
9 Source0: http://skipfish.googlecode.com/files/%{name}-%{version}%{subver}.tgz
10 # Source0-md5: 91ee5616b22366745e8b6ba00c3a29e1
11 URL: http://code.google.com/p/skipfish/
12 BuildRequires: libidn-devel
13 BuildRequires: openssl-devel
14 BuildRequires: sed >= 4.0
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 A fully automated, active web application security reconnaissance
23 - High speed: pure C code, highly optimized HTTP handling, minimal CPU
24 footprint - easily achieving 2000 requests per second with responsive
26 - Ease of use: heuristics to support a variety of quirky web
27 frameworks and mixed-technology sites, with automatic learning
28 capabilities, on-the-fly wordlist creation, and form autocompletion.
29 - Cutting-edge security logic: high quality, low false positive,
30 differential security checks, capable of spotting a range of subtle
31 flaws, including blind injection vectors.
34 %setup -q -n %{name}-%{version}%{subver}
36 %{__sed} -i -e 's,-O3,$(OPTCFLAGS),' Makefile
37 %{__sed} -i -e 's,-L/usr/local/lib/ -L/opt/local/lib,$(OPTLDFLAGS),' Makefile
38 %{__sed} -i -e 's,"assets","%{_datadir}/%{name}/assets",' config.h
43 OPTCFLAGS="%{rpmcflags} %{rpmcppflags}" \
44 OPTLDFLAGS="%{rpmldflags}"
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
50 install -p %{name} $RPM_BUILD_ROOT%{_bindir}
51 cp -ar %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
52 cp -ar assets dictionaries $RPM_BUILD_ROOT%{_datadir}/%{name}
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/skipfish
62 %{_mandir}/man1/%{name}.1*