summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2006-05-22 17:24:50 +0000
committerPeter Volkov <pva@gentoo.org>2006-05-22 17:24:50 +0000
commitd0697e00047f231c2f178d928f5cf879c4a78417 (patch)
treebc6b466f206c0dba1e98a287a5a2428a289da5cf /net-analyzer/hydra
parentRemove vulnerable versions from glsa(200511-01) (diff)
downloadgentoo-2-d0697e00047f231c2f178d928f5cf879c4a78417.tar.gz
gentoo-2-d0697e00047f231c2f178d928f5cf879c4a78417.tar.bz2
gentoo-2-d0697e00047f231c2f178d928f5cf879c4a78417.zip
Version bump. Thank Matthew Lange for reminder, bug 133083. Also fixes memory leak reported by Anton in bug 133991.
(Portage version: 2.0.54-r2)
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r--net-analyzer/hydra/ChangeLog8
-rw-r--r--net-analyzer/hydra/Manifest2
-rw-r--r--net-analyzer/hydra/files/digest-hydra-5.31
-rw-r--r--net-analyzer/hydra/hydra-5.3.ebuild63
4 files changed, 73 insertions, 1 deletions
diff --git a/net-analyzer/hydra/ChangeLog b/net-analyzer/hydra/ChangeLog
index da3fb6764f88..5806737f5976 100644
--- a/net-analyzer/hydra/ChangeLog
+++ b/net-analyzer/hydra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/hydra
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.19 2006/01/09 20:02:52 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.20 2006/05/22 17:24:50 pva Exp $
+
+*hydra-5.3 (22 May 2006)
+
+ 22 May 2006; Peter Volkov <pva@gentoo.org> +hydra-5.3.ebuild:
+ Version bump. Thank Matthew Lange for reminder, bug 133083. Also fixes memory
+ leak reported by Anton in bug 133991.
*hydra-5.1 (09 Jan 2006)
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index f57adb258c8b..333baa4d1019 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -2,7 +2,9 @@ MD5 c14e622d75fcb3ff56035dfe56139a26 ChangeLog 2489
MD5 c03f67e03151a05247574982a5ee590c files/digest-hydra-4.4 65
MD5 b1413a1f68d1f8f5f35d6d38a05b688e files/digest-hydra-5.0 65
MD5 7f67fe7032266152657324a7fc690d3f files/digest-hydra-5.1 65
+MD5 f1d11c60086f2df6267355ef379c0526 files/digest-hydra-5.3 65
MD5 0853272892387e7f639a5985d000f7a7 hydra-4.4.ebuild 1394
MD5 b167fb57d3408e1d69265770f3cdce48 hydra-5.0.ebuild 1454
MD5 daeaf173dc5883e8a9bd59e8356ce20b hydra-5.1.ebuild 1460
+MD5 daeaf173dc5883e8a9bd59e8356ce20b hydra-5.3.ebuild 1460
MD5 9aa8f98344bb5026af633d7a5d3923cd metadata.xml 227
diff --git a/net-analyzer/hydra/files/digest-hydra-5.3 b/net-analyzer/hydra/files/digest-hydra-5.3
new file mode 100644
index 000000000000..ce6749b61ff8
--- /dev/null
+++ b/net-analyzer/hydra/files/digest-hydra-5.3
@@ -0,0 +1 @@
+MD5 9c13a4909387284cebe867587be2fd98 hydra-5.3-src.tar.gz 207043
diff --git a/net-analyzer/hydra/hydra-5.3.ebuild b/net-analyzer/hydra/hydra-5.3.ebuild
new file mode 100644
index 000000000000..8c93907d835c
--- /dev/null
+++ b/net-analyzer/hydra/hydra-5.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-5.3.ebuild,v 1.1 2006/05/22 17:24:50 pva Exp $
+
+DESCRIPTION="Advanced parallized login hacker"
+HOMEPAGE="http://www.thc.org/thc-hydra/"
+SRC_URI="http://www.thc.org/releases/${P}-src.tar.gz"
+
+LICENSE="HYDRA GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk ssl"
+
+DEPEND="gtk? ( >=x11-libs/gtk+-1.2 )
+ ssl? (
+ dev-libs/openssl
+ =net-libs/libssh-0.11
+ )"
+
+S="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i "s:-O2:${CFLAGS}:" Makefile.am || die "sed failed"
+}
+
+src_compile() {
+ if use gtk ; then
+ ./configure --prefix=/usr || die "configure failed"
+ else
+ ./configure --prefix=/usr --disable-xhydra || die "configure failed"
+ fi
+
+ 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 "econf hydra-gtk failed"
+ emake || die "emake hydra-gtk failed"
+ 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
+}