summaryrefslogtreecommitdiff
blob: 2aa271371da3ee0c8ecbdeb54df3d90317631e53 (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Perl script for Snort rule management"
HOMEPAGE="http://code.google.com/p/pulledpork/"
SRC_URI="http://pulledpork.googlecode.com/files/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-lang/perl
	dev-perl/libwww-perl
	dev-perl/Crypt-SSLeay
	virtual/perl-Sys-Syslog
	virtual/perl-Digest-MD5
	virtual/perl-Archive-Tar
	virtual/perl-File-Spec
	net-analyzer/snort"

src_install () {
	dobin pulledpork.pl || die
	dodoc README \
		doc/README.* \
		etc/*.conf || die
	docinto contrib
	dodoc contrib/* || die
}

pkg_postinst() {
	elog "Example configuration files can be found in /usr/share/doc/${PF}."
}