1 |
kharec |
1183 |
Name: aircrack-ng |
2 |
|
|
Version: 1.1 |
3 |
|
|
Release: %mkrel 2 |
4 |
|
|
Summary: Reliable 802.11 (wireless) sniffer and WEP key cracker |
5 |
|
|
License: GPLv2+ |
6 |
|
|
Group: Networking/Other |
7 |
|
|
URL: http://www.aircrack-ng.org/doku.php |
8 |
|
|
Source0: http://download.aircrack-ng.org/%{name}-%{version}.tar.gz |
9 |
|
|
Patch0: aircrack-ng-1.1-makefile-fixes.patch |
10 |
|
|
Patch1: aircrack-ng-1.1-airodump-oui-destdir.patch |
11 |
|
|
BuildRequires: openssl-devel |
12 |
|
|
BuildRequires: zlib-devel |
13 |
|
|
BuildRequires: sqlite3-devel |
14 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version} |
15 |
|
|
|
16 |
|
|
%description |
17 |
|
|
aircrack-ng is a set of tools for auditing wireless networks. It's an |
18 |
|
|
enhanced/reborn version of aircrack. It consists of airodump (an 802.11 |
19 |
|
|
packet capture program), aireplay (an 802.11 packet injection program), |
20 |
|
|
aircrack (static WEP and WPA-PSK cracking), airdecap (decrypts WEP/WPA |
21 |
|
|
capture files), and some tools to handle capture files (merge, convert, |
22 |
|
|
etc.). |
23 |
|
|
|
24 |
|
|
%prep |
25 |
|
|
%setup -q |
26 |
|
|
%patch0 -p1 -b .make_makeup~ |
27 |
|
|
%patch1 -p1 -b .oui_destdir~ |
28 |
|
|
|
29 |
|
|
%build |
30 |
|
|
export CFLAGS="%{optflags} -O3" LDFLAGS="%{ldflags}" SQLITE=true UNSTABLE=true |
31 |
|
|
%make datadir=%{_datadir} || make datadir=%{_datadir} |
32 |
|
|
|
33 |
|
|
%install |
34 |
|
|
%{__rm} -rf %{buildroot} |
35 |
|
|
%makeinstall SQLITE=true UNSTABLE=true |
36 |
|
|
DESTDIR=%{buildroot} sh ./scripts/airodump-ng-oui-update |
37 |
|
|
|
38 |
|
|
%clean |
39 |
|
|
%{__rm} -rf %{buildroot} |
40 |
|
|
|
41 |
|
|
%files |
42 |
|
|
%defattr(-,root,root) |
43 |
|
|
%doc ChangeLog README AUTHORS VERSION |
44 |
|
|
%{_bindir}/* |
45 |
|
|
%{_sbindir}/* |
46 |
|
|
%{_mandir}/man1/*.1* |
47 |
|
|
%dir %{_datadir}/aircrack-ng |
48 |
|
|
%{_datadir}/aircrack-ng/airodump-ng-oui.txt |
49 |
|
|
|
50 |
|
|
|