/[packages]/cauldron/aircrack-ng/releases/1.1/3.mga2/SPECS/aircrack-ng.spec
ViewVC logotype

Annotation of /cauldron/aircrack-ng/releases/1.1/3.mga2/SPECS/aircrack-ng.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 188376 - (hide annotations) (download)
Wed Dec 28 15:47:10 2011 UTC (12 years, 3 months ago) by doktor5000
Original Path: cauldron/aircrack-ng/current/SPECS/aircrack-ng.spec
File size: 1611 byte(s)
- removed obsolete %clean and empty %defattr
- added comments for unstable=true and license of airodump-ng-oui.txt
1 kharec 1183 Name: aircrack-ng
2     Version: 1.1
3 doktor5000 188376 Release: %mkrel 3
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     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 wally 108292 export CFLAGS="%{optflags} -O3"
30     export LDFLAGS="%{ldflags}"
31 doktor5000 188376 # unstable=true needed for wesside-ng, easside-ng, buddy-ng and tkiptun-ng
32     # (also needed in make install)
33 wally 108293 %make -j4 datadir=%{_datadir} unstable=true sqlite=true
34 kharec 1183
35     %install
36     %{__rm} -rf %{buildroot}
37 wally 108292 %makeinstall unstable=true sqlite=true
38 kharec 1183
39 wally 108292 mkdir -p %{buildroot}%{_datadir}/%{name}
40 doktor5000 188376 # License unclear, originates from:
41     # http://standards.ieee.org/regauth/oui/oui.txt
42 wally 108292 touch %{buildroot}%{_datadir}/%{name}/airodump-ng-oui.txt
43    
44     %post
45     %{_sbindir}/airodump-ng-oui-update
46    
47 kharec 1183 %files
48     %doc ChangeLog README AUTHORS VERSION
49     %{_bindir}/*
50     %{_sbindir}/*
51     %{_mandir}/man1/*.1*
52     %dir %{_datadir}/aircrack-ng
53 wally 108292 %ghost %{_datadir}/aircrack-ng/airodump-ng-oui.txt

  ViewVC Help
Powered by ViewVC 1.1.30