summaryrefslogtreecommitdiff
blob: ba113ec6cd714b69ad549519ad639da3743c9e65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit eutils

DESCRIPTION="Tool to analyze and detect suspicious traffic from IP and alert about it"
HOMEPAGE="http://dark-zone.eu/resources/unix/dosdetector/"
SRC_URI="http://dark-zone.eu/resources/unix/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="net-libs/libpcap"
RDEPEND="${DEPEND}"

src_prepare() {
	epatch \
		"${FILESDIR}"/${P}-isdigit.patch \
		"${FILESDIR}"/${P}-sizeof.patch
}