Package aircrack-ng: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | %define _unpackaged_files_terminate_build 1 Name: aircrack-ng Version: 1.6 Release: alt2 Summary: 802.11 WEP and WPA-PSK key recovery program License: GPLv2+ Group: Networking/Other Url: http://aircrack-ng.org # https://github.com/aircrack-ng/aircrack-ng.git Source: %name-%version.tar Patch0: %name-%version-alt-build.patch BuildRequires(pre): rpm-build-python3 BuildRequires: gcc-c++ BuildRequires: libssl-devel libsqlite3-devel BuildRequires: libnl-devel BuildRequires: libpcre-devel BuildRequires: libpcap-devel BuildRequires: zlib-devel BuildRequires: ethtool Requires: iw rfkill ethtool %description Aircrack is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured. It implements the standard FMS attack along with some optimizations like KoreK attacks, thus making the attack much faster compared to other WEP cracking tools. In fact aircrack is a set of tools for auditing wireless networks. %package devel Group: Development/C++ Summary: Development files for %name %description devel Development files for %name %prep %setup %patch0 -p1 # change python shebangs to python3 find . -name '*.py' | xargs sed -i \ -e '1s|^#!/usr/bin/env python$|#!/usr/bin/env python3|' \ -e '1s|^#!/usr/bin/python$|#!/usr/bin/python3|' \ %nil find scripts -type f | xargs sed -i \ -e '1s|^#!/usr/bin/env python$|#!/usr/bin/env python3|' \ -e '1s|^#!/usr/bin/python$|#!/usr/bin/python3|' \ %nil %build export PYTHON=%__python3 %autoreconf %configure --with-sqlite3 --with-experimental --with-ext-scripts %make_build %install %makeinstall_std %if "%python3_sitelibdir_noarch" != "%python3_sitelibdir" mkdir -pv %buildroot%python3_sitelibdir mv %buildroot%python3_sitelibdir_noarch/* %buildroot%python3_sitelibdir/ %endif %files %_bindir/* %_sbindir/* %_libdir/*.so* %_man1dir/* %_man8dir/* %python3_sitelibdir/* %_defaultdocdir/%name %files devel %_includedir/* %changelog * Fri Dec 04 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 1.6-alt2 - Fixed build with -fno-common. - Introduced %name-devel package. * Tue Mar 24 2020 Andrey Bychkov <mrdrew@altlinux.org> 1.6-alt1 - Version updated to 1.6 - porting to python3. * Tue Dec 17 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 1.5.2-alt2 - Fixed build with python. * Tue Jan 22 2019 Egor Zotov <egorz@altlinux.org> 1.5.2-alt1 - Update to upstream version 1.5.2 - Don't install airgraph-ng * Thu Sep 06 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.3-alt1 - Updated to upstream version 1.3. * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.1-alt2.qa1 - NMU: rebuilt for debuginfo. * Tue Dec 21 2010 Timur Aitov <timonbl4@altlinux.org> 1.1-alt2 - Add iw in dependence * Tue Oct 12 2010 Timur Aitov <timonbl4@altlinux.org> 1.1-alt1 - new version * Sun Oct 04 2009 Andrey Rahmatullin <wrar@altlinux.ru> 1.0-alt3 - fix installing of airolib-ng * Tue Sep 08 2009 Andrey Rahmatullin <wrar@altlinux.ru> 1.0-alt2 - 1.0 * Sat Aug 15 2009 Andrey Rahmatullin <wrar@altlinux.ru> 1.0-alt1.rc4 - 1.0-rc4 * Thu May 28 2009 Andrey Rahmatullin <wrar@altlinux.ru> 1.0-alt1.rc3 - 1.0-rc3 * Sun Mar 01 2009 Maxim Ivaniv <redbaron at altlinux.org> 1.0-alt1.rc2 - Version bump to 1.0-rc2 * Mon Jul 30 2007 Alex V. Myltsev <avm@altlinux.ru> 0.9.1-alt1 - new version: critical security fix (remote execution), please upgrade - more attacks, better SMP handling, bug fixes * Thu Apr 12 2007 Alex V. Myltsev <avm@altlinux.ru> 0.7-alt1 - 0.7: many new features/attacks, bug fixes. * Wed Nov 22 2006 Alex V. Myltsev <avm@altlinux.ru> 0.6.2-alt1 - 0.6.2: bug fixes. arpforge-ng is replaced by packetforge-ng. * Fri Sep 22 2006 Alex V. Myltsev <avm@altlinux.ru> 0.6.1-alt1 - Initial build for Sisyphus. |