summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-12-18 13:34:14 +0000
committerEldad Zack <eldad@gentoo.org>2004-12-18 13:34:14 +0000
commitdc155b2ddaa100178690a440518c4be4584867e1 (patch)
treec6a994ef33307db53760e74f5d8ce356d510c763 /net-analyzer/hydra
parentMasked on sparc wrt security bug #74443 because it's unknown if this applicat... (diff)
downloadgentoo-2-dc155b2ddaa100178690a440518c4be4584867e1.tar.gz
gentoo-2-dc155b2ddaa100178690a440518c4be4584867e1.tar.bz2
gentoo-2-dc155b2ddaa100178690a440518c4be4584867e1.zip
version bump
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r--net-analyzer/hydra/ChangeLog7
-rw-r--r--net-analyzer/hydra/Manifest12
-rw-r--r--net-analyzer/hydra/files/digest-hydra-4.41
-rw-r--r--net-analyzer/hydra/hydra-4.4.ebuild64
4 files changed, 73 insertions, 11 deletions
diff --git a/net-analyzer/hydra/ChangeLog b/net-analyzer/hydra/ChangeLog
index e65f232ff1c7..82640ba4aeb6 100644
--- a/net-analyzer/hydra/ChangeLog
+++ b/net-analyzer/hydra/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/hydra
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.9 2004/09/25 04:22:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.10 2004/12/18 13:34:14 eldad Exp $
+
+*hydra-4.4 (18 Dec 2004)
+
+ 18 Dec 2004; Eldad Zack <eldad@gentoo.org> +hydra-4.4.ebuild:
+ Version bump.
*hydra-4.3 (25 Sep 2004)
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index 1a51c274880d..4c92a72d0189 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 ed82a155064361687eb85a50d420497b hydra-4.4.ebuild 1389
MD5 a66bc352b0c85d993512c0a9193a0019 ChangeLog 1225
MD5 9aa8f98344bb5026af633d7a5d3923cd metadata.xml 227
MD5 ed82a155064361687eb85a50d420497b hydra-4.3.ebuild 1389
MD5 58c771c7306f6836af960f9bd61bc562 files/digest-hydra-4.3 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFBVPJ7HTu7gpaalycRAox6AKCOdD30NmAG+mQehE2QFaStq6girQCeJg5F
-Jzp63EtQF6CfNrbK72LeY7k=
-=bnAE
------END PGP SIGNATURE-----
+MD5 c03f67e03151a05247574982a5ee590c files/digest-hydra-4.4 65
diff --git a/net-analyzer/hydra/files/digest-hydra-4.4 b/net-analyzer/hydra/files/digest-hydra-4.4
new file mode 100644
index 000000000000..02a41b1d66bf
--- /dev/null
+++ b/net-analyzer/hydra/files/digest-hydra-4.4
@@ -0,0 +1 @@
+MD5 307e1434ae475088caa01e3b1aefbf43 hydra-4.4-src.tar.gz 172357
diff --git a/net-analyzer/hydra/hydra-4.4.ebuild b/net-analyzer/hydra/hydra-4.4.ebuild
new file mode 100644
index 000000000000..beb9dd7ba1ad
--- /dev/null
+++ b/net-analyzer/hydra/hydra-4.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-4.4.ebuild,v 1.1 2004/12/18 13:34:14 eldad Exp $
+
+DESCRIPTION="Advanced parallized login hacker"
+HOMEPAGE="http://www.thc.org/"
+SRC_URI="http://www.thc.org/releases/${P}-src.tar.gz"
+
+LICENSE="HYDRA GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="gtk ssl"
+
+DEPEND="gtk? ( >=x11-libs/gtk+-1.2 )
+ ssl? (
+ dev-libs/openssl
+ net-libs/libssh
+ )"
+
+S=${WORKDIR}/${P}-src
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s:-O2:${CFLAGS}:" Makefile.am
+
+ cd hydra-gtk
+ rm make_xhydra.sh || die
+ if use gtk ; then
+ make distclean || die
+ fi
+}
+
+src_compile() {
+ # has it's own stupid custom configure script
+ ./configure --prefix=/usr || die "configure failed"
+ sed -i \
+ -e '/^XDEFINES=/s:=.*:=:' \
+ -e '/^XLIBS=/s:=.*:=:' \
+ -e '/^XLIBPATHS/s:=.*:=:' \
+ -e '/^XIPATHS=/s:=.*:=:' \
+ Makefile || die "pruning vars"
+ if use ssl ; then
+ sed -i \
+ -e '/^XDEFINES=/s:=:=-DLIBOPENSSL -DLIBSSH:' \
+ -e '/^XLIBS=/s:=:=-lcrypto -lssl -lssh:' \
+ Makefile || die "adding ssl"
+ fi
+ emake || die "make failed"
+
+ if use gtk ; then
+ cd hydra-gtk
+ econf || die
+ emake || die
+ fi
+}
+
+src_install() {
+ dobin hydra pw-inspector || die "dobin failed"
+ if use gtk ; then
+ dobin hydra-gtk/src/xhydra || die "gtk"
+ fi
+ dodoc CHANGES README TODO
+}