summaryrefslogtreecommitdiff
blob: ade7ebd3ce8c83bde6c6e41335ce571f5218da23 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/oinkmaster/oinkmaster-0.9.ebuild,v 1.4 2004/07/10 11:45:46 eldad Exp $

inherit eutils

DESCRIPTION="Rule management for SNORT"
SRC_URI="mirror://sourceforge/oinkmaster/${P}.tar.gz"
HOMEPAGE="http://oinkmaster.sf.net/"

DEPEND=""
RDEPEND="dev-lang/perl
	net-misc/wget
	app-arch/tar
	app-arch/gzip"

SLOT="0"
LICENSE="BSD"

KEYWORDS="x86"
IUSE=""

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PV}-oinkmaster.conf.patch
}

src_install() {
	dobin oinkmaster.pl contrib/addmsg.pl contrib/makesidex.pl
	dodoc ChangeLog LICENSE README INSTALL UPGRADING contrib/README.contrib
	insinto /etc
	doins oinkmaster.conf
}