mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 05:11:05 +02:00
pentoo: pyrit cleanup
This commit is contained in:
parent
25093f6c48
commit
c9578f6f9f
6 changed files with 0 additions and 150 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST pyrit-0.4.0.tar.gz 191614 SHA256 eb1a21cb844b1ded3eab613a8e9d5e4ef901530b04668fb18fe82ed1b4afa7cc SHA512 8111b3f6f1a94319f5e146db6c184eb391c03ca554b20ea7227237afbc546a064898835ad16007333bb63aa725079046d413be11dfc3ecb76c77b6ac5096f7e9 WHIRLPOOL b4f3bd214e0fb7a96f0804d472ab3ad0876978a65ebce85dc7ab2dfa4de8f8e9850f025a9c70d920a697455ca871d7cebe43ec9e9cb753d71663a4cacf6a2413
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python distutils
|
||||
# flag-o-matic
|
||||
|
||||
DESCRIPTION="A GPU-based WPA-PSK and WPA2-PSK cracking tool"
|
||||
HOMEPAGE="http://code.google.com/p/pyrit/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
||||
IUSE="${IUSE_VIDEO_CARDS} calpp cuda opencl"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit subversion
|
||||
ESVN_REPO_URI="http://pyrit.googlecode.com/svn/trunk/"
|
||||
KEYWORDS="~arm ~amd64 ~x86"
|
||||
else
|
||||
SRC_URI="http://pyrit.googlecode.com/files/${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm ppc x86"
|
||||
fi
|
||||
|
||||
DEPEND="video_cards_nvidia? ( cuda? ( ~app-crypt/cpyrit_cuda-${PV} ) )
|
||||
video_cards_fglrx? ( opencl? ( ~app-crypt/cpyrit_opencl-${PV} ) )
|
||||
calpp? ( ~app-crypt/cpyrit_calpp-${PV} )"
|
||||
|
||||
RDEPEND="net-analyzer/scapy
|
||||
dev-db/sqlite:3
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-275.43 )
|
||||
video_cards_fglrx? ( >=x11-drivers/ati-drivers-12.2 )
|
||||
${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
# append-ldflags $(no-as-needed)
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# pyrit fails with --as-needed will investigate properly later
|
||||
# filter-ldflags -Wl,--as-needed
|
||||
cd "${S}/pyrit"
|
||||
distutils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/pyrit"
|
||||
distutils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize {pyrit_cli.py,cpyrit}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup {pyrit_cli.py,cpyrit}
|
||||
}
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit eutils python distutils
|
||||
# flag-o-matic
|
||||
|
||||
DESCRIPTION="A GPU-based WPA-PSK and WPA2-PSK cracking tool"
|
||||
HOMEPAGE="http://code.google.com/p/pyrit/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
IUSE_VIDEO_CARDS="video_cards_fglrx video_cards_nvidia"
|
||||
IUSE="${IUSE_VIDEO_CARDS} calpp cuda opencl"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit subversion
|
||||
ESVN_REPO_URI="http://pyrit.googlecode.com/svn/trunk/"
|
||||
KEYWORDS="~arm ~amd64 ~x86"
|
||||
else
|
||||
SRC_URI="http://pyrit.googlecode.com/files/${P}.tar.gz"
|
||||
KEYWORDS="amd64 arm ppc x86"
|
||||
fi
|
||||
|
||||
DEPEND="video_cards_nvidia? ( cuda? ( ~app-crypt/cpyrit_cuda-${PV} ) )
|
||||
video_cards_fglrx? ( opencl? ( ~app-crypt/cpyrit_opencl-${PV} ) )
|
||||
calpp? ( ~app-crypt/cpyrit_calpp-${PV} )"
|
||||
|
||||
RDEPEND="net-analyzer/scapy
|
||||
dev-db/sqlite:3
|
||||
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-275.43 )
|
||||
video_cards_fglrx? ( >=x11-drivers/ati-drivers-12.2 )
|
||||
${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
# append-ldflags $(no-as-needed)
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# pyrit fails with --as-needed will investigate properly later
|
||||
# filter-ldflags -Wl,--as-needed
|
||||
cd "${S}/pyrit"
|
||||
distutils_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/pyrit"
|
||||
distutils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize {pyrit_cli.py,cpyrit}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup {pyrit_cli.py,cpyrit}
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>antonspam@pentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="dict">
|
||||
installes an extra dictionary
|
||||
</flag>
|
||||
<flag name="extra">
|
||||
Enables use of extra functions
|
||||
</flag>
|
||||
<flag name="tk">
|
||||
Enables use of the TK gui
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue