1 |
jer 10/08/22 21:57:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hydra-5.7.ebuild |
5 |
Removed: hydra-5.4-r2.ebuild |
6 |
Log: |
7 |
Version bump. Fix several QA issues based on a patch by Kevin Pyle (bug #333803). |
8 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.38 net-analyzer/hydra/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.38&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.38&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?r1=1.37&r2=1.38 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v |
20 |
retrieving revision 1.37 |
21 |
retrieving revision 1.38 |
22 |
diff -u -r1.37 -r1.38 |
23 |
--- ChangeLog 21 May 2010 15:53:49 -0000 1.37 |
24 |
+++ ChangeLog 22 Aug 2010 21:57:58 -0000 1.38 |
25 |
@@ -1,6 +1,13 @@ |
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.37 2010/05/21 15:53:49 pva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.38 2010/08/22 21:57:58 jer Exp $ |
30 |
+ |
31 |
+*hydra-5.7 (22 Aug 2010) |
32 |
+ |
33 |
+ 22 Aug 2010; Jeroen Roovers <jer@g.o> -hydra-5.4-r2.ebuild, |
34 |
+ -files/hydra-5.4-libssh-0.2.patch, +hydra-5.7.ebuild: |
35 |
+ Version bump. Fix several QA issues based on a patch by Kevin Pyle (bug |
36 |
+ #333803). |
37 |
|
38 |
21 May 2010; Peter Volkov <pva@g.o> hydra-5.4-r3.ebuild: |
39 |
amd64 stable, bug 310017 |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-analyzer/hydra/hydra-5.7.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-5.7.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-5.7.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: hydra-5.7.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-5.7.ebuild,v 1.1 2010/08/22 21:57:58 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="gtk? ( >=x11-libs/gtk+-1.2 ) |
68 |
dev-libs/openssl |
69 |
ssl? ( |
70 |
>=net-libs/libssh-0.4.0 |
71 |
)" |
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 |
} |