Sisyphus repository
Last update: 16 february 2020 | SRPMs: 17493 | Visits: 17399275
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.5.2
Release: alt2

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



Source: %name-%version.tar
Patch0: %name-%version-alt-build.patch

BuildRequires: gcc-c++
BuildRequires: libssl-devel libsqlite3-devel
BuildRequires: libnl-devel
BuildRequires: libpcre-devel
BuildRequires: libpcap-devel
BuildRequires: zlib-devel
BuildRequires: ethtool
BuildRequires: python2.7(distutils)

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.

%patch0 -p1

# change python shebangs to python2

find . -name '*.py' | xargs sed -i \
-e '1s|^#!/usr/bin/env python$|#!/usr/bin/env python2|' \
-e '1s|^#!/usr/bin/python$|#!/usr/bin/python2|' \

find scripts -type f | xargs sed -i \
-e '1s|^#!/usr/bin/env python$|#!/usr/bin/env python2|' \
-e '1s|^#!/usr/bin/python$|#!/usr/bin/python2|' \

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


%if "%python_sitelibdir_noarch" != "%python_sitelibdir"
mkdir -pv %buildroot%python_sitelibdir
mv %buildroot%python_sitelibdir_noarch/* %buildroot%python_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