4 # - sbin/bin - change to bin?
5 # - finish ext_scripts bcond:
6 # -- check python related BR and R
7 # -- fix packaging python releated stuff
8 # -- create subpackage for airoscript
9 # -- fix directory for airoscript*.conf files
10 # -- fix installation of airoscript desktop files
13 %bcond_without sqlite # build without sqlite support
14 %bcond_without experimental
15 %bcond_with ext_scripts # build with extra scripts (NFY)
18 Summary: Reliable 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker
19 Summary(pl.UTF-8): Pewny sniffer 802.11 (sieci bezprzewodowe) i łamacz kluczy WEP/WPA-PSK
24 Group: Applications/Networking
25 Source0: http://download.aircrack-ng.org/%{name}-%{version}.tar.gz
26 # Source0-md5: a918ea7146f91d8c799fb770c38f4bec
27 URL: http://www.aircrack-ng.org/
28 BuildRequires: autoconf
29 BuildRequires: automake
30 BuildRequires: cmocka-devel
31 BuildRequires: ethtool
32 BuildRequires: hwloc-devel
33 BuildRequires: libgcrypt-devel >= 1.2.0
34 BuildRequires: libnl-devel
35 BuildRequires: libpcap-devel
36 BuildRequires: libtool
37 BuildRequires: openssl-devel
38 BuildRequires: pcre-devel
39 BuildRequires: pkgconfig
40 BuildRequires: python3-graphviz
41 BuildRequires: python3-setuptools
42 %{?with_sqlite:BuildRequires: sqlite3-devel}
43 BuildRequires: zlib-devel
47 Requires: python3-graphviz
49 Requires: wireless-tools
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 aircrack-ng is a set of tools for auditing wireless networks. It's an
54 enhanced/reborn version of aircrack. It consists of airodump-ng (an
55 802.11 packet capture program), aireplay-ng (an 802.11 packet
56 injection program), aircrack (static WEP and WPA-PSK cracking),
57 airdecap-ng (decrypts WEP/WPA capture files), and some tools to handle
58 capture files (merge, convert, etc.).
60 %description -l pl.UTF-8
61 aircrack-ng jest zestawem narzędzi do audytów sieci bezprzewodowych.
62 Jest to ulepszona/odnowiona wersja aircracka. Składa sie z programów
63 airodump-ng (do przechwytywania pakietów 802.11), aireplay-ng (do
64 wstrzykiwania pakietów 802.11), aircrack (do statycznego łamania WEP i
65 WPA-PSK), airdecap-ng (do odszyfrowywania przechwyconych plików
66 WEP/WPA) i paru narzędzi do obsługi plików przechwytów (merge,
70 Summary: Development files for %{name}
71 Summary(pl.UTF-8): Pliki deweloperskie dla %{name}
72 Group: Development/Libraries
73 Requires: %{name} = %{version}
76 Development files for %{name}.
78 %description devel -l pl.UTF-8
79 Pliki deweloperskie dla %{name}
83 # Force python3 interpreter
84 sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python3|g' scripts/versuck-ng/versuck-ng
87 # GCC LTO objects must be "fat" to avoid assembly errors
88 export CFLAGS="-ffat-lto-objects -fcommon"
91 %{__aclocal} -I build/m4/stubs -I build/m4
96 ETHTOOL=/sbin/ethtool \
99 --with%{!?with_experimental:out}-experimental \
100 --with%{!?with_ext_scripts:out}-ext-scripts \
101 --with-%{!?with_sqlite:out}-sqlite3 \
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
110 DESTDIR=$RPM_BUILD_ROOT
112 find $RPM_BUILD_ROOT -type f \( -name "*.la" -o -name "*.a" \) -delete -print
115 rm -rf $RPM_BUILD_ROOT
117 %post -p /sbin/ldconfig
118 %postun -p /sbin/ldconfig
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog README test patches
123 %attr(755,root,root) %{_bindir}/aircrack-ng
124 %attr(755,root,root) %{_bindir}/airdecap-ng
125 %attr(755,root,root) %{_bindir}/airdecloak-ng
126 %{?with_sqlite:%attr(755,root,root) %{_bindir}/airolib-ng}
127 %attr(755,root,root) %{_bindir}/ivstools
128 %attr(755,root,root) %{_bindir}/kstats
129 %attr(755,root,root) %{_bindir}/makeivs-ng
130 %attr(755,root,root) %{_bindir}/packetforge-ng
131 %attr(755,root,root) %{_bindir}/wpaclean
132 %attr(755,root,root) %{_sbindir}/airbase-ng
133 %attr(755,root,root) %{_sbindir}/aireplay-ng
134 %attr(755,root,root) %{_sbindir}/airmon-ng
135 %attr(755,root,root) %{_sbindir}/airodump-ng
136 %attr(755,root,root) %{_sbindir}/airodump-ng-oui-update
137 %attr(755,root,root) %{_sbindir}/airventriloquist-ng
138 %attr(755,root,root) %{_sbindir}/airserv-ng
139 %attr(755,root,root) %{_sbindir}/airtun-ng
140 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa-%{lib_ver}.so
141 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa.so
142 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa-x86-avx-%{lib_ver}.so
143 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa-x86-avx2-%{lib_ver}.so
144 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa-x86-avx2.so
145 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa-x86-avx.so
146 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa-x86-sse2-%{lib_ver}.so
147 %attr(755,root,root) %{_libdir}/libaircrack-ce-wpa-x86-sse2.so
148 %attr(755,root,root) %{_libdir}/libaircrack-osdep-%{lib_ver}.so
149 %attr(755,root,root) %{_libdir}/libaircrack-osdep.so
151 %{_mandir}/man1/aircrack-ng.1*
152 %{_mandir}/man1/airdecap-ng.1*
153 %{_mandir}/man1/airdecloak-ng.1*
154 %{?with_sqlite:%{_mandir}/man1/airolib-ng.1*}
155 %{_mandir}/man1/besside-ng-crawler.1*
156 %{_mandir}/man1/ivstools.1*
157 %{_mandir}/man1/kstats.1*
158 %{_mandir}/man1/makeivs-ng.1*
159 %{_mandir}/man1/packetforge-ng.1*
160 %{_mandir}/man1/wpaclean.1*
161 %{_mandir}/man8/airbase-ng.8*
162 %{_mandir}/man8/aireplay-ng.8*
163 %{_mandir}/man8/airventriloquist-ng.8*
164 %{_mandir}/man8/airmon-ng.8*
165 %{_mandir}/man8/airodump-ng-oui-update.8*
166 %{_mandir}/man8/airodump-ng.8*
167 %{_mandir}/man8/airserv-ng.8*
168 %{_mandir}/man8/airtun-ng.8*
170 %if %{with experimental}
171 %attr(755,root,root) %{_bindir}/besside-ng-crawler
172 %attr(755,root,root) %{_bindir}/buddy-ng
173 %attr(755,root,root) %{_sbindir}/besside-ng
174 %attr(755,root,root) %{_sbindir}/easside-ng
175 %attr(755,root,root) %{_sbindir}/tkiptun-ng
176 %attr(755,root,root) %{_sbindir}/wesside-ng
177 %{_mandir}/man1/buddy-ng.1*
178 %{_mandir}/man8/besside-ng.8*
179 %{_mandir}/man8/easside-ng.8*
180 %{_mandir}/man8/tkiptun-ng.8*
181 %{_mandir}/man8/wesside-ng.8*
185 %defattr(644,root,root,755)
186 %{_includedir}/%{name}