summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <smitdane@gmail.com>2010-07-16 21:45:06 -0400
committerDane Smith <smitdane@gmail.com>2010-07-16 21:45:06 -0400
commite3d40e6d354fbdd02123c17ae37750134877f29d (patch)
tree09d768bb16d241123eda9802445eb9c14c2bf716 /net-firewall/fwsnort
downloadsmithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.tar.gz
smithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.tar.bz2
smithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.zip
Intial commit for my public overlay.
All working projects.
Diffstat (limited to 'net-firewall/fwsnort')
-rw-r--r--net-firewall/fwsnort/ChangeLog12
-rw-r--r--net-firewall/fwsnort/Manifest2
-rw-r--r--net-firewall/fwsnort/fwsnort-1.1.ebuild43
-rw-r--r--net-firewall/fwsnort/metadata.xml6
4 files changed, 63 insertions, 0 deletions
diff --git a/net-firewall/fwsnort/ChangeLog b/net-firewall/fwsnort/ChangeLog
new file mode 100644
index 0000000..d819301
--- /dev/null
+++ b/net-firewall/fwsnort/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-firewall/fwsnort
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 22 Jun 2010; Dane Smith (smithdanea) <smithdanea@gmail.com>
+ fwsnort-1.1.ebuild:
+ Removed fperms from fwsnort.
+
+ 22 Jun 2010; Dane Smith (smithdanea) <smithdanea@gmail.com>
+ +fwsnort-1.1.ebuild, +metadata.xml:
+ New ebuild for bug 236346.
+
diff --git a/net-firewall/fwsnort/Manifest b/net-firewall/fwsnort/Manifest
new file mode 100644
index 0000000..c033228
--- /dev/null
+++ b/net-firewall/fwsnort/Manifest
@@ -0,0 +1,2 @@
+DIST fwsnort-1.1.tar.bz2 473108 RMD160 d9e1621d1a736e12a79eb8034b228c1fc57eaac9 SHA1 bfb17e14f984af7d5a346769c2e903606ed76c30 SHA256 72bd267293de125179b1d0a14cf8be41d90b22596990279b659f3c1b2f3658c1
+EBUILD fwsnort-1.1.ebuild 1132 RMD160 3b7f4df68bc973768418e6bdf95d2369f826c69c SHA1 05a73261a2eb50d120622da4ba68c8ddb6e8f02b SHA256 e49ba437d448be15e16806a8a206a294bd1a6180596d88a0b21c8d56648addc7
diff --git a/net-firewall/fwsnort/fwsnort-1.1.ebuild b/net-firewall/fwsnort/fwsnort-1.1.ebuild
new file mode 100644
index 0000000..791bfff
--- /dev/null
+++ b/net-firewall/fwsnort/fwsnort-1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+DESCRIPTION="Uses Snort to generate an iptables rule set"
+HOMEPAGE="http://www.cipherdyne.org/fwsnort/"
+SRC_URI="http://www.cipherdyne.org/${PN}/download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/perl
+ dev-perl/IPTables-Parse
+ dev-perl/Net-IPv4Addr
+ net-firewall/iptables"
+
+src_install(){
+ insinto /etc/${PN}
+ doins ${PN}.conf || die
+
+ insinto /usr/share/${PN}
+ doins deps/snort_rules/*.rules || die
+
+ dosbin ${PN} || die
+ doman *.8 || die
+ dodoc README ChangeLog TODO || die
+}
+
+pkg_postinst(){
+ elog "The default rules for {$PN} were put in /usr/share/${PN}."
+ elog "If you would like to use any of them just copy them into"
+ elog "/etc/${PN}/snort_rules."
+ elog
+ elog "If you would like the ruleset for the latest emerging"
+ elog "threats, and you trust emergingthreats.net to not add"
+ elog "any malicious rules, setup a cron job to fetch"
+ elog "http://www.emergingthreats.net/rules/emerging-all.rules"
+ elog "and put it in /etc/${PN}/snort_rules/"
+}
diff --git a/net-firewall/fwsnort/metadata.xml b/net-firewall/fwsnort/metadata.xml
new file mode 100644
index 0000000..e6233b5
--- /dev/null
+++ b/net-firewall/fwsnort/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>