blob: cd4ae97334a4c46b09e1dee21e42e5fff0c7a402 (
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
33
34
|
# Copyright 1999-2007 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.4 2007/02/25 09:21:37 genstef 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=" "
CONFIG_CHECK="NETFILTER"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KDIR=${KV_DIR}"
}
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-2.6.16.patch || die "epatch failed"
}
src_install() {
linux-mod_src_install
dodoc arpstar.README
}
|