blob: 32800f3cdebfafe4efefe11899f32f394a2fdc76 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/chaosreader/chaosreader-0.94-r1.ebuild,v 1.1 2012/03/17 10:44:09 pacho Exp $
EAPI=4
inherit eutils
DESCRIPTION="A tool to trace TCP/UDP/... sessions and fetch application data from snoop or tcpdump logs."
HOMEPAGE="http://chaosreader.sourceforge.net"
SRC_URI="http://dev.gentoo.org/~spock/portage/distfiles/${P}.bz2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
LICENSE="GPL-2"
IUSE=""
DEPEND=">=dev-lang/perl-5.8.0"
S=${WORKDIR}
src_prepare() {
epatch "${FILESDIR}"/chaosreader-0.94-zombies.patch
epatch "${FILESDIR}"/chaosreader-0.94-chunkcheck.patch
epatch "${FILESDIR}"/chaosreader-0.94-darwin.patch
epatch "${FILESDIR}"/chaosreader-0.94-divisionbyzero.patch
epatch "${FILESDIR}"/chaosreader-0.94-oldmultiline.patch
}
src_install() {
newbin ${P} chaosreader
}
|