Projects
Extra
aircrack-ng
aircrack-ng.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aircrack-ng.spec of Package aircrack-ng
# # spec file for package aircrack-ng # # Copyright (c) 2018 Packman Team <packman@links2linux.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.links2linux.org/ # %bcond_without unstable %bcond_without sqlite Name: aircrack-ng Version: 1.7 Release: 0 Summary: A set of tools for auditing wireless networks License: GPL-2.0-or-later Group: Productivity/Networking/Security URL: https://www.aircrack-ng.org/ Source0: https://download.aircrack-ng.org/%{name}-%{version}.tar.gz Source1: README.SUSE Patch0: aircrack-ng.patch BuildRequires: autoconf BuildRequires: ethtool BuildRequires: expect BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libgcrypt-devel BuildRequires: libpcap-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python3-setuptools BuildRequires: python3-graphviz BuildRequires: pkgconfig(cmocka) BuildRequires: pkgconfig(hwloc) BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(zlib) Requires: wireless-tools #Requires: python3-graphviz %description Aircrack-ng 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, as well as the PTW attack, thus making the attack much faster compared to other WEP cracking tools. In fact, Aircrack-ng is a set of tools for auditing wireless networks. %prep %autosetup -p1 %build find patches/ -type f -exec sed -i 's|\r||g' {} \; cp "%{SOURCE1}" . # Force python3 interpreter sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python3|g' scripts/versuck-ng/versuck-ng # Drop shebang find . -type f -name "lib*Parse.py" -exec sed -i -e '/^#!\//, 1d' {} \; # GCC LTO objects must be "fat" to avoid assembly errors export CFLAGS="-ffat-lto-objects" autoreconf -fiv %configure \ --with-experimental=%{?with_unstable:yes --with-ext-scripts}%{?!with_unstable:no} \ --enable-static=yes \ --enable-shared=no \ --with-sqlite3=%{?with_sqlite:yes}%{?!with_sqlite:no} \ --with-gcrypt \ --enable-libnl %make_build %install %make_install rm patches/old/ieee80211_inject.patch find %{buildroot} -type f \( -name "*.la" -o -name "*.a" \) -delete -print rm -f %{buildroot}%{_prefix}/local/lib/python3*/site-packages/aircrack-ng/air*-install_files.txt # Use correct path for docs install -d %{buildroot}/%{_docdir}/%{name}/ mv -v %{buildroot}%{_datadir}/doc/aircrack-ng/* %{buildroot}/%{_docdir}/%{name}/ # Don't package headers for now rm -rf %{buildroot}%{_includedir}/aircrack-ng/ ## Those belong to python3-graphiz #rm -f %{buildroot}%{python3_sitelib}/graphviz/__init__.py #rm -f %{buildroot}%{python3_sitelib}/graphviz/__pycache__/__init__.cpython-37.pyc ## Drop airgraph-ng until dependecy issues with python-graphviz are fixed rm -rf %{buildroot}%{python3_sitelib}/graphviz/ rm -rf %{buildroot}%{python3_sitelib}/airgraphviz/ rm -rf %{buildroot}%{_bindir}/airgraph-ng #%%check #make check %files %license LICENSE LICENSE.OpenSSL %doc AUTHORS ChangeLog README README.SUSE %doc patches %{_bindir}/aircrack-ng %{_bindir}/airdecap-ng %{_bindir}/airdecloak-ng %doc %{_docdir}/%{name}/Apple.sample.txt %doc %{_docdir}/%{name}/dropRules.conf.example %{_bindir}/airdrop-ng #%{_bindir}/airgraph-ng %{_bindir}/airodump-join %{_bindir}/besside-ng-crawler %{_bindir}/versuck-ng %{_sbindir}/airventriloquist-ng %{_sbindir}/besside-ng %if %{with unstable} %{_bindir}/buddy-ng %{_sbindir}/easside-ng %{_sbindir}/tkiptun-ng %{_sbindir}/wesside-ng %endif %{_bindir}/ivstools %{_bindir}/kstats %{_bindir}/makeivs-ng %{_bindir}/packetforge-ng %{_bindir}/wpaclean %{_sbindir}/airbase-ng %{_sbindir}/aireplay-ng %{_sbindir}/airmon-ng %{_sbindir}/airodump-ng %{_sbindir}/airodump-ng-oui-update %{_sbindir}/airserv-ng %{_sbindir}/airtun-ng %if %{with sqlite} %{_bindir}/airolib-ng %endif %{_mandir}/man1/*.1%{?ext_man} %{_mandir}/man8/*.8%{?ext_man} %{_datadir}/airgraph-ng/ %{python3_sitelib}/airdrop %{python3_sitelib}/airdrop_ng* %{python3_sitelib}/airgraph_ng* %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.