summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-03-29 16:46:45 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-03-29 16:46:45 +0000
commit4bab05b99ac2c3b7cd9ae2f6f9e3bdcdce0eae81 (patch)
treef2476d31ae84aab9481be3a44aac3629e0e4cb7c /net-wireless/pyrit
parentAdd pyrit with opencl and cuda plugins, thanks to Oleg Kravchenko <oleg@kaa.o... (diff)
downloadgentoo-2-4bab05b99ac2c3b7cd9ae2f6f9e3bdcdce0eae81.tar.gz
gentoo-2-4bab05b99ac2c3b7cd9ae2f6f9e3bdcdce0eae81.tar.bz2
gentoo-2-4bab05b99ac2c3b7cd9ae2f6f9e3bdcdce0eae81.zip
Add pyrit with opencl and cuda plugins, thanks to Oleg Kravchenko <oleg@kaa.org.ua>. Bugs 309815, 309817, 309813.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/pyrit')
-rw-r--r--net-wireless/pyrit/ChangeLog11
-rw-r--r--net-wireless/pyrit/Manifest3
-rw-r--r--net-wireless/pyrit/metadata.xml15
-rw-r--r--net-wireless/pyrit/pyrit-0.4.0.ebuild35
4 files changed, 64 insertions, 0 deletions
diff --git a/net-wireless/pyrit/ChangeLog b/net-wireless/pyrit/ChangeLog
new file mode 100644
index 000000000000..dd5806d702b9
--- /dev/null
+++ b/net-wireless/pyrit/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-wireless/pyrit
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/pyrit/ChangeLog,v 1.1 2012/03/29 16:46:45 maksbotan Exp $
+
+*pyrit-0.4.0 (29 Mar 2012)
+
+ 29 Mar 2012; Maxim Koltsov <maksbotan@gentoo.org> +metadata.xml,
+ +pyrit-0.4.0.ebuild:
+ Add pyrit with opencl and cuda plugins, thanks to Oleg Kravchenko
+ <oleg@kaa.org.ua>. Bugs 309815, 309817, 309813.
+
diff --git a/net-wireless/pyrit/Manifest b/net-wireless/pyrit/Manifest
new file mode 100644
index 000000000000..3ac3ac511712
--- /dev/null
+++ b/net-wireless/pyrit/Manifest
@@ -0,0 +1,3 @@
+DIST pyrit-0.4.0.tar.gz 191614 RMD160 16438b6abee753581a74e7bc243244a560b9fdfb SHA1 3041c0d593c21df88f41416be872eca0997cf22b SHA256 eb1a21cb844b1ded3eab613a8e9d5e4ef901530b04668fb18fe82ed1b4afa7cc
+EBUILD pyrit-0.4.0.ebuild 809 RMD160 7db35f288ca3b8f09cfb1625cb70baa5d4e87810 SHA1 39b21505a1bbbecf69e6bbdb13fa67fe0367a7d7 SHA256 5a459c2fbd93a01e163129c4faefd1fa3a4f41529044895a1a31d5256fa33f3b
+MISC metadata.xml 440 RMD160 7c94e911344c2d7296c946c10ecbe7de3bdface9 SHA1 a5c3608d367ff959de1be00a8369bb8375816076 SHA256 f82a0ad864ef2dcdfb2ba694a6c507bbd235b2d00b7b56a29d870ab936673ae8
diff --git a/net-wireless/pyrit/metadata.xml b/net-wireless/pyrit/metadata.xml
new file mode 100644
index 000000000000..24a6c5afa56c
--- /dev/null
+++ b/net-wireless/pyrit/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pkgmetadata>
+<maintainer>
+ <email>oleg@kaa.org.ua</email>
+ <name>Oleg Kravchenko</name>
+</maintainer>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+<use>
+ <flag name="cuda">Enable CUDA support via <pkg>net-wireless/cpyrit-cuda</pkg></flag>
+ <flag name="opencl">Enable OpenCL support via <pkg>net-wireless/cpyrit-opencl</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/net-wireless/pyrit/pyrit-0.4.0.ebuild b/net-wireless/pyrit/pyrit-0.4.0.ebuild
new file mode 100644
index 000000000000..0aa4cabdd64a
--- /dev/null
+++ b/net-wireless/pyrit/pyrit-0.4.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/pyrit/pyrit-0.4.0.ebuild,v 1.1 2012/03/29 16:46:45 maksbotan Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils eutils
+
+DESCRIPTION="GPU-accelerated attack against WPA-PSK authentication"
+HOMEPAGE="http://code.google.com/p/pyrit/"
+SRC_URI="http://pyrit.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cuda opencl test"
+
+DEPEND="dev-libs/openssl
+ net-libs/libpcap
+ test? ( >=net-analyzer/scapy-2 )"
+RDEPEND=">=net-analyzer/scapy-2
+ opencl? ( net-wireless/cpyrit-opencl )
+ cuda? ( net-wireless/cpyrit-cuda )"
+
+src_test() {
+ cd test
+ testing() {
+ PYTHONPATH=$(ls -d "${S}"/build-${PYTHON_ABI}/lib*) $(PYTHON) test_pyrit.py
+ }
+ python_execute_function testing
+}