]>
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? | |
8ac129fd | 8 | # |
9 | Summary: Reliable 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker | |
1b61970c | 10 | Summary(pl.UTF-8): Pewny sniffer 802.11 (sieci bezprzewodowe) i łamacz kluczy WEP/WPA-PSK |
8ac129fd | 11 | Name: aircrack-ng |
74b62dd0 | 12 | Version: 1.0 |
8ba81da0 | 13 | Release: 2 |
8ac129fd | 14 | License: GPL |
15 | Group: Applications/Networking | |
de49c55d | 16 | Source0: http://download.aircrack-ng.org/%{name}-%{version}.tar.gz |
17 | # Source0-md5: dafbfaf944ca9d523fde4bae86f0c067 | |
74b62dd0 | 18 | Patch0: %{name}-mandir.patch |
fdaae083 | 19 | URL: http://www.aircrack-ng.org/ |
8ac129fd | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | aircrack-ng is a set of tools for auditing wireless networks. It's an | |
24 | enhanced/reborn version of aircrack. It consists of airodump-ng (an | |
25 | 802.11 packet capture program), aireplay-ng (an 802.11 packet | |
26 | injection program), aircrack (static WEP and WPA-PSK cracking), | |
27 | airdecap-ng (decrypts WEP/WPA capture files), and some tools to handle | |
28 | capture files (merge, convert, etc.). | |
29 | ||
00504ee3 JR |
30 | %description -l pl.UTF-8 |
31 | aircrack-ng jest zestawem narzędzi do audytów sieci bezprzewodowych. | |
32 | Jest to ulepszona/odnowiona wersja aircracka. Składa sie z programów | |
33 | airodump-ng (do przechwytywania pakietów 802.11), aireplay-ng (do | |
34 | wstrzykiwania pakietów 802.11), aircrack (do statycznego łamania WEP i | |
35 | WPA-PSK), airdecap-ng (do odszyfrowywania przechwyconych plików | |
36 | WEP/WPA) i paru narzędzi do obsługi plików przechwytów (merge, | |
fdaae083 | 37 | convert, etc.). |
8ac129fd | 38 | |
39 | %prep | |
de49c55d | 40 | %setup -q |
74b62dd0 | 41 | %patch0 -p1 |
8ac129fd | 42 | |
eaff7cfd AM |
43 | sed -i -e 's#-Werror -O3#$(PLDFLAGS)#g' common.mak |
44 | ||
8ac129fd | 45 | %build |
69aba94a | 46 | %{__make} \ |
eaff7cfd AM |
47 | CC="%{__cc}" \ |
48 | PLDFLAGS="%{rpmcppflags} %{rpmcflags}" | |
8ac129fd | 49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
fdaae083 | 52 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
8ac129fd | 53 | |
74b62dd0 | 54 | %{__make} install \ |
55 | prefix=%{_prefix} \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
8ac129fd | 57 | |
74b62dd0 | 58 | echo MANDIR %{mandir} |
8ac129fd | 59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
69aba94a | 64 | %doc AUTHORS ChangeLog README test patches |
8ac129fd | 65 | %attr(755,root,root) %{_bindir}/aircrack-ng |
66 | %attr(755,root,root) %{_bindir}/airdecap-ng | |
eaff7cfd | 67 | %attr(755,root,root) %{_bindir}/airdecloak-ng |
8ac129fd | 68 | %attr(755,root,root) %{_bindir}/ivstools |
bb33a027 | 69 | %attr(755,root,root) %{_bindir}/kstats |
74b62dd0 | 70 | %attr(755,root,root) %{_bindir}/makeivs-ng |
bb33a027 | 71 | %attr(755,root,root) %{_bindir}/packetforge-ng |
74b62dd0 | 72 | %attr(755,root,root) %{_sbindir}/airbase-ng |
73 | %attr(755,root,root) %{_sbindir}/airdriver-ng | |
74 | %attr(755,root,root) %{_sbindir}/aireplay-ng | |
75 | %attr(755,root,root) %{_sbindir}/airmon-ng | |
76 | %attr(755,root,root) %{_sbindir}/airodump-ng | |
eaff7cfd | 77 | %attr(755,root,root) %{_sbindir}/airodump-ng-oui-update |
74b62dd0 | 78 | %attr(755,root,root) %{_sbindir}/airserv-ng |
79 | %attr(755,root,root) %{_sbindir}/airtun-ng | |
eaff7cfd | 80 | %{_mandir}/man1/airbase-ng.1* |
fdaae083 JB |
81 | %{_mandir}/man1/aircrack-ng.1* |
82 | %{_mandir}/man1/airdecap-ng.1* | |
eaff7cfd | 83 | %{_mandir}/man1/airdecloak-ng.1* |
74b62dd0 | 84 | %{_mandir}/man1/airdriver-ng.1* |
fdaae083 | 85 | %{_mandir}/man1/aireplay-ng.1* |
fdaae083 | 86 | %{_mandir}/man1/airmon-ng.1* |
bb33a027 | 87 | %{_mandir}/man1/airodump-ng.1* |
eaff7cfd | 88 | %{_mandir}/man1/airserv-ng.1* |
74b62dd0 | 89 | %{_mandir}/man1/airtun-ng.1* |
fdaae083 | 90 | %{_mandir}/man1/ivstools.1* |
bb33a027 | 91 | %{_mandir}/man1/kstats.1* |
74b62dd0 | 92 | %{_mandir}/man1/makeivs-ng.1* |
bb33a027 | 93 | %{_mandir}/man1/packetforge-ng.1* |