]> git.pld-linux.org Git - packages/skipfish.git/blame - skipfish.spec
- updated to 2.08b
[packages/skipfish.git] / skipfish.spec
CommitLineData
57bdca9d 1%define subver b
befb5015 2%define rel 1
57bdca9d
ER
3Summary: Web application security scanner
4Name: skipfish
d3dac5f9 5Version: 2.08
57bdca9d
ER
6Release: 0.%{subver}.%{rel}
7License: Apache v2.0
8Group: Applications/Networking
9Source0: http://skipfish.googlecode.com/files/%{name}-%{version}%{subver}.tgz
d3dac5f9 10# Source0-md5: fb928f803c6228ab8ae46ccdf3ce65f0
57bdca9d
ER
11URL: http://code.google.com/p/skipfish/
12BuildRequires: libidn-devel
13BuildRequires: openssl-devel
d3dac5f9 14BuildRequires: pcre-devel
b73b8d71 15BuildRequires: sed >= 4.0
57bdca9d
ER
16BuildRequires: zlib-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20A fully automated, active web application security reconnaissance
21tool.
22
23Key features:
24- High speed: pure C code, highly optimized HTTP handling, minimal CPU
25 footprint - easily achieving 2000 requests per second with responsive
26 targets.
27- Ease of use: heuristics to support a variety of quirky web
28 frameworks and mixed-technology sites, with automatic learning
29 capabilities, on-the-fly wordlist creation, and form autocompletion.
30- Cutting-edge security logic: high quality, low false positive,
31 differential security checks, capable of spotting a range of subtle
32 flaws, including blind injection vectors.
33
34%prep
243bc43d 35%setup -q -n %{name}-%{version}%{subver}
57bdca9d
ER
36
37%{__sed} -i -e 's,-O3,$(OPTCFLAGS),' Makefile
38%{__sed} -i -e 's,-L/usr/local/lib/ -L/opt/local/lib,$(OPTLDFLAGS),' Makefile
d3dac5f9 39%{__sed} -i -e 's,"assets","%{_datadir}/%{name}/assets",' src/config.h
57bdca9d
ER
40
41%build
42%{__make} \
43 CC="%{__cc}" \
10522db7 44 OPTCFLAGS="%{rpmcflags} %{rpmcppflags}" \
57bdca9d
ER
45 OPTLDFLAGS="%{rpmldflags}"
46
47%install
48rm -rf $RPM_BUILD_ROOT
66258312
AM
49install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
50
57bdca9d 51install -p %{name} $RPM_BUILD_ROOT%{_bindir}
d3dac5f9 52cp -ar doc/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
b21877c4 53cp -ar assets dictionaries $RPM_BUILD_ROOT%{_datadir}/%{name}
57bdca9d
ER
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
d3dac5f9 60%doc ChangeLog README doc/*.txt
b73b8d71 61%attr(755,root,root) %{_bindir}/skipfish
66258312
AM
62%{_datadir}/%{name}
63%{_mandir}/man1/%{name}.1*
This page took 0.131689 seconds and 4 git commands to generate.