summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2011-05-03 14:52:22 -0400
committerDane Smith <c1pher@gentoo.org>2011-05-03 14:52:22 -0400
commit7184b195ea198d350c9e98fde981e0aea1373ed5 (patch)
treeff0783e965072f2038d40dacae3de259709c5b33
parentVersion bump for botan. (diff)
downloadc1pher-7184b195ea198d350c9e98fde981e0aea1373ed5.tar.gz
c1pher-7184b195ea198d350c9e98fde981e0aea1373ed5.tar.bz2
c1pher-7184b195ea198d350c9e98fde981e0aea1373ed5.zip
New ebuild for pyrit.
-rw-r--r--dev-libs/botan/Manifest2
-rw-r--r--dev-libs/botan/botan-1.9.17.ebuild5
-rw-r--r--net-wireless/pyrit/ChangeLog9
-rw-r--r--net-wireless/pyrit/Manifest4
-rw-r--r--net-wireless/pyrit/pyrit-0.4.0.ebuild61
5 files changed, 78 insertions, 3 deletions
diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest
index 524d399..70ab0a1 100644
--- a/dev-libs/botan/Manifest
+++ b/dev-libs/botan/Manifest
@@ -1,5 +1,5 @@
DIST Botan-1.9.12.tbz 3103452 RMD160 1e25e56b88d152440933b7bc3f450dbf20941204 SHA1 c72ecf935644188277e5e6fac1c2bfc9bf0042c7 SHA256 f863f9d89fa4354dd8434abc01058fbacfbca94e992e8be8a59d632b9caa78b1
DIST Botan-1.9.17.tbz 2338028 RMD160 5bf5ac5f4c7c4bab229cb72a6f0c0ce752092615 SHA1 f85c7ed87b3004e788ff462bc3a838a4fca17c7d SHA256 e28b2daedd4dc827f3779f08fc7025bd283b1c9ea9dc97bf104a2404f5ebaa31
EBUILD botan-1.9.12.ebuild 2830 RMD160 70c5c2daa298323a59a55d60b02d888b61cbda23 SHA1 bf35e5c9c68c3508d1b5fc877e662c5bcbe81dd9 SHA256 fa4d51d9db4d8613265c86dc484e1fd4b625cc2cc5791d74a578b76b9f56164b
-EBUILD botan-1.9.17.ebuild 2748 RMD160 854afa5297e003009b8b637e735730c090daad93 SHA1 5d31eb75546a14f4ffb62c31f9eb168fd3dfac1f SHA256 b0015447479180d6ab4ed1ff8ca77292f9aa86f63d20cbabe8455936769a6724
+EBUILD botan-1.9.17.ebuild 2685 RMD160 8fde764375f6539ab4726be41387f6bc8daaf4c5 SHA1 2581e25fc644b8be57ddbde26cb22101ecc07963 SHA256 a0db2a6a7fae66b1f1a5272610182c1c4ec67cd86ef1447c09850e695c56dbb9
MISC ChangeLog 1098 RMD160 35a2ac20d8d5e916780de9cb8c57a2f8f17cbcd4 SHA1 84378671246a920a47969446c4b74ff8362d83b8 SHA256 70da67959f1d3084f9ffe5085ea30d225081893f595232f3ed1473f1e3b9ae15
diff --git a/dev-libs/botan/botan-1.9.17.ebuild b/dev-libs/botan/botan-1.9.17.ebuild
index 6d0690b..24a3106 100644
--- a/dev-libs/botan/botan-1.9.17.ebuild
+++ b/dev-libs/botan/botan-1.9.17.ebuild
@@ -3,6 +3,7 @@
# $Header: $
EAPI="3"
+PYTHON_DEPEND="2:2.6"
RESTRICT_PYTHON_ABIS="3.*"
inherit eutils multilib python toolchain-funcs
@@ -58,7 +59,7 @@ src_configure() {
--prefix="${EPREFIX}/usr" \
--libdir=$(get_libdir) \
--docdir=share/doc/ \
- --cc=gcc \
+ --cc=$(tc-getCC) \
--os=${myos} \
--cpu=${CHOSTARCH} \
--with-endian="$(tc-endian)" \
@@ -98,6 +99,6 @@ src_install() {
emake DESTDIR="${ED}usr" install || die "emake install failed"
if useq python; then
- emake install PYTHON_SITE_PACKAGE_DIR="${D}/usr/lib/python2.6/site-packages" -f Makefile.python || die "emake install failed"
+ emake install -f Makefile.python || die "emake install failed"
fi
}
diff --git a/net-wireless/pyrit/ChangeLog b/net-wireless/pyrit/ChangeLog
new file mode 100644
index 0000000..f7c308a
--- /dev/null
+++ b/net-wireless/pyrit/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-wireless/pyrit
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*pyrit-0.4.0 (03 May 2011)
+
+ 03 May 2011; Dane Smith <c1pher@gentoo.org> +pyrit-0.4.0.ebuild:
+ Initial testing version.
+
diff --git a/net-wireless/pyrit/Manifest b/net-wireless/pyrit/Manifest
new file mode 100644
index 0000000..388fe10
--- /dev/null
+++ b/net-wireless/pyrit/Manifest
@@ -0,0 +1,4 @@
+DIST cpyrit-cuda-0.4.0.tar.gz 22050 RMD160 6885854ee09877c5ef3ec53cceadc2baa5462845 SHA1 6481b1d104fc8a1753d50d517b99638782171a08 SHA256 6035f01874f699f010e460618694ec876f719bea475313b991f5dd3dd84d831b
+DIST cpyrit-opencl-0.4.0.tar.gz 22851 RMD160 8197ca0ce4e30c60f5525450f75bf38bad309bf0 SHA1 c5892f5c5357e40c81141de5e8890ee7235580d0 SHA256 aac593bce3f00ea7fd3d558083dbd7e168332a92736e51a621a0459d1bc042fa
+DIST pyrit-0.4.0.tar.gz 191614 RMD160 16438b6abee753581a74e7bc243244a560b9fdfb SHA1 3041c0d593c21df88f41416be872eca0997cf22b SHA256 eb1a21cb844b1ded3eab613a8e9d5e4ef901530b04668fb18fe82ed1b4afa7cc
+EBUILD pyrit-0.4.0.ebuild 1326 RMD160 d281ab116ac83ff4da6b68802d02656d82720ce8 SHA1 2dcf5c1de6a123d70d386049579897cc64a29515 SHA256 dd9e984116738fedefd080a575848ae87fbfd9c922a0c6ef72e0dbeb415207ef
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 0000000..ef5efce
--- /dev/null
+++ b/net-wireless/pyrit/pyrit-0.4.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+SUPPORT_PYTHON_ABIS="1"
+PYTHON_DEPEND="2"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+PYTHON_USE_WITH="sqlite"
+
+inherit distutils
+
+DESCRIPTION="A GPU-based WPA-PSK and WPA2-PSK cracking tool"
+HOMEPAGE="http://code.google.com/p/pyrit/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz
+ cuda? ( http://${PN}.googlecode.com/files/cpyrit-cuda-${PV}.tar.gz )
+ opencl? ( http://${PN}.googlecode.com/files/cpyrit-opencl-${PV}.tar.gz )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cuda opencl"
+
+DEPEND="dev-db/sqlite:3
+ cuda? ( x11-drivers/nvidia-drivers
+ >=dev-util/nvidia-cuda-toolkit-2.2 )
+ opencl? ( >=dev-util/nvidia-cuda-toolkit-3.0[opencl] )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ distutils_src_compile
+ if use cuda; then
+ cd "${WORKDIR}/cpyrit-cuda-${PV}"
+ distutils_src_compile
+ fi
+ if use opencl; then
+ cd "${WORKDIR}/cpyrit-opencl-${PV}"
+ distutils_src_compile
+ fi
+}
+
+src_test() {
+ cd test
+ testing() {
+ "$(PYTHON)" test_pyrit.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ if use cuda; then
+ cd "${WORKDIR}/cpyrit-cuda-${PV}"
+ distutils_src_install
+ fi
+ if use opencl; then
+ cd "${WORKDIR}/cpyrit-opencl-${PV}"
+ distutils_src_install
+ fi
+} \ No newline at end of file