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

Contents of /updates/3/aircrack-ng/current/SPECS/aircrack-ng.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 797268 - (show annotations) (download)
Fri Nov 14 21:01:22 2014 UTC (9 years, 5 months ago) by luigiwalser
File size: 1994 byte(s)
add upstream patches to fix CVE-2014-832[2-4]
1 Name: aircrack-ng
2 Version: 1.1
3 %define subrel 2
4 Release: %mkrel 5
5 Summary: Reliable 802.11 (wireless) sniffer and WEP key cracker
6 License: GPLv2+
7 Group: Networking/Other
8 URL: http://www.aircrack-ng.org/doku.php
9 Source0: http://download.aircrack-ng.org/%{name}-%{version}.tar.gz
10 Patch0: aircrack-ng-1.1-makefile-fixes.patch
11 Patch1: aircrack-ng-1.1-airodump-oui-destdir.patch
12 Patch2: aircrack-ng-1.1-ignore-channel-1-error.patch
13 Patch3: aircrack-ng-1.1-CVE-2010-1159.patch
14 Patch4: aircrack-ng-1.1-CVE-2014-8322.patch
15 Patch5: aircrack-ng-1.1-CVE-2014-8323.patch
16 Patch6: aircrack-ng-1.1-CVE-2014-8324.patch
17 BuildRequires: openssl-devel
18 BuildRequires: zlib-devel
19 BuildRequires: sqlite3-devel
20
21 %description
22 aircrack-ng is a set of tools for auditing wireless networks. It's an
23 enhanced/reborn version of aircrack. It consists of airodump (an 802.11
24 packet capture program), aireplay (an 802.11 packet injection program),
25 aircrack (static WEP and WPA-PSK cracking), airdecap (decrypts WEP/WPA
26 capture files), and some tools to handle capture files (merge, convert,
27 etc.).
28
29 %prep
30 %setup -q
31 %patch0 -p1 -b .make_makeup~
32 %patch1 -p1 -b .oui_destdir~
33 %patch2 -p1
34 %patch3 -p0 -b .CVE-2010-1159
35 %patch4 -p1 -b .CVE-2014-8322
36 %patch5 -p1 -b .CVE-2014-8323
37 %patch6 -p1 -b .CVE-2014-8324
38
39 %build
40 export CFLAGS="%{optflags} -O3"
41 export LDFLAGS="%{ldflags}"
42 # unstable=true needed for wesside-ng, easside-ng, buddy-ng and tkiptun-ng
43 # (also needed in make install)
44 %make -j4 datadir=%{_datadir} unstable=true sqlite=true
45
46 %install
47 %{__rm} -rf %{buildroot}
48 %makeinstall unstable=true sqlite=true
49
50 mkdir -p %{buildroot}%{_datadir}/%{name}
51 # License unclear, originates from:
52 # http://standards.ieee.org/regauth/oui/oui.txt
53 touch %{buildroot}%{_datadir}/%{name}/airodump-ng-oui.txt
54
55 %post
56 %{_sbindir}/airodump-ng-oui-update
57
58 %files
59 %doc ChangeLog README AUTHORS VERSION
60 %{_bindir}/*
61 %{_sbindir}/*
62 %{_mandir}/man1/*.1*
63 %dir %{_datadir}/aircrack-ng
64 %ghost %{_datadir}/aircrack-ng/airodump-ng-oui.txt

  ViewVC Help
Powered by ViewVC 1.1.30