Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/hydra: ChangeLog hydra-6.0.ebuild
Date: Tue, 01 Feb 2011 07:50:34
Message-Id: 20110201075024.4B73220054@flycatcher.gentoo.org
1 jer 11/02/01 07:50:24
2
3 Modified: ChangeLog
4 Added: hydra-6.0.ebuild
5 Log:
6 Version bump by Anton Bolshakov (bug #353364).
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux i686)
9
10 Revision Changes Path
11 1.47 net-analyzer/hydra/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.47&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.47&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?r1=1.46&r2=1.47
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v
20 retrieving revision 1.46
21 retrieving revision 1.47
22 diff -u -r1.46 -r1.47
23 --- ChangeLog 22 Dec 2010 01:54:49 -0000 1.46
24 +++ ChangeLog 1 Feb 2011 07:50:24 -0000 1.47
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-analyzer/hydra
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.46 2010/12/22 01:54:49 hwoarang Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.47 2011/02/01 07:50:24 jer Exp $
31 +
32 +*hydra-6.0 (01 Feb 2011)
33 +
34 + 01 Feb 2011; Jeroen Roovers <jer@g.o> +hydra-6.0.ebuild:
35 + Version bump by Anton Bolshakov (bug #353364).
36
37 22 Dec 2010; Markos Chandras <hwoarang@g.o> hydra-5.8.ebuild:
38 Stable on amd64 wrt bug #347347
39
40
41
42 1.1 net-analyzer/hydra/hydra-6.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-6.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-6.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hydra-6.0.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-6.0.ebuild,v 1.1 2011/02/01 07:50:24 jer Exp $
52
53 EAPI="2"
54
55 inherit toolchain-funcs
56
57 DESCRIPTION="Advanced parallized login hacker"
58 HOMEPAGE="http://www.thc.org/thc-hydra/"
59 SRC_URI="http://freeworld.thc.org/releases/${P}-src.tar.gz"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="gtk ssl"
65
66 DEPEND="
67 dev-libs/openssl
68 gtk? ( >=x11-libs/gtk+-1.2 )
69 ssl? ( >=net-libs/libssh-0.4.0 )
70 "
71 RDEPEND="${DEPEND}"
72
73 S=${WORKDIR}/${P}-src
74
75 src_prepare() {
76 # None of the settings in Makefile.unix are useful to us
77 : > Makefile.unix
78
79 sed -i \
80 -e 's:-O2:$(CPPFLAGS) $(CFLAGS):g' \
81 -e 's:|| echo.*$::' \
82 -e '/\t-$(CC)/s/-//' \
83 -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
84 Makefile.am || die "sed failed"
85 }
86
87 src_configure() {
88 # Note: despite the naming convention, the top level script is not an
89 # autoconf-based script.
90 ./configure \
91 --prefix=/usr \
92 $(use gtk && echo --disable-xhydra) \
93 || die "configure failed"
94
95 sed -i \
96 -e '/^XDEFINES=/s:=.*:=:' \
97 -e '/^XLIBS=/s:=.*:=-lcrypto:' \
98 -e '/^XLIBPATHS/s:=.*:=:' \
99 -e '/^XIPATHS=/s:=.*:=:' \
100 Makefile || die "pruning vars"
101
102 if use ssl ; then
103 sed -i \
104 -e '/^XDEFINES=/s:=:=-DLIBOPENSSL -DLIBSSH:' \
105 -e '/^XLIBS=/s:$: -lssl -lssh:' \
106 Makefile || die "adding ssl"
107 fi
108
109 if use gtk ; then
110 cd hydra-gtk && \
111 econf || die "econf failed"
112 fi
113 }
114
115 src_compile() {
116 tc-export CC
117 emake || die "make failed"
118 if use gtk ; then
119 cd hydra-gtk && \
120 emake || die "emake hydra-gtk failed"
121 fi
122 }
123
124 src_install() {
125 dobin hydra pw-inspector || die "dobin failed"
126 if use gtk ; then
127 dobin hydra-gtk/src/xhydra || die "gtk"
128 fi
129 dodoc CHANGES README TODO
130 }