]> git.pld-linux.org Git - packages/aircrack-ng.git/blame - aircrack-ng.spec
more TODO about ext_scripts
[packages/aircrack-ng.git] / aircrack-ng.spec
CommitLineData
8ac129fd 1#
2# TODO:
3# - PLD it more
74b62dd0 4# - sbin/bin - change to bin?
41e6054e
SS
5# - finish ext_scripts bcond:
6# -- check python related BR and R
7# -- fix packaging python releated stuff
8# -- create subpackage for airoscript
9# -- fix directory for airoscript*.conf files
10# -- fix installation of airoscript desktop files
8ac129fd 11#
05fa9722
SS
12# Conditional build:
13%bcond_without sqlite # build without sqlite support
14%bcond_without pcre # build without pcre support
15%bcond_without experimental
9a781134 16%bcond_with ext_scripts # build with extra scripts (NFY)
05fa9722 17#
8ac129fd 18Summary: Reliable 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker
1b61970c 19Summary(pl.UTF-8): Pewny sniffer 802.11 (sieci bezprzewodowe) i łamacz kluczy WEP/WPA-PSK
8ac129fd 20Name: aircrack-ng
083b3040
SS
21Version: 1.2
22%define subver rc2
23%define rel 0.1
24Release: %{subver}.%{rel}
8ac129fd 25License: GPL
26Group: Applications/Networking
083b3040
SS
27Source0: http://download.aircrack-ng.org/%{name}-%{version}-%{subver}.tar.gz
28# Source0-md5: ebe9d537f06f4d6956213af09c4476da
fdaae083 29URL: http://www.aircrack-ng.org/
b235dc0a 30Patch0: install.patch
f377f5bd 31Patch1: pldflags.patch
f8ad8da7 32BuildRequires: libnl-devel
8b33c69f 33BuildRequires: openssl-devel
f8ad8da7 34BuildRequires: pkgconfig
05fa9722
SS
35%{?with_pcre:BuildRequires: pcre-devel}
36%{?with_sqlite:BuildRequires: sqlite3-devel}
8ac129fd 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40aircrack-ng is a set of tools for auditing wireless networks. It's an
41enhanced/reborn version of aircrack. It consists of airodump-ng (an
42802.11 packet capture program), aireplay-ng (an 802.11 packet
43injection program), aircrack (static WEP and WPA-PSK cracking),
44airdecap-ng (decrypts WEP/WPA capture files), and some tools to handle
45capture files (merge, convert, etc.).
46
00504ee3
JR
47%description -l pl.UTF-8
48aircrack-ng jest zestawem narzędzi do audytów sieci bezprzewodowych.
49Jest to ulepszona/odnowiona wersja aircracka. Składa sie z programów
50airodump-ng (do przechwytywania pakietów 802.11), aireplay-ng (do
51wstrzykiwania pakietów 802.11), aircrack (do statycznego łamania WEP i
52WPA-PSK), airdecap-ng (do odszyfrowywania przechwyconych plików
53WEP/WPA) i paru narzędzi do obsługi plików przechwytów (merge,
fdaae083 54convert, etc.).
8ac129fd 55
56%prep
215cb537 57%setup -q -n %{name}-%{version}-%{subver}
b235dc0a 58%patch0 -p1
f377f5bd 59%patch1 -p1
eaff7cfd 60
8ac129fd 61%build
5c6bb606 62%{__make} -j1 \
05fa9722
SS
63 %{?with_experimental: experimental=true} \
64 %{?with_ext_scripts: ext_scripts=true} \
65 %{?with_pcre: pcre=true} \
66 %{?with_sqlite: sqlite=true} \
eaff7cfd
AM
67 CC="%{__cc}" \
68 PLDFLAGS="%{rpmcppflags} %{rpmcflags}"
8ac129fd 69
70%install
71rm -rf $RPM_BUILD_ROOT
fdaae083 72install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
8ac129fd 73
74b62dd0 74%{__make} install \
05fa9722
SS
75 %{?with_experimental: experimental=true} \
76 %{?with_ext_scripts: ext_scripts=true} \
77 %{?with_pcre: pcre=true} \
78 %{?with_sqlite: sqlite=true} \
74b62dd0 79 prefix=%{_prefix} \
80 DESTDIR=$RPM_BUILD_ROOT
8ac129fd 81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
69aba94a 87%doc AUTHORS ChangeLog README test patches
a1116914
SS
88%attr(755,root,root) %{_bindir}/aircrack-ng
89%attr(755,root,root) %{_bindir}/airdecap-ng
90%attr(755,root,root) %{_bindir}/airdecloak-ng
05fa9722 91%{?with_sqlite:%attr(755,root,root) %{_bindir}/airolib-ng}
a1116914
SS
92%attr(755,root,root) %{_bindir}/ivstools
93%attr(755,root,root) %{_bindir}/kstats
94%attr(755,root,root) %{_bindir}/makeivs-ng
95%attr(755,root,root) %{_bindir}/packetforge-ng
96%attr(755,root,root) %{_bindir}/wpaclean
97%attr(755,root,root) %{_sbindir}/airbase-ng
98%attr(755,root,root) %{_sbindir}/aireplay-ng
99%attr(755,root,root) %{_sbindir}/airmon-ng
100%attr(755,root,root) %{_sbindir}/airodump-ng
101%attr(755,root,root) %{_sbindir}/airodump-ng-oui-update
102%attr(755,root,root) %{_sbindir}/airserv-ng
103%attr(755,root,root) %{_sbindir}/airtun-ng
104%{_mandir}/man1/aircrack-ng.1*
105%{_mandir}/man1/airdecap-ng.1*
106%{_mandir}/man1/airdecloak-ng.1*
05fa9722 107%{?with_sqlite:%{_mandir}/man1/airolib-ng.1*}
a1116914
SS
108%{_mandir}/man1/besside-ng-crawler.1*
109%{_mandir}/man1/ivstools.1*
110%{_mandir}/man1/kstats.1*
111%{_mandir}/man1/makeivs-ng.1*
112%{_mandir}/man1/packetforge-ng.1*
113%{_mandir}/man1/wpaclean.1*
114%{_mandir}/man8/airbase-ng.8*
115%{_mandir}/man8/aireplay-ng.8*
116%{_mandir}/man8/airmon-ng.8*
117%{_mandir}/man8/airodump-ng-oui-update.8*
118%{_mandir}/man8/airodump-ng.8*
119%{_mandir}/man8/airserv-ng.8*
120%{_mandir}/man8/airtun-ng.8*
121%{_mandir}/man8/besside-ng.8*
05fa9722
SS
122
123%if %{with experimental}
124%attr(755,root,root) %{_bindir}/buddy-ng
125%attr(755,root,root) %{_sbindir}/besside-ng
126%attr(755,root,root) %{_sbindir}/easside-ng
127%attr(755,root,root) %{_sbindir}/tkiptun-ng
128%attr(755,root,root) %{_sbindir}/wesside-ng
129%{_mandir}/man1/buddy-ng.1*
130%{_mandir}/man8/easside-ng.8*
131%{_mandir}/man8/tkiptun-ng.8*
132%{_mandir}/man8/wesside-ng.8*
133%endif
This page took 0.043849 seconds and 4 git commands to generate.