1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Uses Snort to generate an iptables rule set"
8 HOMEPAGE="http://www.cipherdyne.org/fwsnort/"
9 SRC_URI="http://www.cipherdyne.org/${PN}/download/${P}.tar.bz2"
13 KEYWORDS="~amd64 ~x86"
16 RDEPEND="dev-lang/perl
17 dev-perl/IPTables-Parse
19 net-firewall/iptables"
23 doins ${PN}.conf || die
25 insinto /usr/share/${PN}
26 doins deps/snort_rules/*.rules || die
30 dodoc README ChangeLog TODO || die
34 elog "The default rules for {$PN} were put in /usr/share/${PN}."
35 elog "If you would like to use any of them just copy them into"
36 elog "/etc/${PN}/snort_rules."
38 elog "If you would like the ruleset for the latest emerging"
39 elog "threats, and you trust emergingthreats.net to not add"
40 elog "any malicious rules, setup a cron job to fetch"
41 elog "http://www.emergingthreats.net/rules/emerging-all.rules"
42 elog "and put it in /etc/${PN}/snort_rules/"