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