summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2006-01-09 20:02:52 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2006-01-09 20:02:52 +0000
commit1a61d08ee23ba48dd1bbdc61a3a8ece7264a1d42 (patch)
tree297bb275b5da28a08a87808c9d71dcad14291daa /net-analyzer/hydra
parent1.0.10 version bump, marking 1.0.8 x86 stable. (diff)
downloadhistorical-1a61d08ee23ba48dd1bbdc61a3a8ece7264a1d42.tar.gz
historical-1a61d08ee23ba48dd1bbdc61a3a8ece7264a1d42.tar.bz2
historical-1a61d08ee23ba48dd1bbdc61a3a8ece7264a1d42.zip
5.1 version bump.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r--net-analyzer/hydra/ChangeLog10
-rw-r--r--net-analyzer/hydra/files/digest-hydra-4.71
-rw-r--r--net-analyzer/hydra/files/digest-hydra-5.11
-rw-r--r--net-analyzer/hydra/hydra-5.1.ebuild (renamed from net-analyzer/hydra/hydra-4.7.ebuild)17
4 files changed, 20 insertions, 9 deletions
diff --git a/net-analyzer/hydra/ChangeLog b/net-analyzer/hydra/ChangeLog
index b765c8a6d244..da3fb6764f88 100644
--- a/net-analyzer/hydra/ChangeLog
+++ b/net-analyzer/hydra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/hydra
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.18 2005/11/26 15:13:31 strerror Exp $
+# 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 $
+
+*hydra-5.1 (09 Jan 2006)
+
+ 09 Jan 2006; Marcelo Goes <vanquirius@gentoo.org> -hydra-4.7.ebuild,
+ +hydra-5.1.ebuild:
+ 5.1 version bump.
26 Nov 2005; Benjamin Smee <strerror@gentoo.org> -hydra-4.3.ebuild,
-hydra-4.6.ebuild:
diff --git a/net-analyzer/hydra/files/digest-hydra-4.7 b/net-analyzer/hydra/files/digest-hydra-4.7
deleted file mode 100644
index af6a2d3ff2e5..000000000000
--- a/net-analyzer/hydra/files/digest-hydra-4.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3dffee68e1c750872411443a7f61edc8 hydra-4.7-src.tar.gz 180974
diff --git a/net-analyzer/hydra/files/digest-hydra-5.1 b/net-analyzer/hydra/files/digest-hydra-5.1
new file mode 100644
index 000000000000..9a29b426a0e2
--- /dev/null
+++ b/net-analyzer/hydra/files/digest-hydra-5.1
@@ -0,0 +1 @@
+MD5 b04a154c5d159ccfcf898c88f1398615 hydra-5.1-src.tar.gz 190113
diff --git a/net-analyzer/hydra/hydra-4.7.ebuild b/net-analyzer/hydra/hydra-5.1.ebuild
index 0092016a551b..73f296cf7d14 100644
--- a/net-analyzer/hydra/hydra-4.7.ebuild
+++ b/net-analyzer/hydra/hydra-5.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# 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-4.7.ebuild,v 1.2 2005/08/11 09:58:53 r3pek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-5.1.ebuild,v 1.1 2006/01/09 20:02:52 vanquirius Exp $
DESCRIPTION="Advanced parallized login hacker"
HOMEPAGE="http://www.thc.org/thc-hydra/"
@@ -17,23 +17,28 @@ DEPEND="gtk? ( >=x11-libs/gtk+-1.2 )
=net-libs/libssh-0.11
)"
-S=${WORKDIR}/${P}-src
+S="${WORKDIR}/${P}-src"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i "s:-O2:${CFLAGS}:" Makefile.am || die "sed failed"
}
src_compile() {
- # has it's own stupid custom configure script
- ./configure --prefix=/usr || die "configure failed"
+ 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:' \