Blob Blame History Raw
Name:		cowpatty
Version:	4.6
Release:	3%{?dist}
Summary:	WPA password cracker

Group:		Applications/System
License:	GPLv2 and BSD 
URL:		http://wirelessdefence.org/Contents/coWPAttyMain.htm
Source0:	http://wirelessdefence.org/Contents/Files/%{name}-%{version}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	libpcap-devel
BuildRequires:	openssl-devel	
		
%description
Cowpatty is designed to audit the pre-shared key (PSK) selection for WPA 
networks based on the TKIP protocol. It can perform both dictionary and 
computed rainbow table attacks.


%prep
%setup -q


%build
make CFLAGS="%{optflags} -DOPENSSL"

%install
rm -rf %{buildroot}
install -D -pm 755 cowpatty %{buildroot}%{_bindir}/%{name}
install -D -pm 755 genpmk %{buildroot}%{_bindir}/genpmk


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README FAQ TODO CHANGELOG
%{_bindir}/%{name}
%{_bindir}/genpmk


%changelog
* Sat May 29 2010 Arun SAG <sagarun [AT] gmail dot com> - 4.6-3
- Fixing koji build failure.
- License fixed.

* Sun Apr 11 2010 Arun SAG <sagarun [AT] gmail dot com> - 4.6-2
- Source url adjusted with macros.
- INSTALL file removed from package.
- Minor cosmetic fixes.

* Sat Apr 10 2010 Arun SAG <sagarun [AT] gmail dot com> -  4.6-1
- Initial build.