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