]>
Commit | Line | Data |
---|---|---|
8ac129fd | 1 | # |
2 | # TODO: | |
3 | # - PLD it more | |
4 | # - Find more deps | |
fdaae083 | 5 | # - optflags |
74b62dd0 | 6 | # - cflags |
7 | # - sbin/bin - change to bin? | |
a181b2f8 | 8 | # - package airdrop-ng and airgraph-ng |
8ac129fd | 9 | # |
10 | Summary: Reliable 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker | |
1b61970c | 11 | Summary(pl.UTF-8): Pewny sniffer 802.11 (sieci bezprzewodowe) i łamacz kluczy WEP/WPA-PSK |
8ac129fd | 12 | Name: aircrack-ng |
083b3040 SS |
13 | Version: 1.2 |
14 | %define subver rc2 | |
15 | %define rel 0.1 | |
16 | Release: %{subver}.%{rel} | |
8ac129fd | 17 | License: GPL |
18 | Group: Applications/Networking | |
083b3040 SS |
19 | Source0: http://download.aircrack-ng.org/%{name}-%{version}-%{subver}.tar.gz |
20 | # Source0-md5: ebe9d537f06f4d6956213af09c4476da | |
fdaae083 | 21 | URL: http://www.aircrack-ng.org/ |
f8ad8da7 | 22 | BuildRequires: libnl-devel |
8b33c69f | 23 | BuildRequires: openssl-devel |
f8ad8da7 | 24 | BuildRequires: pkgconfig |
8ac129fd | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | aircrack-ng is a set of tools for auditing wireless networks. It's an | |
29 | enhanced/reborn version of aircrack. It consists of airodump-ng (an | |
30 | 802.11 packet capture program), aireplay-ng (an 802.11 packet | |
31 | injection program), aircrack (static WEP and WPA-PSK cracking), | |
32 | airdecap-ng (decrypts WEP/WPA capture files), and some tools to handle | |
33 | capture files (merge, convert, etc.). | |
34 | ||
00504ee3 JR |
35 | %description -l pl.UTF-8 |
36 | aircrack-ng jest zestawem narzędzi do audytów sieci bezprzewodowych. | |
37 | Jest to ulepszona/odnowiona wersja aircracka. Składa sie z programów | |
38 | airodump-ng (do przechwytywania pakietów 802.11), aireplay-ng (do | |
39 | wstrzykiwania pakietów 802.11), aircrack (do statycznego łamania WEP i | |
40 | WPA-PSK), airdecap-ng (do odszyfrowywania przechwyconych plików | |
41 | WEP/WPA) i paru narzędzi do obsługi plików przechwytów (merge, | |
fdaae083 | 42 | convert, etc.). |
8ac129fd | 43 | |
44 | %prep | |
215cb537 | 45 | %setup -q -n %{name}-%{version}-%{subver} |
8ac129fd | 46 | |
eaff7cfd AM |
47 | sed -i -e 's#-Werror -O3#$(PLDFLAGS)#g' common.mak |
48 | ||
8ac129fd | 49 | %build |
5c6bb606 | 50 | %{__make} -j1 \ |
eaff7cfd AM |
51 | CC="%{__cc}" \ |
52 | PLDFLAGS="%{rpmcppflags} %{rpmcflags}" | |
8ac129fd | 53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
fdaae083 | 56 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
8ac129fd | 57 | |
74b62dd0 | 58 | %{__make} install \ |
59 | prefix=%{_prefix} \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
8ac129fd | 61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
69aba94a | 67 | %doc AUTHORS ChangeLog README test patches |
a181b2f8 | 68 | %attr(755,root,root) %{_bindir}/* |
69 | %attr(755,root,root) %{_sbindir}/* | |
70 | %{_mandir}/man1/* |