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-7.5.ebuild hydra-7.3.ebuild
Date: Mon, 26 Aug 2013 15:31:08
Message-Id: 20130826153057.89E072004C@flycatcher.gentoo.org
1 jer 13/08/26 15:30:57
2
3 Modified: ChangeLog
4 Added: hydra-7.5.ebuild
5 Removed: hydra-7.3.ebuild
6 Log:
7 Version bump (bug #482480 by Andrew Savchenko).
8
9 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.80 net-analyzer/hydra/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.80&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?rev=1.80&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/ChangeLog?r1=1.79&r2=1.80
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v
21 retrieving revision 1.79
22 retrieving revision 1.80
23 diff -u -r1.79 -r1.80
24 --- ChangeLog 25 Jun 2013 12:48:08 -0000 1.79
25 +++ ChangeLog 26 Aug 2013 15:30:57 -0000 1.80
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-analyzer/hydra
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.79 2013/06/25 12:48:08 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/ChangeLog,v 1.80 2013/08/26 15:30:57 jer Exp $
31 +
32 +*hydra-7.5 (26 Aug 2013)
33 +
34 + 26 Aug 2013; Jeroen Roovers <jer@g.o> -hydra-7.3.ebuild,
35 + +hydra-7.5.ebuild:
36 + Version bump (bug #482480 by Andrew Savchenko).
37
38 25 Jun 2013; Agostino Sarubbo <ago@g.o> hydra-7.4.2.ebuild:
39 Stable for amd64, wrt bug #470532
40
41
42
43 1.1 net-analyzer/hydra/hydra-7.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-7.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/hydra/hydra-7.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: hydra-7.5.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/hydra/hydra-7.5.ebuild,v 1.1 2013/08/26 15:30:57 jer Exp $
53
54 EAPI=5
55 inherit eutils 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}.tar.gz"
60
61 LICENSE="GPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="firebird gtk idn mysql ncp oracle pcre postgres ssl subversion"
65
66 RDEPEND="
67 dev-libs/openssl
68 firebird? ( dev-db/firebird )
69 gtk? (
70 dev-libs/atk
71 dev-libs/glib:2
72 x11-libs/gdk-pixbuf:2
73 x11-libs/gtk+:2
74 )
75 idn? ( net-dns/libidn )
76 mysql? ( virtual/mysql )
77 ncp? ( net-fs/ncpfs )
78 oracle? ( dev-db/oracle-instantclient-basic )
79 pcre? ( dev-libs/libpcre )
80 postgres? ( dev-db/postgresql-base )
81 ssl? ( >=net-libs/libssh-0.4.0 )
82 subversion? ( dev-vcs/subversion )
83 "
84 DEPEND="
85 ${RDEPEND}
86 virtual/pkgconfig
87 "
88
89 src_prepare() {
90 # None of the settings in Makefile.unix are useful to us
91 : > Makefile.unix
92
93 sed -i \
94 -e 's:|| echo.*$::' \
95 -e '/\t-$(CC)/s:-::' \
96 -e '/^OPTS/{s|=|+=|;s| -O3||}' \
97 -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
98 Makefile.am || die "sed failed"
99 }
100
101 src_configure() {
102 # Note: despite the naming convention, the top level script is not an
103 # autoconf-based script.
104 export OPTS="${CFLAGS}"
105 ./configure \
106 --prefix=/usr \
107 --nostrip \
108 $(use gtk && echo --disable-xhydra) \
109 || die "configure failed"
110
111 # It looks like all of these could be superfluous - reenable as needed
112 # sed -i \
113 # -e '/^XDEFINES=/s:=.*:=:' \
114 # -e '/^XLIBS=/s:=.*:=-lcrypto:' \
115 # -e '/^XLIBPATHS/s:=.*:=:' \
116 # -e '/^XIPATHS=/s:=.*:=:' \
117 # Makefile || die "pruning vars"
118
119 # if use ssl ; then
120 # sed -i \
121 # -e '/^XDEFINES=/s:=:=-DLIBOPENSSLNEW -DLIBSSH:' \
122 # -e '/^XLIBS=/s:$: -lssl -lssh:' \
123 # Makefile || die "adding ssl"
124 # fi
125
126 if use gtk ; then
127 cd hydra-gtk && \
128 econf || die "econf failed"
129 fi
130 }
131
132 src_compile() {
133 tc-export CC
134 emake
135 if use gtk ; then
136 cd hydra-gtk && \
137 emake
138 fi
139 }
140
141 src_install() {
142 dobin hydra pw-inspector
143 if use gtk ; then
144 dobin hydra-gtk/src/xhydra
145 fi
146 dodoc CHANGES README
147 }