public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/
Date: Wed, 13 Jul 2016 17:36:13 +0000 (UTC)	[thread overview]
Message-ID: <1468431173.1308d1236e22393c2024cf75acd6a9097637cea4.blueness@gentoo> (raw)

commit:     1308d1236e22393c2024cf75acd6a9097637cea4
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 17:32:53 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 17:32:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1308d123

net-analyzer/hydra: add libressl support

Package-Manager: portage-2.2.28

 net-analyzer/hydra/hydra-8.1-r1.ebuild | 100 +++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)

diff --git a/net-analyzer/hydra/hydra-8.1-r1.ebuild b/net-analyzer/hydra/hydra-8.1-r1.ebuild
new file mode 100644
index 0000000..919c683
--- /dev/null
+++ b/net-analyzer/hydra/hydra-8.1-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Advanced parallized login hacker"
+HOMEPAGE="http://www.thc.org/thc-hydra/"
+SRC_URI="http://freeworld.thc.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="firebird gtk idn libressl mysql ncp oracle pcre postgres ssl subversion"
+
+RDEPEND="
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )
+	sys-libs/ncurses:=
+	firebird? ( dev-db/firebird )
+	gtk? (
+		dev-libs/atk
+		dev-libs/glib:2
+		x11-libs/gdk-pixbuf:2
+		x11-libs/gtk+:2
+	)
+	idn? ( net-dns/libidn )
+	mysql? ( virtual/mysql )
+	ncp? ( net-fs/ncpfs )
+	oracle? ( dev-db/oracle-instantclient-basic )
+	pcre? ( dev-libs/libpcre )
+	postgres? ( dev-db/postgresql:* )
+	ssl? ( >=net-libs/libssh-0.4.0 )
+	subversion? ( dev-vcs/subversion )
+"
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+"
+
+src_prepare() {
+	# None of the settings in Makefile.unix are useful to us
+	: > Makefile.unix
+
+	sed -i \
+		-e 's:|| echo.*$::' \
+		-e '/\t-$(CC)/s:-::' \
+		-e '/^OPTS/{s|=|+=|;s| -O3||}' \
+		-e '/ -o /s:$(OPTS):& $(LDFLAGS):g' \
+		Makefile.am || die
+
+	epatch "${FILESDIR}"/${PN}-8.0-configure.patch
+}
+
+src_configure() {
+	export OPTS="${CFLAGS}"
+
+	if ! use subversion; then
+		sed -i 's/-lsvn_client-1 -lapr-1 -laprutil-1 -lsvn_subr-1//;s/-DLIBSVN//' configure || die
+	fi
+
+	if ! use mysql; then
+		sed -i 's/-lmysqlclient//;s/-DLIBMYSQLCLIENT//' configure || die
+	fi
+
+	# Linking against libtinfo might be enough here but pkg-config --libs tinfo
+	# would require a USE=tinfo flag and recent linkers should drop libcurses
+	# as needed
+	sed -i \
+		-e 's|-lcurses|'"$( $(tc-getPKG_CONFIG) --libs ncurses)"'|g' \
+		configure || die
+
+	# Note: despite the naming convention, the top level script is not an
+	# autoconf-based script.
+	export NCP_PATH=$(usex ncp /usr/$(get_libdir) '')
+	export NCP_IPATH=$(usex ncp /usr/include '')
+	sh configure \
+		--prefix=/usr \
+		--nostrip \
+		$(use gtk && echo --disable-xhydra) \
+			|| die
+
+	if use gtk ; then
+		cd hydra-gtk && \
+		econf
+	fi
+}
+
+src_compile() {
+	tc-export CC
+	emake XLIBPATHS=''
+	use gtk && emake -C hydra-gtk
+}
+
+src_install() {
+	dobin hydra pw-inspector
+	use gtk && dobin hydra-gtk/src/xhydra
+	dodoc CHANGES README
+}


             reply	other threads:[~2016-07-13 17:36 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 17:36 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-06  8:57 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/ Jeroen Roovers
2017-05-06  8:57 Jeroen Roovers
2017-05-06  9:03 Jeroen Roovers
2017-07-27 13:26 Jeroen Roovers
2017-07-27 13:26 Jeroen Roovers
2019-02-14 20:09 Brian Evans
2019-04-01  8:41 Jeroen Roovers
2019-05-17 16:28 Jeroen Roovers
2019-08-13  6:22 Jeroen Roovers
2019-08-13  6:22 Jeroen Roovers
2019-10-07  4:52 Jeroen Roovers
2019-10-12 10:21 Michał Górny
2019-10-29 16:38 Jeroen Roovers
2020-01-27 14:52 Jeroen Roovers
2020-02-02 22:28 Matt Turner
2020-07-29  9:37 Jeroen Roovers
2020-08-03 20:59 Jeroen Roovers
2020-09-14 19:31 Michał Górny
2021-01-02 15:45 Andreas K. Hüttel
2021-03-15 21:01 Sam James
2021-03-15 21:01 Sam James
2021-03-15 21:01 Sam James
2021-03-15 21:01 Sam James
2021-03-15 22:09 Sam James
2021-03-19  2:00 Sam James
2021-03-19  2:08 Sam James
2021-03-26  7:45 Agostino Sarubbo
2021-04-30 18:46 Mikle Kolyada
2021-05-01 18:19 Agostino Sarubbo
2022-01-15 21:51 Sam James
2022-04-13  4:55 Sam James
2022-04-13  4:55 Sam James
2022-12-16  7:39 Sam James
2023-11-04 12:25 Sam James
2023-11-04 16:13 Arthur Zamarin
2024-03-17 16:35 Mike Gilbert
2024-03-17 16:35 Mike Gilbert
2024-05-15 20:25 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468431173.1308d1236e22393c2024cf75acd6a9097637cea4.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox