diff options
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r-- | net-analyzer/hydra/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/hydra/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/hydra/files/digest-hydra-5.3 | 1 | ||||
-rw-r--r-- | net-analyzer/hydra/hydra-5.3.ebuild | 63 |
4 files changed, 74 insertions, 2 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..e5f4e9b4e543 100644 --- a/net-analyzer/hydra/Manifest +++ b/net-analyzer/hydra/Manifest @@ -1,8 +1,10 @@ -MD5 c14e622d75fcb3ff56035dfe56139a26 ChangeLog 2489 +MD5 56ecbaaf2e9fb6173ec8c1d9208964d7 ChangeLog 2693 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 243c179ec2d67d12e57b03711361d85f hydra-5.3.ebuild 1453 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 +} |