summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-02-01 07:50:24 +0000
committerJeroen Roovers <jer@gentoo.org>2011-02-01 07:50:24 +0000
commite78d442039dc94bbc2e5c0c82df2d176773727df (patch)
tree103cb112dbebfa5740cc6e3a9fa540c85ca90e0e /net-analyzer/hydra
parentVersion bump and add pcap USE flag. (diff)
downloadhistorical-e78d442039dc94bbc2e5c0c82df2d176773727df.tar.gz
historical-e78d442039dc94bbc2e5c0c82df2d176773727df.tar.bz2
historical-e78d442039dc94bbc2e5c0c82df2d176773727df.zip
Version bump by Anton Bolshakov (bug #353364).
Package-Manager: portage-2.2.0_alpha19/cvs/Linux i686
Diffstat (limited to 'net-analyzer/hydra')
-rw-r--r--net-analyzer/hydra/ChangeLog9
-rw-r--r--net-analyzer/hydra/Manifest4
-rw-r--r--net-analyzer/hydra/hydra-6.0.ebuild82
3 files changed, 92 insertions, 3 deletions
diff --git a/net-analyzer/hydra/ChangeLog b/net-analyzer/hydra/ChangeLog
index fb209d5443d4..0af8cab50712 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.46 2010/12/22 01:54:49 hwoarang Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.47 2011/02/01 07:50:24 jer Exp $
+
+*hydra-6.0 (01 Feb 2011)
+
+ 01 Feb 2011; Jeroen Roovers <jer@gentoo.org> +hydra-6.0.ebuild:
+ Version bump by Anton Bolshakov (bug #353364).
22 Dec 2010; Markos Chandras <hwoarang@gentoo.org> hydra-5.8.ebuild:
Stable on amd64 wrt bug #347347
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index b9f853816f55..abb05502a601 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,6 +1,8 @@
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
+DIST hydra-6.0-src.tar.gz 435284 RMD160 94bd6c55c8d6e5f7195629cceec6422045c5e186 SHA1 bb0c4431eb23e6c273e58603be9638ad6b2c4ea5 SHA256 c0d473c29d57fe44c5dd301b3161fdf853b3bbac57c099acf47cffb4d2707e64
EBUILD hydra-5.8.ebuild 1794 RMD160 e712005be0127f34ed9685c63bde1ac35761b200 SHA1 220447663e05e88880ecec504e0d37614e996599 SHA256 5b4954ac40e6e9fe6ecb643a65bbd769e37777278c082614a8103db3c6a09d2a
EBUILD hydra-5.9.ebuild 1792 RMD160 155978283399728cea49b656440c0e5406d90921 SHA1 e9aefc9850a26c0a5cf1a90ca8cdea7b890e200c SHA256 6fa46b3ff4dc4c6d35733fc6d3d3917bc158b1b963c86b74eaf4fbc0b538965d
-MISC ChangeLog 6300 RMD160 fba7fe0aa1d3c806a1bc3588546c7e1979e81392 SHA1 9a7076d4728ea3984dc0767ae7f4301ebe9acb81 SHA256 f8d5d9987c07f502b9b3a74e980d992eab71aa867500b0e88825ca77aeea93ad
+EBUILD hydra-6.0.ebuild 1792 RMD160 f5b8e436849d5a8cbb4d723180c9ff9d25a7acaa SHA1 2bc5cec48beea22e18ea4ea40b1e4da494a665c7 SHA256 0cf0be189b94a8f6e01e7ed2d3eb30667ac5f1de7d904abaf61621c3b15544c7
+MISC ChangeLog 6437 RMD160 efc4ed43442bf0403249e8e521751725cd715e71 SHA1 d400331797666fd6dd77e440301cce558f66ea37 SHA256 e04898428a2f69eff942d53037439d00f25c58547da3a071a1ec79d2c3c53949
MISC metadata.xml 227 RMD160 2a8754b01b0efe35e1f147451db54318da704ec1 SHA1 905f8d225c7defc78c835ebf7f44a83bed62fce3 SHA256 549534fb196ce43008704171f81429d1df086465e990f62d1685b69a7583d27c
diff --git a/net-analyzer/hydra/hydra-6.0.ebuild b/net-analyzer/hydra/hydra-6.0.ebuild
new file mode 100644
index 000000000000..decedcd2a76c
--- /dev/null
+++ b/net-analyzer/hydra/hydra-6.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-6.0.ebuild,v 1.1 2011/02/01 07:50:24 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
+}