forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.3.0
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST pyrit-0.4.0.tar.gz 191614 SHA256 eb1a21cb844b1ded3eab613a8e9d5e4ef901530b04668fb18fe82ed1b4afa7cc SHA512 8111b3f6f1a94319f5e146db6c184eb391c03ca554b20ea7227237afbc546a064898835ad16007333bb63aa725079046d413be11dfc3ecb76c77b6ac5096f7e9 WHIRLPOOL b4f3bd214e0fb7a96f0804d472ab3ad0876978a65ebce85dc7ab2dfa4de8f8e9850f025a9c70d920a697455ca871d7cebe43ec9e9cb753d71663a4cacf6a2413 | ||
DIST pyrit-0.5.0.tar.gz 267614 SHA256 c610b7e5930e71ef466365418e58ce72f4b7dea5a3398c3296192f0c4a7175aa SHA512 912742cd7d9cd9231b9b3aa155a5170c0ba36c3865280423e100c1d12df34e093ee56305d8738d4f406abbfef9b1d540872872b8ef23d699466298d41289ad25 WHIRLPOOL ade13ce1f4835f3a9f1f31cd850ccc555c34c9a292c062d1444962ead3e3db3b35124cab58c14021468bee8da80072725cd5b90dd7913f63da6f86831b70b144 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
PYTHON_COMPAT=( python2_7 ) | ||
DISTUTILS_SINGLE_IMPL=1 | ||
|
||
inherit distutils-r1 | ||
|
||
MY_PN="${PN^}" | ||
DESCRIPTION="GPU-accelerated attack against WPA-PSK authentication" | ||
HOMEPAGE="https://github.com/JPaulMora/Pyrit" | ||
SRC_URI="https://github.com/JPaulMora/${MY_PN}/archive/v${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}-${PV}" | ||
|
||
pkg_setup() { | ||
python-single-r1_pkg_setup | ||
} | ||
|
||
src_test() { | ||
cd test | ||
"${PYTHON}" test_pyrit.py | ||
} |