summaryrefslogtreecommitdiff
blob: 26122d70840ba7c1df918994f008519a5a7f36a0 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/arpstar/arpstar-0.5.5-r1.ebuild,v 1.3 2006/08/08 13:26:22 phreak Exp $

inherit eutils linux-mod

DESCRIPTION="ARPStar kernel module for protection against arp poisoning."
HOMEPAGE="http://arpstar.sourceforge.net"
SRC_URI="mirror://sourceforge/arpstar/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}

MODULE_NAMES="arpstar(net:)"
BUILD_TARGETS=" "
BUILD_PARAMS="KDIR=${KV_DIR}"
CONFIG_CHECK="NETFILTER"

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}"/${P}-2.6.16.patch || die "epatch failed"
}

src_install() {
	linux-mod_src_install
	dodoc arpstar.README
}