blob: 6f8a7738c29950ef6e2bdcd69910e1868964e94a (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9-r1.ebuild,v 1.5 2011/01/18 18:19:33 ssuominen Exp $
EAPI=2
inherit autotools eutils
MY_P=${PN}-0.9b3
DESCRIPTION="A Tool for network monitoring and data acquisition"
HOMEPAGE="http://www.rtfm.com/ssldump/"
SRC_URI="http://www.rtfm.com/ssldump/${MY_P}.tar.gz"
LICENSE="openssl"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE="ssl"
RDEPEND="net-libs/libpcap
ssl? ( >=dev-libs/openssl-1 )"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-libpcap-header.patch \
"${FILESDIR}"/${P}-configure-dylib.patch \
"${FILESDIR}"/${P}-openssl-0.9.8.compile-fix.patch \
"${FILESDIR}"/${P}-DLT_LINUX_SLL.patch
eautoreconf
}
src_configure() {
local myconf
use ssl || myconf="--without-openssl"
econf ${myconf}
}
src_install() {
dosbin ssldump || die
doman ssldump.1 || die
dodoc ChangeLog CREDITS README
}
|