]>
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 |
a1116914 SS |
68 | %attr(755,root,root) %{_bindir}/aircrack-ng |
69 | %attr(755,root,root) %{_bindir}/airdecap-ng | |
70 | %attr(755,root,root) %{_bindir}/airdecloak-ng | |
71 | %attr(755,root,root) %{_bindir}/ivstools | |
72 | %attr(755,root,root) %{_bindir}/kstats | |
73 | %attr(755,root,root) %{_bindir}/makeivs-ng | |
74 | %attr(755,root,root) %{_bindir}/packetforge-ng | |
75 | %attr(755,root,root) %{_bindir}/wpaclean | |
76 | %attr(755,root,root) %{_sbindir}/airbase-ng | |
77 | %attr(755,root,root) %{_sbindir}/aireplay-ng | |
78 | %attr(755,root,root) %{_sbindir}/airmon-ng | |
79 | %attr(755,root,root) %{_sbindir}/airodump-ng | |
80 | %attr(755,root,root) %{_sbindir}/airodump-ng-oui-update | |
81 | %attr(755,root,root) %{_sbindir}/airserv-ng | |
82 | %attr(755,root,root) %{_sbindir}/airtun-ng | |
83 | %{_mandir}/man1/aircrack-ng.1* | |
84 | %{_mandir}/man1/airdecap-ng.1* | |
85 | %{_mandir}/man1/airdecloak-ng.1* | |
86 | %{_mandir}/man1/besside-ng-crawler.1* | |
87 | %{_mandir}/man1/ivstools.1* | |
88 | %{_mandir}/man1/kstats.1* | |
89 | %{_mandir}/man1/makeivs-ng.1* | |
90 | %{_mandir}/man1/packetforge-ng.1* | |
91 | %{_mandir}/man1/wpaclean.1* | |
92 | %{_mandir}/man8/airbase-ng.8* | |
93 | %{_mandir}/man8/aireplay-ng.8* | |
94 | %{_mandir}/man8/airmon-ng.8* | |
95 | %{_mandir}/man8/airodump-ng-oui-update.8* | |
96 | %{_mandir}/man8/airodump-ng.8* | |
97 | %{_mandir}/man8/airserv-ng.8* | |
98 | %{_mandir}/man8/airtun-ng.8* | |
99 | %{_mandir}/man8/besside-ng.8* |