%define prerel rc1 %define rel 3 Name: aircrack-ng Version: 1.2 Release: %mkrel -c %{prerel} %{rel} Summary: Reliable 802.11 (wireless) sniffer and WEP key cracker License: GPLv2+ Group: Networking/Other URL: http://www.aircrack-ng.org/doku.php Source0: http://download.aircrack-ng.org/%{name}-%{version}%{?prerel:-%prerel}.tar.gz #fix the fix of Bug 14557 Patch0: aircrack-1.2rc1-assert.patch BuildRequires: openssl-devel BuildRequires: zlib-devel BuildRequires: sqlite3-devel BuildRequires: libnl3-devel %description aircrack-ng is a set of tools for auditing wireless networks. It's an enhanced/reborn version of aircrack. It consists of airodump (an 802.11 packet capture program), aireplay (an 802.11 packet injection program), aircrack (static WEP and WPA-PSK cracking), airdecap (decrypts WEP/WPA capture files), and some tools to handle capture files (merge, convert, etc.). %prep %setup -qn %{name}-%{version}%{?prerel:-%prerel} %autopatch -p1 %build export CFLAGS="%{optflags} -O3" export LDFLAGS="%{ldflags}" # unstable=true needed for wesside-ng, easside-ng, buddy-ng and tkiptun-ng # (also needed in make install) %make -j4 datadir=%{_datadir} unstable=true sqlite=true %install %makeinstall unstable=true sqlite=true mkdir -p %{buildroot}%{_datadir}/%{name} # License unclear, originates from: # http://standards.ieee.org/regauth/oui/oui.txt touch %{buildroot}%{_datadir}/%{name}/airodump-ng-oui.txt # move manual pages to a correct location mkdir -p %{buildroot}%{_mandir}/man1 mv %{buildroot}%{_mandir}/*.1 %{buildroot}%{_mandir}/man1/ # 1.2-rc1 no longer produces %%{_sbindir}/airdriver-ng, so remove its manpage rm -f %{buildroot}%{_mandir}/man8/airdriver-ng.8* %post %{_sbindir}/airodump-ng-oui-update %files %doc ChangeLog README AUTHORS VERSION %{_bindir}/* %{_sbindir}/* %{_mandir}/man?/* %dir %{_datadir}/aircrack-ng %ghost %{_datadir}/aircrack-ng/airodump-ng-oui.txt %changelog * Tue Feb 09 2016 umeabot <umeabot> 1.2-0.rc1.3.mga6 + Revision: 952021 - Mageia 6 Mass Rebuild * Tue Jan 13 2015 eatdirt <eatdirt> 1.2-0.rc1.2.mga5 + Revision: 810456 - Do not abort for zero length calls to net_get() (14557) * Fri Nov 14 2014 luigiwalser <luigiwalser> 1.2-0.rc1.1.mga5 + Revision: 797266 - 1.2-rc1 (fixes CVE-2014-832[1-4]) * Wed Oct 15 2014 umeabot <umeabot> 1.2-0.beta2.3.mga5 + Revision: 749141 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.2-0.beta2.2.mga5 + Revision: 677722 - Mageia 5 Mass Rebuild * Sun Mar 02 2014 vaci0 <vaci0> 1.2-0.beta2.1.mga5 + Revision: 598603 - Update to new version * Mon Oct 21 2013 umeabot <umeabot> 1.1-7.mga4 + Revision: 539676 - Mageia 4 Mass Rebuild * Mon Oct 07 2013 luigiwalser <luigiwalser> 1.1-6.mga4 + Revision: 492693 - add patch from gentoo to fix CVE-2010-1159 * Fri Jan 11 2013 umeabot <umeabot> 1.1-5.mga3 + Revision: 345354 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Dec 30 2011 guillomovitch <guillomovitch> 1.1-4.mga2 + Revision: 189056 - use upstream patch to ignore negative channel issue (#742) * Wed Dec 28 2011 doktor5000 <doktor5000> 1.1-3.mga2 + Revision: 188376 - removed obsolete %%clean and empty %%defattr - added comments for unstable=true and license of airodump-ng-oui.txt * Thu Jun 16 2011 wally <wally> 1.1-2.mga2 + Revision: 108293 - sync patches with Mdv - install wesside-ng and some other unstable utils too (mdv#61298) - run airodump-ng-oui-update in %%post + ennael <ennael> - clean spec file + kharec <kharec> - imported package aircrack-ng * Thu Aug 05 2010 Per Ãyvind Karlsen <peroyvind@mandriva.org> 1.1-2mdv2011.0 + Revision: 566451 - work around kinda broken parallell build - really fix path to oui data file * build unstable utils as well - fix path of oui data, and download it during %%install -DHAVE_REGEXP has to be passed to preprocessor to have any effect, not linker... - ditch redundant docs.. - fix mandir and make use of pkg-config etc. in makefiles (P0) - build with sqlite support - cosmetics * don't lower upstream -O3 optimizations * Sun Apr 25 2010 Funda Wang <fwang@mandriva.org> 1.1-1mdv2010.1 + Revision: 538569 - New version 1.1 * Wed Apr 21 2010 Funda Wang <fwang@mandriva.org> 1.0-2mdv2010.1 + Revision: 537607 - rebuild * Wed Sep 09 2009 Pascal Terjan <pterjan@mandriva.org> 1.0-1mdv2010.0 + Revision: 434936 - Update to 1.0 final * Mon Aug 03 2009 Frederik Himpe <fhimpe@mandriva.org> 1.0-0.rc.4.2mdv2010.0 + Revision: 408569 - Disable parallel make to fix build - Update to new version 1.0-rc4 - Remove patch integrated upstream * Thu Mar 12 2009 Emmanuel Andry <eandry@mandriva.org> 1.0-0.rc2.1mdv2009.1 + Revision: 354287 - fix 64 bits build with gentoo patch - New version 1.0 rc2 - drop patches (merged upstream) - fix license * Fri Dec 26 2008 Pascal Terjan <pterjan@mandriva.org> 1.0-0.rc1.1mdv2009.1 + Revision: 319499 - BuildRequires zlib-devel - BuildRequires openssl-devel - Update to 1.0-rc1 * Wed Jul 23 2008 Thierry Vignaud <tv@mandriva.org> 0.9.3-3mdv2009.0 + Revision: 243049 - rebuild - rebuild * Sat Mar 01 2008 Michael Scherer <misc@mandriva.org> 0.9.3-1mdv2008.1 + Revision: 177233 - update to new version 0.9.3 * Wed Feb 06 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.2-1mdv2008.1 + Revision: 162976 - update to new version 0.9.2 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Fri Jul 27 2007 Pascal Terjan <pterjan@mandriva.org> 0.9.1-1mdv2008.0 + Revision: 56245 - update to new version 0.9.1 * Wed May 23 2007 Per Ãyvind Karlsen <peroyvind@mandriva.org> 0.9-1mdv2008.0 + Revision: 30215 - update to 0.9 * Fri Apr 27 2007 Lenny Cartier <lenny@mandriva.org> 0.8-1mdv2008.0 + Revision: 18543 - Update to 0.8 * Sun Jan 21 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.7-1mdv2007.0 + Revision: 111232 - new version * Wed Nov 15 2006 Lenny Cartier <lenny@mandriva.com> 0.6.2-1mdv2007.1 + Revision: 84554 - Update to 0.6.2 - Import aircrack-ng * Tue Aug 29 2006 Lenny Cartier <lenny@mandriva.com> 0.6.1-1mdv2007.0 - 0.6.1 * Tue Jun 27 2006 Austin Acton <austin@mandriva.org> 0.6-1mdk - New release 0.6 - build opts * Wed May 10 2006 Lenny Cartier <lenny@mandriva.com> 0.5-1mdk - new