]> git.pld-linux.org Git - packages/aircrack-ptw.git/blob - aircrack-ptw.spec
- use optflags
[packages/aircrack-ptw.git] / aircrack-ptw.spec
1 Summary:        Faster then aircrack-ng WEP key cracker
2 Summary(pl.UTF-8):      Szybszy niż aircrack-ng łamacz kluczy WEP
3 Name:           aircrack-ptw
4 Version:        1.0.0
5 Release:        0.1
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  1d7d84d1e69189bc1397db3f565c183a
10 URL:            http://www.cdc.informatik.tu-darmstadt.de/aircrack-ptw/
11 BuildRequires:  libpcap-devel
12 BuildRequires:  sed >= 4.0
13 Requires:       aircrack-ng
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Using this version, it is possible to recover a 104 bit WEP key with
18 probability 50% using just 40,000 captured packets. For 60,000
19 available data packets, the success probability is about 80% and for
20 85,000 data packets about 95%.
21
22 %description -l pl.UTF-8
23 Używając tego oprogramowania istnieje możliwość odzyskania
24 104-bitowego klucza WEP z prawdopodobieństwem 50% przy wykorzystaniu
25 40000 złapanych pakietów. Przy 60000 pakietów prawdopodobieństwo
26 wynosi około 80%, a przy 85000 około 95%.
27
28 %prep
29 %setup -q
30
31 sed -i -e 's/gcc/%{__cc}/;s/-O3/%{rpmcflags}/' Makefile
32
33 %build
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39
40 install aircrack-ptw $RPM_BUILD_ROOT%{_bindir}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README
48 %attr(755,root,root) %{_bindir}/aircrack-ptw
This page took 0.062294 seconds and 4 git commands to generate.