mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 06:10:56 +02:00
* Added pyrit-0.2.2
* Changed keywords
This commit is contained in:
parent
794db810c5
commit
aa67092a68
5 changed files with 89 additions and 5 deletions
|
|
@ -1,5 +1,7 @@
|
|||
AUX pyrit-0.1-64.patch 1846 RMD160 aa1e258f8a0d5d6354c9b211ec6214719a0ea781 SHA1 0cdd7ee6fc67e02cb55f633f514eb0944af5f5e6 SHA256 f9ebca6aafc6c1c20e0a80b72b8e91ba03478cf8179ab5dc68ace7cd7759e872
|
||||
AUX pyrit-0.1.patch 1834 RMD160 91769f58483d059fa9ca1223c3f314a44241033f SHA1 1c51b1e4518f5f969fa50b8956ecc3645fbe66a7 SHA256 54b80b091c732b9aedc166870554e9628fe1315622918dfa8de88fdd6db468c2
|
||||
AUX pyrit-0.2.2.patch 1072 RMD160 a78dfe38760d6146848f054da2b2b2ea2abf9a8e SHA1 8848b76dda5d332975537021bb9d7996d7c17f91 SHA256 3c424fab44379b5e81f001887baf15ba0afc2e0466d29d612865303e689fa980
|
||||
AUX pyrit-9999.patch 1956 RMD160 bf0e2d973d9ff126fa2c38cfc779960b2598a1ad SHA1 39a3b3626fc1c5000316381af57420df097fd5c7 SHA256 aeb8aadc4a684945977a343bbe9af6caa355aa8c6fa4abd02d6ca189e522a904
|
||||
EBUILD pyrit-0.1.ebuild 2897 RMD160 afad2d595d50a304278ae2fac9fbd2ec5ee7b2e4 SHA1 60066ca960464b36922440866b74d2af0085540f SHA256 85567c2496c616d0a28c330dda23fe4bc8976460aa31d8c0119f71eb56c3cbd4
|
||||
EBUILD pyrit-9999.ebuild 1032 RMD160 ac5fff9a39ca6fdf77963cab9f4f3d7f575b5218 SHA1 cad0efcb98065dfa7d821b5ff7b5440ac21fbaca SHA256 d1ae08c6d006841402f3fabb58cea0e4164c67a344ec1e3501e5729d6bd781c0
|
||||
EBUILD pyrit-0.1.ebuild 2904 RMD160 4f83d47263f142d36b2cc9031ce1f24564e090d8 SHA1 b981a2e100a4508a5571a7e51604fbd03577c31d SHA256 a7eb7a46512cb0921014742ee44243e03837ae1984205bdf9a2c67fbc5501665
|
||||
EBUILD pyrit-0.2.2.ebuild 1085 RMD160 09a2d7373bfa3d0adaedfb60b67f2e979ac56312 SHA1 5fff1f06cd666ae67d6572997ed7c0ad32fb27e5 SHA256 6d4b89690ac081207a2e256249bf140364122a0875545f047b4485608bfd0d9f
|
||||
EBUILD pyrit-9999.ebuild 1038 RMD160 e510fb9318d49c8d5b8147057c6fb9ff9152bf5a SHA1 c733087c35a703cacd978a55192e1d0b1b4b83c2 SHA256 7cc4aabedde4a1c16be8f68ed6a1279929c50e164a8ac8ae9daf06906711ded1
|
||||
|
|
|
|||
26
app-crypt/pyrit/files/pyrit-0.2.2.patch
Normal file
26
app-crypt/pyrit/files/pyrit-0.2.2.patch
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
Index: cpyrit_stream/setup.py
|
||||
===================================================================
|
||||
--- cpyrit_stream/setup.py (revision 89)
|
||||
+++ cpyrit_stream/setup.py (working copy)
|
||||
@@ -29,19 +29,10 @@
|
||||
INCLUDE_DIRS = []
|
||||
|
||||
# Try to find the Brook+ library and headers
|
||||
-STREAM_LIB_DIRS = []
|
||||
-STREAM_INC_DIRS = []
|
||||
+STREAM_INC_DIRS = ['/opt/atibrook/include','/opt/atibrook/include/brook']
|
||||
+STREAM_LIB_DIRS = ['/opt/atibrook/lib','/usr/lib']
|
||||
BRCC = 'brcc'
|
||||
-for path in ('/usr/local/atibrook/sdk','/opt/atibrook/sdk'):
|
||||
- if os.path.exists(path):
|
||||
- STREAM_LIB_DIRS.append(os.path.sep.join((path, 'lib')))
|
||||
- STREAM_INC_DIRS.append(os.path.sep.join((path, 'include')))
|
||||
- BRCC = os.path.sep.join((path, 'bin', 'brcc'))
|
||||
- break
|
||||
-else:
|
||||
- print >>sys.stderr, "The AMD-Stream compiler, headers and libraries required to build the kernel were not found. Trying to continue anyway..."
|
||||
|
||||
-
|
||||
# Custom build_ext phase to create the GPU code with special compilers before building the whole thing
|
||||
class GPUBuilder(build_ext):
|
||||
def _call(self, comm):
|
||||
|
|
@ -8,7 +8,7 @@ HOMEPAGE="http://code.google.com/p/pyrit/"
|
|||
ESVN_REPO_URI="http://pyrit.googlecode.com/svn/trunk/@66"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="-*"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="cuda padlock stream"
|
||||
SLOT="0"
|
||||
DEPEND="stream? ( dev-util/amd-stream-sdk-bin )
|
||||
|
|
|
|||
56
app-crypt/pyrit/pyrit-0.2.2.ebuild
Normal file
56
app-crypt/pyrit/pyrit-0.2.2.ebuild
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils python distutils subversion
|
||||
DESCRIPTION="A GPU-based WPA-PSK and WPA2-PSK cracking tool"
|
||||
HOMEPAGE="http://code.google.com/p/pyrit/"
|
||||
ESVN_REPO_URI="http://pyrit.googlecode.com/svn/trunk/@89"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cuda stream"
|
||||
SLOT="0"
|
||||
DEPEND="dev-db/sqlite:3
|
||||
dev-lang/python[sqlite]
|
||||
stream? ( >=dev-util/ati-stream-sdk-bin-1.4.0_beta )
|
||||
cuda? ( dev-util/nvidia-cuda-sdk )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
epatch "${FILESDIR}/${P}.patch"
|
||||
cd "${S}/pyrit"
|
||||
distutils_src_compile
|
||||
if use cuda; then
|
||||
cd "${S}/cpyrit_cuda"
|
||||
distutils_src_compile
|
||||
fi
|
||||
if use stream; then
|
||||
cd "${S}/cpyrit_stream"
|
||||
distutils_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/pyrit"
|
||||
distutils_src_install
|
||||
if use cuda; then
|
||||
cd "${S}/cpyrit_cuda"
|
||||
distutils_src_install
|
||||
fi
|
||||
if use stream; then
|
||||
cd "${S}/cpyrit_stream"
|
||||
distutils_src_install
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup
|
||||
}
|
||||
|
||||
|
|
@ -8,10 +8,10 @@ HOMEPAGE="http://code.google.com/p/pyrit/"
|
|||
ESVN_REPO_URI="http://pyrit.googlecode.com/svn/trunk/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="-*"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cuda stream"
|
||||
SLOT="0"
|
||||
DEPEND="stream? ( >=dev-util/amd-stream-sdk-bin-1.3.0_beta-r1 )
|
||||
DEPEND="stream? ( >=dev-util/ati-stream-sdk-bin-1.4.0_beta )
|
||||
cuda? ( dev-util/nvidia-cuda-sdk )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue