]> git.pld-linux.org Git - packages/skipfish.git/blame - skipfish.spec
- fixed ASSETS_DIR value
[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
2f7693d8 5Version: 2.04
57bdca9d
ER
6Release: 0.%{subver}.%{rel}
7License: Apache v2.0
8Group: Applications/Networking
9Source0: http://skipfish.googlecode.com/files/%{name}-%{version}%{subver}.tgz
2f7693d8 10# Source0-md5: 0126b8173f07b0185f8cccddb62a1c38
57bdca9d
ER
11URL: http://code.google.com/p/skipfish/
12BuildRequires: libidn-devel
13BuildRequires: openssl-devel
b73b8d71 14BuildRequires: sed >= 4.0
57bdca9d
ER
15BuildRequires: zlib-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19A fully automated, active web application security reconnaissance
20tool.
21
22Key features:
23- High speed: pure C code, highly optimized HTTP handling, minimal CPU
24 footprint - easily achieving 2000 requests per second with responsive
25 targets.
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.
32
33%prep
243bc43d 34%setup -q -n %{name}-%{version}%{subver}
57bdca9d
ER
35
36%{__sed} -i -e 's,-O3,$(OPTCFLAGS),' Makefile
37%{__sed} -i -e 's,-L/usr/local/lib/ -L/opt/local/lib,$(OPTLDFLAGS),' Makefile
9a792cbc 38%{__sed} -i -e 's,"assets","%{_datadir}/%{name}/assets",' config.h
57bdca9d
ER
39
40%build
41%{__make} \
42 CC="%{__cc}" \
10522db7 43 OPTCFLAGS="%{rpmcflags} %{rpmcppflags}" \
57bdca9d
ER
44 OPTLDFLAGS="%{rpmldflags}"
45
46%install
47rm -rf $RPM_BUILD_ROOT
66258312
AM
48install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
49
57bdca9d 50install -p %{name} $RPM_BUILD_ROOT%{_bindir}
66258312 51cp -ar %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
b21877c4 52cp -ar assets dictionaries $RPM_BUILD_ROOT%{_datadir}/%{name}
57bdca9d
ER
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc ChangeLog README
b73b8d71 60%attr(755,root,root) %{_bindir}/skipfish
66258312
AM
61%{_datadir}/%{name}
62%{_mandir}/man1/%{name}.1*
This page took 0.086819 seconds and 4 git commands to generate.