diff options
author | 2004-12-18 13:34:14 +0000 | |
---|---|---|
committer | 2004-12-18 13:34:14 +0000 | |
commit | dc155b2ddaa100178690a440518c4be4584867e1 (patch) | |
tree | c6a994ef33307db53760e74f5d8ce356d510c763 /net-analyzer/hydra/hydra-4.4.ebuild | |
parent | Masked on sparc wrt security bug #74443 because it's unknown if this applicat... (diff) | |
download | gentoo-2-dc155b2ddaa100178690a440518c4be4584867e1.tar.gz gentoo-2-dc155b2ddaa100178690a440518c4be4584867e1.tar.bz2 gentoo-2-dc155b2ddaa100178690a440518c4be4584867e1.zip |
version bump
Diffstat (limited to 'net-analyzer/hydra/hydra-4.4.ebuild')
-rw-r--r-- | net-analyzer/hydra/hydra-4.4.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
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 +} |