[pyrit] 0.4.0

Tom Callaway spot at fedoraproject.org
Tue Sep 6 17:03:17 UTC 2011


commit 221cf17f7c6418e8d24bf1a5f75631db8d015d48
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Tue Sep 6 13:03:06 2011 -0400

    0.4.0

 .gitignore |    1 +
 pyrit.spec |   66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0126db9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyrit-0.4.0.tar.gz
diff --git a/pyrit.spec b/pyrit.spec
new file mode 100644
index 0000000..992fc11
--- /dev/null
+++ b/pyrit.spec
@@ -0,0 +1,66 @@
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+
+# we don't want to provide private python extension libs
+%{?filter_setup:
+%filter_provides_in %{python_sitearch}/.*\.so$ 
+%filter_setup
+}
+
+Name:		pyrit
+Version:	0.4.0
+Release:	3%{?dist}
+# OpenSSL exception
+License:	GPLv3+ with exceptions
+Group:		Applications/Internet
+Summary:	A GPGPU-driven WPA/WPA2-PSK key cracker
+URL:		http://code.google.com/p/pyrit/
+Source0:	http://pyrit.googlecode.com/files/%{name}-%{version}.tar.gz
+BuildRequires:	python-devel, openssl-devel, zlib-devel, libpcap-devel
+# Scapy and python-sqlalchemy are needed for full testing
+BuildRequires:	scapy, python-sqlalchemy
+Requires:	scapy, python-sqlalchemy
+
+%description
+Pyrit exploits the computational power of many-core and GPGPU-platforms to
+create massive databases, pre-computing part of the WPA/WPA2-PSK authentication
+phase in a space-time trade-off. It is a powerful attack against one of the 
+world's most used security-protocols.
+Please note that this package only provides CPU support, GPUGPU support requires
+CUDA or OpenCL, which have no Free Software implementations at this time.
+
+%prep
+%setup -q
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root=%{buildroot}
+chmod 755 %{buildroot}%{python_sitearch}/cpyrit/*.so
+
+%check
+pushd test
+export PYTHONPATH=%{buildroot}/%{python_sitearch}
+%{__python} test_pyrit.py 
+popd
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGELOG COPYING PKG-INFO README
+%{_bindir}/%{name}
+%{python_sitearch}/cpyrit/
+%{python_sitearch}/%{name}-%{version}-*.egg-info
+%{python_sitearch}/%{name}_cli.*
+
+%changelog
+* Tue Aug 23 2011 Tom Callaway <spot at fedoraproject.org> 0.4.0-3
+- fix perms on library file (0755)
+- add BR: python-sqlalchemy for full test suite
+
+* Mon Aug  8 2011 Tom Callaway <spot at fedoraproject.org> 0.4.0-2
+- add CFLAGS for proper optimizations
+- filter out private python extension lib
+- add note to description about functionality limitations
+
+* Tue Mar 29 2011 Tom Callaway <spot at fedoraproject.org> 0.4.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..7f17ac2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7258b6f3dacfb09736ddeed2a379df2d  pyrit-0.4.0.tar.gz


More information about the scm-commits mailing list