summaryrefslogtreecommitdiff
blob: 89ea00a4c6d283649c8686aa64bc96793401b5a0 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Trace TCP/UDP/... sessions and fetch application data"
HOMEPAGE="http://chaosreader.sourceforge.net
	https://github.com/brendangregg/Chaosreader"
SRC_URI="https://github.com/brendangregg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"

KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-2+"

DEPEND=">=dev-lang/perl-5.8.0"
RDEPEND="${DEPEND}"

S="${WORKDIR}/Chaosreader-${PV}"

PATCHES=(
	"${FILESDIR}"/chaosreader-0.96-zombies.patch
	"${FILESDIR}"/chaosreader-0.96-chunkcheck.patch
	"${FILESDIR}"/chaosreader-0.96-divisionbyzero.patch
)

src_install() {
	dobin ${PN}
}