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

Annotation of /obsolete/cauldron/aircrack-ng/current/SPECS/aircrack-ng.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389213 - (hide annotations) (download)
Thu Jan 17 21:29:26 2013 UTC (11 years, 3 months ago) by pterjan
File size: 1680 byte(s)
Drop 
1 kharec 1183 Name: aircrack-ng
2     Version: 1.1
3 umeabot 345354 Release: %mkrel 5
4 kharec 1183 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 guillomovitch 189056 Patch2: aircrack-ng-1.1-ignore-channel-1-error.patch
12 kharec 1183 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 guillomovitch 189056 %patch2 -p1
29 kharec 1183
30     %build
31 wally 108292 export CFLAGS="%{optflags} -O3"
32     export LDFLAGS="%{ldflags}"
33 doktor5000 188376 # unstable=true needed for wesside-ng, easside-ng, buddy-ng and tkiptun-ng
34     # (also needed in make install)
35 wally 108293 %make -j4 datadir=%{_datadir} unstable=true sqlite=true
36 kharec 1183
37     %install
38     %{__rm} -rf %{buildroot}
39 wally 108292 %makeinstall unstable=true sqlite=true
40 kharec 1183
41 wally 108292 mkdir -p %{buildroot}%{_datadir}/%{name}
42 doktor5000 188376 # License unclear, originates from:
43     # http://standards.ieee.org/regauth/oui/oui.txt
44 wally 108292 touch %{buildroot}%{_datadir}/%{name}/airodump-ng-oui.txt
45    
46     %post
47     %{_sbindir}/airodump-ng-oui-update
48    
49 kharec 1183 %files
50     %doc ChangeLog README AUTHORS VERSION
51     %{_bindir}/*
52     %{_sbindir}/*
53     %{_mandir}/man1/*.1*
54     %dir %{_datadir}/aircrack-ng
55 wally 108292 %ghost %{_datadir}/aircrack-ng/airodump-ng-oui.txt

  ViewVC Help
Powered by ViewVC 1.1.30