summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-06-30 23:58:02 +0000
committerEldad Zack <eldad@gentoo.org>2004-06-30 23:58:02 +0000
commit0f3890a92008d5d107502f6ee4fa65bb9b2430cd (patch)
tree8cef3b022c7ba3c3213ddfdc2da5f2afbfb4b680 /net-analyzer/snortsam
parentCorrected KEYWORDS (Manifest recommit) (diff)
downloadgentoo-2-0f3890a92008d5d107502f6ee4fa65bb9b2430cd.tar.gz
gentoo-2-0f3890a92008d5d107502f6ee4fa65bb9b2430cd.tar.bz2
gentoo-2-0f3890a92008d5d107502f6ee4fa65bb9b2430cd.zip
Initial ebuild, closes #53645.
Diffstat (limited to 'net-analyzer/snortsam')
-rw-r--r--net-analyzer/snortsam/ChangeLog11
-rw-r--r--net-analyzer/snortsam/Manifest2
-rw-r--r--net-analyzer/snortsam/files/digest-snortsam-2.241
-rw-r--r--net-analyzer/snortsam/metadata.xml6
-rw-r--r--net-analyzer/snortsam/snortsam-2.24.ebuild34
5 files changed, 54 insertions, 0 deletions
diff --git a/net-analyzer/snortsam/ChangeLog b/net-analyzer/snortsam/ChangeLog
new file mode 100644
index 000000000000..9c35af5c24f6
--- /dev/null
+++ b/net-analyzer/snortsam/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-analyzer/snortsam
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/ChangeLog,v 1.1 2004/06/30 23:58:02 eldad Exp $
+
+*snortsam-2.24 (01 Jul 2004)
+
+ 01 Jul 2004; Eldad Zack <eldad@gentoo.org> +metadata.xml,
+ +snortsam-2.24.ebuild:
+ Initial ebuild. Requested by Patrizio Bassi <hetfield666@virgilio.it>. Closes
+ #53645.
+
diff --git a/net-analyzer/snortsam/Manifest b/net-analyzer/snortsam/Manifest
new file mode 100644
index 000000000000..20298df68156
--- /dev/null
+++ b/net-analyzer/snortsam/Manifest
@@ -0,0 +1,2 @@
+MD5 2087ea8b00f966b80cfdf0c8e56c3760 snortsam-2.24.ebuild 1023
+MD5 ba3cfd3145dc1ff7957a323d413e45ab files/digest-snortsam-2.24 69
diff --git a/net-analyzer/snortsam/files/digest-snortsam-2.24 b/net-analyzer/snortsam/files/digest-snortsam-2.24
new file mode 100644
index 000000000000..7801e4a004e3
--- /dev/null
+++ b/net-analyzer/snortsam/files/digest-snortsam-2.24
@@ -0,0 +1 @@
+MD5 b07094936751725176bc07d9c13ea1ba snortsam-src-2.24.tar.gz 436965
diff --git a/net-analyzer/snortsam/metadata.xml b/net-analyzer/snortsam/metadata.xml
new file mode 100644
index 000000000000..6e73376b154c
--- /dev/null
+++ b/net-analyzer/snortsam/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>netmon</herd>
+<longdescription>Snort plugin that allows automated blocking of IP addresses on several firewalls</longdescription>
+</pkgmetadata>
diff --git a/net-analyzer/snortsam/snortsam-2.24.ebuild b/net-analyzer/snortsam/snortsam-2.24.ebuild
new file mode 100644
index 000000000000..0a745de6c02c
--- /dev/null
+++ b/net-analyzer/snortsam/snortsam-2.24.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortsam/snortsam-2.24.ebuild,v 1.1 2004/06/30 23:58:02 eldad Exp $
+
+DESCRIPTION="Snort plugin that allows automated blocking of IP addresses on several firewalls"
+HOMEPAGE="http://www.snortsam.net/"
+SRC_URI="http://www.snortsam.net/files/snortsam-v2_multi-threaded/${PN}-src-${PV}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~amd64"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ sed -i "s: -O2 : ${CFLAGS} :" makesnortsam.sh
+ ./makesnortsam.sh || die
+}
+
+src_install() {
+ dobin snortsam
+ dodoc AUTHORS BUGS CREDITS FAQ INSTALL NEWS README* TODO
+}
+
+pkg_postinst() {
+ einfo "To use snortsam with snort, you'll have to compile snort with"
+ einfo "the snortsam patch - remerge snort with the snortsam useflag."
+ einfo ""
+ einfo "Read the INSTALL file to configure snort for snortsam, and"
+ einfo "configure snortsam for your particular firewall."
+}
+
+