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