summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-11-30 20:47:08 +0000
committerJeroen Roovers <jer@gentoo.org>2010-11-30 20:47:08 +0000
commit9af09468fe785b68ab4519000e7e9484c8485907 (patch)
tree17689aff86d11fc35def7da59d7be87be80d4648 /net-analyzer/hydra
parentSpelling, grammar. (diff)
downloadhistorical-9af09468fe785b68ab4519000e7e9484c8485907.tar.gz
historical-9af09468fe785b68ab4519000e7e9484c8485907.tar.bz2
historical-9af09468fe785b68ab4519000e7e9484c8485907.zip
Version bump by Anton Bolshakov (bug #346153).
Package-Manager: portage-2.2.0_alpha6/cvs/Linux i686
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r--net-analyzer/hydra/ChangeLog7
-rw-r--r--net-analyzer/hydra/Manifest4
-rw-r--r--net-analyzer/hydra/hydra-5.9.ebuild82
3 files changed, 91 insertions, 2 deletions
diff --git a/net-analyzer/hydra/ChangeLog b/net-analyzer/hydra/ChangeLog
index 29afb4fb7b62..06d62a51a05a 100644
--- a/net-analyzer/hydra/ChangeLog
+++ b/net-analyzer/hydra/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/hydra
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.42 2010/10/24 15:35:20 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.43 2010/11/30 20:47:08 jer Exp $
+
+*hydra-5.9 (30 Nov 2010)
+
+ 30 Nov 2010; Jeroen Roovers <jer@gentoo.org> +hydra-5.9.ebuild:
+ Version bump by Anton Bolshakov (bug #346153).
24 Oct 2010; Brent Baude <ranger@gentoo.org> hydra-5.7.ebuild:
stable ppc, bug 341133
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index da5bebbcee2f..6bbdce978930 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,6 +1,8 @@
DIST hydra-5.7-src.tar.gz 203050 RMD160 d4c587b001bd55afa740cbd29064b964db03f51a SHA1 8087a2c085d10fbe67e3d45aad724f76f70bb042 SHA256 595e4cc2f186ef7f616e31448f1caf9df51d2d7b8d2bec92738ed1fb58e41e81
DIST hydra-5.8-src.tar.gz 203164 RMD160 f4df66709c16ea18400c5895b77d0918a00f1d9a SHA1 a8974cc6c99f173a6039683dd834450272fe5c08 SHA256 8c97472509a1afe9c60bddbb3f3541eb706d3719fb1c4634749d1531397377aa
+DIST hydra-5.9-src.tar.gz 423995 RMD160 81327b41e9962bbb871e485b6fb5e1c9803f9bc6 SHA1 386dfda5b2494d1f87ab9ee881ae603dbc710e4c SHA256 66023f94460abe76e76c1c6b187d44e82bafafb4c517314261bbd34429f913a7
EBUILD hydra-5.7.ebuild 1772 RMD160 ccb794d437f1a1aff19d81815c2d6b55b7c226fd SHA1 9c5fcb4c1ac3b63434b93b49139d86512c42a44a SHA256 e2904879acf1a6496352027e720ba2403075496667aca356ea90bc546d571439
EBUILD hydra-5.8.ebuild 1792 RMD160 aee7d24064af46e3057e3be993cf551982c67d86 SHA1 2a7c356e63630cdb0fe9d8a1322b91043728c9ca SHA256 5a96c7b720e62226d12ac4ac3999ffac0da8fc51fe06effe5e484588483b210a
-MISC ChangeLog 5849 RMD160 09ee201ea4cb7a5f9f30c89cbae80880c02de35e SHA1 bac743dabc61b132795eef2f27c85a345a9a55af SHA256 c43fbe6ddae44f84af8417f29e363185b51228521a3a9a0fd2c2ef653ee92973
+EBUILD hydra-5.9.ebuild 1792 RMD160 155978283399728cea49b656440c0e5406d90921 SHA1 e9aefc9850a26c0a5cf1a90ca8cdea7b890e200c SHA256 6fa46b3ff4dc4c6d35733fc6d3d3917bc158b1b963c86b74eaf4fbc0b538965d
+MISC ChangeLog 5988 RMD160 e2410ddcf35e364c9c1a44b64f74119f789be984 SHA1 ac3345e7f2aca098ef8d6542522ad65016c8443d SHA256 c0227732862b888f251983c8717563f02f04393a63d61983c91356d7f910c8f6
MISC metadata.xml 227 RMD160 2a8754b01b0efe35e1f147451db54318da704ec1 SHA1 905f8d225c7defc78c835ebf7f44a83bed62fce3 SHA256 549534fb196ce43008704171f81429d1df086465e990f62d1685b69a7583d27c
diff --git a/net-analyzer/hydra/hydra-5.9.ebuild b/net-analyzer/hydra/hydra-5.9.ebuild
new file mode 100644
index 000000000000..82dd10544cda
--- /dev/null
+++ b/net-analyzer/hydra/hydra-5.9.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-5.9.ebuild,v 1.1 2010/11/30 20:47:08 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Advanced parallized login hacker"
+HOMEPAGE="http://www.thc.org/thc-hydra/"
+SRC_URI="http://freeworld.thc.org/releases/${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gtk ssl"
+
+DEPEND="
+ dev-libs/openssl
+ gtk? ( >=x11-libs/gtk+-1.2 )
+ ssl? ( >=net-libs/libssh-0.4.0 )
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P}-src
+
+src_prepare() {
+ # None of the settings in Makefile.unix are useful to us
+ : > Makefile.unix
+
+ sed -i \
+ -e 's:-O2:$(CPPFLAGS) $(CFLAGS):g' \
+ -e 's:|| echo.*$::' \
+ -e '/\t-$(CC)/s/-//' \
+ -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
+ Makefile.am || die "sed failed"
+}
+
+src_configure() {
+ # Note: despite the naming convention, the top level script is not an
+ # autoconf-based script.
+ ./configure \
+ --prefix=/usr \
+ $(use gtk && echo --disable-xhydra) \
+ || die "configure failed"
+
+ sed -i \
+ -e '/^XDEFINES=/s:=.*:=:' \
+ -e '/^XLIBS=/s:=.*:=-lcrypto:' \
+ -e '/^XLIBPATHS/s:=.*:=:' \
+ -e '/^XIPATHS=/s:=.*:=:' \
+ Makefile || die "pruning vars"
+
+ if use ssl ; then
+ sed -i \
+ -e '/^XDEFINES=/s:=:=-DLIBOPENSSL -DLIBSSH:' \
+ -e '/^XLIBS=/s:$: -lssl -lssh:' \
+ Makefile || die "adding ssl"
+ fi
+
+ if use gtk ; then
+ cd hydra-gtk && \
+ econf || die "econf failed"
+ fi
+}
+
+src_compile() {
+ tc-export CC
+ emake || die "make failed"
+ if use gtk ; then
+ cd hydra-gtk && \
+ 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
+}