Blob Blame History Raw
Name:		cowpatty
Version:	4.6
Release:	9%{?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 Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* 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.