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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 108293 - (hide annotations) (download)
Thu Jun 16 17:44:46 2011 UTC (13 years, 5 months ago) by wally
File size: 1475 byte(s)
- try make with -j4 (SILENT)

1 kharec 1183 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 wally 108292 export CFLAGS="%{optflags} -O3"
30     export LDFLAGS="%{ldflags}"
31 wally 108293 %make -j4 datadir=%{_datadir} unstable=true sqlite=true
32 kharec 1183
33     %install
34     %{__rm} -rf %{buildroot}
35 wally 108292 %makeinstall unstable=true sqlite=true
36 kharec 1183
37 wally 108292 mkdir -p %{buildroot}%{_datadir}/%{name}
38     touch %{buildroot}%{_datadir}/%{name}/airodump-ng-oui.txt
39    
40 kharec 1183 %clean
41     %{__rm} -rf %{buildroot}
42    
43 wally 108292 %post
44     %{_sbindir}/airodump-ng-oui-update
45    
46 kharec 1183 %files
47     %defattr(-,root,root)
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