1 |
commit: 327a2bafb9d0ef0c1888864a1776f6f70ee2d97e |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 6 08:57:29 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 6 08:57:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=327a2baf |
7 |
|
8 |
net-analyzer/hydra: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
net-analyzer/hydra/hydra-8.1-r1.ebuild | 99 ---------------------------------- |
13 |
1 file changed, 99 deletions(-) |
14 |
|
15 |
diff --git a/net-analyzer/hydra/hydra-8.1-r1.ebuild b/net-analyzer/hydra/hydra-8.1-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 5bd65a0cb6f..00000000000 |
18 |
--- a/net-analyzer/hydra/hydra-8.1-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,99 +0,0 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-inherit eutils toolchain-funcs |
26 |
- |
27 |
-DESCRIPTION="Advanced parallized login hacker" |
28 |
-HOMEPAGE="http://www.thc.org/thc-hydra/" |
29 |
-SRC_URI="http://freeworld.thc.org/releases/${P}.tar.gz" |
30 |
- |
31 |
-LICENSE="GPL-3" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="~amd64 ~ppc ~x86" |
34 |
-IUSE="firebird gtk idn libressl mysql ncp oracle pcre postgres ssl subversion" |
35 |
- |
36 |
-RDEPEND=" |
37 |
- !libressl? ( dev-libs/openssl:0= ) |
38 |
- libressl? ( dev-libs/libressl:0= ) |
39 |
- sys-libs/ncurses:= |
40 |
- firebird? ( dev-db/firebird ) |
41 |
- gtk? ( |
42 |
- dev-libs/atk |
43 |
- dev-libs/glib:2 |
44 |
- x11-libs/gdk-pixbuf:2 |
45 |
- x11-libs/gtk+:2 |
46 |
- ) |
47 |
- idn? ( net-dns/libidn ) |
48 |
- mysql? ( virtual/mysql ) |
49 |
- ncp? ( net-fs/ncpfs ) |
50 |
- oracle? ( dev-db/oracle-instantclient-basic ) |
51 |
- pcre? ( dev-libs/libpcre ) |
52 |
- postgres? ( dev-db/postgresql:* ) |
53 |
- ssl? ( >=net-libs/libssh-0.4.0 ) |
54 |
- subversion? ( dev-vcs/subversion ) |
55 |
-" |
56 |
-DEPEND=" |
57 |
- ${RDEPEND} |
58 |
- virtual/pkgconfig |
59 |
-" |
60 |
- |
61 |
-src_prepare() { |
62 |
- # None of the settings in Makefile.unix are useful to us |
63 |
- : > Makefile.unix |
64 |
- |
65 |
- sed -i \ |
66 |
- -e 's:|| echo.*$::' \ |
67 |
- -e '/\t-$(CC)/s:-::' \ |
68 |
- -e '/^OPTS/{s|=|+=|;s| -O3||}' \ |
69 |
- -e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \ |
70 |
- Makefile.am || die |
71 |
- |
72 |
- epatch "${FILESDIR}"/${PN}-8.0-configure.patch |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- export OPTS="${CFLAGS}" |
77 |
- |
78 |
- if ! use subversion; then |
79 |
- sed -i 's/-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1//;s/-DLIBSVN//' configure || die |
80 |
- fi |
81 |
- |
82 |
- if ! use mysql; then |
83 |
- sed -i 's/-lmysqlclient//;s/-DLIBMYSQLCLIENT//' configure || die |
84 |
- fi |
85 |
- |
86 |
- # Linking against libtinfo might be enough here but pkg-config --libs tinfo |
87 |
- # would require a USE=tinfo flag and recent linkers should drop libcurses |
88 |
- # as needed |
89 |
- sed -i \ |
90 |
- -e 's|-lcurses|'"$( $(tc-getPKG_CONFIG) --libs ncurses)"'|g' \ |
91 |
- configure || die |
92 |
- |
93 |
- # Note: despite the naming convention, the top level script is not an |
94 |
- # autoconf-based script. |
95 |
- export NCP_PATH=$(usex ncp /usr/$(get_libdir) '') |
96 |
- export NCP_IPATH=$(usex ncp /usr/include '') |
97 |
- sh configure \ |
98 |
- --prefix=/usr \ |
99 |
- --nostrip \ |
100 |
- $(use gtk && echo --disable-xhydra) \ |
101 |
- || die |
102 |
- |
103 |
- if use gtk ; then |
104 |
- cd hydra-gtk && \ |
105 |
- econf |
106 |
- fi |
107 |
-} |
108 |
- |
109 |
-src_compile() { |
110 |
- tc-export CC |
111 |
- emake XLIBPATHS='' |
112 |
- use gtk && emake -C hydra-gtk |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- dobin hydra pw-inspector |
117 |
- use gtk && dobin hydra-gtk/src/xhydra |
118 |
- dodoc CHANGES README |
119 |
-} |