You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/sslsniff/sslsniff-0.6.ebuild

40 lines
949 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sslsniff/sslsniff-0.6.ebuild,v 1.3 2012/12/07 15:32:35 zerochaos Exp $
EAPI=2
inherit autotools eutils
DESCRIPTION="MITM all SSL connections on a LAN and dynamically generates certs"
HOMEPAGE="http://thoughtcrime.org/software/sslsniff/"
SRC_URI="http://thoughtcrime.org/software/sslsniff/${P}.tar.gz"
LICENSE="GPL-3" # plus OpenSSL exception
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-libs/boost
dev-libs/log4cpp
dev-libs/openssl"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-asneeded.patch
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS README
insinto /usr/share/sslsniff
doins leafcert.pem IPSCACLASEA1.crt
insinto /usr/share/sslsniff/updates
doins updates/*xml
insinto /usr/share/sslsniff/certs
doins certs/*
}