summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-02-08 16:24:30 +0000
committerJeroen Roovers <jer@gentoo.org>2011-02-08 16:24:30 +0000
commit328e0c84f934d574f3e48778c31850c975c5023a (patch)
treed2232f6ae7a7eb3f262c332dc82abbcaf9e6012e /net-analyzer
parentVersion bump (diff)
downloadhistorical-328e0c84f934d574f3e48778c31850c975c5023a.tar.gz
historical-328e0c84f934d574f3e48778c31850c975c5023a.tar.bz2
historical-328e0c84f934d574f3e48778c31850c975c5023a.zip
Version bump by Anton Bolshakov (bug #353931).
Package-Manager: portage-2.2.0_alpha22/cvs/Linux i686
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/hydra/ChangeLog7
-rw-r--r--net-analyzer/hydra/Manifest4
-rw-r--r--net-analyzer/hydra/hydra-6.1.ebuild82
3 files changed, 91 insertions, 2 deletions
diff --git a/net-analyzer/hydra/ChangeLog b/net-analyzer/hydra/ChangeLog
index cccf422c6009..cdec0d255258 100644
--- a/net-analyzer/hydra/ChangeLog
+++ b/net-analyzer/hydra/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/hydra
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.49 2011/02/05 17:18:14 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.50 2011/02/08 16:24:30 jer Exp $
+
+*hydra-6.1 (08 Feb 2011)
+
+ 08 Feb 2011; Jeroen Roovers <jer@gentoo.org> +hydra-6.1.ebuild:
+ Version bump by Anton Bolshakov (bug #353931).
05 Feb 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> hydra-5.9.ebuild:
x86 stable wrt bug #353373
diff --git a/net-analyzer/hydra/Manifest b/net-analyzer/hydra/Manifest
index f93e68325c07..fdbe141908c0 100644
--- a/net-analyzer/hydra/Manifest
+++ b/net-analyzer/hydra/Manifest
@@ -1,8 +1,10 @@
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
+DIST hydra-6.1-src.tar.gz 432515 RMD160 06f4f98aec813ccee13445d6a843f6be1f51806a SHA1 0e6a727c87246700d93f505a5728bf3d643cdd66 SHA256 85fbcf53bc7d8ae99a8bd31dd09810abd9cf9397679a94aea52cd1b1c8e06ac0
EBUILD hydra-5.8.ebuild 1794 RMD160 e712005be0127f34ed9685c63bde1ac35761b200 SHA1 220447663e05e88880ecec504e0d37614e996599 SHA256 5b4954ac40e6e9fe6ecb643a65bbd769e37777278c082614a8103db3c6a09d2a
EBUILD hydra-5.9.ebuild 1797 RMD160 98d751a3f62ac85bc47490381a9a1e2784edade6 SHA1 de8f2bd16c164bb3353a0f9b991334e88e9ca947 SHA256 faee21af0a7088c3bfff2b6acec5796d4476544c672d8761516d6a8450cac2d3
EBUILD hydra-6.0.ebuild 1792 RMD160 f5b8e436849d5a8cbb4d723180c9ff9d25a7acaa SHA1 2bc5cec48beea22e18ea4ea40b1e4da494a665c7 SHA256 0cf0be189b94a8f6e01e7ed2d3eb30667ac5f1de7d904abaf61621c3b15544c7
-MISC ChangeLog 6653 RMD160 26c6eb83d2bcf00be814fa4595207c5afc54ec5c SHA1 32721d3f419825c77075d568a96887f63d6da3c9 SHA256 21338360b017a4287f6364a38141690f33fbb9d36bed95b569d93ca9b4070499
+EBUILD hydra-6.1.ebuild 1792 RMD160 d45446391661613a4091a3ffbadec36f2a8d48f4 SHA1 319c519e69cae298541c4973229d1be7383e464b SHA256 10196aeb6fb8fd5d229735753571d09e8c0224fbe24bf3b1acd7009c37e1b908
+MISC ChangeLog 6788 RMD160 aa2aff08e44c62fb0864484ca62a97682b96a90a SHA1 e2886e8705f095ffe3bbce8902e89b6bb41c9923 SHA256 3a4eb99b9ce1f855e23420c6fbba2211595971234685da3bd2f167b86709bce8
MISC metadata.xml 227 RMD160 2a8754b01b0efe35e1f147451db54318da704ec1 SHA1 905f8d225c7defc78c835ebf7f44a83bed62fce3 SHA256 549534fb196ce43008704171f81429d1df086465e990f62d1685b69a7583d27c
diff --git a/net-analyzer/hydra/hydra-6.1.ebuild b/net-analyzer/hydra/hydra-6.1.ebuild
new file mode 100644
index 000000000000..eb42e13de943
--- /dev/null
+++ b/net-analyzer/hydra/hydra-6.1.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.1.ebuild,v 1.1 2011/02/08 16:24:30 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
+}