/[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 189056 - (show annotations) (download)
Fri Dec 30 16:04:59 2011 UTC (12 years, 11 months ago) by guillomovitch
File size: 1680 byte(s)
use upstream patch to ignore negative channel issue (#742)
1 Name: aircrack-ng
2 Version: 1.1
3 Release: %mkrel 4
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 Patch2: aircrack-ng-1.1-ignore-channel-1-error.patch
12 BuildRequires: openssl-devel
13 BuildRequires: zlib-devel
14 BuildRequires: sqlite3-devel
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 %patch2 -p1
29
30 %build
31 export CFLAGS="%{optflags} -O3"
32 export LDFLAGS="%{ldflags}"
33 # unstable=true needed for wesside-ng, easside-ng, buddy-ng and tkiptun-ng
34 # (also needed in make install)
35 %make -j4 datadir=%{_datadir} unstable=true sqlite=true
36
37 %install
38 %{__rm} -rf %{buildroot}
39 %makeinstall unstable=true sqlite=true
40
41 mkdir -p %{buildroot}%{_datadir}/%{name}
42 # License unclear, originates from:
43 # http://standards.ieee.org/regauth/oui/oui.txt
44 touch %{buildroot}%{_datadir}/%{name}/airodump-ng-oui.txt
45
46 %post
47 %{_sbindir}/airodump-ng-oui-update
48
49 %files
50 %doc ChangeLog README AUTHORS VERSION
51 %{_bindir}/*
52 %{_sbindir}/*
53 %{_mandir}/man1/*.1*
54 %dir %{_datadir}/aircrack-ng
55 %ghost %{_datadir}/aircrack-ng/airodump-ng-oui.txt

  ViewVC Help
Powered by ViewVC 1.1.30