ff17802
Name:		cowpatty
ff17802
Version:	4.6
3033d52
Release:	3%{?dist}
ff17802
Summary:	WPA password cracker
ff17802
ff17802
Group:		Applications/System
3033d52
License:	GPLv2 and BSD 
ff17802
URL:		http://wirelessdefence.org/Contents/coWPAttyMain.htm
ff17802
Source0:	http://wirelessdefence.org/Contents/Files/%{name}-%{version}.tgz
ff17802
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ff17802
ff17802
BuildRequires:	libpcap-devel
ff17802
BuildRequires:	openssl-devel	
ff17802
		
ff17802
%description
ff17802
Cowpatty is designed to audit the pre-shared key (PSK) selection for WPA 
ff17802
networks based on the TKIP protocol. It can perform both dictionary and 
ff17802
computed rainbow table attacks.
ff17802
ff17802
ff17802
%prep
ff17802
%setup -q
ff17802
ff17802
ff17802
%build
3033d52
make CFLAGS="%{optflags} -DOPENSSL"
ff17802
ff17802
%install
ff17802
rm -rf %{buildroot}
ff17802
install -D -pm 755 cowpatty %{buildroot}%{_bindir}/%{name}
ff17802
install -D -pm 755 genpmk %{buildroot}%{_bindir}/genpmk
ff17802
ff17802
ff17802
%clean
ff17802
rm -rf %{buildroot}
ff17802
ff17802
ff17802
%files
ff17802
%defattr(-,root,root,-)
ff17802
%doc AUTHORS COPYING README FAQ TODO CHANGELOG
ff17802
%{_bindir}/%{name}
ff17802
%{_bindir}/genpmk
ff17802
ff17802
ff17802
%changelog
3033d52
* Sat May 29 2010 Arun SAG <sagarun [AT] gmail dot com> - 4.6-3
3033d52
- Fixing koji build failure.
3033d52
- License fixed.
3033d52
ff17802
* Sun Apr 11 2010 Arun SAG <sagarun [AT] gmail dot com> - 4.6-2
ff17802
- Source url adjusted with macros.
ff17802
- INSTALL file removed from package.
ff17802
- Minor cosmetic fixes.
ff17802
ff17802
* Sat Apr 10 2010 Arun SAG <sagarun [AT] gmail dot com> -  4.6-1
ff17802
- Initial build.