Sisyphus repository
Last update: 30 november 2020 | SRPMs: 17750 | Visits: 19726526
en ru br
ALT Linux repos
4.1: 0.9.1-alt1
4.0: 0.9.1-alt1

Other repositories

Group :: Networking/Other
RPM: aircrack-ng

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# %%define _unpackaged_files_terminate_build 1

Name: aircrack-ng
Version: 1.6
Release: alt1

Summary: 802.11 WEP and WPA-PSK key recovery program
License: GPLv2+
Group: Networking/Other



Source: %name-%version.tar

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

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.


# 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|' \

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|' \

export PYTHON=%__python3

%configure --with-sqlite3 --with-experimental --with-ext-scripts


%if "%python3_sitelibdir_noarch" != "%python3_sitelibdir"
mkdir -pv %buildroot%python3_sitelibdir
mv %buildroot%python3_sitelibdir_noarch/* %buildroot%python3_sitelibdir/



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin