/[packages]/cauldron/aircrack-ng/current/SPECS/aircrack-ng.spec
ViewVC logotype

Contents of /cauldron/aircrack-ng/current/SPECS/aircrack-ng.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 89727 - (show annotations) (download)
Fri Apr 22 13:43:06 2011 UTC (13 years, 5 months ago) by ennael
File size: 1401 byte(s)
clean spec file

1 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
15 %description
16 aircrack-ng is a set of tools for auditing wireless networks. It's an
17 enhanced/reborn version of aircrack. It consists of airodump (an 802.11
18 packet capture program), aireplay (an 802.11 packet injection program),
19 aircrack (static WEP and WPA-PSK cracking), airdecap (decrypts WEP/WPA
20 capture files), and some tools to handle capture files (merge, convert,
21 etc.).
22
23 %prep
24 %setup -q
25 %patch0 -p1 -b .make_makeup~
26 %patch1 -p1 -b .oui_destdir~
27
28 %build
29 export CFLAGS="%{optflags} -O3" LDFLAGS="%{ldflags}" SQLITE=true UNSTABLE=true
30 %make datadir=%{_datadir} || make datadir=%{_datadir}
31
32 %install
33 %{__rm} -rf %{buildroot}
34 %makeinstall SQLITE=true UNSTABLE=true
35 DESTDIR=%{buildroot} sh ./scripts/airodump-ng-oui-update
36
37 %clean
38 %{__rm} -rf %{buildroot}
39
40 %files
41 %defattr(-,root,root)
42 %doc ChangeLog README AUTHORS VERSION
43 %{_bindir}/*
44 %{_sbindir}/*
45 %{_mandir}/man1/*.1*
46 %dir %{_datadir}/aircrack-ng
47 %{_datadir}/aircrack-ng/airodump-ng-oui.txt
48
49

  ViewVC Help
Powered by ViewVC 1.1.30