/[gentoo-x86]/net-analyzer/ssldump/ssldump-0.9-r1.ebuild
Gentoo

Contents of /net-analyzer/ssldump/ssldump-0.9-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Dec 9 16:15:55 2011 UTC (2 years, 9 months ago) by jer
Branch: MAIN
Changes since 1.6: +3 -2 lines
sed must die().

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/ssldump/ssldump-0.9-r1.ebuild,v 1.6 2011/12/08 18:13:12 jer Exp $
4
5 EAPI=2
6 inherit autotools eutils
7
8 MY_P=${PN}-0.9b3
9
10 DESCRIPTION="A Tool for network monitoring and data acquisition"
11 HOMEPAGE="http://www.rtfm.com/ssldump/"
12 SRC_URI="http://www.rtfm.com/ssldump/${MY_P}.tar.gz"
13
14 LICENSE="openssl"
15 SLOT="0"
16 KEYWORDS="amd64 ppc sparc x86"
17 IUSE="ssl"
18
19 RDEPEND="net-libs/libpcap
20 ssl? ( >=dev-libs/openssl-1 )"
21 DEPEND="${RDEPEND}"
22
23 S=${WORKDIR}/${MY_P}
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${P}-libpcap-header.patch \
27 "${FILESDIR}"/${P}-configure-dylib.patch \
28 "${FILESDIR}"/${P}-openssl-0.9.8.compile-fix.patch \
29 "${FILESDIR}"/${P}-DLT_LINUX_SLL.patch
30
31 sed -i configure.in -e 's|libpcap.a|libpcap.so|g' || die
32
33 eautoreconf
34 }
35
36 src_configure() {
37 local myconf
38 use ssl || myconf="--without-openssl"
39
40 econf ${myconf}
41 }
42
43 src_install() {
44 dosbin ssldump || die
45 doman ssldump.1 || die
46 dodoc ChangeLog CREDITS README
47 }

  ViewVC Help
Powered by ViewVC 1.1.20