Skip to content

Commit

Permalink
pyrit: 20180801 bump to help testing #377
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Oct 9, 2018
1 parent 62517db commit 8b22e74
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions net-wireless/pyrit/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST pyrit-0.5.0_p20180801.tar.gz 2595201 BLAKE2B 76bb22a762274c5e78d0e5e74b7c64af3c9712a07000f9df0cfad39379cfcc4a2a3094d0a82829ab09c3982ccee9ac84c441c4dc4dcc34ca92c5634ee526377b SHA512 dd38da865e0fd4e6f2aab6137c8f95d386ef97809460408245f06e987b5cf8b617c78447493e583ef8f8045ff9a04aec023f79fba746ca933a3c31c02ef361b4
23 changes: 23 additions & 0 deletions net-wireless/pyrit/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>oleg@kaa.org.ua</email>
<name>Oleg Kravchenko</name>
</maintainer>
<maintainer type="person">
<email>maksbotan@gentoo.org</email>
<name>Maxim Koltsov</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</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>
<upstream>
<remote-id type="github">JPaulMora/Pyrit</remote-id>
</upstream>
</pkgmetadata>
38 changes: 38 additions & 0 deletions net-wireless/pyrit/pyrit-0.5.0_p20180801.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1

inherit distutils-r1

MY_PN="${PN^}"
MY_PV="2d46f819cfa396de0137ad68c3a565e5e8bc81a8"
DESCRIPTION="GPU-accelerated attack against WPA-PSK authentication"
HOMEPAGE="https://github.com/JPaulMora/Pyrit"
SRC_URI="https://github.com/JPaulMora/${MY_PN}/archive/${MY_PV}.tar.gz -> ${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[${PYTHON_USEDEP}] )"
RDEPEND=">=net-analyzer/scapy-2
opencl? ( net-wireless/cpyrit-opencl )
cuda? ( net-wireless/cpyrit-cuda )"

S="${WORKDIR}/${MY_PN}-${MY_PV}"

pkg_setup() {
python-single-r1_pkg_setup
}

src_test() {
cd test
"${PYTHON}" test_pyrit.py
}

0 comments on commit 8b22e74

Please sign in to comment.