summaryrefslogtreecommitdiff
blob: c2f7bb09686a893170179649b5ab9a05ae1eabd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/authforce/authforce-0.9.6.ebuild,v 1.7 2007/05/06 09:32:25 dragonheart Exp $

DESCRIPTION="An HTTP authentication brute forcer"
HOMEPAGE="http://www.divineinvasion.net/authforce"
SRC_URI="http://www.divineinvasion.net/authforce/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"
IUSE="curl nls"
DEPEND="sys-libs/readline
	curl? ( <net-misc/curl-7.16.0 )"

src_compile() {
	myconf=$(use_with curl)
	myconf="${myconf} $(use_enable nls)"
	econf ${myconf} --with-path=/usr/share/${P}:. || die
	emake || die
}

src_install() {
	dodoc ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS README THANKS TODO
	dobin src/authforce
	doman doc/authforce.1.gz
	doinfo doc/authforce.info
	insinto /usr/share/${P}
	doins data/*.lst
}