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