diff options
author | Peter Volkov <pva@gentoo.org> | 2006-05-22 17:24:50 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2006-05-22 17:24:50 +0000 |
commit | d0697e00047f231c2f178d928f5cf879c4a78417 (patch) | |
tree | bc6b466f206c0dba1e98a287a5a2428a289da5cf /net-analyzer/hydra/hydra-5.3.ebuild | |
parent | Remove vulnerable versions from glsa(200511-01) (diff) | |
download | gentoo-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/hydra-5.3.ebuild')
-rw-r--r-- | net-analyzer/hydra/hydra-5.3.ebuild | 63 |
1 files changed, 63 insertions, 0 deletions
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 +} |