summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith (smithdanea) <smithdanea@gmail.com>2010-06-22 13:41:56 +0000
committerDane Smith (smithdanea) <smithdanea@gmail.com>2010-06-22 13:41:56 +0000
commit265d71155c0127ee177daddadeee1ebc463cbb6e (patch)
tree961acb1817fad556f9b41d4cf0d97ad88c44b11c /net-firewall
parentmedia-tv/em28xx-new: removing due to dead upstream (diff)
downloadsunrise-265d71155c0127ee177daddadeee1ebc463cbb6e.tar.gz
sunrise-265d71155c0127ee177daddadeee1ebc463cbb6e.tar.bz2
sunrise-265d71155c0127ee177daddadeee1ebc463cbb6e.zip
net-firewall/fwsnort: New ebuild for bug 236346.
svn path=/sunrise/; revision=10801
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/fwsnort/ChangeLog8
-rw-r--r--net-firewall/fwsnort/Manifest4
-rw-r--r--net-firewall/fwsnort/fwsnort-1.1.ebuild44
-rw-r--r--net-firewall/fwsnort/metadata.xml6
4 files changed, 62 insertions, 0 deletions
diff --git a/net-firewall/fwsnort/ChangeLog b/net-firewall/fwsnort/ChangeLog
new file mode 100644
index 000000000..86a9c4c29
--- /dev/null
+++ b/net-firewall/fwsnort/ChangeLog
@@ -0,0 +1,8 @@
+# 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, +metadata.xml:
+ New ebuild for bug 236346.
+
diff --git a/net-firewall/fwsnort/Manifest b/net-firewall/fwsnort/Manifest
new file mode 100644
index 000000000..589cc1a56
--- /dev/null
+++ b/net-firewall/fwsnort/Manifest
@@ -0,0 +1,4 @@
+DIST fwsnort-1.1.tar.bz2 473108 RMD160 d9e1621d1a736e12a79eb8034b228c1fc57eaac9 SHA1 bfb17e14f984af7d5a346769c2e903606ed76c30 SHA256 72bd267293de125179b1d0a14cf8be41d90b22596990279b659f3c1b2f3658c1
+EBUILD fwsnort-1.1.ebuild 1167 RMD160 f4658f0065f50c0215e0c48f172d5bb48c8a2ad2 SHA1 003d5108b94554e1fa4b66b9f5af92f02b3b60d8 SHA256 3ceb9ec843f51469a992fbb2c493d1bc97eea9b1d56de094ec078545ed18a26b
+MISC ChangeLog 251 RMD160 88f47f8871dc11ecfc48ce133b56a107c103e335 SHA1 5b07749083acb1bdba943ff05562a35357c97715 SHA256 b4c4bb56ce3c9bf3c4e893af9dc1b33e2a1961eb60c5200142e354f059d6a60c
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/net-firewall/fwsnort/fwsnort-1.1.ebuild b/net-firewall/fwsnort/fwsnort-1.1.ebuild
new file mode 100644
index 000000000..f85661800
--- /dev/null
+++ b/net-firewall/fwsnort/fwsnort-1.1.ebuild
@@ -0,0 +1,44 @@
+# 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
+ fperms 500 /usr/sbin/${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 000000000..e6233b5dc
--- /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>